LotteryFactory

Verified contract

Active on Ethereum with 14,802 txns
Deployed by via 0x91538f20 at 6617004
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x7ae2dfaf894ce26a56d9a98daedb31d216a0425701df47b9090b2da439ccd52c
0xa7287e2c98bd95b0e36f0d2f7ee79ed3d01584e1754a8735e7adb526d45cb707
0xf936a7bd7b7103cb1cba206d5fbcb28dba79090ef941a2aab4731e0f0cb4ac60
0xc302dd058f1a4edd79b4cfab0936f7d50ba87437dbf22ab332a07c87e87a5dc8
0x39c06cc7aab8a811253830d16dea09b16b85fba8ddf971f3a08bec2dbda9d02d
0x6feb0aeca2a37cca62103820d1aa50e07b8e6ab280ade0390fc77e6643e3f1b9
0x65fdae1123154e7b646a269328da00ae0a60ab7c11414f328fa17ecd6076e1f6
0xafa03dd392dcc3fd7368f739d3b4016432a7d71309a0c7081f6db1a9ce2636bd
0xd8d0684dc202c298834e62173983b2c56e126e6b396f2efbcac765eefdea3431
0x4c8d3c53de972fb371967bcfc2ccc76004b2b8c0dab4ed7d6343ea9cd149b6be

Functions
Getter at block 21292998
ROLE_WHITELISTED(view returns (string)
whitelist
owner(view returns (address)
0x344a7c6ca361157d506c54e9f5c3df19d3354ec3
paused(view returns (bool)
false
Read-only
checkRole(address _operatorstring _roleview 
getBalanceOfPlayer(address _playerAddressview returns (uint256)
getLotteriesByOwner(address _ownerview returns (uint256[])
hasRole(address _operatorstring _roleview returns (bool)
lotteries(uint256view returns (uint32 betAmountuint32 dividenduint32 refunduint32 dateuint8 racebool isPaidstring betlinestring place)
lotteryToOwner(uint256view returns (address)
players(addressview returns (bool isFreezedbool isExist)
whitelist(address _operatorview returns (bool)
State-modifying
addAddressToWhitelist(address _operator
addAddressesToWhitelist(address[] _operators
createLottery(address _playerAddressstring _betlinestring _placeuint32 _betAmountuint32 _dateuint8 _race
destroy(address _playerAddressuint256 _amount
freezePlayer(address _playerAddress
joinClub(address _playerAddress
recharge(address _playerAddressuint256 _amount
removeAddressFromWhitelist(address _operator
removeAddressesFromWhitelist(address[] _operators
renounceOwnership(
reset(address _playerAddress
resumePlayer(address _playerAddress
setDividendAndPayOut(uint32 _iduint32 _dividenduint32 _refund
setHKHcoinAddress(address _address
transferOwnership(address _newOwner
Events
BuyLottery(uint32 _idaddress indexed _playerAddressstring _betlinestring _placeuint32 _betAmountuint32 indexed _dateuint8 indexed _race
Dividend(uint32 _iduint32 _dividend
NewPlayer(address indexed _playerAddress
OwnershipRenounced(address indexed previousOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Refund(uint32 _iduint32 _refund
RoleAdded(address indexed operatorstring role
RoleRemoved(address indexed operatorstring role
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.