Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Deposit

Stores deposit information for a proposal

Hierarchy

Index

Constructors

constructor

  • Parameters

    • proposal_id: number

      Id of porposal to deposit to

    • depositor: string

      depositor's account address

    • amount: Coins.Input

      amount to deposit

    Returns Deposit

Properties

amount

amount: Coins

depositor

depositor: string

proposal_id

proposal_id: number

Methods

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): Deposit

Static fromAmino

Static fromData

Static fromProto