Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgInstantiateContract

Hierarchy

Index

Constructors

constructor

  • Parameters

    • sender: string

      is a sender address

    • admin: undefined | string

      is an optional contract admin address who can migrate the contract, put empty string to disable migration

    • code_id: number

      is the reference to the stored WASM code

    • init_msg: object

      json encoded message to be passed to the contract on instantiation

    • init_coins: Coins.Input = {}

      are transferred to the contract on execution

    Returns MsgInstantiateContract

Properties

admin

admin: undefined | string

code_id

code_id: number

init_coins

init_coins: Coins

init_msg

init_msg: object

sender

sender: string

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgInstantiateContract

Static fromAmino

Static fromData

Static fromProto

Static unpackAny