Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IProveOnChainArgs

Interface: IProveOnChainArgs

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

Interface for the arguments to the proveOnChain command

Properties​

maciAddress​

maciAddress: string

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

The address of the MACI contract


pollId​

pollId: bigint

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

The id of the poll


proofDir​

proofDir: string

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

The directory containing the proofs


signer​

signer: Signer

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

A signer object


tallyFile?​

optional tallyFile: string

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

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


useBatchSubmission?​

optional useBatchSubmission: boolean

Defined in: sdk/ts/proof/types.ts:39

Whether to use batch submission