PricePrediction
Verified contract
Active on
Ethereum with 394 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x9ed7…d32a
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SMOL | ERC-20 | 7.37507K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15462133 | 2 years ago | | | 0 | 0.00061917802 | |
| 14871154 | 3 years ago | | | 0 | 0.0049983048 | |
| 14870753 | 3 years ago | | | 0.0035 | 0.0069228970 | |
| 14869116 | 3 years ago | | | 0 | 0.0038715827 | |
| 14869104 | 3 years ago | | | 0 | 0.0052051623 | |
| 14868821 | 3 years ago | | | 0.0035 | 0.012566840 | |
| 14868817 | 3 years ago | | | 0 | 0.0042515471 | |
| 14868801 | 3 years ago | | | 0.0035 | 0.013807940 | |
| 14868769 | 3 years ago | | | 0 | 0.0039381760 | |
| 14868760 | 3 years ago | | | 0 | 0.0037705431 |
ABI
ABI objects
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 _proxyRoundId) pure returns (uint16, uint64)
getHistoricalPriceFromAggregatorInfo(address _proxy, uint16 _phaseId, uint80 _aggRoundId) view returns (uint80, int256, uint256, uint80)
getLatestUserPrediction(address _user) view returns (struct PricePredictionPrediction)
getNumberUserPredictions(address _user) view returns (uint256)
getPriceUSDAtRound(address _proxy, uint80 _roundId) view returns (uint256)
getRoundInfoAndPriceUSD(address _proxy) view returns (uint16, uint80, uint256)
isValidPriceFeedProxy(address) view returns (bool)
predictions(address, uint256) view returns (address priceFeedProxy, uint256 startPriceUSD, bool isLong, uint256 startBlock, uint256 startTimestamp, uint256 amountWagered, uint256 amountPayoutTotal, uint16 startPhaseId, uint80 startRoundId, uint16 endPhaseId, uint80 endRoundId, bool isDraw, bool isWinner)
predictionsAmountUserLost(address) view returns (uint256)
predictionsAmountUserWon(address) view returns (uint256)
predictionsUserDraw(address) view returns (uint256)
predictionsUserLost(address) view returns (uint256)
predictionsUserWon(address) view returns (uint256)
validPriceFeedProxies(uint256) view returns (address)
State-modifying
Events addPriceFeed(address _proxy)
predict(address _priceFeedProxy, uint256 _amountWager, bool _isLong) payable
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[] _users, uint16[] _phaseIds, uint80[] _aggRoundIds)
settlePrediction(address _user, uint16 _answeredPhaseId, uint80 _answeredAggRoundId)
transferOwnership(address newOwner)
withdrawETH(uint256 _amountWei)
withdrawTokens(address _tokenAddy, uint256 _amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Predict(address indexed user, address indexed proxy, uint256 startBlock, uint256 startPrice, uint256 amountWager)
Settle(address indexed user, address indexed proxy, bool isWinner, bool isDraw, uint256 startBlock, uint256 amountWon)
This contract contains no constructor objects.
receive()
This contract contains no error objects.