PredictionMarket

Verified contract

Active on Ethereum with 538 txns
Deployed by via 0xc60b2f4d at 16458350
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xd0aa1024e9a4724db5fe575e1b4d961e80c42b3fcd9d1fa6852be360690d6cc4
0xb2cceb79502b25313b0a7e2af1e731decb2f627e23ebff9673525cd835b99845
0xa6433cccf417d432da9f09d7fee9c0a640778662be6bff309bbe724b053dcc3a
0x7b55f0db70f766d28d34e90332c0a52319864ae8a2f4725221cfcc78d9cabdeb
0x7a88eac50ac21e02c5f5cf141f8ad19eca1a59d44f1009644b4660c88e611d0f
0x9a0749832912b70b2d8d91d9b52e079cf9f99103abb8d2c8e7d79b62a9e8aad2
0x3acd9896c5322ccdbbca7f805bb525c351c66e98dc0bfe5aa3d8e2f8f5fe5dc1
0x0923d791d808ce46592acdfec7805db4cf73eda59bcf4455b2fb06c10b0f5c39
0xfeceb47eff1d3462d447a64677573ec91556dc726ff9388aea22267bb5b696c5
0x502f782e60c18edba119cdba418c733667bc22206d89fa1a0b95a1a95b17c0c0

Functions
Getter at block 21157968
MAX_TREASURY_FEE(view returns (uint256)
1000
adminAddress(view returns (address)
0x25c02ac0e11fc0499678b5e6878222de220a8e9e
bufferSeconds(view returns (uint256)
60
currentEpoch(view returns (uint256)
137
genesisLockOnce(view returns (bool)
false
genesisStartOnce(view returns (bool)
false
intervalSeconds(view returns (uint256)
3600
minBetAmount(view returns (uint256)
5000000000000000000000
operatorAddress(view returns (address)
0x25c02ac0e11fc0499678b5e6878222de220a8e9e
oracle(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
oracleLatestRoundId(view returns (uint256)
92233720368547798745
oracleUpdateAllowance(view returns (uint256)
300
owner(view returns (address)
0x25c02ac0e11fc0499678b5e6878222de220a8e9e
paused(view returns (bool)
true
token(view returns (address)
0xbb9fd9fa4863c03c574007ff3370787b9ce65ff6
treasuryAmount(view returns (uint256)
0
treasuryFee(view returns (uint256)
1000
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)
refundable(uint256 epochaddress userview returns (bool)
rounds(uint256view returns (uint256 epochuint256 startTimestampuint256 lockTimestampuint256 closeTimestampint256 lockPriceint256 closePriceuint256 lockOracleIduint256 closeOracleIduint256 totalAmountuint256 bullAmountuint256 bearAmountuint256 rewardBaseCalAmountuint256 rewardAmountbool oracleCalled)
userRounds(addressuint256view returns (uint256)
State-modifying
betBear(uint256 epochuint256 _amount
betBull(uint256 epochuint256 _amount
claim(uint256[] epochs
claimTreasury(
executeRound(
genesisLockRound(
genesisStartRound(
pause(
recoverToken(address _tokenuint256 _amount
renounceOwnership(
setAdmin(address _adminAddress
setBufferAndIntervalSeconds(uint256 _bufferSecondsuint256 _intervalSeconds
setMinBetAmount(uint256 _minBetAmount
setOperator(address _operatorAddress
setOracle(address _oracle
setOracleUpdateAllowance(uint256 _oracleUpdateAllowance
setTreasuryFee(uint256 _treasuryFee
transferOwnership(address newOwner
unpause(
Events
BetBear(address indexed senderuint256 indexed epochuint256 amount
BetBull(address indexed senderuint256 indexed epochuint256 amount
Claim(address indexed senderuint256 indexed epochuint256 amount
EndRound(uint256 indexed epochuint256 indexed roundIdint256 price
LockRound(uint256 indexed epochuint256 indexed roundIdint256 price
NewAdminAddress(address admin
NewBufferAndIntervalSeconds(uint256 bufferSecondsuint256 intervalSeconds
NewMinBetAmount(uint256 indexed epochuint256 minBetAmount
NewOperatorAddress(address operator
NewOracle(address oracle
NewOracleUpdateAllowance(uint256 oracleUpdateAllowance
NewTreasuryFee(uint256 indexed epochuint256 treasuryFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Pause(uint256 indexed epoch
Paused(address account
RewardsCalculated(uint256 indexed epochuint256 rewardBaseCalAmountuint256 rewardAmountuint256 treasuryAmount
StartRound(uint256 indexed epoch
TokenRecovery(address indexed tokenuint256 amount
TreasuryClaim(uint256 amount
Unpause(uint256 indexed epoch
Unpaused(address account
Constructor
constructor(address _tokenaddress _oracleAddressaddress _adminAddressaddress _operatorAddressuint256 _intervalSecondsuint256 _bufferSecondsuint256 _minBetAmountuint256 _oracleUpdateAllowanceuint256 _treasuryFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.