StoreCodeProposal gov proposal content type to submit WASM code to the system

interface StoreCodeProposal {
    $typeUrl?: "/cosmwasm.wasm.v1.StoreCodeProposal";
    builder: string;
    codeHash: Uint8Array;
    description: string;
    instantiatePermission?: AccessConfig;
    runAs: string;
    source: string;
    title: string;
    unpinCode: boolean;
    wasmByteCode: Uint8Array;
}

Properties

$typeUrl?: "/cosmwasm.wasm.v1.StoreCodeProposal"
builder: string

Builder is the docker image used to build the code deterministically, used for smart contract verification

codeHash: Uint8Array

CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification

description: string

Description is a human readable text

instantiatePermission?: AccessConfig

InstantiatePermission to apply on contract creation, optional

runAs: string

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

source: string

Source is the URL where the code is hosted

title: string

Title is a short summary

unpinCode: boolean

UnpinCode code on upload, optional

wasmByteCode: Uint8Array

WASMByteCode can be raw or gzip compressed