MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract request type.

Since: 0.40

from message cosmwasm.wasm.v1.MsgStoreAndInstantiateContract

Hierarchy

Constructors

Properties

admin: string = ""

Admin is an optional address that can execute migrations

from field: string admin = 6;

authority: string = ""

Authority is the address of the governance account.

from field: string authority = 1;

builder: string = ""

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

from field: string builder = 11;

codeHash: Uint8Array = ...

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

from field: bytes code_hash = 12;

funds: Coin[] = []

Funds coins that are transferred from the authority account to the contract on instantiation

from field: repeated cosmos.base.v1beta1.Coin funds = 9;

instantiatePermission?: AccessConfig

InstantiatePermission to apply on contract creation, optional

from field: cosmwasm.wasm.v1.AccessConfig instantiate_permission = 4;

label: string = ""

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

from field: string label = 7;

msg: Uint8Array = ...

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

from field: bytes msg = 8;

source: string = ""

Source is the URL where the code is hosted

from field: string source = 10;

unpinCode: boolean = false

UnpinCode code on upload, optional. As default the uploaded contract is pinned to cache.

from field: bool unpin_code = 5;

wasmByteCode: Uint8Array = ...

WASMByteCode can be raw or gzip compressed

from field: bytes wasm_byte_code = 3;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmwasm.wasm.v1.MsgStoreAndInstantiateContract" = "cosmwasm.wasm.v1.MsgStoreAndInstantiateContract"

Methods