Minimal Anti Collusion Infrastructure (MACI) / IJoinPollArgs
Interface: IJoinPollArgs
Defined in: packages/sdk/ts/user/types.ts:280
Interface for the arguments to the joinPoll command
Properties
blocksPerBatch?
optional
blocksPerBatch:number
Defined in: packages/sdk/ts/user/types.ts:324
The number of blocks to fetch per batch
endBlock?
optional
endBlock:number
Defined in: packages/sdk/ts/user/types.ts:314
The end block number
ivcpDataArg
ivcpDataArg:
string
Defined in: packages/sdk/ts/user/types.ts:359
The initial voice credit proxy data
maciAddress
maciAddress:
string
Defined in: packages/sdk/ts/user/types.ts:309
The address of the MACI contract
pollId
pollId:
bigint
Defined in: packages/sdk/ts/user/types.ts:294
The id of the poll
pollJoiningZkey
pollJoiningZkey:
string
Defined in: packages/sdk/ts/user/types.ts:329
The path to the poll zkey file
pollWasm?
optional
pollWasm:string
Defined in: packages/sdk/ts/user/types.ts:349
The path to the poll wasm file
pollWitgen?
optional
pollWitgen:string
Defined in: packages/sdk/ts/user/types.ts:344
The path to the poll witnessgen binary
privateKey
privateKey:
string
Defined in: packages/sdk/ts/user/types.ts:289
The private key of the user
rapidsnark?
optional
rapidsnark:string
Defined in: packages/sdk/ts/user/types.ts:339
The path to the rapidsnark binary
sgDataArg
sgDataArg:
string
Defined in: packages/sdk/ts/user/types.ts:354
The signup gatekeeper data
signer
signer:
Signer
Defined in: packages/sdk/ts/user/types.ts:284
A signer object
startBlock?
optional
startBlock:number
Defined in: packages/sdk/ts/user/types.ts:319
The start block number
stateFile?
optional
stateFile:string
Defined in: packages/sdk/ts/user/types.ts:304
Path to the state file with MACI state
stateIndex?
optional
stateIndex:bigint
Defined in: packages/sdk/ts/user/types.ts:299
The index of the public key in the state tree
useWasm?
optional
useWasm:boolean
Defined in: packages/sdk/ts/user/types.ts:334
Whether to use wasm or rapidsnark