UNPKG

@swaptoshi/dex-module

Version:

Klayr decentralized exchange (dex) on-chain module

21 lines (20 loc) 646 B
import { Modules } from 'klayr-framework'; import { TickBitmap } from '../types'; import { Int16String } from './library/int'; export declare class TickBitmapStore extends Modules.BaseStore<TickBitmap> { getKey(poolAddress: Buffer, index: Int16String): Buffer<ArrayBuffer>; getOrDefault(context: Modules.ImmutableStoreGetter, key: Buffer): Promise<TickBitmap>; private hof; schema: { $id: string; type: string; required: string[]; properties: { bitmap: { dataType: string; fieldNumber: number; }; }; }; default: TickBitmap; }