Minimal Anti Collusion Infrastructure (MACI) / IGenerateMaciStateArgs
Interface: IGenerateMaciStateArgs
Defined in: sdk/ts/maci/types.ts:178
Interface for the arguments to the generateLocalState command Generate a local MACI state from the smart contracts events
Properties
blockPerBatch?
optionalblockPerBatch:number
Defined in: sdk/ts/maci/types.ts:222
The number of blocks to fetch per batch
coordinatorPrivateKey
coordinatorPrivateKey:
string
Defined in: sdk/ts/maci/types.ts:197
The private key of the MACI coordinator
endBlock?
optionalendBlock:number
Defined in: sdk/ts/maci/types.ts:217
The end block number
ipfsMessageBackupFiles?
optionalipfsMessageBackupFiles:string[]
Defined in: sdk/ts/maci/types.ts:237
Backup files for ipfs messages (name format: ipfsHash.json)
logsOutputPath?
optionallogsOutputPath:string
Defined in: sdk/ts/maci/types.ts:242
The file path where to save the logs for debugging and auditing purposes
maciAddress
maciAddress:
string
Defined in: sdk/ts/maci/types.ts:192
The address of the MACI contract
outputPath?
optionaloutputPath:string
Defined in: sdk/ts/maci/types.ts:207
The path where to write the state
pollId
pollId:
bigint
Defined in: sdk/ts/maci/types.ts:182
The id of the poll
provider?
optionalprovider:string
Defined in: sdk/ts/maci/types.ts:202
The ethereum provider
signer
signer:
Signer
Defined in: sdk/ts/maci/types.ts:187
A signer object
sleep?
optionalsleep:number
Defined in: sdk/ts/maci/types.ts:232
The sleep time between batches
startBlock?
optionalstartBlock:number
Defined in: sdk/ts/maci/types.ts:212
The start block number
transactionHash?
optionaltransactionHash:string
Defined in: sdk/ts/maci/types.ts:227
The transaction hash