Skip to main content
Version: v3.x

Minimal Anti Collusion Infrastructure (MACI) / IGenerateProofsArgs

Interface: IGenerateProofsArgs

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

Arguments for the genProofs function

Properties

blocksPerBatch?

optional blocksPerBatch: number

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

The blocks per batch


coordinatorPrivateKey

coordinatorPrivateKey: string

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

The coordinator private key


endBlock?

optional endBlock: number

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

The end block


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

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

The ipfs message backup files


maciAddress

maciAddress: string

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

The maci contract address


outputDir

outputDir: string

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

The output directory


pollId

pollId: BigNumberish

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

The poll id


processDatFile?

optional processDatFile: string

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

The path to the process dat file


processWasm?

optional processWasm: string

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

The process wasm


processWitgen?

optional processWitgen: string

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

The process witgen


processZkey

processZkey: string

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

The process zkey


rapidsnark?

optional rapidsnark: string

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

The rapidsnark path


signer

signer: Signer

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

The signer


startBlock?

optional startBlock: number

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

The start block


stateFile?

optional stateFile: string

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

The state file


tallyDatFile?

optional tallyDatFile: string

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

The path to the tally dat file


tallyFile

tallyFile: string

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

The tally file


tallyWasm?

optional tallyWasm: string

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

The tally wasm


tallyWitgen?

optional tallyWitgen: string

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

The tally witgen


tallyZkey

tallyZkey: string

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

The tally zkey


transactionHash?

optional transactionHash: string

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

The transaction hash


useQuadraticVoting

useQuadraticVoting: boolean

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

The use quadratic voting


useWasm?

optional useWasm: boolean

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

Whether to use wasm or rapidsnark