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

interface MsgInstantiateContract {
    admin: string;
    codeId: bigint;
    funds: Coin[];
    label: string;
    msg: Uint8Array;
    sender: string;
}

Properties

admin: string

Admin is an optional address that can execute migrations

codeId: bigint

CodeID is the reference to the stored WASM code

funds: Coin[]

Funds coins that are transferred to the contract on instantiation

label: string

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

msg: Uint8Array

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

sender: string

Sender is the that actor that signed the messages