ContractInfo stores a WASM contract instance

from message cosmwasm.wasm.v1.ContractInfo

Hierarchy

Constructors

Properties

admin: string = ""

Admin is an optional address that can execute migrations

from field: string admin = 3;

codeId: bigint = protoInt64.zero

CodeID is the reference to the stored Wasm code

from field: uint64 code_id = 1;

Created Tx position when the contract was instantiated.

from field: cosmwasm.wasm.v1.AbsoluteTxPosition created = 5;

creator: string = ""

Creator address who initially instantiated the contract

from field: string creator = 2;

extension?: Any

Extension is an extension point to store custom metadata within the persistence model.

from field: google.protobuf.Any extension = 7;

ibcPortId: string = ""

from field: string ibc_port_id = 6;

label: string = ""

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

from field: string label = 4;

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

Methods