// Copyright (C) 2020 Energi Core // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see . pragma solidity ^0.5.0; interface IPairStorage { function pairsManager() external view returns (address); function setPairsManager(address _newPairsManager) external; function kill() external; function setReserves(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) external; function setCumulativePrices(uint _price0CumulativeLast, uint _price1CumulativeLast) external; function setKLast(uint _kLast) external; function setUnlocked(uint _unlocked) external; function getTokens()external view returns(address _token0, address _token1); function getToken0()external view returns(address _token0); function getToken1()external view returns(address _token1); function getReserves() external view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast); function getCumulativePrices() external view returns(uint _price0CumulativeLast, uint _price1CumulativeLast); function getCumulativePrice0() external view returns(uint _price0CumulativeLast); function getCumulativePrice1() external view returns(uint _price1CumulativeLast); function getKLast() external view returns(uint _kLast); function getUnlocked() external view returns(uint _unlocked); }