Minimal Anti Collusion Infrastructure (MACI) / DeployPollArgs
Interface: DeployPollArgs
Defined in: utils/interfaces.ts:209
Interface for the arguments to the deployPoll command
Properties
coordinatorPubkey
coordinatorPubkey:
string
Defined in: utils/interfaces.ts:238
The coordinator's public key
gatekeeperAddress?
optional
gatekeeperAddress:string
Defined in: utils/interfaces.ts:273
The address of the gatekeeper contract
initialVoiceCreditsBalance?
optional
initialVoiceCreditsBalance:number
Defined in: utils/interfaces.ts:283
The initial voice credits balance
intStateTreeDepth
intStateTreeDepth:
number
Defined in: utils/interfaces.ts:223
The depth of the intermediate state tree
maciAddress?
optional
maciAddress:string
Defined in: utils/interfaces.ts:253
The MACI contract address
messageBatchSize
messageBatchSize:
number
Defined in: utils/interfaces.ts:228
The size of the message batch
pollEndDate
pollEndDate:
number
Defined in: utils/interfaces.ts:218
The end date of the poll
pollStartDate
pollStartDate:
number
Defined in: utils/interfaces.ts:213
The start date of the poll
quiet?
optional
quiet:boolean
Defined in: utils/interfaces.ts:263
Whether to log the output to the console
relayers?
optional
relayers:string
[]
Defined in: utils/interfaces.ts:248
The relayer addresses
signer
signer:
Signer
Defined in: utils/interfaces.ts:243
A signer object
useQuadraticVoting?
optional
useQuadraticVoting:boolean
Defined in: utils/interfaces.ts:268
Whether to use quadratic voting or not
vkRegistryAddress?
optional
vkRegistryAddress:string
Defined in: utils/interfaces.ts:258
The vkRegistry contract address
voiceCreditProxyAddress?
optional
voiceCreditProxyAddress:string
Defined in: utils/interfaces.ts:278
The address of the initial voice credit proxy contract
voteOptions?
optional
voteOptions:number
Defined in: utils/interfaces.ts:288
The number of vote options
voteOptionTreeDepth
voteOptionTreeDepth:
number
Defined in: utils/interfaces.ts:233
The depth of the vote option tree