Skip to content

Latest commit

 

History

History
325 lines (288 loc) · 9.93 KB

ILiquidityPoolV1Converter.md

File metadata and controls

325 lines (288 loc) · 9.93 KB

ILiquidityPoolV1Converter.sol

View Source: contracts/feeds/IV1PoolOracle.sol

ILiquidityPoolV1Converter contract

Functions


read

function read(uint256 price, uint256 timestamp) external view
returns(uint256, uint256, uint256, uint256, uint256, uint256)

Arguments

Name Type Description
price uint256
timestamp uint256
Source Code
function read(uint256 price, uint256 timestamp)
        external
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        );

latestAnswer

function latestAnswer() external view
returns(uint256)
Source Code
function latestAnswer() external view returns (uint256);

liquidityPool

function liquidityPool() external view
returns(address)
Source Code
function liquidityPool() external view returns (address);

latestPrice

function latestPrice(address _baseToken) external view
returns(answer uint256)

Arguments

Name Type Description
_baseToken address
Source Code
function latestPrice(address _baseToken) external view returns (uint256 answer);

reserveTokens

function reserveTokens(uint256 index) external view
returns(address)

Arguments

Name Type Description
index uint256
Source Code
function reserveTokens(uint256 index) external view returns (address);

Contracts