TokiemonEquipment

Verified contract

Active on Base with 3,411 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#70)
ERC-1555
--
 (#79)
ERC-1555
--
 (#86)
ERC-1555
--
 (#84)
ERC-1555
--
 (#81)
ERC-1555
--
 (#73)
ERC-1555
--
 (#75)
ERC-1555
--
 (#85)
ERC-1555
--
 (#80)
ERC-1555
--
 (#74)
ERC-1555
--
0x0c75c3fed0eadb97dd46e052c9c66135d5cb80d3e6b8205f6eb1ab541868ec2a
0x041b7918ec8c14a450d873a22700bff4e18c73d4258d3e10e495edcee8c54dd9
0xe5fb14ebf20c473887228ed21b1bf8de2151b89028ac27a62cd0ff615b980010
0x75fb47c72fd381936f026d66ca1449ade3710c85f52a197dd66266e97b11f873
0x3a17397167119fd4f346f7ffda3d26f006b8a039428678314bba12766bc8bac0
0x9fa3c997d7362de75d7d69ffeb7bb739f856438c2bac1bd77d4e7f64771e0512
0x5c6c8e3ba837200ba5f07e33073abe096ee579eb7cb45e641588a67c8c570411
0x93eaba81c276052dc13f5ae8e099e5a813a281c8a180e7f3bb04e4757c17d19e
0x91968b307fa8ba91e8b04f267a383325b22626956a99e47e16dc6ffda882ed05
0x92578aa0fe23c8fd01c4bc4376193e0c9252d25b5fc50464cf24d2eb549d77c1

Functions
Getter at block 22911169
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
tokiemonItems(view returns (address)
0xad574f7f4eb563b0ccdcca0d7d7628aeaf071d65
tokiemonNFT(view returns (address)
0x802187c392b15cdc8df8aa05bfef314df1f65c62
tokiemonSkillCount(view returns (uint256)
3
Read-only
equippedItems(uint256uint8view returns (uint256)
getAllEquippedItems(uint256 tokenIdview returns (uint256[9])
getEquippedItem(uint256 tokenIduint8 slotview returns (uint256)
getItemConfigData(uint256 itemIdview returns (uint8 primarySlotuint8 secondarySlot(uint256, uint8, bool)[5] skillRequirementsstruct TokiemonEquipmentItemEffect effectuint8 skillRequirementCount)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTotalEquipmentEffect(uint256 tokenIdview returns (struct TokiemonEquipmentItemEffect)
hasRole(bytes32 roleaddress accountview returns (bool)
itemConfigs(uint256view returns (uint8 primarySlotuint8 secondarySlotstruct TokiemonEquipmentItemEffect effectuint8 skillRequirementCount)
supportsInterface(bytes4 interfaceIdview returns (bool)
supportsPermissionedCallSelector(bytes4pure returns (bool)
State-modifying
bulkEquipItems(uint256 tokenIduint256[] itemIds
bulkUnequipItems(uint256 tokenIduint8[] slots
configureItem(uint256 itemIduint8 primarySlotuint8 secondarySlotstruct TokiemonEquipmentSkillRequirement[] skillRequirementsstruct TokiemonEquipmentItemEffect effect
configureMultipleItems(uint256[] itemIdsuint8[] primarySlotsuint8[] secondarySlotsstruct TokiemonEquipmentSkillRequirement[][] skillRequirementsstruct TokiemonEquipmentItemEffect[] effects
emergencyWithdraw(uint256[] idsuint256[] amountsaddress recipient
equipItem(uint256 tokenIduint256 itemId
grantRole(bytes32 roleaddress account
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
permissionedCall(bytes callpayable returns (bytes res)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setTokiemonSkillCount(uint256 newCount
unequipItem(uint256 tokenIduint8 slot
updateAllEquipment(uint256 tokenIduint256[9] itemIds
Events
ItemConfigured(uint256 itemIduint8 primarySlotuint8 secondarySlotstruct TokiemonEquipmentSkillRequirement[] skillRequirementsuint256 attackBonusuint256 defenseBonusuint256 magicBonusuint256 overallBonus
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokiemonEquipmentUpdated(uint256 indexed tokenIduint256[9] equippedItems
Constructor
constructor(address _tokiemonNFTaddress _tokiemonItems
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
FailedInnerCall(
NotPermissionCallable(bytes4 selector
ReentrancyGuardReentrantCall(