PredictionMarket

Verified contract

Active on Ethereum with 181 txns
Deployed by via 0x62da6150 at 14042543
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $20,672.77
0xbf3226d83d1ea6734a491298a8de8ff349388d1ff2ba1e738c96530f46207fc9
0x0ba1f3207f4128377142d38f44920d199e8f20c7739efac91a37b82386696d80
0x98591a62d649fbdd23243a177d3a82221a370630d7bf6e2e3ad97c508a8d7ddb
From
0xfd58163921dd1c7db1d7ff8f3bf92d44b99cde4571a7b6cf0365fe60b7e35a9a
From
0x76c95a0ebf985e167e58789dd585ed2f75e6ef50e9f1d5d351a3fd1b8a3d2276
0x3959e1eb166556b56aecd071a5f4f70e86e22fcccbddd377cf2fcf1c9269b874
0xd39b12292fd4d1c61b985264f9807c39213096eee015300e8a256027e6e84c40
0x206c9694c93ed1ad61d740d13fc628a01ea4cb6ca25f83c5e5b11afa40f6b7ce
0xb61958800d438c462e856caf328179718606e6e7b70c8488ef0dbfa3f2400b28
0xade5a935bff37bf545a1dabcabf5a7c884a3675cd5ec20269be53aec2241d384

Functions
Getter at block 21387886
MAX_UINT_256(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
ONE(view returns (uint256)
1000000000000000000
fee(view returns (uint256)
50000000000000000
 
getMarkets(view returns (uint256[])
marketIndex(view returns (uint256)
15
realitioAddress(view returns (address)
0xfa443f0ec4aed3e87c6d608ecf737a83d950427b
realitioTimeout(view returns (uint256)
259200
requiredBalance(view returns (uint256)
100000000000000000000000000
token(view returns (address)
0x3b484b82567a09e2588a13d54d032153f0c0aee0
treasury(view returns (address)
0x578ff4c0ee51bdc90e8acc9990cd09a897ef36ab
Read-only
calcBuyAmount(uint256 amountuint256 marketIduint256 outcomeIdview returns (uint256)
calcSellAmount(uint256 amountuint256 marketIduint256 outcomeIdview returns (uint256 outcomeTokenSellAmount)
getMarketAltData(uint256 marketIdview returns (uint256bytes32uint256)
getMarketData(uint256 marketIdview returns (uint8uint256uint256uint256uint256int256)
getMarketLiquidityPrice(uint256 marketIdview returns (uint256)
getMarketOutcomeData(uint256 marketIduint256 outcomeIdview returns (uint256uint256uint256)
getMarketOutcomeIds(uint256 marketIdview returns (uint256[])
getMarketOutcomePrice(uint256 marketIduint256 outcomeIdview returns (uint256)
getMarketPrices(uint256 marketIdview returns (uint256uint256uint256)
getMarketQuestion(uint256 marketIdview returns (bytes32)
getMarketResolvedOutcome(uint256 marketIdview returns (int256)
getUserClaimStatus(uint256 marketIdaddress userview returns (boolboolboolbooluint256)
getUserClaimableFees(uint256 marketIdaddress userview returns (uint256)
getUserLiquidityPoolShare(uint256 marketIdaddress userview returns (uint256)
getUserMarketShares(uint256 marketIdaddress userview returns (uint256uint256uint256)
isMarketVoided(uint256 marketIdview returns (bool)
State-modifying
addLiquidity(uint256 marketIdpayable 
buy(uint256 marketIduint256 outcomeIduint256 minOutcomeSharesToBuypayable 
claimFees(uint256 marketIdpayable 
claimLiquidity(uint256 marketId
claimVoidedOutcomeShares(uint256 marketIduint256 outcomeId
claimWinnings(uint256 marketId
createMarket(string questionstring imageuint256 closesAtaddress arbitratoruint256 outcomespayable returns (uint256)
removeLiquidity(uint256 marketIduint256 sharespayable 
resolveMarketOutcome(uint256 marketIdreturns (uint256)
sell(uint256 marketIduint256 outcomeIduint256 valueuint256 maxOutcomeSharesToSellpayable 
Events
MarketActionTx(address indexed useruint8 indexed actionuint256 indexed marketIduint256 outcomeIduint256 sharesuint256 valueuint256 timestamp
MarketCreated(address indexed useruint256 indexed marketIduint256 outcomesstring questionstring image
MarketLiquidity(uint256 indexed marketIduint256 valueuint256 priceuint256 timestamp
MarketOutcomePrice(uint256 indexed marketIduint256 indexed outcomeIduint256 valueuint256 timestamp
MarketResolved(address indexed useruint256 indexed marketIduint256 outcomeIduint256 timestamp
Constructor
constructor(uint256 _feeaddress _tokenuint256 _requiredBalanceaddress _realitioAddressuint256 _realitioTimeoutaddress _treasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.