Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce RoyaltyTokenDistributionWorkflows for distributing royalty tokens among IP co-creators #126

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

sebsadface
Copy link
Member

Description

This PR introduces RoyaltyTokenDistributionWorkflows, enabling royalty tokens to be distributed among the co-creators of IPs during IP and derivative registration.

Notes:

  • To successfully distribute royalty tokens through this workflow, the license terms used for each function must be commercial license terms.
  • To register and distribute royalty tokens for an existing NFT, two steps are currently required:
    1. Call registerIpAndAttachPILTermsAndDeployRoyaltyVault or registerIpAndMakeDerivativeAndDeployRoyaltyVault to deploy a vault for the newly registered IP.
    2. Call distributeRoyaltyTokens to distribute the royalty tokens for the newly registered IP.

Test Plan

New tests have been added for RoyaltyTokenDistributionWorkflows to verify:

  • IP registration.
  • License attachment.
  • IP metadata attachment.
  • Derivative registration.
  • Royalty token distribution.

All tests pass locally.

Related Issue

@sebsadface sebsadface merged commit 8096551 into release-v1.2.4 Nov 22, 2024
3 checks passed
@sebsadface sebsadface deleted the royalty-token-distribution branch November 22, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants