- Preparing search index...
- The search index is not available
rubic-sdk
Methods
Static
calculatePathAmountsByInput
- calculatePathAmountsByInput(path: Path, amountIn: BigNumber, _updateReserves: boolean, blockchainName: EvmBlockchainName): Promise<null | PathWithAmounts>
-
Parameters
-
-
amountIn: BigNumber
-
_updateReserves: boolean
-
Static
computeDFromAdjustedBalances
- computeDFromAdjustedBalances(A: BigNumber, xp0: BigNumber, xp1: BigNumber, checkOverflow: boolean): BigNumber
-
Parameters
-
A: BigNumber
-
xp0: BigNumber
-
xp1: BigNumber
-
checkOverflow: boolean
Returns BigNumber
Static
findBestAmountsForPathsExactIn
Static
getY
- getY(A: BigNumber, x: BigNumber, d: BigNumber): BigNumber
-
Parameters
-
A: BigNumber
-
x: BigNumber
-
d: BigNumber
Returns BigNumber