PricePrediction

Verified contract

Active on Ethereum with 394 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x1471f63efd35f9db9978e142e8ad0acd1a75c2736d7e97d06ce973237465cbe7
0xc4d42d7ac9108531f3521fc96c5dab7eea713e01e36d2e91526dee408cf745f9
0xfa07fffe184de1833133a218ffff9b622ba86d0afa22b26413df3662b6b9ad1e
0x885373abb83f0ff62bdec7d4e1130d0f4b31c98f516924b9b5cd530135d89459
0x4e371b3abfa86c4cb2f4e710b0014014f224e0f5fe4191cb389655586a01394a
0x26e781268f9dbab522fb38fd5c69a71d81c5aaaf6a908643ba6d353fecc0c36d
0x8203249bc5937e8dc15200693c30f6f791b68266354fa0a59bbd97db12ebd0e8
0x378a6605671e145244c4808885fee887eb867f07610dfcc3b589130d74f804ad
0x56c19558fd780a3d4068252ab9d11204bbce95ec4226f0a158371dbde020e4be
0xe5b3cb983b97f87be766a218ccdd6170a8a533c669d712d5e5a26fd83bdd491d

Functions
Getter at block 21386666
currentObligation(view returns (uint256)
6639689976136007190000
getAllValidPriceFeeds(view returns (address[])
[0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c, 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419]
minBalancePerc(view returns (uint256)
350
minWagerAbsolute(view returns (uint256)
0
owner(view returns (address)
0xb061b1f2cc40f7d3a887c970bcfe533b0db094eb
payoutPercentage(view returns (uint256)
450
predictionTimePeriodSeconds(view returns (uint256)
3600
serviceFeeWei(view returns (uint256)
3500000000000000
totalPredictionsAmountLost(view returns (uint256)
66332929389241102500000
totalPredictionsAmountWon(view returns (uint256)
112204668394822528942000
totalPredictionsDraw(view returns (uint256)
0
totalPredictionsLost(view returns (uint256)
52
totalPredictionsMade(view returns (uint256)
187
totalPredictionsWon(view returns (uint256)
130
treasury(view returns (address)
0x9ed7c36dc9773d8e04c87321502f062b493dd32a
wagerToken(view returns (address)
0xaab679e21a9c73a02c9ed33bbb6bb9e59f11afa9
Read-only
getAggregatorPhaseAndRoundId(uint256 _proxyRoundIdpure returns (uint16uint64)
getHistoricalPriceFromAggregatorInfo(address _proxyuint16 _phaseIduint80 _aggRoundIdview returns (uint80int256uint256uint80)
getLatestUserPrediction(address _userview returns (struct PricePredictionPrediction)
getNumberUserPredictions(address _userview returns (uint256)
getPriceUSDAtRound(address _proxyuint80 _roundIdview returns (uint256)
getRoundInfoAndPriceUSD(address _proxyview returns (uint16uint80uint256)
isValidPriceFeedProxy(addressview returns (bool)
predictions(addressuint256view returns (address priceFeedProxyuint256 startPriceUSDbool isLonguint256 startBlockuint256 startTimestampuint256 amountWagereduint256 amountPayoutTotaluint16 startPhaseIduint80 startRoundIduint16 endPhaseIduint80 endRoundIdbool isDrawbool isWinner)
predictionsAmountUserLost(addressview returns (uint256)
predictionsAmountUserWon(addressview returns (uint256)
predictionsUserDraw(addressview returns (uint256)
predictionsUserLost(addressview returns (uint256)
predictionsUserWon(addressview returns (uint256)
validPriceFeedProxies(uint256view returns (address)
State-modifying
addPriceFeed(address _proxy
predict(address _priceFeedProxyuint256 _amountWagerbool _isLongpayable 
removePriceFeed(address _proxy
renounceOwnership(
setMinBalancePerc(uint256 _perc
setMinWagerAbsolute(uint256 _amount
setPayoutPercentage(uint256 _percentage
setPredictionTimePeriodSeconds(uint256 _seconds
setServiceFeeWei(uint256 _feeWei
setTreasury(address _treasury
setWagerToken(address _token
settleMultiplePredictions(address[] _usersuint16[] _phaseIdsuint80[] _aggRoundIds
settlePrediction(address _useruint16 _answeredPhaseIduint80 _answeredAggRoundId
transferOwnership(address newOwner
withdrawETH(uint256 _amountWei
withdrawTokens(address _tokenAddyuint256 _amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Predict(address indexed useraddress indexed proxyuint256 startBlockuint256 startPriceuint256 amountWager
Settle(address indexed useraddress indexed proxybool isWinnerbool isDrawuint256 startBlockuint256 amountWon
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.