PublishArgs
Interface for the arguments to the publish command
Hierarchy
-
↳
PublishArgs
Table of contents
Properties
- maciAddress
- newVoteWeight
- nonce
- pollId
- privateKey
- pubkey
- quiet
- salt
- signer
- stateIndex
- voteOptionIndex
Properties
maciAddress
• maciAddress: string
The address of the MACI contract
Defined in
utils/interfaces.ts:633
newVoteWeight
• newVoteWeight: bigint
The new vote weight
Inherited from
Defined in
utils/interfaces.ts:713
nonce
• nonce: bigint
The nonce of the message
Inherited from
Defined in
utils/interfaces.ts:708
pollId
• pollId: bigint
The id of the poll
Defined in
utils/interfaces.ts:638
privateKey
• privateKey: string
The private key of the user
Defined in
utils/interfaces.ts:628
pubkey
• pubkey: string
The public key of the user
Defined in
utils/interfaces.ts:623
quiet
• Optional
quiet: boolean
Whether to log the output
Defined in
utils/interfaces.ts:648
salt
• Optional
salt: bigint
The salt of the message
Inherited from
Defined in
utils/interfaces.ts:718
signer
• signer: Signer
A signer object
Defined in
utils/interfaces.ts:643
stateIndex
• stateIndex: bigint
The index of the state leaf
Inherited from
Defined in
utils/interfaces.ts:698
voteOptionIndex
• voteOptionIndex: bigint
The index of the vote option
Inherited from
IPublishMessage.voteOptionIndex
Defined in
utils/interfaces.ts:703