PublishArgs
Interface for the arguments to the publish command
Table of contents
Properties
- maciContractAddress
- newVoteWeight
- nonce
- pollId
- privateKey
- pubkey
- quiet
- salt
- signer
- stateIndex
- voteOptionIndex
Properties
maciContractAddress
• maciContractAddress: string
The address of the MACI contract
Defined in
newVoteWeight
• newVoteWeight: bigint
The new vote weight
Defined in
nonce
• nonce: bigint
The nonce of the message
Defined in
pollId
• pollId: bigint
The id of the poll
Defined in
privateKey
• privateKey: string
The private key of the user
Defined in
pubkey
• pubkey: string
The public key of the user
Defined in
quiet
• Optional
quiet: boolean
Whether to log the output
Defined in
salt
• Optional
salt: bigint
The salt of the message
Defined in
signer
• signer: Signer
A signer object
Defined in
stateIndex
• stateIndex: bigint
The index of the state leaf
Defined in
voteOptionIndex
• voteOptionIndex: bigint
The index of the vote option