PowerOracle

Verified contract

Implementation

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

No balances found for "PowerOracle"

No transactions found for "PowerOracle"


Functions
Getter at block 21287657
HUNDRED_PCT(view returns (uint256)
100000000000000000000
anchorPeriod(view returns (uint256)
1800
cvpReportAPY(view returns (uint256)
0
cvpSlasherUpdateAPY(view returns (uint256)
0
cvpToken(view returns (address)
0x38e4adb44ef08f22f5b5b76a8f0c2d0dcbe7dca1
ethBaseUnit(view returns (uint256)
1000000000000000000
expScale(view returns (uint256)
1000000000000000000
gasExpensesForSlasherStatusUpdate(view returns (uint256)
0
gasExpensesPerAssetReport(view returns (uint256)
0
gasPriceLimit(view returns (uint256)
0
maxReportInterval(view returns (uint256)
0
maxTokens(view returns (uint256)
21
minReportInterval(view returns (uint256)
0
numTokens(view returns (uint256)
20
owner(view returns (address)
0x29bff390fc12c900aaf0f2e51c06675df691337a
paused(view returns (bool)
false
powerOracleStaking(view returns (address)
0x0000000000000000000000000000000000000000
reservoir(view returns (address)
0x8ebc56a13ae7e3ce27b960b16aa57efed3f4e79e
totalReportsPerYear(view returns (uint256)
0
totalSlasherUpdatesPerYear(view returns (uint256)
0
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 _symbolHashview returns (uint8)
getPriceByAsset(address token_view returns (uint256)
getPriceBySymbol(string symbol_view returns (uint256)
getPriceBySymbolHash(bytes32 symbolHash_view returns (uint256)
getTokenConfig(uint256 iview returns (struct UniswapConfigTokenConfig)
getTokenConfigByCToken(address cTokenview returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbol(string symbolview returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbolHash(bytes32 symbolHashview returns (struct UniswapConfigTokenConfig)
getTokenConfigByUnderlying(address underlyingview returns (struct UniswapConfigTokenConfig)
getUnderlyingPrice(address cToken_view returns (uint256)
lastSlasherUpdates(uint256view returns (uint256)
newObservations(bytes32view returns (uint256 timestampuint256 acc)
oldObservations(bytes32view returns (uint256 timestampuint256 acc)
prices(bytes32view returns (uint128 timestampuint128 value)
rewards(uint256view returns (uint256)
State-modifying
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_
Events
AnchorPriceUpdated(string symboluint256 anchorPriceuint256 oldTimestampuint256 newTimestamp
NothingToReward(uint256 indexed userIduint256 ethPrice
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Poke(address indexed pokeruint256 tokenCount
PokeFromReporter(uint256 indexed reporterIduint256 tokenCountuint256 rewardCount
PokeFromSlasher(uint256 indexed slasherIduint256 tokenCountuint256 overdueCount
PriceUpdated(string symboluint256 price
RewardIgnored(uint256 indexed userIduint256 countuint256 deposituint256 ethPriceuint256 cvpPriceuint256 calculatedReward
RewardUserReport(uint256 indexed userIduint256 countuint256 deposituint256 ethPriceuint256 cvpPriceuint256 calculatedReward
RewardUserSlasherUpdate(uint256 indexed slasherIduint256 deposituint256 ethPriceuint256 cvpPriceuint256 calculatedReward
RewardUserSlasherUpdateIgnored(uint256 indexed slasherIduint256 deposituint256 ethPriceuint256 cvpPriceuint256 calculatedReward
SetCvpApy(uint256 cvpReportAPYuint256 cvpSlasherUpdateAPY
SetGasExpenses(uint256 gasExpensesPerAssetReportuint256 gasExpensesForSlasherStatusUpdate
SetGasPriceLimit(uint256 gasPriceLimit
SetPowerOracleStaking(address powerOracleStaking
SetReportIntervals(uint256 minReportIntervaluint256 maxReportInterval
SetTotalReportsPerYear(uint256 totalReportsPerYearuint256 totalSlasherUpdatePerYear
UniswapWindowUpdated(bytes32 indexed symbolHashuint256 oldTimestampuint256 newTimestampuint256 oldPriceuint256 newPrice
Unpaused(address account
UpdateSlasher(uint256 indexed slasherIduint256 prevSlasherTimestampuint256 newSlasherTimestamp
Constructor
constructor(address cvpToken_address reservoir_uint256 anchorPeriod_struct UniswapConfigTokenConfig[] configs
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.