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?
optionalblocksPerBatch:number
Defined in: packages/sdk/ts/user/types.ts:324
The number of blocks to fetch per batch
endBlock?
optionalendBlock: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?
optionalpollWasm:string
Defined in: packages/sdk/ts/user/types.ts:349
The path to the poll wasm file
pollWitgen?
optionalpollWitgen: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?
optionalrapidsnark: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 policy data
signer
signer:
Signer
Defined in: packages/sdk/ts/user/types.ts:284
A signer object
startBlock?
optionalstartBlock:number
Defined in: packages/sdk/ts/user/types.ts:319
The start block number
stateFile?
optionalstateFile:string
Defined in: packages/sdk/ts/user/types.ts:304
Path to the state file with MACI state
stateIndex?
optionalstateIndex:bigint
Defined in: packages/sdk/ts/user/types.ts:299
The index of the public key in the state tree
useWasm?
optionaluseWasm:boolean
Defined in: packages/sdk/ts/user/types.ts:334
Whether to use wasm or rapidsnark