Variable VoteSettingsOuputSchemaConst

VoteSettingsOuputSchema: ZodObject<{
    proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>;
    voting_delay_in_blocks: ZodDefault<ZodNumber>;
    voting_period_in_blocks: ZodDefault<ZodNumber>;
    voting_quorum_fraction: ZodDefault<ZodNumber>;
    voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
    proposal_token_threshold: BigNumber;
    voting_delay_in_blocks: number;
    voting_period_in_blocks: number;
    voting_quorum_fraction: number;
    voting_token_address: string;
}, {
    proposal_token_threshold: Object;
    voting_delay_in_blocks?: number;
    voting_period_in_blocks?: number;
    voting_quorum_fraction?: number;
    voting_token_address: string;
}> = ...

Type declaration

  • proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>
  • voting_delay_in_blocks: ZodDefault<ZodNumber>
  • voting_period_in_blocks: ZodDefault<ZodNumber>
  • voting_quorum_fraction: ZodDefault<ZodNumber>
  • voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>

Type declaration

  • proposal_token_threshold: BigNumber
  • voting_delay_in_blocks: number
  • voting_period_in_blocks: number
  • voting_quorum_fraction: number
  • voting_token_address: string

Type declaration

  • proposal_token_threshold: Object
  • Optional voting_delay_in_blocks?: number
  • Optional voting_period_in_blocks?: number
  • Optional voting_quorum_fraction?: number
  • voting_token_address: string

Generated using TypeDoc