Class BaseOffchainStore<T>Abstract
Constructors
constructor
- new BaseOffchainStore<T>(moduleName: string, version?: number): BaseOffchainStore<T>
-
Parameters
-
moduleName: string
-
version: number = 0
Properties
Private
Readonly
_storePrefix
_storePrefix: Buffer
Private
Readonly
_subStorePrefix
_subStorePrefix: Buffer
Private
Readonly
_version
_version: number
Abstract
schema
schema: Schema
Accessors
key
- get key(): Buffer
-
Returns Buffer
name
- get name(): string
-
Returns string