Skip to main content
Version: v1.2

PublishArgs

Interface for the arguments to the publish command

Table of contents

Properties

Properties

maciContractAddress

maciContractAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:750


newVoteWeight

newVoteWeight: bigint

The new vote weight

Defined in

utils/interfaces.ts:740


nonce

nonce: bigint

The nonce of the message

Defined in

utils/interfaces.ts:730


pollId

pollId: bigint

The id of the poll

Defined in

utils/interfaces.ts:735


privateKey

privateKey: string

The private key of the user

Defined in

utils/interfaces.ts:755


pubkey

pubkey: string

The public key of the user

Defined in

utils/interfaces.ts:715


quiet

Optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:765


salt

Optional salt: bigint

The salt of the message

Defined in

utils/interfaces.ts:760


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:745


stateIndex

stateIndex: bigint

The index of the state leaf

Defined in

utils/interfaces.ts:720


voteOptionIndex

voteOptionIndex: bigint

The index of the vote option

Defined in

utils/interfaces.ts:725