Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExecuteContractProposal

ExecuteContractProposal gov proposal content type to call execute on a contract.

Hierarchy

Index

Constructors

  • new ExecuteContractProposal(title: string, description: string, run_as: string, contract: string, execute_msg: string | object, coins?: Coins.Input): ExecuteContractProposal
  • Parameters

    • title: string

      a short summary

    • description: string

      a human readable text

    • run_as: string

      contract user

    • contract: string

      contract address

    • execute_msg: string | object

      HandleMsg to pass as arguments for contract invocation

    • coins: Coins.Input = {}

      coins to be sent to contract

    Returns ExecuteContractProposal

Properties

coins: Coins
contract: string
description: string
execute_msg: string | object
run_as: string
title: string

Methods

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

    • Optional isClassic: boolean

    Returns string

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

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): ExecuteContractProposal