Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / GenLocalStateArgs
Interface: GenLocalStateArgs
Interface for the arguments to the genLocalState command Generate a local MACI state from the smart contracts events
Properties
blockPerBatch?
optional
blockPerBatch:number
The number of blocks to fetch per batch
Defined in
utils/interfaces.ts:536
coordinatorPrivateKey?
optional
coordinatorPrivateKey:string
The private key of the MACI coordinator
Defined in
utils/interfaces.ts:516
endBlock?
optional
endBlock:number
The end block number
Defined in
utils/interfaces.ts:526
ethereumProvider?
optional
ethereumProvider:string
The ethereum provider
Defined in
utils/interfaces.ts:521
maciAddress?
optional
maciAddress:string
The address of the MACI contract
Defined in
utils/interfaces.ts:511
outputPath
outputPath:
string
The path where to write the state
Defined in
utils/interfaces.ts:496
pollId
pollId:
bigint
The id of the poll
Defined in
utils/interfaces.ts:501
quiet?
optional
quiet:boolean
Whether to log the output
Defined in
utils/interfaces.ts:551
signer
signer:
Signer
A signer object
Defined in
utils/interfaces.ts:506
sleep?
optional
sleep:number
The sleep time between batches
Defined in
utils/interfaces.ts:546
startBlock?
optional
startBlock:number
The start block number
Defined in
utils/interfaces.ts:531
transactionHash?
optional
transactionHash:string
The transaction hash
Defined in
utils/interfaces.ts:541