mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-24 22:58:01 +03:00
Merge remote-tracking branch 'origin/main' into multiple-exchanges-in-suborder
This commit is contained in:
@@ -37,7 +37,7 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
||||
p: z.string(), // pool address
|
||||
ai: z.string().toUpperCase(), // asset in
|
||||
ao: z.string().toUpperCase(), // asset out
|
||||
f: z.string().toUpperCase(), // factory
|
||||
f: z.string(), // factory
|
||||
}))
|
||||
});
|
||||
|
||||
|
||||
@@ -15,8 +15,16 @@ const distinctAnalyticsSchema = z.object({
|
||||
latest_block: z.number(),
|
||||
}),
|
||||
),
|
||||
total_earned: z.number(),
|
||||
total_sent_to_governance: z.number(),
|
||||
total_earned: z.number(),
|
||||
total_volume: z.number(),
|
||||
total_trades: z.number(),
|
||||
all_time_earnings_boost_only: z.number(),
|
||||
all_time_earnings_boost_only_usd: z.number(),
|
||||
all_time_earnings: z.number(),
|
||||
all_time_earnings_usd: z.number(),
|
||||
all_weekly_earnings: z.number(),
|
||||
all_weekly_earnings_usd: z.number(),
|
||||
});
|
||||
|
||||
export default distinctAnalyticsSchema;
|
||||
|
||||
@@ -4,6 +4,8 @@ const ratingSchema = z.object({
|
||||
info: z.object({
|
||||
weekly_boost_budget: z.string(),
|
||||
weekly_boost_budget_fmt: z.number(),
|
||||
monthly_boost_budget: z.string(),
|
||||
monthly_boost_budget_fmt: z.number(),
|
||||
time_left_for_the_reward: z.number(),
|
||||
time_left_for_the_reward_local: z.string(),
|
||||
time_left_for_the_reward_utc: z.string(),
|
||||
@@ -33,6 +35,11 @@ const ratingSchema = z.object({
|
||||
weighted_volume_fmt: z.number(),
|
||||
total_weight: z.string(),
|
||||
total_weight_fmt: z.number(),
|
||||
total_volume_fmt: z.number(),
|
||||
weekly_earnings_fmt: z.number(),
|
||||
total_earnings_fmt: z.number(),
|
||||
referrals_count_fmt: z.number(),
|
||||
total_trades_fmt: z.number(),
|
||||
reward: z.string(),
|
||||
reward_fmt: z.number()
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user