Alluvial Finance Inc.
Oracle Manager (v1)
This interface exposes methods to handle the inputs provided by the oracle
Retrieve the current cl spec
_0
CLSpec.CLSpecStruct
The Consensus Layer Specification
Get CL validator count (the amount of validator reported by the oracles)
_0
uint256
The CL validator count
Get CL validator total balance
_0
uint256
The CL Validator total balance
Retrieve the current epoch id based on block timestamp
_0
uint256
The current epoch id
Retrieve the current frame details
_startEpochId
uint256
The epoch at the beginning of the frame
_startTime
uint256
The timestamp of the beginning of the frame in seconds
_endTime
uint256
The timestamp of the end of the frame in seconds
Retrieve expected epoch id
_0
uint256
The current expected epoch id
Retrieve the first epoch id of the frame of the provided epoch id
_epochId
uint256
Epoch id used to get the frame
_0
uint256
The first epoch id of the frame containing the given epoch id
Retrieve the last completed epoch id
_0
uint256
The last completed epoch id
Retrieve the last consensus layer report
_0
IOracleManagerV1.StoredConsensusLayerReport
The stored consensus layer report
Get oracle address
_0
address
The oracle address
Retrieve the report bounds
_0
ReportBounds.ReportBoundsStruct
The report bounds
Retrieve the block timestamp
_0
uint256
The current timestamp from the EVM context
Verifies if the provided epoch is valid
epoch
uint256
The epoch to lookup
_0
bool
True if valid
_newValue
CLSpec.CLSpecStruct
undefined
_report
IOracleManagerV1.ConsensusLayerReport
undefined
Set the oracle address
_oracleAddress
address
Address of the oracle
_newValue
ReportBounds.ReportBoundsStruct
undefined
The consensus layer data provided by the oracle has been updated
validatorCount
uint256
The new count of validators running on the consensus layer
validatorTotalBalance
uint256
The new total balance sum of all validators
roundId
bytes32
Round identifier
The provided report has beend processed
report
IOracleManagerV1.ConsensusLayerReport
The report that was provided
trace
IOracleManagerV1.ConsensusLayerDataReportingTrace
The trace structure providing more insights on internals
The Report Bounds are changed
annualAprUpperBound
uint256
The reporting upper bound
relativeLowerBound
uint256
The reporting lower bound
The stored oracle address changed
oracleAddress indexed
address
The new oracle address
The Consensus Layer Spec is changed
epochsPerFrame
uint64
The number of epochs inside a frame
slotsPerEpoch
uint64
The number of slots inside an epoch
secondsPerSlot
uint64
The number of seconds inside a slot
genesisTime
uint64
The genesis timestamp
epochsToAssumedFinality
uint64
The number of epochs before an epoch is considered final
The total exited balance decreased
currentValidatorsExitedBalance
uint256
The current exited balance
newValidatorsExitedBalance
uint256
The new exited balance
The total skimmed balance decreased
currentValidatorsSkimmedBalance
uint256
The current exited balance
newValidatorsSkimmedBalance
uint256
The new exited balance
Thrown when an invalid epoch was reported
epoch
uint256
Invalid epoch
The reported validator count is invalid
providedValidatorCount
uint256
The received validator count value
depositedValidatorCount
uint256
The number of deposits performed by the system
lastReportedValidatorCount
uint256
The last reported validator count
The balance decrease is higher than the maximum allowed by the lower bound
prevTotalEthIncludingExited
uint256
The previous total balance, including all exited balance
postTotalEthIncludingExited
uint256
The post-report total balance, including all exited balance
timeElapsed
uint256
The time in seconds since last report
relativeLowerBound
uint256
The lower bound value that was used
The balance increase is higher than the maximum allowed by the upper bound
prevTotalEthIncludingExited
uint256
The previous total balance, including all exited balance
postTotalEthIncludingExited
uint256
The post-report total balance, including all exited balance
timeElapsed
uint256
The time in seconds since last report
annualAprUpperBound
uint256
The upper bound value that was used