Skip to main content

VoteContractDeployMetadata interface

Options for deploying a Vote contract

Signature:

export interface VoteContractDeployMetadata

Properties

PropertyTypeDescription
description?string(Optional) Optional description of the contract
external_link?string(Optional) Optional url for the contract
image?FileBufferOrString(Optional) Optional image for the contract
namestringname of the contract
proposal_token_threshold?BigNumberish(Optional) The minimum amount in governance token owned to be able to create a proposal
trusted_forwarders?string[](Optional) Custom gasless trusted forwarder addresses
voting_delay_in_blocks?number(Optional) The delay in blocks before voting can begin on proposals Specified in number of blocks. Assuming block time of around 13.14 seconds, 1 day = 6570 blocks, 1 week = 45992 blocks.
voting_period_in_blocks?number(Optional) The duration in blocks of the open voting window Specified in number of blocks. Assuming block time of around 13.14 seconds, 1 day = 6570 blocks, 1 week = 45992 blocks.
voting_quorum_fraction?number(Optional) The minimum fraction to be met to pass a proposal
voting_token_addressstringThe address of the governance token contract representing votes