PredictionMarket

Verified contract

Active on Ethereum with 2,089 txns
Deployed by via 0xf546a31a at 16621598
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0xfcc470f28b0b8486a3d82d0cb0f25be668d9246a15d691ddf42f3c2ee8d0786a
0x2a6a07a840a55090bebbeeb47623117777b4012229373c161561e36cf00b6d4d
0xd5e112ece796ebc92f905bbdeed08027fdb8e76dfa5342a1d0a7f9b820231a70
0xe527402c119330330f7f1ea16b9823a928909c3bd3e3c4833358d14af989dbd5
0xadab9d7e39989f2a27c17fb77867bbb86223d22f6bc3d18f2752af9ede753690
0x3f2c59eef67057b06375cc1e9b67b7f855b103cc52c6c033e148776c351ec20b
0xb315eef8c7400515560452c425d5b69111682b74413793f589d06b441bfada3c
0x15d35b49d291298b6a6a60f4a36cdac6e4aca5b2fff489fe9acda9d729656364
0xb6a29293558607053b86a2dbcce91179ea068d4f979d820a3acbbab8848c3d9a
0xce34be1fd2066b4276a9d4d3fc7cdae3c0b352f4a05fe1df48bd3e50eabffccc

Functions
Getter at block 21403931
MAX_TREASURY_FEE(view returns (uint256)
1000
adminAddress(view returns (address)
0x9ce5adaad05949d6e1627bfbe2c9a3e67c9c83e3
currentRound(view returns (uint256)
225
minBetAmount(view returns (uint256)
500000000000000000000
operatorAddress(view returns (address)
0x9ce5adaad05949d6e1627bfbe2c9a3e67c9c83e3
owner(view returns (address)
0x2d655a1e22a82bc64d40142837f38afc5e7076b8
paused(view returns (bool)
false
token(view returns (address)
0xbb9fd9fa4863c03c574007ff3370787b9ce65ff6
treasuryAmount(view returns (uint256)
0
treasuryFee(view returns (uint256)
500
Read-only
claimable(uint256 epochaddress userview returns (bool)
getUserRounds(address useruint256 cursoruint256 sizeview returns (uint256[]struct PredictionMarketBetInfo[]uint256)
getUserRoundsLength(address userview returns (uint256)
ledger(uint256addressview returns (uint8 positionuint256 amountbool claimed)
rounds(uint256view returns (uint256 epochuint256 startTimestampuint256 lockTimestampuint256 closeTimestampuint256 totalAmountuint256 bullAmountuint256 bearAmountuint256 rewardBaseCalAmountuint256 rewardAmountbool roundCloseduint8 outcome)
userRounds(addressuint256view returns (uint256)
State-modifying
betBear(uint256 epochuint256 _amount
betBull(uint256 epochuint256 _amount
claim(uint256[] epochs
claimTreasury(
closeRound(uint256 _epochToEnduint8 _outcome
pause(
recoverToken(address _tokenuint256 _amount
renounceOwnership(
setAdmin(address _adminAddress
setMinBetAmount(uint256 _minBetAmount
setOperator(address _operatorAddress
setTreasuryFee(uint256 _treasuryFee
startNewRound(uint256 _lockTimestampuint256 _closeTimestamp
transferOwnership(address newOwner
unpause(
Events
BetBear(address indexed senderuint256 indexed rounduint256 amount
BetBull(address indexed senderuint256 indexed rounduint256 amount
Claim(address indexed senderuint256 indexed rounduint256 amount
EndRound(uint256 indexed rounduint8 outcome
NewAdminAddress(address admin
NewMinBetAmount(uint256 indexed rounduint256 minBetAmount
NewOperatorAddress(address operator
NewTreasuryFee(uint256 indexed rounduint256 treasuryFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(uint256 indexed round
Paused(address account
RewardsCalculated(uint256 indexed rounduint256 rewardBaseCalAmountuint256 rewardAmountuint256 treasuryAmount
StartRound(uint256 indexed round
TokenRecovery(address indexed tokenuint256 amount
TreasuryClaim(uint256 amount
Unpause(uint256 indexed round
Unpaused(address account
Constructor
constructor(address _tokenaddress _adminAddressaddress _operatorAddressuint256 _minBetAmountuint256 _treasuryFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.