RepricingOracle

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xe8a97ae3 at 19365907
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 10 additional slots
-
variable spans 12 additional slots

No balances found for "RepricingOracle"

No transactions found for "RepricingOracle"


Functions
Getter at block 20918025
AccessControlManager(view returns (address)
0x0000000000000000000000000000000000000000
ExternalV3ReservesPoROracle(view returns (address)
0x0000000000000000000000000000000000000000
lastRepriceSnapshot(view returns (struct UpgradeableRepriceSnapshot)
((0, 0, 0, 0), (0, 0, (0, 0, 0, 0)), 0, (0, 0))
maximumReferencePriceDiffPercentage(view returns (uint256)
0
maximumRepriceBlockAtSnapshotStaleness(view returns (uint256)
0
maximumRepriceV3ReservesExternalPoRDiffPercentage(view returns (uint256)
0
maximumRoundDataStalenessTime(view returns (uint256)
0
Read-only
assertRepricingSnapshotValidity(struct UpgradeableRepriceSnapshot _snapshotview 
State-modifying
initialize(address _accessControlManageraddress _externalV3ReservesPoROracle
setExternalV3ReservesPoROracleAddress(address _newAddress
setMaximumReferencePriceDiffPercentage(uint256 _newMaximumReferencePriceDiffPercentage
setMaximumRepriceBlockAtSnapshotStaleness(uint256 _maximumRepriceBlockAtSnapshotStaleness
setMaximumRepriceV3ReservesExternalPoRDiffPercentage(uint256 _newMaximumRepriceV3ReservesExternalPoRDiffPercentage
setMaximumRoundDataStalenessTime(uint256 _newMaximumRoundDataStalenessTime
submitSnapshot(struct UpgradeableRepriceSnapshot _snapshot
submitSnapshotV2(bytes[] activeValidatorsToDeletestruct UpgradeableRepriceSnapshot _snapshotuint256 lastTokenIDToProcess
withdrawERC20(address _token
Events
ExternalV3ReservesPoROracleAddressUpdated(address oldAddressaddress newAddress
Initialized(uint8 version
MaximumReferencePriceDiffPercentageUpdated(uint256 _oldMaximumReferencePriceDiffPercentageuint256 _newMaximumReferencePriceDiffPercentage
MaximumRepriceBlockAtSnapshotStalenessUpdated(uint256 _oldMaximumRepriceBlockAtSnapshotStalenessuint256 _newMaximumRepriceBlockAtSnapshotStaleness
MaximumRepriceV3ReservesExternalPoRDiffPercentageUpdated(uint256 _oldMaximumRepriceV3ReservesExternalPoRDiffPercentageuint256 _newMaximumRepriceV3ReservesExternalPoRDiffPercentage
MaximumRoundDataStalenessTimeUpdated(uint256 _oldMaximumRoundDataStalenessTimeuint256 _newMaximumRoundDataStalenessTime
ReservesRecorded(uint256 indexed blockAtSnapshotuint256 elBalanceuint256 clV3Balanceuint256 clV2Balanceuint256 transitioningBalanceuint256 newETHReserves
ReservesRecordedV2(uint256 indexed blockAtSnapshotuint256 elBalanceuint256 clV3Balanceuint256 clV2Balanceuint256 transitioningBalanceuint256 newETHReservesuint256 reserveAssetsuint256 exitingETH
RewardsCalculated(uint256 indexed blockAtSnapshotuint256 blockOfLastSnapshotint256 reservesChangeuint256 ethDepositsChangeuint256 rewardsPayableForFees
RewardsCalculatedV2(uint256 indexed blockAtSnapshotuint256 blockOfLastSnapshotint256 reserveAssetsChangeuint256 ethDepositsChangeuint256 rewardsPayableForFeesuint256 ethExitedChange
SnapshotSubmitted(uint256 indexed blockNumberuint256 slotuint256 reportTimestampuint256 totalETHDepositeduint256 swETHTotalSupply
SnapshotSubmittedV2(uint256 indexed blockNumberuint256 slotuint256 reportTimestampuint256 totalETHDepositeduint256 swETHTotalSupplyuint256 totalETHExited
Constructor
constructor(
Fallback and receive
fallback(
Errors
BotMethodsPaused(
CannotBeZeroAddress(
CannotComputeReferencePriceWithZeroSwETHSupply(
InvalidMethodCall(
NoTokensToWithdraw(
PRBMath_MulDiv18_Overflow(uint256 xuint256 y
PRBMath_MulDiv_Overflow(uint256 xuint256 yuint256 denominator
ProcessWithdrawalsExitingETHMustMonotonicallyIncrease(
ProcessWithdrawalsTotalETHExitedMismatch(
ReferencePriceDiffTooHigh(uint256 referencePriceDiffuint256 maximumReferencePriceDiffPercentage
RepriceBlockAtSnapshotDidNotIncrease(
RepriceBlockAtSnapshotIsStale(uint256 snapshotStalenessInBlocksuint256 maximumRepriceBlockAtSnapshotStaleness
RepriceBlockAtSnapshotTooHigh(uint256 snapshotBlockNumberuint256 currentBlockNumber
RepriceBlockOfLastSnapshotMismatch(uint256 blockOfLastSnapshotSupplieduint256 blockOfLastSnapshotOnChain
RepriceV3ReservesExternalPoRDifferentialTooHigh(uint256 v3ReservesExternalPoRDiffuint256 maximumV3ReservesExternalPoRDiff
RoundDataIsStale(uint256 latestRoundDataTimeuint256 secondsSinceExpiry