SpinWin

Verified contract

Active on Ethereum with 585 txns
Deployed by via 0x2b80a8cf at 7711640
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $131.54
ERC-20
--
0x42650ec435fed43706a1fac5dbc0b7396b93e38188cb06a78747dad9e2dea0d0
0x7932aec2e8c32ca78580c0837fc8d61b9975c8bdb787cd1e744d6356fa91776e
0x6930697da7d30afaaadf8a7b9d6f42b4e5c3e76e6bc99eccb13e043480e3fb57
0xb4464213398941bfbb84e75a13f5e69cc449aa2fd2a4b231a1dd79a5ca9741f4
0x535c58959910a76d9077eb6b2ee73d394b65d5f377b178579ffaad4a698e8957
0x14018411d1a20b96c6eb49621be8cc00ad81388a28db814f1e428e073df37d75
0xcfeadf7d022d7706ba240fb6e1ffdcc46140e4000de9074fdfd31806f6513e97
0xdcb1ee31ed17ab282d2b27a854777569e88063dbf83ef5c6657f889de1f97b8a
0x786b17123fb0bf2b3a53fcc881773b45a0ce2ad9cd439f6977a9c332f194ddac
0xf84ee20ee30a4e796b27b91586fe2aa18c19d269ef4bc489690111e948ecb5ad

Functions
Getter at block 21272234
CURRENCY_DIVISOR(view returns (uint256)
1000000000000000000
PERCENTAGE_DIVISOR(view returns (uint256)
1000000
TWO_DECIMALS(view returns (uint256)
100
 
calculateClearBetBlocksReward(view returns (uint256)
developer(view returns (address)
0x7e4647a8195fd614352f3516018fdbdc538f5b5d
lotteryAddress(view returns (address)
0xf9478f9a6b9a5e7685c226b09c56b78602b65422
playerGetPendingBetIds(view returns (bytes32[])
[]
settingAddress(view returns (address)
0xb654457bab03011531ef939cb31f76eb36e2ddf3
tokenAddress(view returns (address)
0xb42f5366792ed7c08995451c1a93780b7554762b
totalPendingBets(view returns (uint256)
0
Read-only
calculateTokenReward(uint256 betValueuint256 playerNumberuint256 houseEdgeview returns (uint256)
calculateWinningReward(uint256 betValueuint256 playerNumberuint256 houseEdgeview returns (uint256)
devGetBet(uint256 betInternalIdview returns (addressuint256uint256uint256uint256uint256uint256uint256bool)
devGetBetInternalId(bytes32 betIdview returns (uint256)
lotteryBlocksAmount(addressview returns (uint256)
playerGetBet(bytes32 betIdview returns (uint256uint256uint256uint256uint256uint256bool)
playerGetPendingBet(bytes32 betIdview returns (addressuint256uint256uint256uint256)
playerPendingTokenWithdrawals(addressview returns (uint256)
playerPendingWithdrawals(addressview returns (uint256)
referees(addressview returns (address)
tokenExchanges(bytes32view returns (address playerAddressbytes32 exchangeIdbool processed)
State-modifying
changeDeveloper(address _developer
claimLotteryBlocks(
clearBets(bytes32[] betIds
devRefundBet(bytes32 betIdreturns (bool)
devSetAdvertisingAddress(address _advertisingAddress
devSetLotteryAddress(address _lotteryAddress
exchangeToken(uint256 tokenAmount
playerWithdrawPendingTokenTransactions(
playerWithdrawPendingTransactions(
refundPendingBets(returns (bool)
rollDice(uint256 playerNumberuint256 houseEdgebytes32 clearBetIdaddress referreeAddresspayable returns (bool)
withdrawToken(address tokenContractAddress
Events
LogBet(bytes32 indexed betIdaddress indexed playerAddressuint256 playerNumberuint256 betValueuint256 houseEdgeuint256 rewardValueuint256 tokenRewardValue
LogBetNotFound(bytes32 indexed betId
LogClaimLotteryBlocks(address indexed playerAddressuint256 numLotteryuint256 claimAmountuint256 claimStatus
LogClearBets(address indexed playerAddress
LogDeveloperCancelBet(bytes32 indexed betIdaddress indexed playerAddress
LogLotteryContribution(bytes32 indexed betIdaddress indexed playerAddressuint256 weiValue
LogPlayerWithdrawBalance(address indexed playerAddressuint256 withdrawAmountuint256 status
LogPlayerWithdrawTokenBalance(address indexed playerAddressuint256 withdrawAmountuint256 status
LogResult(bytes32 indexed betIdaddress indexed playerAddressuint256 playerNumberuint256 diceResultuint256 betValueuint256 houseEdgeuint256 rewardValueuint256 tokenRewardValueint256 status
LogRewardLotteryBlocks(address indexed receiverbytes32 indexed betIduint256 lottoBlocksAmountuint256 rewardTypeuint256 status
LogTokenExchange(bytes32 indexed exchangeIdaddress indexed playerAddressuint256 tokenValueuint256 tokenToWeiExchangeRateuint256 weiValueuint256 receivedWeiValueuint256 remainderTokenValueuint256 status
Constructor
constructor(address _tokenAddressaddress _settingAddressaddress _libraryAddress
Fallback and receive
fallback(
Errors

This contract contains no error objects.