@pancakeswap/v3-sdk
Version:
⚒️ An SDK for building applications on top of Pancakeswap V3
6 lines • 692 B
TypeScript
import { Currency } from '@pancakeswap/swap-sdk-core';
import { PoolState } from './getPool';
export declare const getPriceOfCurrency: (pool: Pick<PoolState, "currency0" | "currency1" | "sqrtRatioX96">, currency: Currency) => import("@pancakeswap/swap-sdk-core").Price<Currency, Currency>;
export declare const getPriceOfCurrency0: (pool: Pick<PoolState, "currency0" | "currency1" | "sqrtRatioX96">) => import("@pancakeswap/swap-sdk-core").Price<Currency, Currency>;
export declare const getPriceOfCurrency1: (pool: Pick<PoolState, "currency0" | "currency1" | "sqrtRatioX96">) => import("@pancakeswap/swap-sdk-core").Price<Currency, Currency>;
//# sourceMappingURL=getPriceOfCurrency.d.ts.map