ChainlinkPriceProviderL2
Overview
License: MIT
The ChainlinkPriceProviderL2 contract is the contract that provides the functionality of getting the latest price from Chainlink. This contract is used for Layer 2 networks.
Events info
SetSequencerUptimeFeed
Emitted when the address of the L2 sequencer uptime feed is set.
Parameters:
SetGracePeriodTime
Emitted when the grace period time is set.
Parameters:
State variables info
gracePeriodTime (0xd5bd765c)
sequencerUptimeFeed (0xa7264705)
Functions info
setSequencerUptimeFeed (0xb8f44963)
Sets proxy addresses for the L2 sequencer feeds. Caller must be the moderator.
Parameters:
setGracePeriodTime (0x21b90245)
Sets the grace period after the sequencer is backed up. Caller must be the moderator.
Parameters:
getLatestPrice (0x16345f18)
ReturnS the latest price after performing sanity check and staleness check.
Parameters:
Return values:
Last updated