Files
uniswap-v2/contracts/interfaces/IUniswapV2Factory.sol
2019-12-30 13:30:15 -05:00

17 lines
793 B
Solidity

pragma solidity 0.5.15;
interface IUniswapV2Factory {
event ExchangeCreated(address indexed token0, address indexed token1, address exchange, uint256);
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 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);
}