ChainlinkFacade
ChainlinkFacade
A facade for the integrators expecting the interfaces of a Chainlink data feed.
This facade also covers the interfaces of Redstone's data feed (which are Chainlink compatible).
State Variables
dataFeed
Interface / Address of a deployed Warlock DataFeed.
base
The base asset address.
asset
The asset address.
Functions
constructor
latestTimestamp
Returns the latest updated timestamp.
Returns
latestRound
Returns the latest round's nonce.
Returns
latestAnswer
Returns the latest price.
Returns
latestRoundData
Returns the latest price data.
Returns
getAnswer
Returns the historic price for a given nonce.
Parameters
Returns
getTimestamp
Returns the timestamp for a given nonce.
Parameters
Returns
getRoundData
Returns the historic price data for a given nonce.
Parameters
Returns
Last updated