mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-18 03:45:02 +03:00
feature: up version to 0.20.10-rc4
This commit is contained in:
@@ -3,9 +3,6 @@ import { evmAddressSchema } from './util-schemas.js';
|
||||
import basicPoolInfo from './basic-pool-info-schema.js';
|
||||
import infoSchema from './info-schema.js';
|
||||
|
||||
// This is a crutch. In the nearest future Yuriy will update his model and we need to replace this constant with basicPoolInfo
|
||||
const omittedBasicPoolInfo = basicPoolInfo.omit({ feeRate: true })
|
||||
|
||||
const poolOfListPoolSchema = z.object({
|
||||
pair: z.string(),
|
||||
token0: z.string().nonempty(),
|
||||
@@ -45,9 +42,8 @@ const poolOfListPoolSchema = z.object({
|
||||
userLockTimePeriod: z.number(),
|
||||
userVeORN: z.number(),
|
||||
userORN: z.number(),
|
||||
feeRate: z.number().nonnegative(),
|
||||
|
||||
...omittedBasicPoolInfo.shape,
|
||||
...basicPoolInfo.shape,
|
||||
|
||||
type: z.string().nonempty(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user