TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 560 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($29.42)
Native
Value
$29.42
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.012 | $2,451.77 |
$29.42 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14282244 | 3 years ago | | | 0 | 0.0021910800 | |
| 14281403 | 3 years ago | | | 0.03 | 0.028139353 | |
| 14281319 | 3 years ago | | | 0.03 | 0.021551296 | |
| 14281269 | 3 years ago | | | 0.03 | 0.017591989 | |
| 14281266 | 3 years ago | | | 0.03 | 0.020971918 | |
| 14281202 | 3 years ago | | | 0.03 | 0.023248270 | |
| 14281116 | 3 years ago | | | 0.03 | 0.012897513 | |
| 14281112 | 3 years ago | | | 0.03 | 0.028668200 | |
| 14281101 | 3 years ago | | | 0.03 | 0.0089052860 | |
| 14280872 | 3 years ago | | | 0.03 | 0.032307766 |
ABI
ABI objects
Getter at block 20878375
owner() view returns (address)
0x8cab42ef3c96ca59f5c52e687197d9e54161831a
Read-only
admin(address) view returns (bool)
getBoxInfo(uint256 box_id) view returns (address creator, address nft_address, string name, uint32 personal_limit, address qualification, address holder_token_addr, uint256 holder_min_token_amount, bytes32 qualification_data)
getBoxStatus(uint256 box_id) view returns (struct MysteryBoxPaymentInfo[] payment, bool started, bool expired, bool canceled, uint256 remaining, uint256 total)
getNftListForSale(uint256 box_id, uint256 cursor, uint256 amount) view returns (uint256[] nft_id_list)
getPurchasedNft(uint256 box_id, address customer) view returns (uint256[] nft_id_list)
whitelist(address) view returns (bool)
State-modifying
Events admin() returns (address admin_)
changeAdmin(address newAdmin)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
addAdmin(address[] addrs)
addNftIntoBox(uint256 box_id, uint256[] nft_id_list)
addWhitelist(address[] addrs)
cancelBox(uint256 box_id)
claimPayment(uint256[] box_ids)
createBox(address nft_address, string name, struct MysteryBoxPaymentOption[] payment, uint32 personal_limit, uint32 start_time, uint32 end_time, bool sell_all, uint256[] nft_id_list, address qualification, address holder_token_addr, uint256 holder_min_token_amount, bytes32 qualification_data)
initialize()
openBox(uint256 box_id, uint8 amount, uint8 payment_token_index, bytes proof) payable
removeAdmin(address[] addrs)
removeWhitelist(address[] addrs)
renounceOwnership()
setQualificationData(uint256 box_id, bytes32 qualification_data)
transferOwnership(address newOwner)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
CancelSuccess(uint256 indexed box_id, address indexed creator)
ClaimPayment(address indexed creator, uint256 indexed box_id, address token_address, uint256 amount, uint256 timestamp)
CreationSuccess(address indexed creator, address indexed nft_address, uint256 box_id, string name, uint32 start_time, uint32 end_time, bool sell_all)
OpenSuccess(uint256 indexed box_id, address indexed customer, address indexed nft_address, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
This contract contains no error objects.