mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
OP-2896 Remove pools qtyPrecision & pricePrecision
This commit is contained in:
@@ -24,8 +24,6 @@ export interface IEditPool {
|
||||
tokenBIcon?: string;
|
||||
symbol?: string;
|
||||
status: PairStatusEnum;
|
||||
qtyPrecision?: number;
|
||||
pricePrecision?: number;
|
||||
minQty?: number;
|
||||
tokenASymbol?: string;
|
||||
tokenBSymbol?: string;
|
||||
|
||||
@@ -29,8 +29,6 @@ const poolOnVerificationSchema = z.object({
|
||||
status: pairStatusSchema,
|
||||
updatedAt: z.number(),
|
||||
createdAt: z.number(),
|
||||
qtyPrecision: z.number().optional(),
|
||||
pricePrecision: z.number().optional(),
|
||||
});
|
||||
|
||||
export type adminPoolType = z.infer<typeof poolOnVerificationSchema>;
|
||||
|
||||
@@ -19,8 +19,6 @@ const poolsConfigSchema = z.object({
|
||||
z.object({
|
||||
lpTokenAddress: z.string(),
|
||||
minQty: z.number().optional(),
|
||||
pricePrecision: z.number().int().optional(),
|
||||
qtyPrecision: z.number().int().optional(),
|
||||
reverted: z.boolean().optional(),
|
||||
rewardToken: z.string().nullable().optional(),
|
||||
state: z.number().int().optional(),
|
||||
|
||||
Reference in New Issue
Block a user