AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 4,923 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
0xb10f…834c
Balances ($0.00)
No balances found for "AdminUpgradeabilityProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11830148 | 4 years ago | | | 0 | 0.016471680 | |
| 11830049 | 4 years ago | | | 0 | 0.24522264 | |
| 11829837 | 4 years ago | | | 0 | 0.31286522 | |
| 11829617 | 4 years ago | | | 0 | 0.26995150 | |
| 11829394 | 4 years ago | | | 0 | 0.24522264 | |
| 11829195 | 4 years ago | | | 0 | 0.17145648 | |
| 11828954 | 4 years ago | | | 0 | 0.37282302 | |
| 11828718 | 4 years ago | | | 0 | 0.21630520 | |
| 11828496 | 4 years ago | | | 0 | 0.19922620 | |
| 11828290 | 4 years ago | | | 0 | 0.20690030 |
ABI
ABI objects
Getter at block 21287657
HUNDRED_PCT() view returns (uint256)
100000000000000000000
anchorPeriod() view returns (uint256)
1800
cvpReportAPY() view returns (uint256)
50000000000000000000
cvpSlasherUpdateAPY() view returns (uint256)
20000000000000000000
cvpToken() view returns (address)
0x38e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
ethBaseUnit() view returns (uint256)
1000000000000000000
expScale() view returns (uint256)
1000000000000000000
gasExpensesForSlasherStatusUpdate() view returns (uint256)
84000
gasExpensesPerAssetReport() view returns (uint256)
85000
gasPriceLimit() view returns (uint256)
300000000000
maxReportInterval() view returns (uint256)
3600
maxTokens() view returns (uint256)
21
minReportInterval() view returns (uint256)
2700
numTokens() view returns (uint256)
20
owner() view returns (address)
0xb258302c3f209491d604165549079680708581cc
paused() view returns (bool)
false
powerOracleStaking() view returns (address)
0xb10f9bb26eabb1f64e45eb0e0910f29efd32834c
reservoir() view returns (address)
0x8ebc56a13ae7e3ce27b960b16aa57efed3f4e79e
totalReportsPerYear() view returns (uint256)
105120
totalSlasherUpdatesPerYear() view returns (uint256)
8760
Read-only
assetPrices(address token_) view returns (uint256)
calculateGasCompensation(uint256 ethPrice_, uint256 cvpPrice_, uint256 gasExpenses_) view returns (uint256)
calculateReportReward(uint256 count_, uint256 deposit_, uint256 ethPrice_, uint256 cvpPrice_) view returns (uint256)
calculateReporterFixedReward(uint256 deposit_) view returns (uint256)
calculateSlasherFixedReward(uint256 deposit_) view returns (uint256)
calculateSlasherUpdateReward(uint256 deposit_, uint256 ethPrice_, uint256 cvpPrice_) view returns (uint256)
getIntervalStatus(bytes32 _symbolHash) view returns (uint8)
getPriceByAsset(address token_) view returns (uint256)
getPriceBySymbol(string symbol_) view returns (uint256)
getPriceBySymbolHash(bytes32 symbolHash_) view returns (uint256)
getTokenConfig(uint256 i) view returns (struct UniswapConfigTokenConfig)
getTokenConfigByCToken(address cToken) view returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbol(string symbol) view returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbolHash(bytes32 symbolHash) view returns (struct UniswapConfigTokenConfig)
getTokenConfigByUnderlying(address underlying) view returns (struct UniswapConfigTokenConfig)
getUnderlyingPrice(address cToken_) view returns (uint256)
lastSlasherUpdates(uint256) view returns (uint256)
newObservations(bytes32) view returns (uint256 timestamp, uint256 acc)
oldObservations(bytes32) view returns (uint256 timestamp, uint256 acc)
prices(bytes32) view returns (uint128 timestamp, uint128 value)
rewards(uint256) view returns (uint256)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
initialize(address owner_, address powerOracleStaking_, uint256 cvpReportAPY_, uint256 cvpSlasherUpdateAPY_, uint256 totalReportsPerYear_, uint256 totalSlasherUpdatesPerYear_, uint256 gasExpensesPerAssetReport_, uint256 gasExpensesForSlasherStatusUpdate_, uint256 gasPriceLimit_, uint256 minReportInterval_, uint256 maxReportInterval_)
pause()
poke(string[] symbols_)
pokeFromReporter(uint256 reporterId_, string[] symbols_)
pokeFromSlasher(uint256 slasherId_, string[] symbols_)
renounceOwnership()
setCvpAPY(uint256 cvpReportAPY_, uint256 cvpSlasherUpdateAPY_)
setGasExpenses(uint256 gasExpensesPerAssetReport_, uint256 gasExpensesForSlasherStatusUpdate_)
setGasPriceLimit(uint256 gasPriceLimit_)
setPowerOracleStaking(address powerOracleStaking_)
setReportIntervals(uint256 minReportInterval_, uint256 maxReportInterval_)
setTotalPerYear(uint256 totalReportsPerYear_, uint256 totalSlasherUpdatesPerYear_)
slasherUpdate(uint256 slasherId_)
transferOwnership(address newOwner)
unpause()
withdrawRewards(uint256 userId_, address to_)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AnchorPriceUpdated(string symbol, uint256 anchorPrice, uint256 oldTimestamp, uint256 newTimestamp)
NothingToReward(uint256 indexed userId, uint256 ethPrice)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Poke(address indexed poker, uint256 tokenCount)
PokeFromReporter(uint256 indexed reporterId, uint256 tokenCount, uint256 rewardCount)
PokeFromSlasher(uint256 indexed slasherId, uint256 tokenCount, uint256 overdueCount)
PriceUpdated(string symbol, uint256 price)
RewardIgnored(uint256 indexed userId, uint256 count, uint256 deposit, uint256 ethPrice, uint256 cvpPrice, uint256 calculatedReward)
RewardUserReport(uint256 indexed userId, uint256 count, uint256 deposit, uint256 ethPrice, uint256 cvpPrice, uint256 calculatedReward)
RewardUserSlasherUpdate(uint256 indexed slasherId, uint256 deposit, uint256 ethPrice, uint256 cvpPrice, uint256 calculatedReward)
RewardUserSlasherUpdateIgnored(uint256 indexed slasherId, uint256 deposit, uint256 ethPrice, uint256 cvpPrice, uint256 calculatedReward)
SetCvpApy(uint256 cvpReportAPY, uint256 cvpSlasherUpdateAPY)
SetGasExpenses(uint256 gasExpensesPerAssetReport, uint256 gasExpensesForSlasherStatusUpdate)
SetGasPriceLimit(uint256 gasPriceLimit)
SetPowerOracleStaking(address powerOracleStaking)
SetReportIntervals(uint256 minReportInterval, uint256 maxReportInterval)
SetTotalReportsPerYear(uint256 totalReportsPerYear, uint256 totalSlasherUpdatePerYear)
UniswapWindowUpdated(bytes32 indexed symbolHash, uint256 oldTimestamp, uint256 newTimestamp, uint256 oldPrice, uint256 newPrice)
Unpaused(address account)
UpdateSlasher(uint256 indexed slasherId, uint256 prevSlasherTimestamp, uint256 newSlasherTimestamp)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.