UNPKG

astra-cl-sdk-dev

Version:

⚒️ An SDK for building applications on top of Astra CL

10 lines (9 loc) 366 B
import JSBI from 'jsbi'; import { FeeAmount } from '../constants'; export declare abstract class SwapMath { /** * Cannot be constructed. */ private constructor(); static computeSwapStep(sqrtRatioCurrentX96: JSBI, sqrtRatioTargetX96: JSBI, liquidity: JSBI, amountRemaining: JSBI, feePips: JSBI | FeeAmount): [JSBI, JSBI, JSBI, JSBI]; }