Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / GenProofsArgs

Interface: GenProofsArgs

Defined in: utils/interfaces.ts:107

Interface for the arguments to the genProof command

Properties

blocksPerBatch?

optional blocksPerBatch: number

Defined in: utils/interfaces.ts:206

The number of blocks to fetch logs from


coordinatorPrivKey?

optional coordinatorPrivKey: string

Defined in: utils/interfaces.ts:166

The coordinator's private key


endBlock?

optional endBlock: number

Defined in: utils/interfaces.ts:211

The block number to stop fetching logs from


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

Defined in: utils/interfaces.ts:226

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


maciAddress?

optional maciAddress: string

Defined in: utils/interfaces.ts:171

The address of the MACI contract


outputDir

outputDir: string

Defined in: utils/interfaces.ts:111

The directory to store the proofs


pollId

pollId: bigint

Defined in: utils/interfaces.ts:131

The id of the poll


processDatFile?

optional processDatFile: string

Defined in: utils/interfaces.ts:151

The path to the process dat file


processWasm?

optional processWasm: string

Defined in: utils/interfaces.ts:181

The path to the process wasm file


processWitgen?

optional processWitgen: string

Defined in: utils/interfaces.ts:146

The path to the process witnessgen binary


processZkey

processZkey: string

Defined in: utils/interfaces.ts:126

The path to the process zkey file


quiet?

optional quiet: boolean

Defined in: utils/interfaces.ts:216

Whether to log the output


rapidsnark?

optional rapidsnark: string

Defined in: utils/interfaces.ts:141

The path to the rapidsnark binary


signer

signer: Signer

Defined in: utils/interfaces.ts:136

A signer object


startBlock?

optional startBlock: number

Defined in: utils/interfaces.ts:201

The block number to start fetching logs from


stateFile?

optional stateFile: string

Defined in: utils/interfaces.ts:196

The file with the serialized maci state


tallyDatFile?

optional tallyDatFile: string

Defined in: utils/interfaces.ts:161

The path to the tally dat file


tallyFile

tallyFile: string

Defined in: utils/interfaces.ts:116

The file to store the tally proof


tallyWasm?

optional tallyWasm: string

Defined in: utils/interfaces.ts:186

The path to the tally wasm file


tallyWitgen?

optional tallyWitgen: string

Defined in: utils/interfaces.ts:156

The path to the tally witnessgen binary


tallyZkey

tallyZkey: string

Defined in: utils/interfaces.ts:121

The path to the tally zkey file


transactionHash?

optional transactionHash: string

Defined in: utils/interfaces.ts:176

The transaction hash of the first transaction


useQuadraticVoting?

optional useQuadraticVoting: boolean

Defined in: utils/interfaces.ts:221

Whether to use quadratic voting or not


useWasm?

optional useWasm: boolean

Defined in: utils/interfaces.ts:191

Whether to use wasm or rapidsnark