Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgDeposit

Add a deposit for a proposal

Hierarchy

Index

Constructors

  • 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: Coins
depositor: string
proposal_id: number

Methods

  • packAny(_?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgDeposit
  • fromProto(proto: MsgDeposit, _?: boolean): MsgDeposit