Skip to content

Refactor Minting Fee and Receiver Check Hooks into Unified LicensingHook#115

Merged
kingster-will merged 5 commits intostoryprotocol:mainfrom
kingster-will:v1/licensing-hook
Apr 23, 2024
Merged

Refactor Minting Fee and Receiver Check Hooks into Unified LicensingHook#115
kingster-will merged 5 commits intostoryprotocol:mainfrom
kingster-will:v1/licensing-hook

Conversation

@kingster-will
Copy link
Copy Markdown
Collaborator

This PR introduces a refactor of the minting fee and receiver check hooks. The two separate hooks have been unified into a single LicensingHook, which provides a more streamlined and efficient way for developers to implement custom logic before minting tokens or registering derivatives.

Testing:

100% test coverage for the changed code.

@kingster-will
Copy link
Copy Markdown
Collaborator Author

Closes #116

Comment thread contracts/interfaces/modules/licensing/ILicensingHook.sol
@LeoHChen
Copy link
Copy Markdown

please rebase the code. @kingster-will

@kingster-will
Copy link
Copy Markdown
Collaborator Author

please rebase the code. @kingster-will

rebased.

Comment thread contracts/modules/licensing/LicensingModule.sol
Comment thread contracts/modules/licensing/LicensingModule.sol
Comment thread contracts/modules/licensing/LicensingModule.sol
@kingster-will kingster-will merged commit f559e0b into storyprotocol:main Apr 23, 2024
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.

3 participants