Jackpot

Verified contract

Active on Base with 1,062 txns
Deployed by via 0xc7ac78a6 at 12981152
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 2 additional slots
-
variable spans 2 additional slots
Native
Value $36.8
ERC-20
--
0x021acbbe4e2a96b97d0e295eefedd2d9e9f2c9d6c972c79dd2ec1ffca367177c
0xc188cc5034d291d2f0ec93ed83d462d44f73748fa69b119f80448d7278cb8bb9
0x748b9ce342724127f7ec4f02d2448e8d295c124ed439bbb78985b1a590ec2689
0x1807a9fd06b8c49a6c3402f63b20fc2eabbb2e89408275106e7ccd819f40d48f
0x3aa6965225e8a5cfce52ccd7049743f0911d4ef97a22b9c07639ec0aa9b3d431
0x6948ec658f8c4fa666585ee014980d9e0cb1f2b44032bcfd8d041fbf2e35bd5a
0xda231b785f1cff52c32d098f65bcb8ee854d3d2196d94b1f6d7b623ead965593
0x2060fbf69e5372485f6afaf7295d7613f1d5001c5b19f0107d8cde8178dedf14
0x9ee208cedb0a09daf8ee2fdb38aa280a8aade055e9983dcbfecdbd13afec6757
0xbfe8e7d2648562459dfe69d2fc2012dd9c91941d9f16be282ea4bd381ba644a4

Functions
Getter at block 23166222
getCountdownForWinner(view returns (uint256)
1712858887
getCurrentPrize(view returns (uint256)
1000000000000000
getHasWinner(view returns (bool)
false
getLastPlayerAddress(view returns (address)
0x5acccad1932174a7df449905316679f4d6dc6748
getMinEntranceFee(view returns (uint256)
10000000000000000
getPlayers(view returns (struct JackpotPlayer[])
[(0x5acccad1932174a7df449905316679f4d6dc6748, 10000000000000000, 1712858287)]
getPreviousPlayerAddress(view returns (address)
0x0a32e6489cac13d9dc828febcf26e1dda823ce1a
getRound1EndTime(view returns (uint256)
1712838821
getRound1Status(view returns (bool)
true
getRound2EndTime(view returns (uint256)
0
getRound2Status(view returns (bool)
false
getTimeBetweenLastAndPreviousPlayer(view returns (uint256)
5700
getTimeInterval(view returns (uint256)
600
 
getUsers(view returns (struct JackpotPlayer[])
getWinner(view returns (struct JackpotPlayer)
(0x0a32e6489cac13d9dc828febcf26e1dda823ce1a, 10000000000000000, 1712847459)
getWinnerWinngs(view returns (uint256)
2000000000000000
hakcToken(view returns (address)
0x811fe8f207860e61c97635acf2d6a2061784d6fe
Read-only
getTokenToClaimAfterRound1(address userview returns (uint256)
getTokenToClaimAfterRound2(address userview returns (uint256)
getTokenToClaimAfterRound2PlusOneDay(address userview returns (uint256)
getTotalHakcToken(address userview returns (uint256)
State-modifying
claim(
enableRound1(
enterRound1(payable 
enterRound2(payable 
pickWinnerInRound1(
pickWinnerInRound2(
withdraw(
withdrawToken(
Events
JackpotEntered(address indexed playeruint256 amountuint256 timestamp
TokenClaimed(address indexed useruint256 amount
WinnerPicked(address indexed playeruint256 amountuint256 timestamp
Constructor
constructor(uint256 _minEntranceFeeaddress tokenAddress
Fallback and receive
receive(
Errors
Jackpot__NoPlayers(
Jackpot__NoSufficientTokenInContract(
Jackpot__NoTokensInContract(
Jackpot__NoTokensToClaim(
Jackpot__NotEnoughEntranceFee(
Jackpot__NotOwner(
Jackpot__Round1AlreadyActive(
Jackpot__Round1NotActive(
Jackpot__Round1StillActive(
Jackpot__Round2AlreadyActive(
Jackpot__Round2NotActive(
Jackpot__TransferLastPlayerFailed(
Jackpot__TransferOwnerFailed(
Jackpot__TransferWinnerFailed(