Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / IProveParams

Interface: IProveParams

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

Interface that represents task prove params

Properties

blocksPerBatch?

optional blocksPerBatch: number

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

The number of blocks to fetch logs from


coordinatorPrivateKey

coordinatorPrivateKey: string

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

Coordinator's private key


endBlock?

optional endBlock: number

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

The block number to stop fetching logs from


outputDir

outputDir: string

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

The directory to store the proofs


poll

poll: BigNumberish

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

The poll id


processWasm?

optional processWasm: string

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

The path to the process wasm file


processWitgen?

optional processWitgen: string

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

The path to the process witnessgen binary


processZkey

processZkey: string

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

The path to the process zkey file


rapidsnark?

optional rapidsnark: string

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

The path to the rapidsnark binary


startBlock?

optional startBlock: number

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

The block number to start fetching logs from


stateFile?

optional stateFile: string

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

The file with the serialized maci state


tallyFile

tallyFile: string

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

The file to store the tally proof


tallyWasm?

optional tallyWasm: string

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

The path to the tally wasm file


tallyWitgen?

optional tallyWitgen: string

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

The path to the tally witnessgen binary


tallyZkey

tallyZkey: string

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

The path to the tally zkey file


transactionHash?

optional transactionHash: string

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

The transaction hash of the first transaction


useQuadraticVoting?

optional useQuadraticVoting: boolean

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

Whether to use quadratic voting or not