IUniswapV2Router02

Overview

License: MIT

interface IUniswapV2Router02

Functions info

factory (0xc45a0155)

function factory() external pure returns (address)

WETH (0xad5c4648)

function WETH() external pure returns (address)

addLiquidity (0xe8e33700)

function addLiquidity(
    address tokenA,
    address tokenB,
    uint256 amountADesired,
    uint256 amountBDesired,
    uint256 amountAMin,
    uint256 amountBMin,
    address to,
    uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity)

addLiquidityETH (0xf305d719)

removeLiquidity (0xbaa2abde)

removeLiquidityETH (0x02751cec)

removeLiquidityWithPermit (0x2195995c)

removeLiquidityETHWithPermit (0xded9382a)

swapExactTokensForTokens (0x38ed1739)

swapTokensForExactTokens (0x8803dbee)

swapExactETHForTokens (0x7ff36ab5)

swapTokensForExactETH (0x4a25d94a)

swapExactTokensForETH (0x18cbafe5)

swapETHForExactTokens (0xfb3bdb41)

quote (0xad615dec)

getAmountOut (0x054d50d4)

getAmountIn (0x85f8c259)

getAmountsOut (0xd06ca61f)

getAmountsIn (0x1f00ca74)

removeLiquidityETHSupportingFeeOnTransferTokens (0xaf2979eb)

removeLiquidityETHWithPermitSupportingFeeOnTransferTokens (0x5b0d5984)

swapExactTokensForTokensSupportingFeeOnTransferTokens (0x5c11d795)

swapExactETHForTokensSupportingFeeOnTransferTokens (0xb6f9de95)

swapExactTokensForETHSupportingFeeOnTransferTokens (0x791ac947)

Last updated