View Source: contracts/interfaces/IUniswapFactory.sol
IUniswapFactory
Constants & Variables
address public exchangeTemplate;
uint256 public tokenCount;
- createExchange(address token)
- getExchange(address token)
- getToken(address exchange)
- getTokenWithId(uint256 tokenId)
- initializeFactory(address template)
function createExchange(address token) external nonpayable
returns(exchange address)
Arguments
Name | Type | Description |
---|---|---|
token | address |
function getExchange(address token) external view
returns(exchange address)
Arguments
Name | Type | Description |
---|---|---|
token | address |
function getToken(address exchange) external view
returns(token address)
Arguments
Name | Type | Description |
---|---|---|
exchange | address |
function getTokenWithId(uint256 tokenId) external view
returns(token address)
Arguments
Name | Type | Description |
---|---|---|
tokenId | uint256 |
function initializeFactory(address template) external nonpayable
Arguments
Name | Type | Description |
---|---|---|
template | address |