Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / GenProofsArgs

Interface: GenProofsArgs

Defined in: utils/interfaces.ts:454

Interface for the arguments to the genProof command

Properties

blocksPerBatch?

optional blocksPerBatch: number

Defined in: utils/interfaces.ts:553

The number of blocks to fetch logs from


coordinatorPrivKey?

optional coordinatorPrivKey: string

Defined in: utils/interfaces.ts:513

The coordinator's private key


endBlock?

optional endBlock: number

Defined in: utils/interfaces.ts:558

The block number to stop fetching logs from


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

Defined in: utils/interfaces.ts:573

Backup files for ipfs messages (name format: ipfsHash.json)


maciAddress?

optional maciAddress: string

Defined in: utils/interfaces.ts:518

The address of the MACI contract


outputDir

outputDir: string

Defined in: utils/interfaces.ts:458

The directory to store the proofs


pollId

pollId: bigint

Defined in: utils/interfaces.ts:478

The id of the poll


processDatFile?

optional processDatFile: string

Defined in: utils/interfaces.ts:498

The path to the process dat file


processWasm?

optional processWasm: string

Defined in: utils/interfaces.ts:528

The path to the process wasm file


processWitgen?

optional processWitgen: string

Defined in: utils/interfaces.ts:493

The path to the process witnessgen binary


processZkey

processZkey: string

Defined in: utils/interfaces.ts:473

The path to the process zkey file


quiet?

optional quiet: boolean

Defined in: utils/interfaces.ts:563

Whether to log the output


rapidsnark?

optional rapidsnark: string

Defined in: utils/interfaces.ts:488

The path to the rapidsnark binary


signer

signer: Signer

Defined in: utils/interfaces.ts:483

A signer object


startBlock?

optional startBlock: number

Defined in: utils/interfaces.ts:548

The block number to start fetching logs from


stateFile?

optional stateFile: string

Defined in: utils/interfaces.ts:543

The file with the serialized maci state


tallyDatFile?

optional tallyDatFile: string

Defined in: utils/interfaces.ts:508

The path to the tally dat file


tallyFile

tallyFile: string

Defined in: utils/interfaces.ts:463

The file to store the tally proof


tallyWasm?

optional tallyWasm: string

Defined in: utils/interfaces.ts:533

The path to the tally wasm file


tallyWitgen?

optional tallyWitgen: string

Defined in: utils/interfaces.ts:503

The path to the tally witnessgen binary


tallyZkey

tallyZkey: string

Defined in: utils/interfaces.ts:468

The path to the tally zkey file


transactionHash?

optional transactionHash: string

Defined in: utils/interfaces.ts:523

The transaction hash of the first transaction


useQuadraticVoting?

optional useQuadraticVoting: boolean

Defined in: utils/interfaces.ts:568

Whether to use quadratic voting or not


useWasm?

optional useWasm: boolean

Defined in: utils/interfaces.ts:538

Whether to use wasm or rapidsnark