ChainlinkRelayerChild

Git Source

Inherits: ChainlinkRelayer, FactoryChild, IChainlinkRelayerChild

This contract inherits all the functionality of ChainlinkRelayer to be factory deployed

Functions

constructor

constructor(
  address _priceFeed,
  address __sequencerUptimeFeed,
  uint256 _staleThreshold
) ChainlinkRelayer(_priceFeed, __sequencerUptimeFeed, _staleThreshold);

Parameters

NameTypeDescription
_priceFeedaddressThe address of the price feed to relay
__sequencerUptimeFeedaddressThe address of the sequencer uptime feed to relay
_staleThresholduint256The threshold in seconds to consider the aggregator stale

sequencerUptimeFeed

function sequencerUptimeFeed()
  public
  view
  override(ChainlinkRelayer, IChainlinkRelayer)
  returns (IChainlinkOracle __sequencerUptimeFeed);

_setSequencerUptimeFeed

Sets the Chainlink sequencer uptime feed contract address

Modifying sequencerUptimeFeed's address results in a no-operation (is read from factory)

function _setSequencerUptimeFeed(address __sequencerUptimeFeed) internal override;

Parameters

NameTypeDescription
__sequencerUptimeFeedaddressIgnored parameter (read from factory)