@basex-fi/sdk-core
Version:
An SDK for building applications on top of BaseX
10 lines (9 loc) • 359 B
TypeScript
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: FeeAmount): [JSBI, JSBI, JSBI, JSBI];
}