Comment on page
Catalog contract for RMRK equippable module.
function checkIsEquippable(uint64 partId, address targetAddress) external view returns (bool)
Used to check whether the given address is allowed to equip the desired
Returns true if a collection may equip asset with
function checkIsEquippableToAll(uint64 partId) external view returns (bool)
Used to check if the part is equippable by all addresses.
Returns true if part is equippable to all.
function getMetadataURI() external view returns (string)
Used to return the metadata URI of the associated Catalog.
function getPart(uint64 partId) external view returns (struct IRMRKCatalog.Part)
Used to retrieve a
function getParts(uint64 partIds) external view returns (struct IRMRKCatalog.Part)
Used to retrieve multiple parts at the same time.
function getType() external view returns (string)
Used to return the
itemTypeof the associated Catalog
function supportsInterface(bytes4 interfaceId) external view returns (bool)
Returns true if this contract implements the interface defined by
interfaceId. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.
event AddedEquippables(uint64 indexed partId, address equippableAddresses)
Event to announce new equippables to the part.
It is emitted when new addresses are marked as equippable for
event AddedPart(uint64 indexed partId, enum IRMRKCatalog.ItemType indexed itemType, uint8 zIndex, address equippableAddresses, string metadataURI)
Event to announce addition of a new part.
It is emitted when a new part is added.
event SetEquippableToAll(uint64 indexed partId)
Event to announce that a given part can be equipped by any address.
It is emitted when a given part is marked as equippable by any.
event SetEquippables(uint64 indexed partId, address equippableAddresses)
Event to announce the overriding of equippable addresses of the part.
It is emitted when the existing list of addresses marked as equippable for
partIdis overwritten by a new one.