Code struct encompasses CodeInfo and CodeBytes

from message cosmwasm.wasm.v1.Code

Hierarchy

Constructors

Properties

codeBytes: Uint8Array = ...

from field: bytes code_bytes = 3;

codeId: bigint = protoInt64.zero

from field: uint64 code_id = 1;

codeInfo?: CodeInfo

from field: cosmwasm.wasm.v1.CodeInfo code_info = 2;

pinned: boolean = false

Pinned to wasmvm cache

from field: bool pinned = 4;

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

Methods