Skip to main content
Version: v1.2

TopupArgs

Interface for the arguments to the topup command

Table of contents​

Properties​

Properties​

amount​

• amount: number

The amount to topup

Defined in​

utils/interfaces.ts:970


maciAddress​

• Optional maciAddress: string

The address of the MACI contract

Defined in​

utils/interfaces.ts:985


pollId​

• pollId: bigint

The poll ID

Defined in​

utils/interfaces.ts:980


quiet​

• Optional quiet: boolean

Whether to log the output

Defined in​

utils/interfaces.ts:995


signer​

• signer: Signer

A signer object

Defined in​

utils/interfaces.ts:990


stateIndex​

• stateIndex: number

The state index of the user

Defined in​

utils/interfaces.ts:975