PricePrediction
Verified contract
Active on
Ethereum with 132 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 | 1.064958K | -- | -- | |
SMOL | ERC-20 | 1.064958K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15539414 | 2 years ago | | | 0 | 0.0015798857 | |
| 15528069 | 2 years ago | | | 0.0035 | 0.0055170863 | |
| 15525089 | 2 years ago | | | 0 | 0.0012708025 | |
| 15523005 | 2 years ago | | | 0.0035 | 0.016701978 | |
| 15511203 | 2 years ago | | | 0 | 0.0086848106 | |
| 15510523 | 2 years ago | | | 0.0035 | 0.0054598050 | |
| 15510490 | 2 years ago | | | 0 | 0.0014759180 | |
| 15503143 | 2 years ago | | | 0.0035 | 0.012585511 | |
| 15491390 | 2 years ago | | | 0 | 0.0053355215 | |
| 15488425 | 2 years ago | | | 0.0035 | 0.0049860770 |
ABI
ABI objects
Getter at block 20987073
getAllPredictionOptions() view returns (struct PricePredictionPredictionConfig[])
[(3900, 950), (7500, 950)]
getAllValidPriceFeeds() view returns (address[])
[0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c, 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419]
maxWagerAbsolute() view returns (uint256)
0
minBalancePerc() view returns (uint256)
350
minWagerAbsolute() view returns (uint256)
0
owner() view returns (address)
0x98c574473313eac3fc6af9740245949380ec166e
roundIdStartOffset() view returns (uint80)
1
serviceFeeWei() view returns (uint256)
3500000000000000
smol() view returns (address)
0x2bf6267c4997548d8de56087e5d48bdccb877e77
totalPredictionsAmountLost() view returns (uint256)
28393117620242489614000
totalPredictionsAmountWon() view returns (uint256)
18979338703944386691450
totalPredictionsDraw() view returns (uint256)
1
totalPredictionsLost() view returns (uint256)
27
totalPredictionsMade() view returns (uint256)
57
totalPredictionsWon() view returns (uint256)
26
treasury() view returns (address)
0x9ed7c36dc9773d8e04c87321502f062b493dd32a
Read-only
getAggregatorPhaseAndRoundId(uint256 _proxyRoundId) pure returns (uint16, uint64)
getHistoricalPriceFromAggregatorInfo(address _proxy, uint16 _phaseId, uint80 _aggRoundId, bool _requireCompletion) view returns (uint80, uint256, 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)
predictionOptions(uint256) view returns (uint256 timePeriodSeconds, uint256 payoutPercentage)
predictions(address, uint256) view returns (address priceFeedProxy, uint256 configTimePeriodSeconds, uint256 configPayoutPercentage, bool isLong, uint256 amountWagered, 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 addPredictionOption(uint256 _seconds, uint256 _percentage)
addPriceFeed(address _proxy)
predict(uint256 _configIndex, address _priceFeedProxy, uint256 _amountWager, bool _isLong) payable
removePredictionOption(uint256 _index)
removePriceFeed(address _proxy)
renounceOwnership()
setMaxWagerAbsolute(uint256 _amount)
setMinBalancePerc(uint256 _perc)
setMinWagerAbsolute(uint256 _amount)
setRoundIdStartOffset(uint80 _offset)
setServiceFeeWei(uint256 _feeWei)
setTreasury(address _treasury)
setWagerToken(address _token)
settleMultiplePredictions(address[] _users, uint16[] _phaseIds, uint80[] _aggRoundIds)
settlePrediction(address _user, uint16 _answeredPhaseId, uint80 _answeredAggRoundId)
settlePredictionShortCircuitLoss()
transferOwnership(address newOwner)
updatePredictionOption(uint256 _index, uint256 _seconds, uint256 _percentage)
withdrawETH(uint256 _amountWei)
withdrawTokens(address _tokenAddy, uint256 _amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Predict(address indexed user, address indexed proxy, uint16 startPhase, uint80 startRound, uint256 amountWager)
Settle(address indexed user, address indexed proxy, bool isWinner, bool isDraw, uint256 amountWon)
This contract contains no constructor objects.
receive()
This contract contains no error objects.