Files
uniswap-v2/contracts/interfaces/IUniswapV2Factory.sol
2020-01-07 16:44:52 -05:00

16 lines
715 B
Solidity

pragma solidity 0.5.15;
interface IUniswapV2Factory {
event ExchangeCreated(address indexed token0, address indexed token1, address exchange, uint256);
function feeToSetter() external view returns (address);
function feeTo() external view returns (address);
function sortTokens(address tokenA, address tokenB) external pure returns (address token0, address token1);
function getExchange(address tokenA, address tokenB) external view returns (address exchange);
function exchanges(uint) external view returns (address exchange);
function exchangesCount() external view returns (uint);
function createExchange(address tokenA, address tokenB) external returns (address exchange);
}