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(licensing): enable multi-license attachment and licensing config during IP registration #134

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

sebsadface
Copy link
Member

Description

This PR introduces support for multi-license attachment and the ability to set licensing configurations during IP registration. It also updates the periphery contracts to align with recent protocol core API changes. Furthermore, signature requirements in LicenseAttachmentWorkflows have been streamlined using setBatchPermissions.

Key Changes

  • Added PILTermsData and LicenseData in WorkflowStructs to consolidate licensing-related parameters.
  • Modified LicenseAttachmentWorkflows functions to support an array of PILTermsData for registering and attaching multiple PIL terms and licensing configurations to IPs.
  • Updated GroupingWorkflows functions to accept an array of LicenseData for attaching multiple licenses (license template, license terms ID, and licensing config) to IPs.
  • Simplified signature requirements in LicenseAttachmentWorkflows, all functions now require at most one signature.

Related Issue

Notes

This PR introduces new interface changes. Backward compatibility will be addressed in a future PR (#131).

@sebsadface sebsadface merged commit 8d7d628 into storyprotocol:main Nov 30, 2024
3 checks passed
@sebsadface sebsadface deleted the multi-licenses-config branch December 4, 2024 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants