Skip to content

Latest commit

 

History

History
255 lines (224 loc) · 7.21 KB

IUniswapV2PairLike.md

File metadata and controls

255 lines (224 loc) · 7.21 KB

IUniswapV2PairLike.sol

View Source: contracts/interfaces/external/IUniswapV2PairLike.sol

↘ Derived Contracts: FakeUniswapPair, FakeUniswapV2PairLike

IUniswapV2PairLike

Functions

token0

function token0() external view
returns(address)

Arguments

Name Type Description
Source Code
function token0() external view returns (address);

token1

function token1() external view
returns(address)

Arguments

Name Type Description
Source Code
function token1() external view returns (address);

totalSupply

function totalSupply() external view
returns(uint256)

Arguments

Name Type Description
Source Code
function totalSupply() external view returns (uint256);

getReserves

function getReserves() external view
returns(reserve0 uint112, reserve1 uint112, blockTimestampLast uint32)

Arguments

Name Type Description
Source Code
function getReserves()
    external
    view
    returns (
      uint112 reserve0,
      uint112 reserve1,
      uint32 blockTimestampLast
    );

Contracts