Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / IGenerateProofsArgs

Interface: IGenerateProofsArgs

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

Arguments for the genProofs function

Properties

blocksPerBatch?

optional blocksPerBatch: number

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

The blocks per batch


chainId

chainId: string

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

The chain id


coordinatorPrivateKey

coordinatorPrivateKey: string

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

The coordinator private key


endBlock?

optional endBlock: number

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

The end block


ipfsMessageBackupFiles?

optional ipfsMessageBackupFiles: string[]

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

The ipfs message backup files


maciContractAddress

maciContractAddress: string

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

The maci contract address


networkName

networkName: string

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

The network name


outputDir

outputDir: string

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

The output directory


pollId

pollId: number

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

The poll id


processWasm?

optional processWasm: string

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

The process wasm


processWitgen?

optional processWitgen: string

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

The process witgen


processZkey

processZkey: string

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

The process zkey


rapidsnark?

optional rapidsnark: string

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

The rapidsnark path


signer

signer: Signer

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

The signer


startBlock?

optional startBlock: number

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

The start block


stateFile

stateFile: string

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

The state file


tallyFile

tallyFile: string

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

The tally file


tallyWasm?

optional tallyWasm: string

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

The tally wasm


tallyWitgen?

optional tallyWitgen: string

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

The tally witgen


tallyZkey

tallyZkey: string

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

The tally zkey


transactionHash?

optional transactionHash: string

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

The transaction hash


useQuadraticVoting

useQuadraticVoting: boolean

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

The use quadratic voting