Skip to main content

IUniRef

Functions

setPair

function setPair(
address newPair
) external

Parameters

NameTypeDescription
newPairaddress

pair

function pair() external returns (contract IUniswapV2Pair)

token

function token() external returns (address)

getReserves

function getReserves() external returns (uint256 feiReserves, uint256 tokenReserves)

Events

PairUpdate

event PairUpdate(
address oldPair,
address newPair
)

Parameters

NameTypeDescription
oldPairaddress
newPairaddress