Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / GenProofsArgs

Interface: GenProofsArgs

Defined in: utils/interfaces.ts:562

Interface for the arguments to the genProof command

Properties

blocksPerBatch?

optional blocksPerBatch: number

Defined in: utils/interfaces.ts:661

The number of blocks to fetch logs from


coordinatorPrivKey?

optional coordinatorPrivKey: string

Defined in: utils/interfaces.ts:621

The coordinator's private key


endBlock?

optional endBlock: number

Defined in: utils/interfaces.ts:666

The block number to stop fetching logs from


maciAddress?

optional maciAddress: string

Defined in: utils/interfaces.ts:626

The address of the MACI contract


outputDir

outputDir: string

Defined in: utils/interfaces.ts:566

The directory to store the proofs


pollId

pollId: bigint

Defined in: utils/interfaces.ts:586

The id of the poll


processDatFile?

optional processDatFile: string

Defined in: utils/interfaces.ts:606

The path to the process dat file


processWasm?

optional processWasm: string

Defined in: utils/interfaces.ts:636

The path to the process wasm file


processWitgen?

optional processWitgen: string

Defined in: utils/interfaces.ts:601

The path to the process witnessgen binary


processZkey

processZkey: string

Defined in: utils/interfaces.ts:581

The path to the process zkey file


quiet?

optional quiet: boolean

Defined in: utils/interfaces.ts:671

Whether to log the output


rapidsnark?

optional rapidsnark: string

Defined in: utils/interfaces.ts:596

The path to the rapidsnark binary


signer

signer: Signer

Defined in: utils/interfaces.ts:591

A signer object


startBlock?

optional startBlock: number

Defined in: utils/interfaces.ts:656

The block number to start fetching logs from


stateFile?

optional stateFile: string

Defined in: utils/interfaces.ts:651

The file with the serialized maci state


tallyDatFile?

optional tallyDatFile: string

Defined in: utils/interfaces.ts:616

The path to the tally dat file


tallyFile

tallyFile: string

Defined in: utils/interfaces.ts:571

The file to store the tally proof


tallyWasm?

optional tallyWasm: string

Defined in: utils/interfaces.ts:641

The path to the tally wasm file


tallyWitgen?

optional tallyWitgen: string

Defined in: utils/interfaces.ts:611

The path to the tally witnessgen binary


tallyZkey

tallyZkey: string

Defined in: utils/interfaces.ts:576

The path to the tally zkey file


transactionHash?

optional transactionHash: string

Defined in: utils/interfaces.ts:631

The transaction hash of the first transaction


useQuadraticVoting?

optional useQuadraticVoting: boolean

Defined in: utils/interfaces.ts:676

Whether to use quadratic voting or not


useWasm?

optional useWasm: boolean

Defined in: utils/interfaces.ts:646

Whether to use wasm or rapidsnark