LotteryFactory
Verified contract
Active on
Ethereum with 14,802 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x8437…64d2
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0x1c5b…4823 | ERC-20 | 1,000,000T | -- | -- | |
MRO | ERC-20 | 49.95 | -- | -- | |
ELET | ERC-20 | 5.54 | -- | -- | |
0x2630…8a13 | ERC-20 | 5 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 8981646 | 5 years ago | | | 0 | 0.00038263500 | |
| 8439423 | 5 years ago | | | 0 | 0.00015305400 | |
| 8148560 | 5 years ago | | | 0 | 0.00035513000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 | |
| 8148560 | 5 years ago | | | 0 | 0.00035449000 |
ABI
ABI objects
Getter at block 21292998
ROLE_WHITELISTED() view returns (string)
whitelist
owner() view returns (address)
0x344a7c6ca361157d506c54e9f5c3df19d3354ec3
paused() view returns (bool)
false
Read-only
checkRole(address _operator, string _role) view
getBalanceOfPlayer(address _playerAddress) view returns (uint256)
getLotteriesByOwner(address _owner) view returns (uint256[])
hasRole(address _operator, string _role) view returns (bool)
lotteries(uint256) view returns (uint32 betAmount, uint32 dividend, uint32 refund, uint32 date, uint8 race, bool isPaid, string betline, string place)
lotteryToOwner(uint256) view returns (address)
players(address) view returns (bool isFreezed, bool isExist)
whitelist(address _operator) view returns (bool)
State-modifying
Events addAddressToWhitelist(address _operator)
addAddressesToWhitelist(address[] _operators)
createLottery(address _playerAddress, string _betline, string _place, uint32 _betAmount, uint32 _date, uint8 _race)
destroy(address _playerAddress, uint256 _amount)
freezePlayer(address _playerAddress)
joinClub(address _playerAddress)
recharge(address _playerAddress, uint256 _amount)
removeAddressFromWhitelist(address _operator)
removeAddressesFromWhitelist(address[] _operators)
renounceOwnership()
reset(address _playerAddress)
resumePlayer(address _playerAddress)
setDividendAndPayOut(uint32 _id, uint32 _dividend, uint32 _refund)
setHKHcoinAddress(address _address)
transferOwnership(address _newOwner)
BuyLottery(uint32 _id, address indexed _playerAddress, string _betline, string _place, uint32 _betAmount, uint32 indexed _date, uint8 indexed _race)
Dividend(uint32 _id, uint32 _dividend)
NewPlayer(address indexed _playerAddress)
OwnershipRenounced(address indexed previousOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Refund(uint32 _id, uint32 _refund)
RoleAdded(address indexed operator, string role)
RoleRemoved(address indexed operator, string role)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.