-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Feature: Adds Multiwrap and LoyaltyCard Extensions #5529
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
[SDK] Feature: Adds Multiwrap and LoyaltyCard Extensions #5529
Conversation
🦋 Changeset detectedLatest commit: 7488102 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5529 +/- ##
==========================================
- Coverage 46.20% 46.19% -0.01%
==========================================
Files 1080 1081 +1
Lines 58569 58613 +44
Branches 3929 3933 +4
==========================================
+ Hits 27060 27075 +15
- Misses 30826 30855 +29
Partials 683 683
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
| [ | ||
| "constructor()", | ||
| "function cancel(uint256 tokenId)", | ||
| "function initialize(address _defaultAdmin, string _name, string _symbol, string _contractURI, address[] _trustedForwarders, address _saleRecipient, address _royaltyRecipient, uint128 _royaltyBps, uint128 _platformFeeBps, address _platformFeeRecipient)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only need this function here, everything else is duplicates
CNCT-2438 <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces enhancements to the `thirdweb` library by adding support for a new `LoyaltyCard` extension, improving event handling, and updating the `github_checks` workflow to validate PR branches for issue references. ### Detailed summary - Added `ignore` pattern in `codecov.yml`. - Updated `issue.yml` to check PR body and branch name for valid issue references. - Implemented `LoyaltyCard` extension with deployment support and event handling. - Added new functions for `TokensMinted`, `TokensUnwrapped`, and `TokensWrapped` events. - Updated `Multiwrap` and `LoyaltyCard` ABIs. - Added tests for deploying `LoyaltyCard` and other ERC721 types. > The following files were skipped due to too many changes: `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/unwrap.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/wrap.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/LoyaltyCard/write/mintWithSignature.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/Multiwrap/write/initialize.ts`, `packages/thirdweb/src/extensions/erc721/__generated__/LoyaltyCard/write/initialize.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
b5f33c2 to
7488102
Compare
CNCT-2438
PR-Codex overview
This PR introduces the
LoyaltyCardextension for theERC721contract, enhancing the functionality for deploying loyalty card NFTs, and updates various related methods and events.Detailed summary
ignorerule incodecov.ymlfor generated files..github/workflows/issue.yml.LoyaltyCardwith deployment and event handling.LoyaltyCardandMultiwrap.cancel,revoke,mintTo, andunwrapinLoyaltyCard.TokensMinted,TokensWrapped, andTokensUnwrapped.LoyaltyCardand other ERC721 types.