Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / IProveOnChainArgs

Interface: IProveOnChainArgs

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

Interface for the arguments to the proveOnChain command

Properties

maciAddress

maciAddress: string

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

The address of the MACI contract


pollId

pollId: bigint

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

The id of the poll


proofDir

proofDir: string

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

The directory containing the proofs


signer

signer: Signer

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

A signer object


tallyFile?

optional tallyFile: string

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

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