Minimal Anti Collusion Infrastructure (MACI) / IGenerateProofsArgs
Interface: IGenerateProofsArgs
Defined in: packages/sdk/ts/proof/types.ts:60
Arguments for the generateProofs function
Properties
blocksPerBatch?
optional
blocksPerBatch:number
Defined in: packages/sdk/ts/proof/types.ts:114
The blocks per batch
coordinatorPrivateKey
coordinatorPrivateKey:
string
Defined in: packages/sdk/ts/proof/types.ts:69
The coordinator private key
endBlock?
optional
endBlock:number
Defined in: packages/sdk/ts/proof/types.ts:109
The end block
ipfsMessageBackupFiles?
optional
ipfsMessageBackupFiles:string
[]
Defined in: packages/sdk/ts/proof/types.ts:89
The ipfs message backup files
maciAddress
maciAddress:
string
Defined in: packages/sdk/ts/proof/types.ts:79
The maci contract address
messageProcessorWasm?
optional
messageProcessorWasm:string
Defined in: packages/sdk/ts/proof/types.ts:169
The process wasm
messageProcessorWitnessDatFile?
optional
messageProcessorWitnessDatFile:string
Defined in: packages/sdk/ts/proof/types.ts:124
The path to the process dat file
messageProcessorWitnessGenerator?
optional
messageProcessorWitnessGenerator:string
Defined in: packages/sdk/ts/proof/types.ts:164
The process witness generator
messageProcessorZkey
messageProcessorZkey:
string
Defined in: packages/sdk/ts/proof/types.ts:159
The process zkey
mode
mode:
EMode
Defined in: packages/sdk/ts/proof/types.ts:134
The use quadratic voting
outputDir
outputDir:
string
Defined in: packages/sdk/ts/proof/types.ts:64
The output directory
pollId
pollId:
BigNumberish
Defined in: packages/sdk/ts/proof/types.ts:84
The poll id
rapidsnark?
optional
rapidsnark:string
Defined in: packages/sdk/ts/proof/types.ts:119
The rapidsnark path
signer
signer:
Signer
Defined in: packages/sdk/ts/proof/types.ts:74
The signer
startBlock?
optional
startBlock:number
Defined in: packages/sdk/ts/proof/types.ts:104
The start block
stateFile?
optional
stateFile:string
Defined in: packages/sdk/ts/proof/types.ts:94
The state file
tallyFile
tallyFile:
string
Defined in: packages/sdk/ts/proof/types.ts:174
The tally file
transactionHash?
optional
transactionHash:string
Defined in: packages/sdk/ts/proof/types.ts:99
The transaction hash
useWasm?
optional
useWasm:boolean
Defined in: packages/sdk/ts/proof/types.ts:139
Whether to use wasm or rapidsnark
voteTallyWasm?
optional
voteTallyWasm:string
Defined in: packages/sdk/ts/proof/types.ts:154
The tally wasm
voteTallyWitnessDatFile?
optional
voteTallyWitnessDatFile:string
Defined in: packages/sdk/ts/proof/types.ts:129
The path to the tally dat file
voteTallyWitnessGenerator?
optional
voteTallyWitnessGenerator:string
Defined in: packages/sdk/ts/proof/types.ts:149
The tally witness generator
voteTallyZkey
voteTallyZkey:
string
Defined in: packages/sdk/ts/proof/types.ts:144
The tally zkey