MsgInstantiateContract2 create a new smart contract instance for the given code id with a predicable address.

interface MsgInstantiateContract2Amino {
    admin?: string;
    code_id?: string;
    fix_msg?: boolean;
    funds?: CoinAmino[];
    label?: string;
    msg?: any;
    salt?: string;
    sender?: string;
}

Properties

admin?: string

Admin is an optional address that can execute migrations

code_id?: string

CodeID is the reference to the stored WASM code

fix_msg?: boolean

FixMsg include the msg value into the hash for the predictable address. Default is false

funds?: CoinAmino[]

Funds coins that are transferred to the contract on instantiation

label?: string

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

msg?: any

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

salt?: string

Salt is an arbitrary value provided by the sender. Size can be 1 to 64.

sender?: string

Sender is the that actor that signed the messages