Skip to content

Latest commit

 

History

History
258 lines (227 loc) · 7.34 KB

IUniswapV2PairLike.md

File metadata and controls

258 lines (227 loc) · 7.34 KB

IUniswapV2PairLike.sol

View Source: contracts/dependencies/uniswap-v2/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