
Royalty Tokens
When an IP Asset receives revenue, it is deposited into its IP Royalty Vault. In order to claim revenue from this vault, you must have the associated Royalty Tokens. Every vault has 100 Royalty Tokens associated with it. If an address owns these tokens, it is entitled to that % (% of the total supply of Royalty Tokens owned) of any future revenue in the IP Royalty Vault. The IP Royalty Vault contract is also the ERC-20 contract for the Royalty Tokens of each IP Asset. This means the address of the IP Royalty Vault for an IP Asset is also the ERC-20 token address of the Royalty Tokens.Whitelisted Payment Tokens
An ERC-20 token must be whitelisted by our protocol in the RoyaltyModule.sol contract to be used for making payments. Here are the whitelisted tokens:Token | Contract Address | Explorer | Mint |
---|---|---|---|
WIP | 0x1514000000000000000000000000000000000000 | View here ↗️ | N/A |
MERC20 | 0xF2104833d386a2734a4eB3B8ad6FC6812F29E38E | View here ↗️ | Mint ↗️ |
How to obtain Royalty Tokens?
There are two ways that trigger the IP Royalty Vault deployment and make the initial Royalty Token distribution - whichever comes first:- A License Token is minted from an IP for the first time.
- A derivative is registered under the IP.
Examples
Let’s look at some examples of royalty flow from the IP Royalty Vault to Royalty Token holders.Default Case
By default, when the royalty vault is deployed, the IP Account (which is the IP itself) receives 100% of the Royalty Tokens. Let’s look at an example where the IP Account is the full owner of the Royalty Tokens, and a payment is received into the IP Royalty Vault.
Multiple Royalty Token Destinations
Now let’s look at a case where the IP Asset 2 has distributed 5% of its Royalty Tokens to another address. Maybe this is because they sold them on the secondary market, or maybe it’s because they gave them to a friend.
Distributing Royalty Tokens
One of the most common questions is: “Why does royalty end up in the IP Account? Shouldn’t it end up in the IP owner’s wallet?” While the IP Account is the initial owner of 100% of the Royalty Tokens, remember that as the IP owner, you can transfer them to whoever. An easy solution is to transfer 100% of the Royalty Tokens to the IP owner’s wallet, so that when revenue is received to the IP Royalty Vault, revenue can be claimed directly to the wallet.Working Code Example
View a working code example of transferring Royalty Tokens to an external
wallet (like the IP owner’s wallet). Remember, Royalty Tokens are simple
ERC-20s!
