InstantiateContractProposal gov proposal content type to instantiate a contract.

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

Properties

$typeUrl?: "/cosmwasm.wasm.v1.InstantiateContractProposal"
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

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 encoded message to be passed to the contract on instantiation

runAs: string

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

title: string

Title is a short summary