Liquid Relative Percentage (LRP)
Skip the Read - 1 Minute Summary
Let's come up with an example: An IP Asset ('C') is a child of 'B', and 'B' is a child of 'A', such that it goes A▶️B▶️C. 'A' specifies that any direct descendant must share 5% of their revenue with it. On the other hand, 'B' specifies that any direct descendants must share 10% of their revenue with it.
Okay, great. Let's see what happens in two (independent) common scenarios:
- Minting a License - 'C' mints a license from 'B' that costs 100 USDC. When 'C' pays 'B' 100 USDC to mint a license, 'A' claims 5 USDC from B. In the end, 'B' only gets 95 USDC.
- Tipping Directly - 'C' is a comic book that is super well written. Someone tips 100 USDC to 'C' because they love it. 'B' claims 10 USDC from 'C'. 'A' claims 0.5 USDC from 'B' (5% of 10). In the end, 'C' only gets 90 USDC.
The Liquid Relative Percentage (LRP) royalty policy defines that each parent IP Asset can choose a minimum royalty percentage that only the direct derivative IP Assets in a derivative chain will share from their monetary gains as defined in the license agreement.
Prerequisites
Before continuing, make sure you have read the IP Royalty Vault terminology.
Royalty Payment and Claiming Flow
In the image below, IPA 1 and IPA 2 - due to being ancestors of IPA 3 - have a % economic right over revenue made by IPA 3. Key notes to understand the derivative chain below:
- License Royalty Percentage - this percentage is selected by the user and it means the percentage that the user wants - according to LRP rules - in return for allowing other users to remix its IPA.
- Royalty Stack LRP - is the revenue an IPA has to pay all its parent. For LRP royalty stack = sum of licenses percentages used to connect to each parent
- Royalty Stack IPA 2 = License Royalty % between IPAs 1 and 2 = 5%
- Royalty Stack IPA 3 = License Royalty % between IPAs 2 and 3 = 10%
- Royalty tokens flow to the IPA initially when a vault is deployed. The Royalty Tokens can be transferred to any other address and after that transfer any future royalty inflow will be claimable by that new address which now holds the RTs.
Now, let's imagine a scenario where a new IP Asset 4 intends to join the derivative chain as a derivative of IP Asset 3. An example flow sequence below:
- IP Asset 4 pays 1M USDC in royalties to its parent IPA 3 by calling
payRoyaltyOnBehalf
. Note that the royalty process is the same whether the payment is the license minting fee or any other royalty payment - with the difference being that the license minting fee is made viapayLicenseMintingFee
and is mandatory upon derivative creation. Once a payment is made, a share equivalent to the IPA 3 royalty stack % is sent to the royalty policy contract and the remaining amount is sent to the IPA 3 vault.
-
Each ancestor can call
transferToVault
on the royalty policy contract to receive the amount each ancestor has the right to claim from a given descendant. Funds are moved to the ancestor's IP Royalty Vault.- 95k USDC are transferred to the IP Royalty Vault 2 since it has the right to 10% of all IPA 2 descendants revenue and has to pay 5% of its revenue to its direct parent IPA 1. So 100k is received from IPA 3 and 5k is paid to IPA 1, resulting in IPA 2 keeping 100k - 5k = 95k.
- 5k USDC are transferred to the IP Royalty Vault 1 since it has the right to 0.5% of all IPA 2 descendants revenue. IPA 1 has the right to 5% of revenue earned by IPA 2, which in turn has 10% of revenue earned by IPA 3. Given LRP royalty policy considers relative percentages, then IPA 1 has the right to 10%*5% = 0.5% of revenue earned by IPA 3.
-
After new funds arrive in the IP Royalty Vaults, any address can call
snapshot
in the IpRoyaltyVault.sol contract. The snapshot function saves how much percentage of RT each token holder had at the snapshot moment. These percentages allow splitting the royalties received in each vault among each RT holder. Note thatsnapshot
does not need to be called on every payment - there can be multiple payments accumulated between eachsnapshot
call. There may be a minimum time interval between snapshots to contain the number of snapshots for gas-related reasons. -
In the final step of the claiming flow, any Royalty Token holder address can call
claimRevenueOnBehalfByTokenBatch
/claimRevenueOnBehalfBySnapshotBatch
(for non-vault claimers) orclaimRevenueByTokenBatchAsSelf
/claimRevenueBySnapshotBatchAsSelf
(when the claimer is an IP Royalty Vault) to claim revenue tokens. In the current example:- 5k USDC are claimed to the IPA 1 which holds 100% RT1
- 95k USDC are claimed to the IPA 2 which holds 100% RT2
- 900k USDC are claimed by IPA 3 which holds 100% RT3
Note: Any royalty token holder address can claim - whether it is a smart contract, IPA, or EOA.
Updated 17 days ago