fix fee on swap implementation

This commit is contained in:
Noah Zinsmeister
2019-12-20 13:20:21 -05:00
parent 49882ab99b
commit 3c8ce4e1cc
6 changed files with 31 additions and 21 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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);