feat: StackSusu NFT v7.1 - Batch mint, metadata update, burn, and events#1
Open
syed-ghufran-hassan wants to merge 1 commit intocharlesbarleyman:mainfrom
Open
feat: StackSusu NFT v7.1 - Batch mint, metadata update, burn, and events#1syed-ghufran-hassan wants to merge 1 commit intocharlesbarleyman:mainfrom
syed-ghufran-hassan wants to merge 1 commit intocharlesbarleyman:mainfrom
Conversation
- Introduced batch minting functionality for efficiently distributing membership badges to multiple members in a single transaction (`mint-member-badges-batch`). - Added admin-only NFT metadata update function (`update-nft-metadata`) to allow corrections or updates to NFT metadata without transferring ownership. - Implemented NFT burn functionality (`burn-nft`) to allow owners to destroy their NFTs or revoke outdated achievements. - Added event emission for key actions: mint, transfer, and burn, enabling easier front-end tracking and analytics. - Maintained backward compatibility with single NFT minting, transfers, and reputation badge minting. - Updated NFT counter tracking and owner mappings to support new batch and burn operations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mint-member-badges-batch).update-nft-metadata) to allow corrections or updates to NFT metadata without transferring ownership.burn-nft) to allow owners to destroy their NFTs or revoke outdated achievements.