mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-28 08:37:51 +03:00
add eps field to swap
This commit is contained in:
@@ -34,6 +34,12 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
||||
}).optional(),
|
||||
as: alternativeSchema.array(),
|
||||
anm: z.record(z.string()).optional(), // address to ERC20 names
|
||||
eps: z.array(z.object({
|
||||
p: z.string(),
|
||||
ai: z.string().toUpperCase(),
|
||||
ao: z.string().toUpperCase(),
|
||||
f: z.string().toUpperCase(),
|
||||
}))
|
||||
});
|
||||
|
||||
const swapInfoSchemaByAmountIn = swapInfoSchemaBase.extend({
|
||||
|
||||
Reference in New Issue
Block a user