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
- 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:493
coordinatorPrivKey
• Optional coordinatorPrivKey: string
The coordinator's private key
Defined in
utils/interfaces.ts:453
endBlock
• Optional endBlock: number
The block number to stop fetching logs from
Defined in
utils/interfaces.ts:498
maciAddress
• Optional maciAddress: string
The address of the MACI contract
Defined in
utils/interfaces.ts:458
outputDir
• outputDir: string
The directory to store the proofs
Defined in
utils/interfaces.ts:398
pollId
• pollId: bigint
The id of the poll
Defined in
utils/interfaces.ts:418
processDatFile
• Optional processDatFile: string
The path to the process dat file
Defined in
utils/interfaces.ts:438
processWasm
• Optional processWasm: string
The path to the process wasm file
Defined in
utils/interfaces.ts:468
processWitgen
• Optional processWitgen: string
The path to the process witnessgen binary
Defined in
utils/interfaces.ts:433
processZkey
• processZkey: string
The path to the process zkey file
Defined in
utils/interfaces.ts:413
quiet
• Optional quiet: boolean
Whether to log the output
Defined in
utils/interfaces.ts:503
rapidsnark
• Optional rapidsnark: string
The path to the rapidsnark binary
Defined in
utils/interfaces.ts:428
signer
• signer: Signer
A signer object
Defined in
utils/interfaces.ts:423
startBlock
• Optional startBlock: number
The block number to start fetching logs from
Defined in
utils/interfaces.ts:488
stateFile
• Optional stateFile: string
The file with the serialized maci state
Defined in
utils/interfaces.ts:483
tallyAddress
• Optional tallyAddress: string
The address of the Tally contract
Defined in
utils/interfaces.ts:513
tallyDatFile
• Optional tallyDatFile: string
The path to the tally dat file
Defined in
utils/interfaces.ts:448
tallyFile
• tallyFile: string
The file to store the tally proof
Defined in
utils/interfaces.ts:403
tallyWasm
• Optional tallyWasm: string
The path to the tally wasm file
Defined in
utils/interfaces.ts:473
tallyWitgen
• Optional tallyWitgen: string
The path to the tally witnessgen binary
Defined in
utils/interfaces.ts:443