GenLocalStateArgs
Interface for the arguments to the genLocalState command Generate a local MACI state from the smart contracts events
Table of contents
Properties
- blockPerBatch
 - coordinatorPrivateKey
 - endBlock
 - ethereumProvider
 - maciContractAddress
 - outputPath
 - pollId
 - quiet
 - signer
 - sleep
 - startBlock
 - transactionHash
 
Properties
blockPerBatch
• Optional blockPerBatch: number
The number of blocks to fetch per batch
Defined in
coordinatorPrivateKey
• Optional coordinatorPrivateKey: string
The private key of the MACI coordinator
Defined in
endBlock
• Optional endBlock: number
The end block number
Defined in
ethereumProvider
• Optional ethereumProvider: string
The ethereum provider
Defined in
maciContractAddress
• Optional maciContractAddress: string
The address of the MACI contract
Defined in
outputPath
• outputPath: string
The path where to write the state
Defined in
pollId
• pollId: bigint
The id of the poll
Defined in
quiet
• Optional quiet: boolean
Whether to log the output
Defined in
signer
• signer: Signer
A signer object
Defined in
sleep
• Optional sleep: number
The sleep time between batches
Defined in
startBlock
• Optional startBlock: number
The start block number
Defined in
transactionHash
• Optional transactionHash: string
The transaction hash