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

feat: add ERC1155Supply extension #418

Merged
merged 60 commits into from
Dec 10, 2024
Merged

feat: add ERC1155Supply extension #418

merged 60 commits into from
Dec 10, 2024

Conversation

0xNeshi
Copy link
Collaborator

@0xNeshi 0xNeshi commented Nov 22, 2024

Resolves #350

Built off of erc1155-supply. Due to major merge conflicts when trying to update the branch with main, decided to create a new branch and manually copy/paste the specific changes.

For the additional updates to the original, check out the commit messages.

PR Checklist

  • Tests
  • Documentation
  • Changelog

@0xNeshi 0xNeshi requested a review from ggonzalez94 November 22, 2024 11:57
Copy link

netlify bot commented Nov 22, 2024

Deploy Preview for contracts-stylus ready!

Name Link
🔨 Latest commit cb76b30
🔍 Latest deploy log https://app.netlify.com/sites/contracts-stylus/deploys/675818a395bc0f0008676e1d
😎 Deploy Preview https://deploy-preview-418--contracts-stylus.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@0xNeshi 0xNeshi marked this pull request as ready for review November 25, 2024 11:40
Copy link
Member

@qalisander qalisander left a comment

Choose a reason for hiding this comment

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

Good job! Looks good!
Left some comments, and will do the second review pass later.

contracts/src/token/erc1155/extensions/supply.rs Outdated Show resolved Hide resolved
contracts/src/token/erc1155/extensions/supply.rs Outdated Show resolved Hide resolved
contracts/src/token/erc1155/extensions/supply.rs Outdated Show resolved Hide resolved
contracts/src/token/erc1155/mod.rs Show resolved Hide resolved
@0xNeshi 0xNeshi requested a review from bidzyyys December 4, 2024 09:00
scripts/e2e-tests.sh Outdated Show resolved Hide resolved
Copy link
Collaborator

@bidzyyys bidzyyys left a comment

Choose a reason for hiding this comment

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

Left small comment! Ready to merge.

@bidzyyys bidzyyys changed the title feat: add erc1155 supply extension feat: add ERC1155Supply extension Dec 4, 2024
Copy link
Member

@qalisander qalisander left a comment

Choose a reason for hiding this comment

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

Good job! I see that it looks good overall!
I see that this implementation strays away from existing ones in our library.
We should choose a single style and follow it

@0xNeshi 0xNeshi requested a review from qalisander December 5, 2024 07:29
@0xNeshi 0xNeshi self-assigned this Dec 5, 2024
@bidzyyys bidzyyys self-requested a review December 10, 2024 07:58
@0xNeshi 0xNeshi force-pushed the feat/erc1155-supply branch from 22f6316 to bf33f24 Compare December 10, 2024 08:23
@0xNeshi 0xNeshi requested a review from bidzyyys December 10, 2024 10:21
Copy link
Member

@qalisander qalisander left a comment

Choose a reason for hiding this comment

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

Good job!

Copy link
Collaborator

@bidzyyys bidzyyys left a comment

Choose a reason for hiding this comment

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

LGTM

@bidzyyys bidzyyys merged commit a19789a into main Dec 10, 2024
24 checks passed
@bidzyyys bidzyyys deleted the feat/erc1155-supply branch December 10, 2024 10:50
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.

[Feature]: ERC1155 Supply Extension
3 participants