Created
February 22, 2019 20:04
-
-
Save BlinkyStitt/e3962b8de88bbfd6a352330ef5b87ee8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.5.4; | |
/* https://docs.uniswap.io/smart-contract-integration/interface#factory-interface */ | |
interface IUniswapFactory { | |
// Public Variables | |
// address public exchangeTemplate; | |
function exchangeTemplate() external view returns (address _exchangeTemplate); | |
// uint256 public tokenCount; | |
function tokenCount() external view returns (uint256 _tokenCount); | |
// Create Exchange | |
function createExchange(address token) external returns (address exchange); | |
// Get Exchange and Token Info | |
function getExchange(address token) external view returns (address exchange); | |
function getToken(address exchange) external view returns (address token); | |
function getTokenWithId(uint256 tokenId) external view returns (address token); | |
// Never use | |
function initializeFactory(address template) external; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment