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

Introducing IPAccount Namespace Storage and IViewModule for Enhanced Metadata Display #2

Merged
merged 10 commits into from
Mar 15, 2024

Conversation

kingster-will
Copy link

This PR introduces significant enhancements to the StoryProtocol, focusing on the IPAccount Namespace Storage and the introduction of a new module type, IViewModule, aimed at offering flexibility in displaying metadata. Additionally, it incorporates a fully permissionless registration function for IPAssets. The key highlights and changes are as follows:

IPAccount Namespace Storage

The implementation of IPAccount Namespace Storage is realized through the IPAccountStorage contract, which adheres to the IIPAccountStorage interface. This development facilitates structured and conflict-free data storage for IPAccounts by employing a namespaced storage pattern. The default namespace is determined by the msg.sender, ensuring that only the owning Module can write data into its respective namespace, while read operations remain unrestricted across namespaces.

IViewModule Introduction

A new module type, IViewModule, has been introduced to enhance the flexibility in displaying metadata. This module type allows for a more dynamic and customizable presentation of IPAssets, catering to the diverse needs of different applications and user interfaces.

Test Coverage

The newly added code, including the IPAccount Namespace Storage and the register function, has achieved 100% test code coverage, ensuring reliability and robustness.

This PR represents a pivotal step forward in the StoryProtocol's development, introducing advanced features that enhance functionality, flexibility, and accessibility.

@kingster-will kingster-will self-assigned this Feb 28, 2024
@kingster-will kingster-will marked this pull request as draft February 28, 2024 19:22
@kingster-will kingster-will marked this pull request as ready for review February 28, 2024 23:24
@LeoHChen LeoHChen merged commit bbd1c11 into storyprotocol:main Mar 15, 2024
@jdubpark
Copy link

Can you tag me as a reviewer too next time? I want to follow and understand the PR changes so I can notify others of any impacting changes when I help them @kingster-will @LeoHChen. Thanks

kingster-will added a commit to kingster-will/protocol-core-v1-dev that referenced this pull request Mar 19, 2024
…Metadata Display (storyprotocol#2)

* IPAccount storage impl

* emit old IPRegistered event

* add premissionless register() function into IIPAssetRegistry interface

* reduce setter/getter in IPAccountStorage Interface
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