MockUniswapPair
MockUniswapPair
tok0
address tok0
tok1
address tok1
reserve0
uint112 reserve0
reserve1
uint112 reserve1
blockTimestampLast
uint256 blockTimestampLast
hasSynced
bool hasSynced
constructor
constructor(address _token0, address _token1, uint112 _reserve0, uint112 _reserve1) public
token0
function token0() external view returns (address)
token1
function token1() external view returns (address)
getReserves
function getReserves() external view returns (uint112, uint112, uint32)
setReserves
function setReserves(uint112 _reserve0, uint112 _reserve1) public
price0CumulativeLast
function price0CumulativeLast() external view returns (uint256)
price1CumulativeLast
function price1CumulativeLast() external view returns (uint256)
sync
function sync() external
checkHasSynced
function checkHasSynced() external view