Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / GenProofsArgs

Interface: GenProofsArgs

Defined in: utils/interfaces.ts:593

Interface for the arguments to the genProof command

Properties

blocksPerBatch?

optional blocksPerBatch: number

Defined in: utils/interfaces.ts:692

The number of blocks to fetch logs from


coordinatorPrivKey?

optional coordinatorPrivKey: string

Defined in: utils/interfaces.ts:652

The coordinator's private key


endBlock?

optional endBlock: number

Defined in: utils/interfaces.ts:697

The block number to stop fetching logs from


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

Defined in: utils/interfaces.ts:712

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


maciAddress?

optional maciAddress: string

Defined in: utils/interfaces.ts:657

The address of the MACI contract


outputDir

outputDir: string

Defined in: utils/interfaces.ts:597

The directory to store the proofs


pollId

pollId: bigint

Defined in: utils/interfaces.ts:617

The id of the poll


processDatFile?

optional processDatFile: string

Defined in: utils/interfaces.ts:637

The path to the process dat file


processWasm?

optional processWasm: string

Defined in: utils/interfaces.ts:667

The path to the process wasm file


processWitgen?

optional processWitgen: string

Defined in: utils/interfaces.ts:632

The path to the process witnessgen binary


processZkey

processZkey: string

Defined in: utils/interfaces.ts:612

The path to the process zkey file


quiet?

optional quiet: boolean

Defined in: utils/interfaces.ts:702

Whether to log the output


rapidsnark?

optional rapidsnark: string

Defined in: utils/interfaces.ts:627

The path to the rapidsnark binary


signer

signer: Signer

Defined in: utils/interfaces.ts:622

A signer object


startBlock?

optional startBlock: number

Defined in: utils/interfaces.ts:687

The block number to start fetching logs from


stateFile?

optional stateFile: string

Defined in: utils/interfaces.ts:682

The file with the serialized maci state


tallyDatFile?

optional tallyDatFile: string

Defined in: utils/interfaces.ts:647

The path to the tally dat file


tallyFile

tallyFile: string

Defined in: utils/interfaces.ts:602

The file to store the tally proof


tallyWasm?

optional tallyWasm: string

Defined in: utils/interfaces.ts:672

The path to the tally wasm file


tallyWitgen?

optional tallyWitgen: string

Defined in: utils/interfaces.ts:642

The path to the tally witnessgen binary


tallyZkey

tallyZkey: string

Defined in: utils/interfaces.ts:607

The path to the tally zkey file


transactionHash?

optional transactionHash: string

Defined in: utils/interfaces.ts:662

The transaction hash of the first transaction


useQuadraticVoting?

optional useQuadraticVoting: boolean

Defined in: utils/interfaces.ts:707

Whether to use quadratic voting or not


useWasm?

optional useWasm: boolean

Defined in: utils/interfaces.ts:677

Whether to use wasm or rapidsnark