typescript-sdk

Home > @3rdweb/sdk > VoteModuleMetadata

VoteModuleMetadata class

Signature:

export declare class VoteModuleMetadata extends CommonModuleMetadata 

Extends: CommonModuleMetadata

Properties

Property Modifiers Type Description
minimumNumberOfTokensNeededToPropose   string The minimum number of tokens required to propose a proposal.
proposalStartWaitTimeInSeconds   number The wait time before a proposal can begin being voted on (seconds).
proposalVotingTimeInSeconds   number How long a proposal is open for voting (seconds).
votingDelay?   number | undefined (Optional) **Do not set this property directly. It will be set by the SDK. Unless you know what you’re doing.**Every proposal will wait votingDelay number of blocks before it can be voted on.
votingPeriod?   number | undefined (Optional) **Do not set this property directly. It will be set by the SDK. Unless you know what you’re doing.**The voting period is the number of blocks that a proposal will be open for voting. This varies by chain.
votingQuorumFraction   number Quorum required for a proposal to be successful. This value should be between 0-100 and represents a percentage.By default it is set to 0.
votingTokenAddress   string The ERC20 token address that is used in the voting process.