Minimal Anti Collusion Infrastructure (MACI) / GenLocalStateArgs
Interface: GenLocalStateArgs
Defined in: utils/interfaces.ts:523
Interface for the arguments to the genLocalState command Generate a local MACI state from the smart contracts events
Properties
blockPerBatch?
optionalblockPerBatch:number
Defined in: utils/interfaces.ts:567
The number of blocks to fetch per batch
coordinatorPrivateKey?
optionalcoordinatorPrivateKey:string
Defined in: utils/interfaces.ts:547
The private key of the MACI coordinator
endBlock?
optionalendBlock:number
Defined in: utils/interfaces.ts:557
The end block number
ethereumProvider?
optionalethereumProvider:string
Defined in: utils/interfaces.ts:552
The ethereum provider
ipfsMessageBackupFiles?
optionalipfsMessageBackupFiles:string[]
Defined in: utils/interfaces.ts:582
Backup files for ipfs messages (name format: ipfsHash.json)
maciAddress?
optionalmaciAddress:string
Defined in: utils/interfaces.ts:542
The address of the MACI contract
outputPath
outputPath:
string
Defined in: utils/interfaces.ts:527
The path where to write the state
pollId
pollId:
bigint
Defined in: utils/interfaces.ts:532
The id of the poll
quiet?
optionalquiet:boolean
Defined in: utils/interfaces.ts:587
Whether to log the output
signer
signer:
Signer
Defined in: utils/interfaces.ts:537
A signer object
sleep?
optionalsleep:number
Defined in: utils/interfaces.ts:577
The sleep time between batches
startBlock?
optionalstartBlock:number
Defined in: utils/interfaces.ts:562
The start block number
transactionHash?
optionaltransactionHash:string
Defined in: utils/interfaces.ts:572
The transaction hash