Last updated 8 months ago
A facade for the integrators expecting the interfaces of an API3 data feed.
Interface / Address of a deployed Warlock DataFeed.
The base asset address.
The asset address.
Returns the latest price data.
Returns
value
int224
The latest price data
timestamp
uint32
The latest price data timestamp
IDataFeed public immutable dataFeed;
address public immutable base;
address public immutable asset;
constructor(address _dataFeed, address _base, address _asset);
function read() external view returns (int224 value, uint32 timestamp);