add some comments
preface all errors with "UniswapV2: ..." tweak the order of a few things use abi.encodeWithSelector instead of abi.encodeWithSignature
This commit is contained in:
@ -6,6 +6,7 @@ interface IUniswapV2Exchange {
|
||||
event Swap(address indexed sender, address indexed tokenIn, uint amountIn, uint amountOut, address indexed to);
|
||||
event Sync(uint112 reserve0, uint112 reserve1);
|
||||
|
||||
function selector() external view returns (bytes4);
|
||||
function factory() external view returns (address);
|
||||
function token0() external view returns (address);
|
||||
function token1() external view returns (address);
|
||||
|
||||
Reference in New Issue
Block a user