ContractInfo stores a WASM contract instance

interface ContractInfo {
    admin: string;
    codeId: bigint;
    created?: AbsoluteTxPosition;
    creator: string;
    extension?: Any;
    ibcPortId: string;
    label: string;
}

Properties

admin: string

Admin is an optional address that can execute migrations

codeId: bigint

CodeID is the reference to the stored Wasm code

Created Tx position when the contract was instantiated.

creator: string

Creator address who initially instantiated the contract

extension?: Any

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

ibcPortId: string
label: string

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