Skip to content

feat: add blacklist_clip to prevent minting of blacklisted clips#146

Open
Dev-Odun-oss wants to merge 1 commit intoANYTECHS:mainfrom
Dev-Odun-oss:feat/blacklist-clip-84-clean
Open

feat: add blacklist_clip to prevent minting of blacklisted clips#146
Dev-Odun-oss wants to merge 1 commit intoANYTECHS:mainfrom
Dev-Odun-oss:feat/blacklist-clip-84-clean

Conversation

@Dev-Odun-oss
Copy link
Copy Markdown
Contributor

  • Fix duplicate BlacklistEvent, ApprovalEvent, ApprovalForAllEvent structs
  • Add WithdrawRequestedEvent and WithdrawExecutedEvent structs
  • Add BatchTooLarge error (variant 17) and MAX_BATCH_MINT=25 limit
  • Add GAS_BASE_TRANSFER constant; fix transfer_from TransferEvent fields
  • blacklist_clip(admin, clip_id): stores BlacklistedClip flag in persistent storage
  • mint/batch_mint: return ClipBlacklisted if clip_id is blacklisted
  • Emit Blacklist event on blacklist_clip
  • Add tests: blacklist blocks mint, emits event, non-admin fails, non-blacklisted can mint

Closes #84

- Fix duplicate BlacklistEvent, ApprovalEvent, ApprovalForAllEvent structs
- Add WithdrawRequestedEvent and WithdrawExecutedEvent structs
- Add BatchTooLarge error (variant 17) and MAX_BATCH_MINT=25 limit
- Add GAS_BASE_TRANSFER constant; fix transfer_from TransferEvent fields
- blacklist_clip(admin, clip_id): stores BlacklistedClip flag in persistent storage
- mint/batch_mint: return ClipBlacklisted if clip_id is blacklisted
- Emit Blacklist event on blacklist_clip
- Add tests: blacklist blocks mint, emits event, non-admin fails, non-blacklisted can mint

Closes ANYTECHS#84
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@Dev-Odun-oss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Soroban] Add blacklist functionality for malicious clips

1 participant