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
 - maciAddress
 - outputPath
 - pollId
 - quiet
 - signer
 - sleep
 - startBlock
 - transactionHash
 
Properties
blockPerBatch
• Optional blockPerBatch: number
The number of blocks to fetch per batch
Defined in
utils/interfaces.ts:405
coordinatorPrivateKey
• Optional coordinatorPrivateKey: string
The private key of the MACI coordinator
Defined in
utils/interfaces.ts:385
endBlock
• Optional endBlock: number
The end block number
Defined in
utils/interfaces.ts:395
ethereumProvider
• Optional ethereumProvider: string
The ethereum provider
Defined in
utils/interfaces.ts:390
maciAddress
• Optional maciAddress: string
The address of the MACI contract
Defined in
utils/interfaces.ts:380
outputPath
• outputPath: string
The path where to write the state
Defined in
utils/interfaces.ts:365
pollId
• pollId: bigint
The id of the poll
Defined in
utils/interfaces.ts:370
quiet
• Optional quiet: boolean
Whether to log the output
Defined in
utils/interfaces.ts:420
signer
• signer: Signer
A signer object
Defined in
utils/interfaces.ts:375
sleep
• Optional sleep: number
The sleep time between batches
Defined in
utils/interfaces.ts:415
startBlock
• Optional startBlock: number
The start block number
Defined in
utils/interfaces.ts:400
transactionHash
• Optional transactionHash: string
The transaction hash
Defined in
utils/interfaces.ts:410