GachaDraw
Verified contract
Active on
Ethereum with 2,715 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xf19b…36d8
0x02b6…321b
Balances ($0.00)
No balances found for "GachaDraw"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20649595 | 2 months ago | | | 0 | 0.00041420725 | |
| 20649551 | 2 months ago | | | 0 | 0.00046117977 | |
| 20649544 | 2 months ago | | | 0 | 0.00023796758 | |
| 20649541 | 2 months ago | | | 0 | 0.00030326329 | |
| 20649535 | 2 months ago | | | 0 | 0.000054849671 | |
| 20649529 | 2 months ago | | | 0 | 0.00043660879 | |
| 20649524 | 2 months ago | | | 0 | 0.00051407329 | |
| 20649505 | 2 months ago | | | 0 | 0.00084852860 | |
| 20649483 | 2 months ago | | | 0 | 0.00024343752 | |
| 20649483 | 2 months ago | | | 0 | 0.00022223930 |
ABI
ABI objects
Getter at block 21160286
FREE_ACTIVITY_TYPE() view returns (uint256)
1
PREMIUM_ACTIVITY_TYPE() view returns (uint256)
2
RewardContract() view returns (address)
0x02b67fd1bc80bda265ba804d98ec0786e5ff321b
TicketContract() view returns (address)
0xf19bbc0dd171256c0c0eacf27adceab0f86b36d8
maxRewardTokenId() view returns (uint256)
18
owner() view returns (address)
0x0f2e131e8dc813b0de0e5848751279aacad41ace
totalActivities() view returns (uint256)
4
totalCompleteDraws() view returns (uint256)
2567
totalRewardWon() view returns (uint256)
13502
Read-only
activities(uint256) view returns (uint256 activityId, uint256 startTimestamp, uint256 endTimestamp, uint256 activityType, bool isActive, uint256 remainingRewardSupply)
getMaximumRewardSupply(uint256 _activityId) view returns (uint256[])
getRewardTokenIds(uint256 _activityId) view returns (uint256[])
getTotalRewardSupply(uint256 _activityId) view returns (uint256[])
State-modifying
Events createActivity(uint256 _startTimestamp, uint256 _endTimestamp, uint256 _activityType, uint256[] _rewardTokenIds, uint256[] _maxRewardSupply)
drawTicket(uint256 _activityId, uint256 _ticketAmount)
renounceOwnership()
setActivityStatus(uint256 _activityId, bool _flag)
setActivityTimestamp(uint256 _activityId, uint256 _startTimestamp, uint256 _endTimestamp)
setMaxRewardTokenId(uint256 _maxRewardTokenId)
setRewardContract(address _rewardContractAddress)
setTicketContract(address _ticketContractAddress)
transferOwnership(address newOwner)
updateMaximumRewardSupply(uint256 _activityId, uint256[] _maxRewardSupply)
ActivityCreated(uint256 _activityId, uint256 _startTimestamp, uint256 _endTimestamp, uint256[] _rewardTokenSupply)
DrawCompleted(uint256 _activityId, address _walletAddress, uint256 _ticketType, uint256 _ticketAmount, uint256 _drawIndex)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _ticketContractAddress, address _rewardContractAddress)
This contract contains no fallback and receive objects.
ActivityTimestampError()
InactiveActivity()
InsufficientReward()
InsufficientTicket()
InvalidActivity()
InvalidActivityType()
InvalidAddress()
InvalidInput(string message)
InvalidInputLength()
InvalidTimestamp()