ERC-5553 On-chain representation of intellectual property and royalties (Representing IP and its Royalty Structure)
Stagnant · NFTs & multi-token · created 2022-08-17
This standard allows intellectual property (IP) such as music, video, and books to be declared on chain as an NFT, with its royalty distribution expressed across multiple types of ERC-20 tokens, while making metadata and the registering party queryable together.
Why it is needed
Today NFTs tend to be used only for simple collectible sales, and there is no standard way to license intellectual property such as music, video, or books. The declaration that an IP exists is not distinguished from the fact that it can be purchased, and royalties are tied to the single scenario of NFT sales, making it impossible to build a structure that pays different proportions to different types of participants, such as songwriting/composition royalties versus recording/master royalties. For example, fine-grained distribution is not possible, such as paying the original songwriter but not the original performer when a cover song is released, and instead paying only the new recording artist. Existing split-payment schemes like 0xsplits also lack the ability to name and distinguish the types of collaborating participants.
What to implement
function changeMetadataURI(string memory _newUri, string memory _newFileHash) external ;: Replaces it with a new metadata URI and file hash, and emits a MetadaDataChanged event on success.function royaltyPortionTokens() external view returns (address[] memory) ;: Returns an array of addresses of the ERC-20 tokens representing the royalty distribution for that IP.function ledger() external view returns (address) ;: Returns the address of the registry contract or EOA that initialized this IP registration.function metadataURI() external view returns (string memory) ;: Returns the URI pointing to the current IP metadata file.event MetadaDataChanged(address byAddress, string oldURI, string oldFileHash, string newURI, string newFileHash);: Records the address that performed the change along with the previous/new URI and file hash whenever the metadata URI changes.
In depth
Combination of IIPRepresentation and ERC-721
The original Specification states that "contracts that want to represent IP on chain MUST implement EIP-721 AND this Proposal." In other words, a contract that wants to represent IP must implement both the ERC-721 and IIPRepresentation interfaces, with the IP itself existing as a single NFT to which the four functions royaltyPortionTokens, metadataURI, changeMetadataURI, and ledger are added.
royaltyPortionTokens and multiple royalty types
This function must return an array of EIP-20 token addresses, each representing a royalty share attributed to a different type of stakeholder. Using music IP as an example, the original text explains that composition/publishing royalty tokens and recording/master royalty tokens can be kept separate, and that someone holding 10% of a given token receives 10% of that type's financial distribution.
metadataURI and changeMetadataURI
metadataURI must return a URI (or an empty string) pointing to the metadata file needed for the IP, and this file should be hosted on a content-addressed system such as IPFS or Arweave where the content cannot be changed without changing the URI. Calling changeMetadataURI(_newUri, _newFileHash) replaces the URI, and a MetadaDataChanged event must be emitted on success; each IP type may define its own separate metadata standard.
Identifying the registering party via ledger
The ledger() function must return the address of the registry contract or EOA that initialized the given IP and its royalty tokens. A single IP can be registered in multiple places for different purposes, and this function lets market participants know which registry holds senior management authority over the given IP.
Separation of purchasability from IP representation
The original Rationale explains that this separates the canonical representation of an IP from its various uses (NFT sales, streaming, use in art, etc.). With this approach, rather than first creating a music NFT or an art NFT, one first creates the IP Representation, and then separately creates licenses or collectible types as separately sellable NFTs.
Reference implementation: MusicalIP and SimpleSongLedger
The reference implementation MusicalIP implements both ERC721 and IIPRepresentation, and holds songLedger, compToken (composition royalty token), recToken (recording royalty token), metadataURI, and fileHash as state. The SimpleSongLedger contract demonstrates the process of newly deploying CompositionRoyaltyToken and RecordingRoyaltyToken, then creating a MusicalIP and minting it to the songLedger address.
Proposal status
This proposal was written on 2022-08-17 and is in Stagnant status, meaning it has not yet been finalized as a final standard and is no longer being actively discussed.
Things to watch out for
- Risk of royalty token theft: If an attacker deceives a royalty portion token holder into transferring the token, the attacker can seize that royalty portion. The original text notes that this is not a royalty-specific problem but a problem common to ERC-20 tokens in general.
- Recommendation regarding ownership of IP registration: It is recommended that ownership of an IP registration be held by the registry that created it, and that the registration be made non-transferable (bound to the account of the registry that registered it).