OlympusPrice

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0x9345baf9 at 16148610
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OlympusPrice"

No transactions found for "OlympusPrice"


Functions
Getter at block 21218264
KEYCODE(pure returns (bytes5)
0x5052494345
VERSION(pure returns (uint8 majoruint8 minor)
(major=1, minor=1)
cumulativeObs(view returns (uint256)
1471878132523956968547
decimals(view returns (uint8)
18
 
getCurrentPrice(view returns (uint256)
getLastPrice(view returns (uint256)
20043637184136115783
getMovingAverage(view returns (uint256)
16354201472488410761
getTargetPrice(view returns (uint256)
16354201472488410761
initialized(view returns (bool)
true
kernel(view returns (address)
0x2286d7f9639e8158fad1169e76d1fbc38247f54b
lastObservationTime(view returns (uint48)
1731960059
minimumTargetPrice(view returns (uint256)
12280000000000000000
movingAverageDuration(view returns (uint48)
2592000
nextObsIndex(view returns (uint32)
53
numObservations(view returns (uint32)
90
observationFrequency(view returns (uint48)
28800
ohmEthPriceFeed(view returns (address)
0x9a72298ae3886221820b1c878d12d872087d3a23
ohmEthUpdateThreshold(view returns (uint48)
86400
reserveEthPriceFeed(view returns (address)
0x773616e4d11a78f511299002da57a0a94577f1f4
reserveEthUpdateThreshold(view returns (uint48)
86400
Read-only
observations(uint256view returns (uint256)
State-modifying
INIT(
changeKernel(address newKernel_
changeMinimumTargetPrice(uint256 minimumTargetPrice_
changeMovingAverageDuration(uint48 movingAverageDuration_
changeObservationFrequency(uint48 observationFrequency_
changeUpdateThresholds(uint48 ohmEthUpdateThreshold_uint48 reserveEthUpdateThreshold_
initialize(uint256[] startObservations_uint48 lastObservationTime_
updateMovingAverage(
Events
MinimumTargetPriceChanged(uint256 minimumTargetPrice_
MovingAverageDurationChanged(uint48 movingAverageDuration_
NewObservation(uint256 timestamp_uint256 price_uint256 movingAverage_
ObservationFrequencyChanged(uint48 observationFrequency_
UpdateThresholdsChanged(uint48 ohmEthUpdateThreshold_uint48 reserveEthUpdateThreshold_
Constructor
constructor(address kernel_address ohmEthPriceFeed_uint48 ohmEthUpdateThreshold_address reserveEthPriceFeed_uint48 reserveEthUpdateThreshold_uint48 observationFrequency_uint48 movingAverageDuration_uint256 minimumTargetPrice_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
KernelAdapter_OnlyKernel(address caller_
Module_PolicyNotPermitted(address policy_
Price_AlreadyInitialized(
Price_BadFeed(address priceFeed
Price_InvalidParams(
Price_NotInitialized(