Skip to content

remove legacy MAGIC_VALUE & address to bytes conversion#12

Merged
maxnorm merged 2 commits intomainfrom
refactor/ownership-function
Sep 16, 2025
Merged

remove legacy MAGIC_VALUE & address to bytes conversion#12
maxnorm merged 2 commits intomainfrom
refactor/ownership-function

Conversation

@maxnorm
Copy link
Owner

@maxnorm maxnorm commented Sep 14, 2025

The legacy ERC998_MAGIC_VALUE was removed.

This was a legacy value to detect other cNFTs during the root ownership recusion.

We now use a looping mechanism with the MAX_DEPTH & the ownerOf function from ERC721 to traverse the hierarchy and get the next direct owner until EOA or no-compliant 721 contract

@maxnorm maxnorm linked an issue Sep 14, 2025 that may be closed by this pull request
@maxnorm maxnorm added the refactor Something need to be rework label Sep 15, 2025
@maxnorm maxnorm merged commit fb6a456 into main Sep 16, 2025
4 checks passed
@maxnorm maxnorm deleted the refactor/ownership-function branch September 16, 2025 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Something need to be rework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Ownership function

1 participant