Manage & view metadata for IP Assets.
CoreMetadataModule.sol
is responsible for writing and updating metadata for IP Assets. It is stateful and provides the following key functionalities:
setMetadataURI
: Sets just the IP metadataURI and its hashupdateNftTokenURI
: Updates the NFT token URI and its hashsetAll
: Sets all metadata attributes at onceCoreMetadataViewModule.sol
is a read-only module that provides access to the metadata stored by the CoreMetadataModule. It follows the View Module pattern and offers these key functionalities:
getCoreMetadata
: Returns all metadata in a single structgetMetadataURI
: Returns just the metadata URIgetNftTokenURI
: Returns the NFT token URIgetJsonString
: Returns a formatted JSON string with all metadata