JoysLotteryNew
Verified contract
Active on
Ethereum with 395 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0341…9d69
0x1c7f…c6a5
0xe5bd…fb4e
0x0b87…3bcf
0x0589…5029
Balances ($0.00)
No balances found for "JoysLotteryNew"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11870200 | 4 years ago | | | 0 | 0.095598114 | |
| 11870194 | 4 years ago | | | 0.0386 | 0.023336246 | |
| 11676561 | 4 years ago | | | 0 | 0.034008106 | |
| 11676551 | 4 years ago | | | 0.0386 | 0.0073407400 | |
| 11676537 | 4 years ago | | | 0 | 0.034486234 | |
| 11676526 | 4 years ago | | | 0.0386 | 0.0061081282 | |
| 11676518 | 4 years ago | | | 0 | 0.028394491 | |
| 11676508 | 4 years ago | | | 0.0386 | 0.0066087945 | |
| 11676502 | 4 years ago | | | 0 | 0.031275660 | |
| 11676496 | 4 years ago | | | 0.0386 | 0.0069403360 |
ABI
ABI objects
Getter at block 21262177
HL_HERO() view returns (uint8)
99
HL_WEAPON() view returns (uint8)
99
heroClaimFee() view returns (uint256)
50000000000000000000
heroMeta() view returns (address)
0x0b87085eb661f47b3d564a990584b163ef3a3bcf
hlHero() view returns (uint8)
0
hlWeapon() view returns (uint8)
0
joys() view returns (address)
0x0341049bbf89b6255723e411fa1ff8655dcd9d69
joysHero() view returns (address)
0x1c7f4a0b2ce9017d0055671c8563e8c80eccc6a5
joysWeapon() view returns (address)
0xe5bd6e710da9e177acb5b4e348b94b514f9cfb4e
lotteryFee() view returns (uint256)
38600000000000000
lotteryMemberCount() view returns (uint256)
3
nftJackpot() view returns (address)
0x46fbeecba02818fa632ad5ad0b24b2ab4163f047
owner() view returns (address)
0xbec67da79ca40ab33e0433ef77339fc4ad0530f7
paused() view returns (bool)
false
reqIdTracker() view returns (uint256 _value)
184
weaponClaimFee() view returns (uint256)
50000000000000000000
weaponMeta() view returns (address)
0x058977169e0449187239e13478da9095b3d95029
Read-only
getRoleMember(uint256 index) view returns (address)
lotteryRole(uint256) view returns (address)
randomNumbers(uint256) view returns (uint256)
reqBox(address, uint256) view returns (uint8 operation, uint32 reqID, uint40 blockNumber, uint32 a, uint32 b, uint256 c, uint256 timestamp, uint8 state)
requestCount(address _address) view returns (uint256)
requestState(address _address, uint32 _requestId) view returns (uint8)
State-modifying
Events getBox(uint8 _op) payable
grantLotteryRole(address[] _account)
mintHero(uint32 _level, uint32 _strength, uint32 _intelligence, uint32 _agility)
mintWeapon(uint32 _level, uint32 _strength, uint32 _intelligence, uint32 _agility)
openBox(address _address)
recycleJoysToken(address _address)
renounceOwnership()
revokeLotteryRole(address account)
setAddress(address _joys, address _joysHero, address _joysWeapon, address _heroMeta, address _weaponMeta, address _jackpot)
setFee(uint256 _hero, uint256 _weapon)
setLotteryFee(uint256 _fee)
transferJoysOwnership(address _address)
transferOwnership(address newOwner)
DrawHero(address indexed to, uint32 level, uint32 strength, uint32 intelligence, uint32 agility)
DrawWeapon(address indexed to, uint32 level, uint32 strength, uint32 intelligence, uint32 agility)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Unpaused(address account)
constructor(address _joys, address _joysHero, address _joysWeapon, address _heroMeta, address _weaponMeta, address _jackpot)
This contract contains no fallback and receive objects.
This contract contains no error objects.