GenProofsArgs
Interface for the arguments to the genProof command
Table of contents
Properties
- blocksPerBatch
- coordinatorPrivKey
- endBlock
- maciAddress
- outputDir
- pollId
- processDatFile
- processWasm
- processWitgen
- processZkey
- quiet
- rapidsnark
- signer
- startBlock
- stateFile
- subsidyDatFile
- subsidyFile
- subsidyWasm
- subsidyWitgen
- subsidyZkey
- tallyAddress
- tallyDatFile
- tallyFile
- tallyWasm
- tallyWitgen
- tallyZkey
- transactionHash
- useQuadraticVoting
- useWasm
Properties
blocksPerBatch
• Optional
blocksPerBatch: number
The number of blocks to fetch logs from
Defined in
utils/interfaces.ts:576
coordinatorPrivKey
• Optional
coordinatorPrivKey: string
The coordinator's private key
Defined in
utils/interfaces.ts:531
endBlock
• Optional
endBlock: number
The block number to stop fetching logs from
Defined in
utils/interfaces.ts:581
maciAddress
• Optional
maciAddress: string
The address of the MACI contract
Defined in
utils/interfaces.ts:536
outputDir
• outputDir: string
The directory to store the proofs
Defined in
utils/interfaces.ts:456
pollId
• pollId: bigint
The id of the poll
Defined in
utils/interfaces.ts:476
processDatFile
• Optional
processDatFile: string
The path to the process dat file
Defined in
utils/interfaces.ts:506
processWasm
• Optional
processWasm: string
The path to the process wasm file
Defined in
utils/interfaces.ts:546
processWitgen
• Optional
processWitgen: string
The path to the process witnessgen binary
Defined in
utils/interfaces.ts:501
processZkey
• processZkey: string
The path to the process zkey file
Defined in
utils/interfaces.ts:471
quiet
• Optional
quiet: boolean
Whether to log the output
Defined in
utils/interfaces.ts:586
rapidsnark
• Optional
rapidsnark: string
The path to the rapidsnark binary
Defined in
utils/interfaces.ts:496
signer
• signer: Signer
A signer object
Defined in
utils/interfaces.ts:481
startBlock
• Optional
startBlock: number
The block number to start fetching logs from
Defined in
utils/interfaces.ts:571
stateFile
• Optional
stateFile: string
The file with the serialized maci state
Defined in
utils/interfaces.ts:566
subsidyDatFile
• Optional
subsidyDatFile: string
The path to the subsidy dat file
Defined in
utils/interfaces.ts:526
subsidyFile
• Optional
subsidyFile: string
The file to store the subsidy proof
Defined in
utils/interfaces.ts:486
subsidyWasm
• Optional
subsidyWasm: string
The path to the subsidy wasm file
Defined in
utils/interfaces.ts:556
subsidyWitgen
• Optional
subsidyWitgen: string
The path to the subsidy witnessgen binary
Defined in
utils/interfaces.ts:521
subsidyZkey
• Optional
subsidyZkey: string
The path to the subsidy zkey file
Defined in
utils/interfaces.ts:491
tallyAddress
• Optional
tallyAddress: string
The address of the Tally contract
Defined in
utils/interfaces.ts:596
tallyDatFile
• Optional
tallyDatFile: string
The path to the tally dat file
Defined in
utils/interfaces.ts:516
tallyFile
• tallyFile: string
The file to store the tally proof
Defined in
utils/interfaces.ts:461
tallyWasm
• Optional
tallyWasm: string
The path to the tally wasm file
Defined in
utils/interfaces.ts:551
tallyWitgen
• Optional
tallyWitgen: string
The path to the tally witnessgen binary
Defined in
utils/interfaces.ts:511
tallyZkey
• tallyZkey: string
The path to the tally zkey file
Defined in
utils/interfaces.ts:466
transactionHash
• Optional
transactionHash: string
The transaction hash of the first transaction
Defined in
utils/interfaces.ts:541
useQuadraticVoting
• Optional
useQuadraticVoting: boolean
Whether to use quadratic voting or not
Defined in
utils/interfaces.ts:591
useWasm
• Optional
useWasm: boolean
Whether to use wasm or rapidsnark
Defined in
utils/interfaces.ts:561