Skip to main content
Version: v2.0_alpha

Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / DeployPollArgs

Interface: DeployPollArgs

Interface for the arguments to the deployPoll command

Properties

coordinatorPubkey

coordinatorPubkey: string

The coordinator's public key

Defined in

utils/interfaces.ts:300


intStateTreeDepth

intStateTreeDepth: number

The depth of the intermediate state tree

Defined in

utils/interfaces.ts:280


maciAddress?

optional maciAddress: string

The MACI contract address

Defined in

utils/interfaces.ts:310


messageTreeDepth

messageTreeDepth: number

The depth of the message tree

Defined in

utils/interfaces.ts:290


messageTreeSubDepth

messageTreeSubDepth: number

The depth of the message tree sublevels

Defined in

utils/interfaces.ts:285


pollDuration

pollDuration: number

The duration of the poll in seconds

Defined in

utils/interfaces.ts:275


quiet?

optional quiet: boolean

Whether to log the output to the console

Defined in

utils/interfaces.ts:320


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:305


useQuadraticVoting?

optional useQuadraticVoting: boolean

Whether to use quadratic voting or not

Defined in

utils/interfaces.ts:325


vkRegistryAddress?

optional vkRegistryAddress: string

The vkRegistry contract address

Defined in

utils/interfaces.ts:315


voteOptionTreeDepth

voteOptionTreeDepth: number

The depth of the vote option tree

Defined in

utils/interfaces.ts:295