mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 14:12:35 +03:00
add field comments
This commit is contained in:
@@ -35,10 +35,10 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
||||
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(),
|
||||
p: z.string(), // pool address
|
||||
ai: z.string().toUpperCase(), // asset in
|
||||
ao: z.string().toUpperCase(), // asset out
|
||||
f: z.string().toUpperCase(), // factory
|
||||
}))
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user