2020-11-23 10:15:31 +00:00
|
|
|
// SPDX-License-Identifier: agpl-3.0
|
2020-11-16 18:22:22 +00:00
|
|
|
pragma solidity >=0.6.2;
|
|
|
|
|
|
|
|
import './IUniswapV2Router01.sol';
|
|
|
|
|
|
|
|
interface IUniswapV2Router02 is IUniswapV2Router01 {
|
|
|
|
function removeLiquidityETHSupportingFeeOnTransferTokens(
|
|
|
|
address token,
|
|
|
|
uint256 liquidity,
|
|
|
|
uint256 amountTokenMin,
|
|
|
|
uint256 amountETHMin,
|
|
|
|
address to,
|
|
|
|
uint256 deadline
|
|
|
|
) external returns (uint256 amountETH);
|
|
|
|
|
|
|
|
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
|
|
|
|
address token,
|
|
|
|
uint256 liquidity,
|
|
|
|
uint256 amountTokenMin,
|
|
|
|
uint256 amountETHMin,
|
|
|
|
address to,
|
|
|
|
uint256 deadline,
|
|
|
|
bool approveMax,
|
|
|
|
uint8 v,
|
|
|
|
bytes32 r,
|
|
|
|
bytes32 s
|
|
|
|
) external returns (uint256 amountETH);
|
|
|
|
|
|
|
|
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
|
|
|
|
uint256 amountIn,
|
|
|
|
uint256 amountOutMin,
|
|
|
|
address[] calldata path,
|
|
|
|
address to,
|
|
|
|
uint256 deadline
|
|
|
|
) external;
|
|
|
|
|
|
|
|
function swapExactETHForTokensSupportingFeeOnTransferTokens(
|
|
|
|
uint256 amountOutMin,
|
|
|
|
address[] calldata path,
|
|
|
|
address to,
|
|
|
|
uint256 deadline
|
|
|
|
) external payable;
|
|
|
|
|
|
|
|
function swapExactTokensForETHSupportingFeeOnTransferTokens(
|
|
|
|
uint256 amountIn,
|
|
|
|
uint256 amountOutMin,
|
|
|
|
address[] calldata path,
|
|
|
|
address to,
|
|
|
|
uint256 deadline
|
|
|
|
) external;
|
|
|
|
}
|