Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IProveParams

Interface: IProveParams

Defined in: contracts/build/tasks/helpers/types.d.ts:44

Interface that represents task prove params

Properties​

blocksPerBatch?​

optional blocksPerBatch: number

Defined in: contracts/build/tasks/helpers/types.d.ts:104

The number of blocks to fetch logs from


coordinatorPrivateKey​

coordinatorPrivateKey: string

Defined in: contracts/build/tasks/helpers/types.d.ts:52

Coordinator's private key


endBlock?​

optional endBlock: number

Defined in: contracts/build/tasks/helpers/types.d.ts:108

The block number to stop fetching logs from


ipfsMessageBackupFiles?​

optional ipfsMessageBackupFiles: string

Defined in: contracts/build/tasks/helpers/types.d.ts:116

Backup files for ipfs messages (name format: ipfsHash1.json, ipfsHash2.json, ..., ipfsHashN.json)


messageProcessorWasm?​

optional messageProcessorWasm: string

Defined in: contracts/build/tasks/helpers/types.d.ts:72

The path to the process wasm file


messageProcessorWitnessGenerator?​

optional messageProcessorWitnessGenerator: string

Defined in: contracts/build/tasks/helpers/types.d.ts:68

The path to the process witness generator binary


messageProcessorZkey​

messageProcessorZkey: string

Defined in: contracts/build/tasks/helpers/types.d.ts:64

The path to the process zkey file


mode?​

optional mode: EMode

Defined in: contracts/build/tasks/helpers/types.d.ts:92

Voting mode


outputDir​

outputDir: string

Defined in: contracts/build/tasks/helpers/types.d.ts:60

The directory to store the proofs


poll​

poll: BigNumberish

Defined in: contracts/build/tasks/helpers/types.d.ts:48

The poll id


rapidsnark?​

optional rapidsnark: string

Defined in: contracts/build/tasks/helpers/types.d.ts:56

The path to the rapidsnark binary


startBlock?​

optional startBlock: number

Defined in: contracts/build/tasks/helpers/types.d.ts:100

The block number to start fetching logs from


stateFile?​

optional stateFile: string

Defined in: contracts/build/tasks/helpers/types.d.ts:96

The file with the serialized maci state


submitOnChain?​

optional submitOnChain: boolean

Defined in: contracts/build/tasks/helpers/types.d.ts:120

Submit proofs on-chain


tallyFile​

tallyFile: string

Defined in: contracts/build/tasks/helpers/types.d.ts:76

The file to store the tally proof


transactionHash?​

optional transactionHash: string

Defined in: contracts/build/tasks/helpers/types.d.ts:112

The transaction hash of the first transaction


voteTallyWasm?​

optional voteTallyWasm: string

Defined in: contracts/build/tasks/helpers/types.d.ts:88

The path to the tally wasm file


voteTallyWitnessGenerator?​

optional voteTallyWitnessGenerator: string

Defined in: contracts/build/tasks/helpers/types.d.ts:84

The path to the tally witness generator binary


voteTallyZkey​

voteTallyZkey: string

Defined in: contracts/build/tasks/helpers/types.d.ts:80

The path to the tally zkey file