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(grouping): add royalty claiming for group IPs #97

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

sebsadface
Copy link
Member

@sebsadface sebsadface commented Oct 15, 2024

Description

This PR introduces a new collectRoyaltiesAndClaimReward function in GroupingWorkflows, which enables the collection of royalties for the entire group and distributes the rewards to each specified member IP’s royalty vault.

Additionally, the MockEvenSplitGroupPool deploy script has been removed, and tests now use the updated EvenSplitGroupPool from the core protocol.

Related Issue

Test Plan

New test cases have been added for the collectRoyaltiesAndClaimReward function. All new and existing tests pass locally.

@kingster-will
Copy link

LGTM.

@sebsadface sebsadface merged commit 55e6338 into storyprotocol:main Oct 16, 2024
3 checks passed
@sebsadface sebsadface deleted the group-royalty branch October 16, 2024 04:25
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.

Add Royalty Claiming for Group IPA
2 participants