@pancakeswap/v3-sdk
Version:
⚒️ An SDK for building applications on top of Pancakeswap V3
23 lines • 788 B
TypeScript
import { BigintIsh, Currency } from '@pancakeswap/swap-sdk-core';
import { Tick, TickConstructorArgs, TickDataProvider } from '../entities';
export type PoolState = {
currency0: Currency;
currency1: Currency;
fee: number;
tickCurrent: number;
tickSpacing: number;
sqrtRatioX96: bigint;
liquidity: bigint;
tickDataProvider: TickDataProvider;
};
export declare const getPool: ({ currencyA, currencyB, fee, sqrtRatioX96, liquidity, tickCurrent, tickSpacing, ticks, }: {
currencyA: Currency;
currencyB: Currency;
fee: number;
sqrtRatioX96: BigintIsh;
liquidity: BigintIsh;
tickCurrent: number;
tickSpacing: number;
ticks?: TickDataProvider | (Tick | TickConstructorArgs)[];
}) => PoolState;
//# sourceMappingURL=getPool.d.ts.map