OP-2896 Remove pools qtyPrecision & pricePrecision

This commit is contained in:
Dmitry Leleko
2022-11-09 10:36:09 +03:00
parent 1f22be1527
commit 1bb336197b
3 changed files with 0 additions and 6 deletions

View File

@@ -24,8 +24,6 @@ export interface IEditPool {
tokenBIcon?: string;
symbol?: string;
status: PairStatusEnum;
qtyPrecision?: number;
pricePrecision?: number;
minQty?: number;
tokenASymbol?: string;
tokenBSymbol?: string;

View File

@@ -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>;

View File

@@ -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(),