SpinLottery

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0x649c44a9 at 7711642
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
17 additional variables

No balances found for "SpinLottery"

0xa43eda452ae2bd129c13636ba49a69b6ff8120f06060015da846cd9d42849b87
0x889ba62fcba467a8854f35b24ebb9cf292cdb6ae34304ce4ceb8dff9ee7697c7

Functions
Getter at block 21297102
CURRENCY_DIVISOR(view returns (uint256)
1000000000000000000
PERCENTAGE_DIVISOR(view returns (uint256)
1000000
TWO_DECIMALS(view returns (uint256)
100
avgLotteryHours(view returns (uint256)
0
blockSecurityCount(view returns (uint256)
3
 
calculateLotteryContributionPercentage(view returns (uint256)
calculateStartLotteryRewardBlocks(view returns (uint256)
1000000000000000000
contractKilled(view returns (bool)
false
currentLotteryPaceModifier(view returns (uint256)
200
currentTicketMultiplier(view returns (uint256)
100
currentTicketMultiplierBlockNumber(view returns (uint256)
7897886
currentTicketMultiplierBlockSecurityCount(view returns (uint256)
3
currentTicketMultiplierHonor(view returns (uint256)
100
developer(view returns (address)
0x7e4647a8195fd614352f3516018fdbdc538f5b5d
escapeActivator(view returns (address)
0xb15c54b4b9819925cd2a7ee3079544402ac33cee
gamePaused(view returns (bool)
false
getCurrentLotteryTargetBalance(view returns (uint256uint256)
(23000000000000000000, 0)
getCurrentTicketMultiplierHonor(view returns (uint256)
100
getNumLottery(view returns (uint256)
1
isActive(view returns (bool)
true
lastBlockNumber(view returns (uint256)
0
lastLotteryTotalBlocks(view returns (uint256)
100000000000000000000
lotteryContributionPercentageModifier(view returns (uint256)
10
lotteryTarget(view returns (uint256)
23000000000000000000
lotteryTargetIncreasePercentage(view returns (uint256)
150000
maxBlockSecurityCount(view returns (uint256)
256
maxLotteryContributionPercentage(view returns (uint256)
100
minBankrollDecreaseRate(view returns (uint256)
80
minBankrollIncreaseRate(view returns (uint256)
170
minRewardBlocksAmount(view returns (uint256)
1
numLottery(view returns (uint256)
1
owner(view returns (address)
0x0000000000000000000000000000000000000000
rateConfidenceModifier(view returns (uint256)
200
spinwinAddress(view returns (address)
0x453939ddbb64a8ce1da8b0648281ca281dfaa2ef
startLotteryRewardPercentage(view returns (uint256)
10000
ticketMultiplierModifier(view returns (uint256)
300
totalBankroll(view returns (uint256)
0
totalBuyTickets(view returns (uint256)
6
totalLotteryHours(view returns (uint256)
0
totalTokenWagered(view returns (uint256)
1922567340000000004456
Read-only
calculateNumBlocks(uint256 tokenAmountview returns (uint256 ticketMultiplieruint256 numBlocks)
lotteries(uint256view returns (uint256 lotteryTargetuint256 bankrolluint256 tokenWagereduint256 lotteryResultuint256 totalBlocksuint256 totalBlocksRewardeduint256 startTimestampuint256 endTimestampaddress winnerPlayerAddressbool endedbool cashedOut)
playerPendingWithdrawals(addressview returns (uint256)
playerTokenWagered(uint256addressview returns (uint256)
playerTotalBlocks(uint256addressview returns (uint256)
playerTotalBlocksRewarded(uint256addressview returns (uint256)
tickets(bytes32view returns (bytes32 ticketIduint256 numLotteryaddress playerAddressuint256 minNumberuint256 maxNumberbool claimed)
State-modifying
buyTicket(uint256 tokenAmountreturns (bool)
changeAddress(address _escapeActivator
changeDeveloper(address _developer
claimReward(address playerAddressuint256 tokenAmountreturns (bool)
claimTicket(bytes32 ticketIdreturns (bool)
devEndLottery(bool _startNextLotteryreturns (bool)
devPauseGame(bool paused
devSetBlockSecurityCount(uint256 _blockSecurityCount
devSetCurrentLotteryPaceModifier(uint256 _currentLotteryPaceModifier
devSetCurrentTicketMultiplierBlockSecurityCount(uint256 _currentTicketMultiplierBlockSecurityCount
devSetLotteryContributionPercentageModifier(uint256 _lotteryContributionPercentageModifier
devSetLotteryTarget(uint256 _lotteryTarget
devSetLotteryTargetIncreasePercentage(uint256 _lotteryTargetIncreasePercentage
devSetMaxBlockSecurityCount(uint256 _maxBlockSecurityCount
devSetMaxLotteryContributionPercentage(uint256 _maxLotteryContributionPercentage
devSetMinBankrollDecreaseRate(uint256 _minBankrollDecreaseRate
devSetMinBankrollIncreaseRate(uint256 _minBankrollIncreaseRate
devSetMinRewardBlocksAmount(uint256 _minRewardBlocksAmount
devSetRateConfidenceModifier(uint256 _rateConfidenceModifier
devSetStartLotteryRewardPercentage(uint256 _startLotteryRewardPercentage
devSetTicketMultiplierModifier(uint256 _ticketMultiplierModifier
devStartLottery(returns (bool)
escapeHatch(returns (bool)
playerWithdrawPendingTransactions(
startNextLottery(
withdrawToken(address tokenContractAddress
Events
LogAddBankRoll(uint256 indexed numLotteryuint256 amount
LogBuyTicket(uint256 indexed numLotterybytes32 indexed ticketIdaddress indexed playerAddressuint256 tokenAmountuint256 ticketMultiplieruint256 minNumberuint256 maxNumberuint256 ticketType
LogClaimTicket(uint256 indexed numLotterybytes32 indexed ticketIdaddress indexed playerAddressuint256 lotteryResultuint256 playerMinNumberuint256 playerMaxNumberuint256 winningRewarduint256 status
LogCreateLottery(uint256 indexed numLotteryuint256 lotteryBankrollGoal
LogEndLottery(uint256 indexed numLotteryuint256 lotteryResult
LogEscapeHatch(
LogPlayerWithdrawBalance(address indexed playerAddressuint256 withdrawAmountuint256 status
LogUpdateCurrentTicketMultiplier(uint256 currentTicketMultiplieruint256 currentTicketMultiplierBlockNumber
Constructor
constructor(address _settingAddressaddress _tokenAddressaddress _spinwinAddress
Fallback and receive
fallback(
Errors

This contract contains no error objects.