Minimal Anti Collusion Infrastructure (MACI) / DeployPollArgs
Interface: DeployPollArgs
Defined in: utils/interfaces.ts:272
Interface for the arguments to the deployPoll command
Properties
coordinatorPubkey
coordinatorPubkey:
string
Defined in: utils/interfaces.ts:296
The coordinator's public key
gatekeeperAddress?
optionalgatekeeperAddress:string
Defined in: utils/interfaces.ts:331
The address of the gatekeeper contract
initialVoiceCreditsBalance?
optionalinitialVoiceCreditsBalance:number
Defined in: utils/interfaces.ts:341
The initial voice credits balance
intStateTreeDepth
intStateTreeDepth:
number
Defined in: utils/interfaces.ts:281
The depth of the intermediate state tree
maciAddress?
optionalmaciAddress:string
Defined in: utils/interfaces.ts:311
The MACI contract address
messageBatchSize
messageBatchSize:
number
Defined in: utils/interfaces.ts:286
The size of the message batch
pollDuration
pollDuration:
number
Defined in: utils/interfaces.ts:276
The duration of the poll in seconds
quiet?
optionalquiet:boolean
Defined in: utils/interfaces.ts:321
Whether to log the output to the console
relayers?
optionalrelayers:string[]
Defined in: utils/interfaces.ts:306
The relayer addresses
signer
signer:
Signer
Defined in: utils/interfaces.ts:301
A signer object
useQuadraticVoting?
optionaluseQuadraticVoting:boolean
Defined in: utils/interfaces.ts:326
Whether to use quadratic voting or not
vkRegistryAddress?
optionalvkRegistryAddress:string
Defined in: utils/interfaces.ts:316
The vkRegistry contract address
voiceCreditProxyAddress?
optionalvoiceCreditProxyAddress:string
Defined in: utils/interfaces.ts:336
The address of the initial voice credit proxy contract
voteOptionTreeDepth
voteOptionTreeDepth:
number
Defined in: utils/interfaces.ts:291
The depth of the vote option tree