Interface VoteContractDeployMetadata

Options for deploying a Vote contract

Hierarchy

  • VoteContractDeployMetadata

Properties

app_uri?: string

The default app for this contract

description?: string

Optional description of the contract

external_link?: string

Optional url for the contract

image?: FileOrBufferOrString

Optional image for the contract

name: string

name of the contract

proposal_token_threshold?: string | number | bigint | BigNumber

The minimum amount in governance token owned to be able to create a proposal

trusted_forwarders?: string[]

Custom gasless trusted forwarder addresses

voting_delay_in_blocks?: number

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

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

The minimum fraction to be met to pass a proposal

voting_token_address: string

The address of the governance token contract representing votes

Generated using TypeDoc