Minimal Anti Collusion Infrastructure (MACI) / GenLocalStateArgs
Interface: GenLocalStateArgs
Defined in: utils/interfaces.ts:497
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:541
The number of blocks to fetch per batch
coordinatorPrivateKey?
optionalcoordinatorPrivateKey:string
Defined in: utils/interfaces.ts:521
The private key of the MACI coordinator
endBlock?
optionalendBlock:number
Defined in: utils/interfaces.ts:531
The end block number
ethereumProvider?
optionalethereumProvider:string
Defined in: utils/interfaces.ts:526
The ethereum provider
maciAddress?
optionalmaciAddress:string
Defined in: utils/interfaces.ts:516
The address of the MACI contract
outputPath
outputPath:
string
Defined in: utils/interfaces.ts:501
The path where to write the state
pollId
pollId:
bigint
Defined in: utils/interfaces.ts:506
The id of the poll
quiet?
optionalquiet:boolean
Defined in: utils/interfaces.ts:556
Whether to log the output
signer
signer:
Signer
Defined in: utils/interfaces.ts:511
A signer object
sleep?
optionalsleep:number
Defined in: utils/interfaces.ts:551
The sleep time between batches
startBlock?
optionalstartBlock:number
Defined in: utils/interfaces.ts:536
The start block number
transactionHash?
optionaltransactionHash:string
Defined in: utils/interfaces.ts:546
The transaction hash