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
coordinatorPrivKey
• Optional
coordinatorPrivKey: string
The coordinator's private key
Defined in
endBlock
• Optional
endBlock: number
The block number to stop fetching logs from
Defined in
maciAddress
• Optional
maciAddress: string
The address of the MACI contract
Defined in
outputDir
• outputDir: string
The directory to store the proofs
Defined in
pollId
• pollId: bigint
The id of the poll
Defined in
processDatFile
• Optional
processDatFile: string
The path to the process dat file
Defined in
processWasm
• Optional
processWasm: string
The path to the process wasm file
Defined in
processWitgen
• Optional
processWitgen: string
The path to the process witnessgen binary
Defined in
processZkey
• processZkey: string
The path to the process zkey file
Defined in
quiet
• Optional
quiet: boolean
Whether to log the output
Defined in
rapidsnark
• Optional
rapidsnark: string
The path to the rapidsnark binary
Defined in
signer
• signer: Signer
A signer object
Defined in
startBlock
• Optional
startBlock: number
The block number to start fetching logs from
Defined in
stateFile
• Optional
stateFile: string
The file with the serialized maci state
Defined in
subsidyDatFile
• Optional
subsidyDatFile: string
The path to the subsidy dat file
Defined in
subsidyFile
• Optional
subsidyFile: string
The file to store the subsidy proof
Defined in
subsidyWasm
• Optional
subsidyWasm: string
The path to the subsidy wasm file
Defined in
subsidyWitgen
• Optional
subsidyWitgen: string
The path to the subsidy witnessgen binary
Defined in
subsidyZkey
• Optional
subsidyZkey: string
The path to the subsidy zkey file
Defined in
tallyAddress
• Optional
tallyAddress: string
The address of the Tally contract
Defined in
tallyDatFile
• Optional
tallyDatFile: string
The path to the tally dat file
Defined in
tallyFile
• tallyFile: string
The file to store the tally proof
Defined in
tallyWasm
• Optional
tallyWasm: string
The path to the tally wasm file
Defined in
tallyWitgen
• Optional
tallyWitgen: string
The path to the tally witnessgen binary
Defined in
tallyZkey
• tallyZkey: string
The path to the tally zkey file
Defined in
transactionHash
• Optional
transactionHash: string
The transaction hash of the first transaction
Defined in
useQuadraticVoting
• Optional
useQuadraticVoting: boolean
Whether to use quadratic voting or not
Defined in
useWasm
• Optional
useWasm: boolean
Whether to use wasm or rapidsnark