Skip to content

Introduce maxRevenueShare for Minting License Tokens and Registering Derivatives#364

Merged
kingster-will merged 1 commit intostoryprotocol:mainfrom
kingster-will:fix/TRST-M-10
Dec 14, 2024
Merged

Introduce maxRevenueShare for Minting License Tokens and Registering Derivatives#364
kingster-will merged 1 commit intostoryprotocol:mainfrom
kingster-will:fix/TRST-M-10

Conversation

@kingster-will
Copy link
Copy Markdown
Collaborator

Description

This PR introduces a new feature that allows users to specify the maximum royalty percentage (maxRevenueShare) they are willing to accept when minting license tokens from an IP or registering a derivative to parent IPs. This change enhances the flexibility and control users have over their licensing agreements.

Key Changes

  • maxRevenueShare Parameter: Added a maxRevenueShare parameter to the functions for minting license tokens and registering derivatives.
  • Validation Logic: Implemented validation logic to ensure that the specified maxRevenueShare is not exceeded during the minting or registration process.

Closes https://github.com/storyprotocol/trust-protocol-contracts-v1/issues/17

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