Files
orionprotocol-sdk/src/services/BlockchainService/schemas/governanceContractsSchema.ts
2023-11-15 14:03:46 +03:00

20 lines
449 B
TypeScript

import { z } from 'zod';
const governanceContractsSchema = z.object({
controllerAddress: z.string(),
veTOKENAddress: z.string(),
veTOKENYieldDistributorV4Address: z.string(),
time_total: z.string(),
absolute_ve_token_in_voting: z.string(),
info: z.record(
z.string(),
z.object({
gaugeAddress: z.string(),
gaugeType: z.number(),
gaugeName: z.string(),
})
),
});
export default governanceContractsSchema;