Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IProveOnChainArgs

Interface: IProveOnChainArgs

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

Interface for the arguments to the proveOnChain command

Properties

maciAddress

maciAddress: string

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

The address of the MACI contract


pollId

pollId: bigint

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

The id of the poll


proofDir

proofDir: string

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

The directory containing the proofs


signer

signer: Signer

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

A signer object


tallyFile?

optional tallyFile: string

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

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