MsgInstantiateContract create a new smart contract instance for the given code id.

from message cosmwasm.wasm.v1.MsgInstantiateContract

Hierarchy

Constructors

Properties

admin: string = ""

Admin is an optional address that can execute migrations

from field: string admin = 2;

codeId: bigint = protoInt64.zero

CodeID is the reference to the stored WASM code

from field: uint64 code_id = 3;

funds: Coin[] = []

Funds coins that are transferred to the contract on instantiation

from field: repeated cosmos.base.v1beta1.Coin funds = 6;

label: string = ""

Label is optional metadata to be stored with a contract instance.

from field: string label = 4;

msg: Uint8Array = ...

Msg json encoded message to be passed to the contract on instantiation

from field: bytes msg = 5;

sender: string = ""

Sender is the that actor that signed the messages

from field: string sender = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmwasm.wasm.v1.MsgInstantiateContract" = "cosmwasm.wasm.v1.MsgInstantiateContract"

Methods