Skip to content

Commit

Permalink
Update IRoyaltyWorkflows.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsadface committed Nov 14, 2024
1 parent 81030fe commit 1c79b1a
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions contracts/interfaces/workflows/IRoyaltyWorkflows.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ interface IRoyaltyWorkflows {
/// @param ancestorIpId The address of the ancestor IP from which the revenue is being claimed.
/// @param claimer The address of the claimer of the currency (revenue) tokens.
/// @param childIpIds The addresses of the child IPs from which royalties are derived.
/// @param royaltyPolicies The addresses of the royalty policies that govern royalty flows for each child IP.
/// @param currencyTokens The addresses of the currency tokens in which the royalties will be claimed.
/// @param amounts The amounts (in each currency) of royalties to be transferred to the ancestor IP's
/// royalty vault and subsequently claimed by the claimer.
/// @param royaltyPolicies The addresses of the royalty policies, where royaltyPolicies[i] governs
/// the royalty flow for childIpIds[i].
/// @param currencyTokens The addresses of the currency tokens in which royalties will be claimed,
/// where currencyTokens[i] is the token used for royalties from childIpIds[i].
/// @param amounts The amounts to transfer and claim, where amounts[i] represents the amount of
/// royalties in currencyTokens[i] to transfer from childIpIds[i]'s royaltyPolicies[i] to the ancestor's
/// royalty vault.
/// @return amountsClaimed The amounts of successfully claimed revenue for each specified currency token.
function transferToVaultAndClaimByTokenBatch(
address ancestorIpId,
Expand All @@ -30,8 +33,10 @@ interface IRoyaltyWorkflows {
/// @param ancestorIpId The address of the ancestor IP from which the revenue is being claimed.
/// @param claimer The address of the claimer of the currency (revenue) tokens.
/// @param childIpIds The addresses of the child IPs from which royalties are derived.
/// @param royaltyPolicies The addresses of the royalty policies that govern royalty flows for each child IP.
/// @param currencyTokens The addresses of the currency tokens in which the royalties will be claimed.
/// @param royaltyPolicies The addresses of the royalty policies, where royaltyPolicies[i] governs
/// the royalty flow for childIpIds[i].
/// @param currencyTokens The addresses of the currency tokens in which royalties will be claimed,
/// where currencyTokens[i] is the token used for royalties from childIpIds[i].
/// @return amountsClaimed The amounts of successfully claimed revenue for each specified currency token.
function claimAllRevenue(
address ancestorIpId,
Expand Down

0 comments on commit 1c79b1a

Please sign in to comment.