Interface StoreAndInstantiateContractProposalAmino

StoreAndInstantiateContractProposal gov proposal content type to store and instantiate the contract.

interface StoreAndInstantiateContractProposalAmino {
    admin?: string;
    builder?: string;
    code_hash?: string;
    description?: string;
    funds?: CoinAmino[];
    instantiate_permission?: AccessConfigAmino;
    label?: string;
    msg?: any;
    run_as?: string;
    source?: string;
    title?: string;
    unpin_code?: boolean;
    wasm_byte_code?: string;
}

Properties

admin?: string

Admin is an optional address that can execute migrations

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

funds?: CoinAmino[]

Funds coins that are transferred to the contract on instantiation

instantiate_permission?: AccessConfigAmino

InstantiatePermission to apply on contract creation, optional

label?: string

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

msg?: any

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

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