Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgDeposit

Add a deposit 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 MsgDeposit

Properties

amount

amount: Coins

depositor

depositor: string

proposal_id

proposal_id: number

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgDeposit

Static fromAmino

Static fromData

Static fromProto

Static unpackAny