Skip to content

Latest commit

 

History

History
110 lines (81 loc) · 2.29 KB

IUniswapFactory.md

File metadata and controls

110 lines (81 loc) · 2.29 KB

IUniswapFactory.sol

View Source: contracts/interfaces/IUniswapFactory.sol

IUniswapFactory

Contract Members

Constants & Variables

address public exchangeTemplate;
uint256 public tokenCount;

Functions

createExchange

function createExchange(address token) external nonpayable
returns(exchange address)

Arguments

Name Type Description
token address

getExchange

function getExchange(address token) external view
returns(exchange address)

Arguments

Name Type Description
token address

getToken

function getToken(address exchange) external view
returns(token address)

Arguments

Name Type Description
exchange address

getTokenWithId

function getTokenWithId(uint256 tokenId) external view
returns(token address)

Arguments

Name Type Description
tokenId uint256

initializeFactory

function initializeFactory(address template) external nonpayable

Arguments

Name Type Description
template address

Contracts