From d728a79eb9f8fed38b5ef8a8e26c0dbd54ee4ef9 Mon Sep 17 00:00:00 2001 From: Kirill Litvinov Date: Mon, 14 Aug 2023 18:56:04 +0300 Subject: [PATCH] stacked ve token weight --- package.json | 4 ++-- src/services/ReferralSystem/schemas/ratingSchema.ts | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0fd34f8..8e31a9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.50", + "version": "0.19.51-rc1", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", @@ -108,4 +108,4 @@ "overrides": { "tsconfig-paths": "^4.0.0" } -} \ No newline at end of file +} diff --git a/src/services/ReferralSystem/schemas/ratingSchema.ts b/src/services/ReferralSystem/schemas/ratingSchema.ts index b67128a..c72b70b 100644 --- a/src/services/ReferralSystem/schemas/ratingSchema.ts +++ b/src/services/ReferralSystem/schemas/ratingSchema.ts @@ -12,6 +12,8 @@ const ratingSchema = z.object({ wallet: z.string(), staked_ve_token: z.string(), staked_ve_token_fmt: z.number(), + staked_ve_token_weight: z.string(), + staked_ve_token_weight_fmt: z.number(), weighted_volume: z.string(), weighted_volume_fmt: z.number(), total_weight: z.string(), @@ -25,6 +27,8 @@ const ratingSchema = z.object({ wallet: z.string(), staked_ve_token: z.string(), staked_ve_token_fmt: z.number(), + staked_ve_token_weight: z.string(), + staked_ve_token_weight_fmt: z.number(), weighted_volume: z.string(), weighted_volume_fmt: z.number(), total_weight: z.string(),