HeroBox

Verified contract

Active on Base with 123 txns
Deployed by via 0x52a40f0d at 14060674
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "HeroBox"

0xa01ee3f66dd3e694aa97fea7e8c15553e434344827a4f137b147f195491ba394
0xc5a694f065cbab7cde698c90e7cf73c139bcffcbc7e997df3f2b8b2b79b2f702
0x85335cd16644f215134f8459cd5fa6b8cbf0b656eac4fe05840df8ff7a40cfe1
0x15a156698a6ab7b6921b909e239e204e83964e71286ca6e80c7acb5bb72630aa
0xa8d03395f9d2a29736e6c826ced9445f5d49eb62bd75f5f6a6f5252d3f17bec8
0xd28479c671e1b370ea53d8dbe11a8b370a006a297c1d6628e203ab65fc76c33c
0x74c33445e2772dac3765395983ae77f7923b4928ccf80582c7e44a7e79a0d679
0x883d2377eb0ca59f81d27461274464677e41877f7c946ea802c1f712dbce3e18
0x567c847023a693dd9a009a6791e3a6a2a17a901b0b0601ef913ef72939683978
0x32a1c9008011ff18a9307ff8f9f734b14ce2fa0140e202d03999466b7c9badc1

Functions
Getter at block 23874697
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
HERO_BOX_ID(view returns (uint256)
1
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
URI_MANAGER_ROLE(view returns (bytes32)
0xa70a2d8710fed9f014c8c2af50c7c2f6b25748ae4cded822e03b7beed44cf3a8
_name(view returns (string)
HeroBox
_symbol(view returns (string)
FunWorlds.io HeroBox NFT
name(view returns (string)
HeroBox
symbol(view returns (string)
FunWorlds.io HeroBox NFT
totalSupply(view returns (uint256)
6946
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256 tokenIdview returns (string)
State-modifying
grantRole(bytes32 roleaddress account
mint(address touint256 iduint256 amountbytes data
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setApprovalForAll(address operatorbool approved
setURI(string newuri
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
ERC1155InsufficientBalance(address senderuint256 balanceuint256 neededuint256 tokenId
ERC1155InvalidApprover(address approver
ERC1155InvalidArrayLength(uint256 idsLengthuint256 valuesLength
ERC1155InvalidOperator(address operator
ERC1155InvalidReceiver(address receiver
ERC1155InvalidSender(address sender
ERC1155MissingApprovalForAll(address operatoraddress owner