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

💥 Add ERC-2981 Implementation #138

Merged
merged 25 commits into from
Jun 23, 2023
Merged

💥 Add ERC-2981 Implementation #138

merged 25 commits into from
Jun 23, 2023

Conversation

pcaversaccio
Copy link
Owner

@pcaversaccio pcaversaccio commented Jun 19, 2023

🕓 CHANGELOG

This PR adds an ERC-721 and ERC-1155 compatible ERC-2981 reference implementation (closes #120). Unit, fuzzing, and invariant tests have been added as part of the test suite.

Further changes include:

  • Enhance --white-list option in awesome_bot of CI check checks.yml (7aa3bdf);
  • Use tokenId instead of token_id in interface definitions to be consistent with the official EIP-165 specification (9cb9303);
  • Add note on stand-alone usage of the interfaces IERC1155MetadataURI, IERC4906, IERC721Enumerable, and IERC721Metadata (6ae3c0d);
  • We bump @openzeppelin/merkle-tree to version 1.0.5 (d25d4cd);

🐶 Cute Animal Picture

image

Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio added the feature 💥 New feature or request label Jun 19, 2023
@pcaversaccio pcaversaccio added this to the 0.0.3 milestone Jun 19, 2023
@pcaversaccio pcaversaccio self-assigned this Jun 19, 2023
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio added the ci/cd 👷‍♂️ CI/CD configurations label Jun 19, 2023
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio added the refactor/cleanup ♻️ Code refactorings and cleanups label Jun 19, 2023
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio changed the title 💥 Add ERC-2981 (NFT Royalty Standard) Implementation 💥 Add ERC-2981 Implementation Jun 19, 2023
pcaversaccio and others added 7 commits June 20, 2023 09:34
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio marked this pull request as ready for review June 20, 2023 12:37
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Copy link
Owner Author

@pcaversaccio pcaversaccio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed some final fixes and we're good to go imo. Now waiting for final feedback from @victor-ego before merging.

Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio merged commit 1196d49 into main Jun 23, 2023
@pcaversaccio pcaversaccio deleted the erc2981 branch June 23, 2023 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd 👷‍♂️ CI/CD configurations feature 💥 New feature or request refactor/cleanup ♻️ Code refactorings and cleanups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💥 ERC-2981 (NFT Royalty Standard) Implementation
1 participant