mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-11 13:38:38 +03:00
anm field: schema
This commit is contained in:
@@ -33,6 +33,7 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
||||
sp: z.number(), // safe price (with safe deviation but without slippage)
|
||||
}).optional(),
|
||||
as: alternativeSchema.array(),
|
||||
anm: z.record(z.string()).optional(), // address to ERC20 names
|
||||
});
|
||||
|
||||
const swapInfoSchemaByAmountIn = swapInfoSchemaBase.extend({
|
||||
|
||||
Reference in New Issue
Block a user