storyprotocol / protocol-periphery-v1

Periphery contract for story protocol, mainnet repo
MIT License
28 stars 20 forks source link

refactor(metadata): add `struct Metadata` for better readability #36

Closed sebsadface closed 2 months ago

sebsadface commented 2 months ago

Description

This PR introduces a new struct Metadata, merging string nftMetadata and struct IPMetadata for improved readability and parameter handling. The following SPG functions have been updated:

Test Plan

All existing tests pass locally.

Notes

This change impacts the IStoryProtocolGateway interface. Existing function calls must be updated accordingly.