Variables
SnapshotIAVLItem
SnapshotIAVLItem: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { height?: number; key?: Uint8Array; value?: Uint8Array; version?: number }): SnapshotIAVLItem
-
Parameters
-
object: { height?: number; key?: Uint8Array; value?: Uint8Array; version?: number }
-
Optional height?: number
-
Optional key?: Uint8Array
-
Optional value?: Uint8Array
-
Optional version?: number
-
toJSON: function
-
Parameters
Returns unknown
SnapshotItem
SnapshotItem: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
- decode(input: Uint8Array | Reader, length?: number): SnapshotItem
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
- fromPartial(object: { iavl?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; version?: number | undefined; height?: number | undefined; }; store?: { name?: string | undefined; } }): SnapshotItem
-
Parameters
-
object: { iavl?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; version?: number | undefined; height?: number | undefined; }; store?: { name?: string | undefined; } }
-
Optional iavl?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; version?: number | undefined; height?: number | undefined; }
-
Optional store?: { name?: string | undefined; }
-
toJSON: function
-
Parameters
Returns unknown
SnapshotStoreItem
SnapshotStoreItem: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
-
decode: function
-
Parameters
-
input: Uint8Array | Reader
-
Optional length: number
-
encode: function
-
Parameters
Returns Writer
-
fromJSON: function
-
fromPartial: function
-
Parameters
-
object: { name?: string }
-
toJSON: function
-
Parameters
Returns unknown
Const protobufPackage
protobufPackage: "cosmos.base.store.v1beta1" = 'cosmos.base.store.v1beta1'