ILBRouter
Version
enum Version{
V1,
V2,
V2_1
}LiquidityParameters
struct LiquidityParameters {
IERC20 tokenX;
IERC20 tokenY;
uint256 binStep;
uint256 amountX;
uint256 amountY;
uint256 amountXMin;
uint256 amountYMin;
uint256 activeIdDesired;
uint256 idSlippage;
int256[] deltaIds;
uint256[] distributionX;
uint256[] distributionY;
address to;
address refundTo;
uint256 deadline;
}Path
getFactory
getLegacyFactory
getV1Factory
getLegacyRouter
getWNATIVE
getIdFromPrice
getPriceFromId
getSwapIn
getSwapOut
createLBPair
addLiquidity
addLiquidityNATIVE
removeLiquidity
removeLiquidityNATIVE
swapExactTokensForTokens
swapExactTokensForNATIVE
swapExactNATIVEForTokens
swapTokensForExactTokens
swapTokensForExactNATIVE
swapNATIVEForExactTokens
swapExactTokensForTokensSupportingFeeOnTransferTokens
swapExactTokensForNATIVESupportingFeeOnTransferTokens
swapExactNATIVEForTokensSupportingFeeOnTransferTokens
sweep
sweepLBToken
Last updated