InstantiateContract2Proposal gov proposal content type to instantiate contract 2

interface InstantiateContract2Proposal {
    $typeUrl?: "/cosmwasm.wasm.v1.InstantiateContract2Proposal";
    admin: string;
    codeId: bigint;
    description: string;
    fixMsg: boolean;
    funds: Coin[];
    label: string;
    msg: Uint8Array;
    runAs: string;
    salt: Uint8Array;
    title: string;
}

Properties

$typeUrl?: "/cosmwasm.wasm.v1.InstantiateContract2Proposal"
admin: string

Admin is an optional address that can execute migrations

codeId: bigint

CodeID is the reference to the stored WASM code

description: string

Description is a human readable text

fixMsg: boolean

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

funds: Coin[]

Funds coins that are transferred to the contract on instantiation

label: string

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

msg: Uint8Array

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

runAs: string

RunAs is the address that is passed to the contract's enviroment as sender

salt: Uint8Array

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

title: string

Title is a short summary