IChainlinkRelayer

Git Source

Inherits: IBaseOracle

Functions

chainlinkFeed

Address of the Chainlink aggregator used to consult the price

function chainlinkFeed() external view returns (IChainlinkOracle _chainlinkFeed);

multiplier

The multiplier used to convert the quote into an 18 decimals format

function multiplier() external view returns (uint256 _multiplier);

staleThreshold

The time threshold after which a Chainlink response is considered stale

function staleThreshold() external view returns (uint256 _staleThreshold);

Errors

ChainlinkRelayer_NullAggregator

Throws if the provided aggregator address is null

error ChainlinkRelayer_NullAggregator();

ChainlinkRelayer_NullStaleThreshold

Throws if the provided stale threshold is null

error ChainlinkRelayer_NullStaleThreshold();