Lottery

Verified contract

Active on Ethereum with 103 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
9 additional variables
ERC-20
Value $21.95
0x345f9746324bce27cd6c499775e4e9bb55ff200aea7b88ad9def69a3a0aa4591
0x7a7e802fbba59f2fb2fc08879588f50c3cb0e60d11a8424faec9ff33d21a1ed0
0x3423e9e3af1d61999adc5d277c13f54da44e4abc5a59b9255f64b3cc8fb364ce
0x33de9d8d3b4afd2a4b26252a3e39497eeaa305b485974b218c3361d179c31970
0x8839cd1733e00b02a9a34dae94da626e349ecda55f38a99f3a72714a7f7d6cca
0xc06f0c27688611f8ae393a4afdb90f2df9636a925157803dd88e927efb229674
0xaac4c69ba13d35f93528091da292bbff73d0d06ccae53d9a284f2922f0cf83d5
0x1fd36e81e0c4d208d8ddd5376c851ae73b6af9e802b012da18222623da6a9030
0x3796f56cdd7ba494b65ddd4debb4ad7c20f78b5076b59ee5f402334610b1e783
0x8c16e821d1a3d15a6b4ae4c9b1497a5fc28c09d2a7fe2e4218463f73dc9518b5

Functions
Getter at block 21327097
currentMinWinAmount(view returns (uint256)
200000000000000000000
gameMaxWagerAbsolute(view returns (uint256)
0
gameMaxWhaleWagerAbsolute(view returns (uint256)
0
gameMinWagerAbsolute(view returns (uint256)
0
gameMinWhaleWagerAbsolute(view returns (uint256)
500000000000000000000
getCurrentLottery(view returns (uint256)
1685956583
getCurrentLotteryEntries(view returns (uint256)
1
getCurrentLotteryRewardAmount(view returns (uint256)
200000000000000000000
getFeeDiscounter(view returns (address)
0x0000000000000000000000000000000000000000
getFinalServiceFeeWei(view returns (uint256)
27114379297629118
getLottoToken(view returns (address)
0x553539d40ae81fd0d9c4b991b0b77be6f6bc030e
getNumberLotteries(view returns (uint256)
49
getNumberWalletsPlayed(view returns (uint256)
12
lottoEntryFee(view returns (uint256)
1000000000000000000
lottoTimespan(view returns (uint256)
259200
numberWinners(view returns (uint16)
2
owner(view returns (address)
0x98c574473313eac3fc6af9740245949380ec166e
percentageFeeWin(view returns (uint256)
950
percentageWagerTowardsRewards(view returns (uint8)
0
serviceFeeUSDCents(view returns (uint256)
10000
treasury(view returns (address)
0x9ed7c36dc9773d8e04c87321502f062b493dd32a
Read-only
getBaseServiceFeeWei(uint256 _costUSDCentsview returns (uint256)
getCurrentNumberEntriesForUser(address _userview returns (uint256)
getLotteryEntries(uint256 _lotteryview returns (uint256)
getLotteryRewardAmount(uint256 _lotteryview returns (uint256)
isGameWhale(addressview returns (bool)
isLotterySettled(uint256view returns (bool)
lotteries(uint256view returns (uint256)
lotteryEntriesPerUser(addressuint256view returns (uint256)
lottoParticipants(uint256uint256view returns (address)
lottoWinnerAmounts(uint256view returns (uint256)
lottoWinners(uint256uint256view returns (address)
walletsPlayed(uint256view returns (address)
State-modifying
enterLotto(uint256 _entriespayable 
enterLottoForUser(address _useruint256 _entriespayable 
launch(
manualSettleLottery(uint256 requestIduint256[] randomWords
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceOwnership(
selectLottoWinner(
setCurrentMinWinAmount(uint256 _amount
setFeeDiscounter(address _discounter
setGameMaxWagerAbsolute(uint256 _amount
setGameMaxWhaleWagerAbsolute(uint256 _amount
setGameMinWagerAbsolute(uint256 _amount
setGameMinWhaleWagerAbsolute(uint256 _amount
setIsGameWhale(address _userbool _isWhale
setLottoEntryFee(uint256 _fee
setLottoTimespan(uint256 _seconds
setLottoToken(address _token
setNumberWinners(uint16 _number
setPercentageFeeWin(uint256 _percent
setPercentageWagerTowardsRewards(uint8 _percent
setServiceFeeUSDCents(uint256 _cents
setTreasury(address _treasury
setVrfCallbackGasLimit(uint32 _gas
setVrfNumBlocks(uint16 _numBlocks
setVrfSubscriptionId(uint64 _subId
transferOwnership(address newOwner
withdrawTokens(address _tokenAddyuint256 _amount
Events
DrawWinner(uint256 indexed lottoTimestamp
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SelectedWinners(uint256 indexed lottoTimestampaddress[] winneruint256 amountWon
Constructor
constructor(address _nativeUSDFeedaddress _vrfCoordinatoruint64 _subscriptionIdaddress _linkTokenbytes32 _keyHash
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OnlyCoordinatorCanFulfill(address haveaddress want