Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new MsgInstantiateContract(sender: string, admin: undefined | string, code_id: number, init_msg: object, init_coins?: Input): MsgInstantiateContract
  • 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: 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

toData

toJSON

  • toJSON(): string

Static fromData