Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) v2.5.0 / GenProofsArgs

Interface: GenProofsArgs

Interface for the arguments to the genProof command

Properties

blocksPerBatch?

optional blocksPerBatch: number

The number of blocks to fetch logs from

Defined in

utils/interfaces.ts:651


coordinatorPrivKey?

optional coordinatorPrivKey: string

The coordinator's private key

Defined in

utils/interfaces.ts:611


endBlock?

optional endBlock: number

The block number to stop fetching logs from

Defined in

utils/interfaces.ts:656


maciAddress?

optional maciAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:616


outputDir

outputDir: string

The directory to store the proofs

Defined in

utils/interfaces.ts:556


pollId

pollId: bigint

The id of the poll

Defined in

utils/interfaces.ts:576


processDatFile?

optional processDatFile: string

The path to the process dat file

Defined in

utils/interfaces.ts:596


processWasm?

optional processWasm: string

The path to the process wasm file

Defined in

utils/interfaces.ts:626


processWitgen?

optional processWitgen: string

The path to the process witnessgen binary

Defined in

utils/interfaces.ts:591


processZkey

processZkey: string

The path to the process zkey file

Defined in

utils/interfaces.ts:571


quiet?

optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:661


rapidsnark?

optional rapidsnark: string

The path to the rapidsnark binary

Defined in

utils/interfaces.ts:586


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:581


startBlock?

optional startBlock: number

The block number to start fetching logs from

Defined in

utils/interfaces.ts:646


stateFile?

optional stateFile: string

The file with the serialized maci state

Defined in

utils/interfaces.ts:641


tallyDatFile?

optional tallyDatFile: string

The path to the tally dat file

Defined in

utils/interfaces.ts:606


tallyFile

tallyFile: string

The file to store the tally proof

Defined in

utils/interfaces.ts:561


tallyWasm?

optional tallyWasm: string

The path to the tally wasm file

Defined in

utils/interfaces.ts:631


tallyWitgen?

optional tallyWitgen: string

The path to the tally witnessgen binary

Defined in

utils/interfaces.ts:601


tallyZkey

tallyZkey: string

The path to the tally zkey file

Defined in

utils/interfaces.ts:566


transactionHash?

optional transactionHash: string

The transaction hash of the first transaction

Defined in

utils/interfaces.ts:621


useQuadraticVoting?

optional useQuadraticVoting: boolean

Whether to use quadratic voting or not

Defined in

utils/interfaces.ts:666


useWasm?

optional useWasm: boolean

Whether to use wasm or rapidsnark

Defined in

utils/interfaces.ts:636