Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IGenerateProofsArgs

Interface: IGenerateProofsArgs

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

Arguments for the genProofs function

Properties

blocksPerBatch?

optional blocksPerBatch: number

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

The blocks per batch


coordinatorPrivateKey

coordinatorPrivateKey: string

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

The coordinator private key


endBlock?

optional endBlock: number

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

The end block


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

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

The ipfs message backup files


maciAddress

maciAddress: string

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

The maci contract address


outputDir

outputDir: string

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

The output directory


pollId

pollId: BigNumberish

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

The poll id


processDatFile?

optional processDatFile: string

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

The path to the process dat file


processWasm?

optional processWasm: string

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

The process wasm


processWitgen?

optional processWitgen: string

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

The process witgen


processZkey

processZkey: string

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

The process zkey


rapidsnark?

optional rapidsnark: string

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

The rapidsnark path


signer

signer: Signer

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

The signer


startBlock?

optional startBlock: number

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

The start block


stateFile?

optional stateFile: string

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

The state file


tallyDatFile?

optional tallyDatFile: string

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

The path to the tally dat file


tallyFile

tallyFile: string

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

The tally file


tallyWasm?

optional tallyWasm: string

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

The tally wasm


tallyWitgen?

optional tallyWitgen: string

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

The tally witgen


tallyZkey

tallyZkey: string

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

The tally zkey


transactionHash?

optional transactionHash: string

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

The transaction hash


useQuadraticVoting

useQuadraticVoting: boolean

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

The use quadratic voting


useWasm?

optional useWasm: boolean

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

Whether to use wasm or rapidsnark