@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
8 lines (7 loc) • 409 B
TypeScript
import { Int24String, Uint160String } from '../int';
export declare const MIN_TICK: Int24String;
export declare const MAX_TICK: Int24String;
export declare const MIN_SQRT_RATIO: Uint160String;
export declare const MAX_SQRT_RATIO: Uint160String;
export declare function getSqrtRatioAtTick(tick: Int24String): Uint160String;
export declare function getTickAtSqrtRatio(sqrtPriceX96: Uint160String): Int24String;