Skip to main content

IPrices

Git Source

Functions​

feedDecimalAdjuster​

function feedDecimalAdjuster(uint256 _currency) external returns (uint256);

targetDecimals​

function targetDecimals() external returns (uint256);

feedFor​

function feedFor(uint256 _currency) external returns (AggregatorV3Interface);

getETHPriceFor​

function getETHPriceFor(uint256 _currency) external view returns (uint256);

addFeed​

function addFeed(AggregatorV3Interface _priceFeed, uint256 _currency) external;

Events​

AddFeed​

event AddFeed(uint256 indexed currency, AggregatorV3Interface indexed feed);