add userMinLockAmount to veORN-info-schema.ts,

add userWeight to voting-info-schema.ts
This commit is contained in:
TheJuze
2023-11-02 19:36:43 +03:00
parent 7a38adab08
commit 7745a312f2
4 changed files with 13 additions and 11 deletions

View File

@@ -15,7 +15,8 @@ const veORNResultSchema = z.object({
userORNLocked: z.number(),
userLockEndDate: z.number(),
userReward: z.number(),
userWeeklyReward: z.number()
userWeeklyReward: z.number(),
userMinLockAmount: z.number()
});
const veORNInfoSchema = z.object({

View File

@@ -12,6 +12,7 @@ const poolSchema = z.object({
name0: z.string(),
name1: z.string(),
poolFee: z.number(),
userWeight: z.number(),
weight: z.number(),
});