mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
OP-2896 Remove pools qtyPrecision & pricePrecision (#26)
* OP-2896 Remove pools qtyPrecision & pricePrecision * Change ver * Update ver Co-authored-by: Aleksandr Kraiz <selfsurfer@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.15.11-rc.1",
|
||||
"version": "0.15.12",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/esm/index.js",
|
||||
"module": "./lib/esm/index.js",
|
||||
|
||||
@@ -25,8 +25,6 @@ export interface IEditPool {
|
||||
tokenBIcon?: string;
|
||||
symbol?: string;
|
||||
status: PairStatusEnum;
|
||||
qtyPrecision?: number;
|
||||
pricePrecision?: number;
|
||||
minQty?: number;
|
||||
tokenASymbol?: string;
|
||||
tokenBSymbol?: string;
|
||||
|
||||
@@ -29,8 +29,6 @@ export 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