ReserveFeed

Git Source

Inherits: Ownable2Step

State Variables

exchangeRates

mapping(uint8 ilkIndex => uint256 exchangeRate) public exchangeRates;

Functions

constructor

constructor(address owner) Ownable(owner);

setExchangeRate

function setExchangeRate(uint8 _ilkIndex, uint256 _exchangeRate) external onlyOwner;

getExchangeRate

function getExchangeRate(uint8 _ilkIndex) external view returns (uint256);