Skip to main content
Version: v1.2

DeployPollArgs

Interface for the arguments to the deployPoll command

Table of contents​

Properties​

Properties​

coordinatorPubkey​

• coordinatorPubkey: string

The coordinator's public key

Defined in​

utils/interfaces.ts:354


intStateTreeDepth​

• intStateTreeDepth: number

The depth of the intermediate state tree

Defined in​

utils/interfaces.ts:334


maciAddress​

• Optional maciAddress: string

The MACI contract address

Defined in​

utils/interfaces.ts:369


messageTreeDepth​

• messageTreeDepth: number

The depth of the message tree

Defined in​

utils/interfaces.ts:344


messageTreeSubDepth​

• messageTreeSubDepth: number

The depth of the message tree sublevels

Defined in​

utils/interfaces.ts:339


pollDuration​

• pollDuration: number

The duration of the poll in seconds

Defined in​

utils/interfaces.ts:329


quiet​

• Optional quiet: boolean

Whether to log the output to the console

Defined in​

utils/interfaces.ts:379


signer​

• signer: Signer

A signer object

Defined in​

utils/interfaces.ts:364


subsidyEnabled​

• subsidyEnabled: boolean

Whether to deploy subsidy contract

Defined in​

utils/interfaces.ts:359


vkRegistryAddress​

• Optional vkRegistryAddress: string

The vkRegistry contract address

Defined in​

utils/interfaces.ts:374


voteOptionTreeDepth​

• voteOptionTreeDepth: number

The depth of the vote option tree

Defined in​

utils/interfaces.ts:349