TokiemonEquipment
Verified contract
Active on
Base with 3,411 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xad57…1d65
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
0xad57…1d65 | ERC-1555 | 346 | -- | -- | |
0xad57…1d65 | ERC-1555 | 295 | -- | -- | |
0xad57…1d65 | ERC-1555 | 270 | -- | -- | |
0xad57…1d65 | ERC-1555 | 270 | -- | -- | |
0xad57…1d65 | ERC-1555 | 259 | -- | -- | |
0xad57…1d65 | ERC-1555 | 257 | -- | -- | |
0xad57…1d65 | ERC-1555 | 255 | -- | -- | |
0xad57…1d65 | ERC-1555 | 249 | -- | -- | |
0xad57…1d65 | ERC-1555 | 248 | -- | -- | |
0xad57…1d65 | ERC-1555 | 240 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22910168 | 34 minutes ago | | | 0 | 0.0000050722403 | |
| 22910160 | 34 minutes ago | | | 0 | 0.0000049424729 | |
| 22910152 | 34 minutes ago | | | 0 | 0.0000036457993 | |
| 22909952 | 41 minutes ago | | | 0 | 0.0000039235600 | |
| 22909593 | an hour ago | | | 0 | 0.0000031874524 | |
| 22909025 | an hour ago | | | 0 | 0.0000026431195 | |
| 22908042 | 2 hours ago | | | 0 | 0.0000070794983 | |
| 22907356 | 2 hours ago | | | 0 | 0.0000062593983 | |
| 22905350 | 3 hours ago | | | 0 | 0.0000057405741 | |
| 22903804 | 4 hours ago | | | 0 | 0.0000037374313 |
ABI
ABI objects
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(uint256, uint8) view returns (uint256)
getAllEquippedItems(uint256 tokenId) view returns (uint256[9])
getEquippedItem(uint256 tokenId, uint8 slot) view returns (uint256)
getItemConfigData(uint256 itemId) view returns (uint8 primarySlot, uint8 secondarySlot, (uint256, uint8, bool)[5] skillRequirements, struct TokiemonEquipmentItemEffect effect, uint8 skillRequirementCount)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTotalEquipmentEffect(uint256 tokenId) view returns (struct TokiemonEquipmentItemEffect)
hasRole(bytes32 role, address account) view returns (bool)
itemConfigs(uint256) view returns (uint8 primarySlot, uint8 secondarySlot, struct TokiemonEquipmentItemEffect effect, uint8 skillRequirementCount)
supportsInterface(bytes4 interfaceId) view returns (bool)
supportsPermissionedCallSelector(bytes4) pure returns (bool)
State-modifying
Events bulkEquipItems(uint256 tokenId, uint256[] itemIds)
bulkUnequipItems(uint256 tokenId, uint8[] slots)
configureItem(uint256 itemId, uint8 primarySlot, uint8 secondarySlot, struct TokiemonEquipmentSkillRequirement[] skillRequirements, struct TokiemonEquipmentItemEffect effect)
configureMultipleItems(uint256[] itemIds, uint8[] primarySlots, uint8[] secondarySlots, struct TokiemonEquipmentSkillRequirement[][] skillRequirements, struct TokiemonEquipmentItemEffect[] effects)
emergencyWithdraw(uint256[] ids, uint256[] amounts, address recipient)
equipItem(uint256 tokenId, uint256 itemId)
grantRole(bytes32 role, address account)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
permissionedCall(bytes call) payable returns (bytes res)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setTokiemonSkillCount(uint256 newCount)
unequipItem(uint256 tokenId, uint8 slot)
updateAllEquipment(uint256 tokenId, uint256[9] itemIds)
ItemConfigured(uint256 itemId, uint8 primarySlot, uint8 secondarySlot, struct TokiemonEquipmentSkillRequirement[] skillRequirements, uint256 attackBonus, uint256 defenseBonus, uint256 magicBonus, uint256 overallBonus)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokiemonEquipmentUpdated(uint256 indexed tokenId, uint256[9] equippedItems)
constructor(address _tokiemonNFT, address _tokiemonItems)
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
FailedInnerCall()
NotPermissionCallable(bytes4 selector)
ReentrancyGuardReentrantCall()