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

interface StoreCodeProposalAmino {
    builder?: string;
    code_hash?: string;
    description?: string;
    instantiate_permission?: AccessConfigAmino;
    run_as?: string;
    source?: string;
    title?: string;
    unpin_code?: boolean;
    wasm_byte_code?: string;
}

Properties

builder?: string

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

code_hash?: string

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

description?: string

Description is a human readable text

instantiate_permission?: AccessConfigAmino

InstantiatePermission to apply on contract creation, optional

run_as?: 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

unpin_code?: boolean

UnpinCode code on upload, optional

wasm_byte_code?: string

WASMByteCode can be raw or gzip compressed