Minimal Anti Collusion Infrastructure (MACI) / IGenerateMaciStateArgs
Interface: IGenerateMaciStateArgs
Defined in: packages/sdk/ts/maci/types.ts:141
Interface for the arguments to the genLocalState command Generate a local MACI state from the smart contracts events
Properties
blockPerBatch?
optionalblockPerBatch:number
Defined in: packages/sdk/ts/maci/types.ts:185
The number of blocks to fetch per batch
coordinatorPrivateKey
coordinatorPrivateKey:
string
Defined in: packages/sdk/ts/maci/types.ts:160
The private key of the MACI coordinator
endBlock?
optionalendBlock:number
Defined in: packages/sdk/ts/maci/types.ts:180
The end block number
ipfsMessageBackupFiles?
optionalipfsMessageBackupFiles:string[]
Defined in: packages/sdk/ts/maci/types.ts:200
Backup files for ipfs messages (name format: ipfsHash.json)
logsOutputPath?
optionallogsOutputPath:string
Defined in: packages/sdk/ts/maci/types.ts:205
The file path where to save the logs for debugging and auditing purposes
maciAddress
maciAddress:
string
Defined in: packages/sdk/ts/maci/types.ts:155
The address of the MACI contract
outputPath?
optionaloutputPath:string
Defined in: packages/sdk/ts/maci/types.ts:170
The path where to write the state
pollId
pollId:
bigint
Defined in: packages/sdk/ts/maci/types.ts:145
The id of the poll
provider?
optionalprovider:string
Defined in: packages/sdk/ts/maci/types.ts:165
The ethereum provider
signer
signer:
Signer
Defined in: packages/sdk/ts/maci/types.ts:150
A signer object
sleep?
optionalsleep:number
Defined in: packages/sdk/ts/maci/types.ts:195
The sleep time between batches
startBlock?
optionalstartBlock:number
Defined in: packages/sdk/ts/maci/types.ts:175
The start block number
transactionHash?
optionaltransactionHash:string
Defined in: packages/sdk/ts/maci/types.ts:190
The transaction hash