mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-28 00:28:04 +03:00
feature: up version
This commit is contained in:
@@ -20,7 +20,8 @@ const basicPoolInfo = z.object({
|
||||
maxAPR: z.number().nonnegative(),
|
||||
avgAPR: z.number().nonnegative(),
|
||||
maxBoost: z.number().nonnegative().int(),
|
||||
feeRate: z.array(z.number().nonnegative()),
|
||||
// This is a crutch. In the nearest future Yury will update his model and OR condition need to be removed
|
||||
feeRate: z.array(z.number().nonnegative()).or(z.number().nonnegative()),
|
||||
});
|
||||
|
||||
export default basicPoolInfo;
|
||||
|
||||
@@ -45,9 +45,6 @@ const poolOfListPoolSchema = z.object({
|
||||
|
||||
...basicPoolInfo.shape,
|
||||
|
||||
// This is a crutch. In the nearest future Yury will update his model and this feeRate can be deleted
|
||||
feeRate: z.number().nonnegative(),
|
||||
|
||||
type: z.string().nonempty(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user