Skip to main content
Version: v1.3_alpha

GenProofsArgs

Interface for the arguments to the genProof command

Table of contents

Properties

Properties

blocksPerBatch

Optional blocksPerBatch: number

The number of blocks to fetch logs from

Defined in

utils/interfaces.ts:529


coordinatorPrivKey

Optional coordinatorPrivKey: string

The coordinator's private key

Defined in

utils/interfaces.ts:489


endBlock

Optional endBlock: number

The block number to stop fetching logs from

Defined in

utils/interfaces.ts:534


maciAddress

Optional maciAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:494


outputDir

outputDir: string

The directory to store the proofs

Defined in

utils/interfaces.ts:434


pollId

pollId: bigint

The id of the poll

Defined in

utils/interfaces.ts:454


processDatFile

Optional processDatFile: string

The path to the process dat file

Defined in

utils/interfaces.ts:474


processWasm

Optional processWasm: string

The path to the process wasm file

Defined in

utils/interfaces.ts:504


processWitgen

Optional processWitgen: string

The path to the process witnessgen binary

Defined in

utils/interfaces.ts:469


processZkey

processZkey: string

The path to the process zkey file

Defined in

utils/interfaces.ts:449


quiet

Optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:539


rapidsnark

Optional rapidsnark: string

The path to the rapidsnark binary

Defined in

utils/interfaces.ts:464


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:459


startBlock

Optional startBlock: number

The block number to start fetching logs from

Defined in

utils/interfaces.ts:524


stateFile

Optional stateFile: string

The file with the serialized maci state

Defined in

utils/interfaces.ts:519


tallyAddress

Optional tallyAddress: string

The address of the Tally contract

Defined in

utils/interfaces.ts:549


tallyDatFile

Optional tallyDatFile: string

The path to the tally dat file

Defined in

utils/interfaces.ts:484


tallyFile

tallyFile: string

The file to store the tally proof

Defined in

utils/interfaces.ts:439


tallyWasm

Optional tallyWasm: string

The path to the tally wasm file

Defined in

utils/interfaces.ts:509


tallyWitgen

Optional tallyWitgen: string

The path to the tally witnessgen binary

Defined in

utils/interfaces.ts:479


tallyZkey

tallyZkey: string

The path to the tally zkey file

Defined in

utils/interfaces.ts:444


transactionHash

Optional transactionHash: string

The transaction hash of the first transaction

Defined in

utils/interfaces.ts:499


useQuadraticVoting

Optional useQuadraticVoting: boolean

Whether to use quadratic voting or not

Defined in

utils/interfaces.ts:544


useWasm

Optional useWasm: boolean

Whether to use wasm or rapidsnark

Defined in

utils/interfaces.ts:514