Skip to main content
Version: v1.3_alpha

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:1000


maciAddress

Optional maciAddress: string

The address of the MACI contract

Defined in

utils/interfaces.ts:1015


pollId

pollId: bigint

The poll ID

Defined in

utils/interfaces.ts:1010


quiet

Optional quiet: boolean

Whether to log the output

Defined in

utils/interfaces.ts:1025


signer

signer: Signer

A signer object

Defined in

utils/interfaces.ts:1020


stateIndex

stateIndex: number

The state index of the user

Defined in

utils/interfaces.ts:1005