Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
17 additional
variables
Balances ($0.00)
No balances found for "SpinLottery"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 7756301 | 6 years ago | | | 0 | 0.00075682800 | |
| 7742242 | 6 years ago | | | 0 | 0.00065428880 |
ABI
ABI objects
Getter at block 21297102 calculateLotteryContributionPercentage() view returns (uint256)
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
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 (uint256, uint256)
(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 tokenAmount) view returns (uint256 ticketMultiplier, uint256 numBlocks)
lotteries(uint256) view returns (uint256 lotteryTarget, uint256 bankroll, uint256 tokenWagered, uint256 lotteryResult, uint256 totalBlocks, uint256 totalBlocksRewarded, uint256 startTimestamp, uint256 endTimestamp, address winnerPlayerAddress, bool ended, bool cashedOut)
playerPendingWithdrawals(address) view returns (uint256)
playerTokenWagered(uint256, address) view returns (uint256)
playerTotalBlocks(uint256, address) view returns (uint256)
playerTotalBlocksRewarded(uint256, address) view returns (uint256)
tickets(bytes32) view returns (bytes32 ticketId, uint256 numLottery, address playerAddress, uint256 minNumber, uint256 maxNumber, bool claimed)
State-modifying
Events buyTicket(uint256 tokenAmount) returns (bool)
changeAddress(address _escapeActivator)
changeDeveloper(address _developer)
claimReward(address playerAddress, uint256 tokenAmount) returns (bool)
claimTicket(bytes32 ticketId) returns (bool)
devEndLottery(bool _startNextLottery) returns (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)
LogAddBankRoll(uint256 indexed numLottery, uint256 amount)
LogBuyTicket(uint256 indexed numLottery, bytes32 indexed ticketId, address indexed playerAddress, uint256 tokenAmount, uint256 ticketMultiplier, uint256 minNumber, uint256 maxNumber, uint256 ticketType)
LogClaimTicket(uint256 indexed numLottery, bytes32 indexed ticketId, address indexed playerAddress, uint256 lotteryResult, uint256 playerMinNumber, uint256 playerMaxNumber, uint256 winningReward, uint256 status)
LogCreateLottery(uint256 indexed numLottery, uint256 lotteryBankrollGoal)
LogEndLottery(uint256 indexed numLottery, uint256 lotteryResult)
LogEscapeHatch()
LogPlayerWithdrawBalance(address indexed playerAddress, uint256 withdrawAmount, uint256 status)
LogUpdateCurrentTicketMultiplier(uint256 currentTicketMultiplier, uint256 currentTicketMultiplierBlockNumber)
constructor(address _settingAddress, address _tokenAddress, address _spinwinAddress)
fallback()
This contract contains no error objects.