Skip to main content

IUniswapV2Factory

Methods

allPairs

function allPairs(uint256) external view returns (address pair)

Parameters

NameTypeDescription
_0uint256undefined

Returns

NameTypeDescription
pairaddressundefined

allPairsLength

function allPairsLength() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

createPair

function createPair(address tokenA, address tokenB) external nonpayable returns (address pair)

Parameters

NameTypeDescription
tokenAaddressundefined
tokenBaddressundefined

Returns

NameTypeDescription
pairaddressundefined

feeTo

function feeTo() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

feeToSetter

function feeToSetter() external view returns (address)

Returns

NameTypeDescription
_0addressundefined

getPair

function getPair(address tokenA, address tokenB) external view returns (address pair)

Parameters

NameTypeDescription
tokenAaddressundefined
tokenBaddressundefined

Returns

NameTypeDescription
pairaddressundefined

setFeeTo

function setFeeTo(address) external nonpayable

Parameters

NameTypeDescription
_0addressundefined

setFeeToSetter

function setFeeToSetter(address) external nonpayable

Parameters

NameTypeDescription
_0addressundefined

Events

PairCreated

event PairCreated(address indexed token0, address indexed token1, address pair, uint256)

Parameters

NameTypeDescription
token0 indexedaddressundefined
token1 indexedaddressundefined
pairaddressundefined
_3uint256undefined