mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-01 10:38:04 +03:00
feature: updated pool v2 and v3 schemas
This commit is contained in:
@@ -19,7 +19,7 @@ export const listPoolV3Schema = z.object({
|
||||
|
||||
...basicPoolInfo.shape,
|
||||
|
||||
type: z.string().nonempty(),
|
||||
type: z.literal('v3'),
|
||||
});
|
||||
|
||||
const listPoolV3ResponseSchema = z.object({
|
||||
|
||||
@@ -50,7 +50,7 @@ const poolInfoSchema = z.object({
|
||||
boostCurrentLiquidity: z.number(),
|
||||
boostCurrentVeORN: z.number(),
|
||||
boostTotalReward: z.number(),
|
||||
type: z.string(),
|
||||
type: z.literal('v2'),
|
||||
|
||||
...basicPoolInfo.shape,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user