Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IProveOnChainArgs

Interface: IProveOnChainArgs

Defined in: packages/sdk/ts/proof/types.ts:10

Interface for the arguments to the proveOnChain command

Properties

maciAddress

maciAddress: string

Defined in: packages/sdk/ts/proof/types.ts:29

The address of the MACI contract


pollId

pollId: bigint

Defined in: packages/sdk/ts/proof/types.ts:14

The id of the poll


proofDir

proofDir: string

Defined in: packages/sdk/ts/proof/types.ts:19

The directory containing the proofs


signer

signer: Signer

Defined in: packages/sdk/ts/proof/types.ts:24

A signer object


tallyFile?

optional tallyFile: string

Defined in: packages/sdk/ts/proof/types.ts:34

The tally file with results, per vote option spent credits, spent voice credits total