storyprotocol / protocol-periphery-v1

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

refactor(metadata): merge `nftMetadata` into `struct IPMetadata` #37

Closed sebsadface closed 2 months ago

sebsadface commented 2 months ago

Description

This PR merges nftMetadata into struct IPMetadata for better readability and parameter handling. The updated IPMetadata struct is:

struct IPMetadata {
  string ipMetadataURI;
  bytes32 ipMetadataHash;
  string nftMetadataURI;
  bytes32 nftMetadataHash;
}

Key Changes

Test Plan

All existing tests pass locally.

Notes

This change affects the IStoryProtocolGateway interface. Make sure all function calls are updated accordingly.