fix fee on swap implementation
This commit is contained in:
@ -10,7 +10,6 @@ interface IERC20 {
|
||||
function totalSupply() external view returns (uint);
|
||||
function balanceOf(address owner) external view returns (uint);
|
||||
function allowance(address owner, address spender) external view returns (uint);
|
||||
|
||||
function DOMAIN_SEPARATOR() external view returns (bytes32);
|
||||
function PERMIT_TYPEHASH() external pure returns (bytes32);
|
||||
function nonces(address owner) external view returns (uint);
|
||||
|
||||
@ -9,7 +9,6 @@ interface IUniswapV2 {
|
||||
function factory() external view returns (address);
|
||||
function token0() external view returns (address);
|
||||
function token1() external view returns (address);
|
||||
|
||||
function reserve0() external view returns (uint112);
|
||||
function reserve1() external view returns (uint112);
|
||||
function blockNumberLast() external view returns (uint32);
|
||||
@ -19,7 +18,6 @@ interface IUniswapV2 {
|
||||
function make() external returns (uint liquidity);
|
||||
function made() external returns (uint amount0, uint amount1);
|
||||
function move(address tokenIn, uint amountOut) external;
|
||||
|
||||
function skim() external;
|
||||
function sync() external;
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
pragma solidity 0.5.14;
|
||||
|
||||
interface IUniswapV2Factory {
|
||||
event ExchangeCreated(address indexed token0, address indexed token1, address exchange, uint256 exchangeNumber);
|
||||
event ExchangeCreated(address indexed token0, address indexed token1, address exchange, uint256);
|
||||
|
||||
function exchangeBytecode() external view returns (bytes memory);
|
||||
function factoryOwner() external view returns (address);
|
||||
|
||||
Reference in New Issue
Block a user