mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
feat: added fee to eps in swapInfoSchema.ts
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.20.76-rc111",
|
"version": "0.20.76-rc112",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/index.cjs",
|
"main": "./lib/index.cjs",
|
||||||
"module": "./lib/index.js",
|
"module": "./lib/index.js",
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
|||||||
f: factorySchema, // factory
|
f: factorySchema, // factory
|
||||||
aai: z.string(), // asset address in
|
aai: z.string(), // asset address in
|
||||||
aao: z.string(), // asset address out
|
aao: z.string(), // asset address out
|
||||||
|
fee: z.number(), // fee
|
||||||
})),
|
})),
|
||||||
usd: z.object({ // USD info of this swap, nullable
|
usd: z.object({ // USD info of this swap, nullable
|
||||||
aa: z.number().optional(), // available amount in, USD
|
aa: z.number().optional(), // available amount in, USD
|
||||||
|
|||||||
Reference in New Issue
Block a user