I Uniswap V 2 Factory

Methods

allPairs

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

Parameters

NameTypeDescription

_0

uint256

undefined

Returns

NameTypeDescription

pair

address

undefined

allPairsLength

function allPairsLength() external view returns (uint256)

Returns

NameTypeDescription

_0

uint256

undefined

createPair

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

Parameters

NameTypeDescription

tokenA

address

undefined

tokenB

address

undefined

Returns

NameTypeDescription

pair

address

undefined

feeTo

function feeTo() external view returns (address)

Returns

NameTypeDescription

_0

address

undefined

feeToSetter

function feeToSetter() external view returns (address)

Returns

NameTypeDescription

_0

address

undefined

getPair

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

Parameters

NameTypeDescription

tokenA

address

undefined

tokenB

address

undefined

Returns

NameTypeDescription

pair

address

undefined

setFeeTo

function setFeeTo(address) external nonpayable

Parameters

NameTypeDescription

_0

address

undefined

setFeeToSetter

function setFeeToSetter(address) external nonpayable

Parameters

NameTypeDescription

_0

address

undefined

Events

PairCreated

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

Parameters

NameTypeDescription

token0 indexed

address

undefined

token1 indexed

address

undefined

pair

address

undefined

_3

uint256

undefined

Last updated