Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IProveParams

Interface: IProveParams

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

Interface that represents task prove params

Properties

blocksPerBatch?

optional blocksPerBatch: number

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

The number of blocks to fetch logs from


coordinatorPrivateKey

coordinatorPrivateKey: string

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

Coordinator's private key


endBlock?

optional endBlock: number

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

The block number to stop fetching logs from


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string

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

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


messageProcessorWasm?

optional messageProcessorWasm: string

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

The path to the process wasm file


messageProcessorWitnessGenerator?

optional messageProcessorWitnessGenerator: string

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

The path to the process witness generator binary


messageProcessorZkey

messageProcessorZkey: string

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

The path to the process zkey file


mode?

optional mode: EMode

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

Voting mode


outputDir

outputDir: string

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

The directory to store the proofs


poll

poll: BigNumberish

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

The poll id


rapidsnark?

optional rapidsnark: string

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

The path to the rapidsnark binary


startBlock?

optional startBlock: number

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

The block number to start fetching logs from


stateFile?

optional stateFile: string

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

The file with the serialized maci state


tallyFile

tallyFile: string

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

The file to store the tally proof


transactionHash?

optional transactionHash: string

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

The transaction hash of the first transaction


voteTallyWasm?

optional voteTallyWasm: string

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

The path to the tally wasm file


voteTallyWitnessGenerator?

optional voteTallyWitnessGenerator: string

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

The path to the tally witness generator binary


voteTallyZkey

voteTallyZkey: string

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

The path to the tally zkey file