Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / 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:296


gatekeeperAddress?

optional gatekeeperAddress: string

The address of the gatekeeper contract

Defined in

utils/interfaces.ts:326


initialVoiceCreditsBalance?

optional initialVoiceCreditsBalance: number

The initial voice credits balance

Defined in

utils/interfaces.ts:336


intStateTreeDepth

intStateTreeDepth: number

The depth of the intermediate state tree

Defined in

utils/interfaces.ts:281


maciAddress?

optional maciAddress: string

The MACI contract address

Defined in

utils/interfaces.ts:306


messageBatchSize

messageBatchSize: number

The size of the message batch

Defined in

utils/interfaces.ts:286


pollDuration

pollDuration: number

The duration of the poll in seconds

Defined in

utils/interfaces.ts:276


quiet?

optional quiet: boolean

Whether to log the output to the console

Defined in

utils/interfaces.ts:316


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:301


useQuadraticVoting?

optional useQuadraticVoting: boolean

Whether to use quadratic voting or not

Defined in

utils/interfaces.ts:321


vkRegistryAddress?

optional vkRegistryAddress: string

The vkRegistry contract address

Defined in

utils/interfaces.ts:311


voiceCreditProxyAddress?

optional voiceCreditProxyAddress: string

The address of the initial voice credit proxy contract

Defined in

utils/interfaces.ts:331


voteOptionTreeDepth

voteOptionTreeDepth: number

The depth of the vote option tree

Defined in

utils/interfaces.ts:291