Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgInstantiateContract

Hierarchy

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • owner: AccAddress

      contract owner

    • code_id: number

      reference to the code on the blockchain

    • init_msg: object

      message to configure the initial state of the contract

    • Default value init_coins: Input = {}

      initial amount of coins to be sent to the contract's address

    • Default value migratable: boolean = false

      defines to be migratable or not

    Returns MsgInstantiateContract

Properties

code_id

code_id: number

reference to the code on the blockchain

init_coins

init_coins: Coins

init_msg

init_msg: object

message to configure the initial state of the contract

migratable

migratable: boolean

defines to be migratable or not

owner

owner: AccAddress

contract owner

Methods

toData

toJSON

  • toJSON(): string

Static fromData