Minimal Anti Collusion Infrastructure (MACI) / IPublishArgs
Interface: IPublishArgs
Defined in: packages/sdk/ts/vote/types.ts:208
Interface for the arguments to the publish command
Extends
Properties
maciAddress
maciAddress:
string
Defined in: packages/sdk/ts/vote/types.ts:222
The address of the MACI contract
newVoteWeight
newVoteWeight:
bigint
Defined in: packages/sdk/ts/vote/types.ts:177
The new vote weight
Inherited from
nonce
nonce:
bigint
Defined in: packages/sdk/ts/vote/types.ts:172
The nonce of the message
Inherited from
pollId
pollId:
bigint
Defined in: packages/sdk/ts/vote/types.ts:227
The id of the poll
privateKey
privateKey:
string
Defined in: packages/sdk/ts/vote/types.ts:217
The poll private key
pubkey
pubkey:
string
Defined in: packages/sdk/ts/vote/types.ts:212
The poll public key
salt?
optional
salt:bigint
Defined in: packages/sdk/ts/vote/types.ts:182
The salt of the message
Inherited from
signer
signer:
Signer
Defined in: packages/sdk/ts/vote/types.ts:232
A signer object
stateIndex
stateIndex:
bigint
Defined in: packages/sdk/ts/vote/types.ts:162
The index of the state leaf
Inherited from
voteOptionIndex
voteOptionIndex:
bigint
Defined in: packages/sdk/ts/vote/types.ts:167
The index of the vote option