APR

initializeFactory

initializeFactory((template: address));

Parameter

Description

template

Ethereum address of exchange template

createExchange

createExchange(token: address): address

Parameter

Type

Description

token

address

Ethereum address of an ERC20 token

Returns

address

Ethereum address of a Uniswap exchange

getExchange

@constant
getExchange(token: address): address

Parameter

Type

Description

token

address

Ethereum address of an ERC20 token

Returns

address

Ethereum address of a Uniswap exchange

getToken

@constant
getToken(exchange: address): address

Parameter

Type

Description

exchange

address

Ethereum address of a Uniswap exchange

Returns

address

Ethereum address of an ERC20 token

getTokenWithId

@constant
getTokenWithId(token_id: uint256): address

Parameter

Type

Description

token_id

uint256

Uniswap ID for an ERC20 token

Returns

address

Ethereum address of an ERC20 token

Last updated