ChainlinkRelayerChild
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
Name | Type | Description |
---|---|---|
_priceFeed | address | The address of the price feed to relay |
__sequencerUptimeFeed | address | The address of the sequencer uptime feed to relay |
_staleThreshold | uint256 | The 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
Name | Type | Description |
---|---|---|
__sequencerUptimeFeed | address | Ignored parameter (read from factory) |