OlympusPrice
Verified contract
Active on
Ethereum with 0 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x9a72…3a23
0x7736…f1f4
Balances ($0.00)
No balances found for "OlympusPrice"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OlympusPrice"
ABI
ABI objects
Getter at block 21218264 getCurrentPrice() view returns (uint256)
KEYCODE() pure returns (bytes5)
0x5052494345
VERSION() pure returns (uint8 major, uint8 minor)
(major=1, minor=1)
cumulativeObs() view returns (uint256)
1471878132523956968547
decimals() view returns (uint8)
18
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(uint256) view returns (uint256)
State-modifying
Events INIT()
changeKernel(address newKernel_)
changeMinimumTargetPrice(uint256 minimumTargetPrice_)
changeMovingAverageDuration(uint48 movingAverageDuration_)
changeObservationFrequency(uint48 observationFrequency_)
changeUpdateThresholds(uint48 ohmEthUpdateThreshold_, uint48 reserveEthUpdateThreshold_)
initialize(uint256[] startObservations_, uint48 lastObservationTime_)
updateMovingAverage()
MinimumTargetPriceChanged(uint256 minimumTargetPrice_)
MovingAverageDurationChanged(uint48 movingAverageDuration_)
NewObservation(uint256 timestamp_, uint256 price_, uint256 movingAverage_)
ObservationFrequencyChanged(uint48 observationFrequency_)
UpdateThresholdsChanged(uint48 ohmEthUpdateThreshold_, uint48 reserveEthUpdateThreshold_)
constructor(address kernel_, address ohmEthPriceFeed_, uint48 ohmEthUpdateThreshold_, address reserveEthPriceFeed_, uint48 reserveEthUpdateThreshold_, uint48 observationFrequency_, uint48 movingAverageDuration_, uint256 minimumTargetPrice_)
This contract contains no fallback and receive objects.
KernelAdapter_OnlyKernel(address caller_)
Module_PolicyNotPermitted(address policy_)
Price_AlreadyInitialized()
Price_BadFeed(address priceFeed)
Price_InvalidParams()
Price_NotInitialized()