@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
8 lines (7 loc) • 482 B
TypeScript
import { TickBitmapStore } from '../../tick_bitmap';
import { Int24String, Uint256String, Uint16String } from '../int';
import { ImmutableContext, DEXPoolData } from '../../../types';
export declare function countInitializedTicksCrossed(tickBitmapStore: TickBitmapStore, context: ImmutableContext, self: DEXPoolData & {
address: Buffer;
}, tickBefore: Int24String, tickAfter: Int24String): Promise<string>;
export declare function countOneBits(_x: Uint256String): Uint16String;