Minimal Anti Collusion Infrastructure (MACI) / PublishArgs
Interface: PublishArgs
Defined in: utils/interfaces.ts:747
Interface for the arguments to the publish command
Extends
Properties
maciAddress
maciAddress:
string
Defined in: utils/interfaces.ts:761
The address of the MACI contract
newVoteWeight
newVoteWeight:
bigint
Defined in: utils/interfaces.ts:841
The new vote weight
Inherited from
nonce
nonce:
bigint
Defined in: utils/interfaces.ts:836
The nonce of the message
Inherited from
pollId
pollId:
bigint
Defined in: utils/interfaces.ts:766
The id of the poll
privateKey
privateKey:
string
Defined in: utils/interfaces.ts:756
The poll private key
pubkey
pubkey:
string
Defined in: utils/interfaces.ts:751
The poll public key
quiet?
optional
quiet:boolean
Defined in: utils/interfaces.ts:776
Whether to log the output
salt?
optional
salt:bigint
Defined in: utils/interfaces.ts:846
The salt of the message
Inherited from
signer
signer:
Signer
Defined in: utils/interfaces.ts:771
A signer object
stateIndex
stateIndex:
bigint
Defined in: utils/interfaces.ts:826
The index of the state leaf
Inherited from
voteOptionIndex
voteOptionIndex:
bigint
Defined in: utils/interfaces.ts:831
The index of the vote option