Minimal Anti Collusion Infrastructure (MACI) v2.0.0-alpha / PublishArgs
Interface: PublishArgs
Interface for the arguments to the publish command
Extends
Properties
maciAddress
maciAddress:
string
The address of the MACI contract
Defined in
utils/interfaces.ts:636
newVoteWeight
newVoteWeight:
bigint
The new vote weight
Inherited from
Defined in
utils/interfaces.ts:716
nonce
nonce:
bigint
The nonce of the message
Inherited from
Defined in
utils/interfaces.ts:711
pollId
pollId:
bigint
The id of the poll
Defined in
utils/interfaces.ts:641
privateKey
privateKey:
string
The private key of the user
Defined in
utils/interfaces.ts:631
pubkey
pubkey:
string
The public key of the user
Defined in
utils/interfaces.ts:626
quiet?
optional
quiet:boolean
Whether to log the output
Defined in
utils/interfaces.ts:651
salt?
optional
salt:bigint
The salt of the message
Inherited from
Defined in
utils/interfaces.ts:721
signer
signer:
Signer
A signer object
Defined in
utils/interfaces.ts:646
stateIndex
stateIndex:
bigint
The index of the state leaf
Inherited from
Defined in
utils/interfaces.ts:701
voteOptionIndex
voteOptionIndex:
bigint
The index of the vote option
Inherited from
IPublishMessage
.voteOptionIndex
Defined in
utils/interfaces.ts:706