Files
uniswap-v2/contracts/interfaces/IUniswapV2Factory.sol
Noah Zinsmeister 9e80c55338 try out fees on swap
rework admin/fee stuff in the factory
2019-12-19 10:40:26 -05:00

18 lines
859 B
Solidity

pragma solidity 0.5.14;
interface IUniswapV2Factory {
event ExchangeCreated(address indexed token0, address indexed token1, address exchange, uint256 exchangeNumber);
function exchangeBytecode() external view returns (bytes memory);
function factoryOwner() external view returns (address);
function feeRecipient() external view returns (address);
function sortTokens(address tokenA, address tokenB) external pure returns (address, address);
function getExchange(address tokenA, address tokenB) external view returns (address);
function getTokens(address exchange) external view returns (address, address);
function exchanges(uint) external view returns (address);
function exchangesCount() external view returns (uint);
function createExchange(address tokenA, address tokenB) external returns (address exchange);
}