Router
wETH
// Returns address of the wETH contract.
function wETH() external view returns (address);factory
// Returns address of the factory contract.
function factory() external view returns (address);addLiquidity
// Adds (or creates) liquidity to pool.
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
uint feeType,
bool stable
) external returns (uint amountA, uint amountB, uint liquidity);addLiquidityETH
removeLiquidity
removeLiquidityETH
removeLiquidityETHSupportingFeeOnTransferTokens
swapExactTokensForTokens
swapExactETHForTokens
swapExactTokensForETH
swapExactETHForTokensSupportingFeeOnTransferTokens
swapExactTokensForETHSupportingFeeOnTransferTokens
swapExactTokensForTokensSupportingFeeOnTransferTokens
quote
getAmountOut
getAmountsOutExpanded
getAmountsOut
getPairInfo
pairFor
Last updated