- getMinimalAmountIn
- getOppositeAmount
- getPosition
- getShareOfPool
- getTokenBalances
- getUserPositionValue
▪ Static Readonly MINIMUM_LIQUIDITY: 1000
▪ Static Readonly PAIR_DECIMALS: 8
▸ Static getMinimalAmountIn(params): BigNumber
| Name | Type |
|---|---|
params |
GetMinimalAmountInParams |
BigNumber
▸ Static getOppositeAmount(params): BigNumber
| Name | Type |
|---|---|
params |
GetOppositeAmountParams |
BigNumber
▸ Static getPosition(params): BigNumber
| Name | Type |
|---|---|
params |
GetPositionParams |
BigNumber
▸ Static getShareOfPool(params): BigNumber
| Name | Type |
|---|---|
params |
GetPositionParams |
BigNumber
▸ Static getTokenBalances(params): GetTokenBalancesResult
| Name | Type |
|---|---|
params |
GetTokenBalancesParams |
▸ Static getUserPositionValue(params): BigNumber
| Name | Type |
|---|---|
params |
GetUserPositionValueParams |
BigNumber
• new Liquidity()