UNPKG
@bella-defintech/uniswap-v3-simulator
Version:
latest (0.1.5)
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
the 'Tuner', a Uniswap V3 Simulator
@bella-defintech/uniswap-v3-simulator
/
dist
/
util
/
SwapMath.d.ts
6 lines
(5 loc)
•
282 B
TypeScript
View Raw
1
2
3
4
5
6
import JSBI
from
"jsbi"
; import { FeeAmount }
from
"../enum/FeeAmount"
; export
declare
abstract
class
SwapMath
{
static
computeSwapStep
(
sqrtRatioCurrentX96
: JSBI,
sqrtRatioTargetX96
: JSBI,
liquidity
: JSBI,
amountRemaining
: JSBI,
feePips
: FeeAmount): [JSBI, JSBI, JSBI, JSBI]; }