IChainlinkRelayer

Git Source

Inherits: IBaseOracle

Functions

priceFeed

Address of the Chainlink price feed used to consult the price

function priceFeed() external view returns (IChainlinkOracle _priceFeed);

sequencerUptimeFeed

Address of the Chainlink sequencer uptime feed used to consult the sequencer status

function sequencerUptimeFeed() external view returns (IChainlinkOracle _sequencerUptimeFeed);

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_NullPriceFeed

Throws if the provided price feed address is null

error ChainlinkRelayer_NullPriceFeed();

ChainlinkRelayer_NullSequencerUptimeFeed

Throws if the provided sequencer uptime feed address is null

error ChainlinkRelayer_NullSequencerUptimeFeed();

ChainlinkRelayer_NullStaleThreshold

Throws if the provided stale threshold is null

error ChainlinkRelayer_NullStaleThreshold();