For the complete documentation index, see llms.txt. This page is also available as Markdown.

IPriceFeed

Git Source

Functions

decimals

The precision of the value being returned from the price feed.

function decimals() external view returns (uint8);

latestRoundData

Return oracle data for Chainlink or Redstone price feeds.

function latestRoundData()
    external
    view
    returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);

description

function description() external view returns (string memory);

getDataFeedId

function getDataFeedId() external view returns (bytes32);

Was this helpful?