Lottery

Verified contract

Active on Base with 355 txns
Deployed by via 0x7fea0d55 at 3607869
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xc4487995005334c95ea124757afdef87293a3abe1c17b9934831a437405acb3e
0x42cbd67f3d8dfa8e60ffb8ac6beed5b0fa3bb2370715a71c26d037ed9607c717
0xd76fc06f8261ab42f8e826ba49f1f26d9ed9c09b94538e73e6535fa33cf5834c
0xb45dcbd0bebe58071d7dfe96a6f14434607331e84cc0524916f28f130dd01405
0xb01640ffc9bc7bbcb060eb3e05523a45a9471564c6b345e7810792a77afb575d
0xcb289e940fee7344baae29ef705cbfff75578f7a8b8cb702153f5a1cca3eaf46
0x897240887300cee6338801f6fde1542615669245d922ee7a2990b44510371d21
0xc07427201c6838a81fe9ef6c8887bee56176b2561e19b3c7ae65cd22b797ede2
0x1e21b8d5bc2641a516f0524fecad87c3da6c5b929f03f2b8fc932325d633a194
0x3c1133e7cd8b546735cd1d95bfe4ba58ca8144b396dbeaf7a99f847c44d79f2a

Functions
Getter at block 22930746
JACKPOT_ENABLED_MAXIMUM_REWARD(view returns (uint256)
10000
JACKPOT_ENABLED_MAX_WIN_CHANCE(view returns (uint256)
10
JACKPOT_ENABLED_MINIMUM_REWARD(view returns (uint256)
200
JACKPOT_ENABLE_CHANCE(view returns (uint256)
1000
PRECISION_DIVIDER(view returns (uint256)
10000
STEP_PRECISION_DIVIDER(view returns (uint256)
10000000
WAGER_FEE(view returns (uint256)
100
WAGER_FEE_PROCEEDS_BURN(view returns (uint256)
1000
WAGER_FEE_PROCEEDS_DAILY_POT(view returns (uint256)
7000
WAGER_FEE_PROCEEDS_JACKPOT_POT(view returns (uint256)
2000
WIN_PRIZES_EXTRA_FINAL(view returns (uint256)
100
WIN_PRIZES_EXTRA_INITIAL(view returns (uint256)
11
WIN_PRIZES_EXTRA_STEP_DECREASE(view returns (uint256)
247
WIN_PRIZES_EXTRA_STEP_MAXIMUM(view returns (uint256)
33300
WIN_PRIZES_EXTRA_STEP_MINIMUM(view returns (uint256)
11100
baseToken(view returns (address)
0xef94c12ba5bb2bf56e19babfa56880487fea6e82
dailyPot(view returns (uint256)
137089457619295123737746
 
getPreviousRoundStats(view returns (uint256 roundIduint256[] winningPlayersaddress[] winningPlayersAddressesuint256 dailyPotTotaluint256 dailyPotPaidSumuint256 jackpotTotalbool jackpotEnableduint256 jackpotPaidSumaddress jackpotWinneruint256 totalWagereduint256 roundTimestamp)
getRoundsLength(view returns (uint256 roundsLength)
20
getRoundsWithJackpotLength(view returns (uint256 roundsWithJackpotLength)
3
getWagerPlayersLength(view returns (uint256 wagerPlayersLength)
9
jackpotPot(view returns (uint256)
758267050908574909915551
nextRound(view returns (uint256)
1698652665
publicEnabled(view returns (bool)
true
resetManager(view returns (address)
0xfd5844867387cecc3a0393b3e0be32479ea9e61a
totalSupply(view returns (uint256)
42715915896918369869367873
Read-only
WIN_PRIZES_POSITIONS(uint256view returns (uint16)
balanceOf(address accountview returns (uint256)
getRandomUsers(uint256 countview returns (uint256[])
getUserStatsGeneralLength(address _playerview returns (uint256 wagerPlayersLength)
getUserStatsJackpotLength(address _playerview returns (uint256 wagerPlayersLength)
playerWageredRound(addressuint256view returns (uint256)
playerWageredTotal(addressview returns (uint256)
rewards(addressview returns (uint256)
rounds(uint256view returns (uint256 roundIduint256 dailyPotuint256 jackpotTotaluint256 dailyPotPaidSumbool jackpotEnableduint256 jackpotPaidSumaddress jackpotWinneruint256 totalWagereduint256 roundTimestamp)
roundsWithJackpot(uint256view returns (uint256)
userRewardPerTokenPaid(addressview returns (uint256)
userStatsGeneral(addressuint256view returns (uint256 roundIdWonuint256 roundIdPrizeIduint256 totalWon)
userStatsJackpot(addressuint256view returns (uint256 roundIdWonuint256 totalJackpotWon)
wagerPlayers(uint256view returns (address)
wagerPlayersByAddress(addressview returns (uint256)
State-modifying
addToDailyPot(uint256 _amount
addToJackpot(uint256 _amount
exit(
resetRound(
retrievePots(uint256 _amountuint256 _potType
setPublicEnabled(bool _enabled
stake(uint256 amount
withdraw(uint256 amount
Events
Staked(address indexed useruint256 amount
Withdrawn(address indexed useruint256 amount
Constructor
constructor(address _resetManageraddress _baseToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.