Summary
The admin can blacklist a wallet address to block it from buying, selling, or registering as a creator. Unit tests should confirm blacklisted wallets are rejected across all mutating functions and that removing the wallet from the blacklist restores access.
Scope
- Blacklist a wallet and attempt a buy — assert it panics with
wallet_blacklisted
- Blacklist a wallet and attempt a sell — assert it panics with
wallet_blacklisted
- Blacklist a wallet and attempt creator registration — assert it panics with
wallet_blacklisted
- Remove the wallet from the blacklist and assert a buy succeeds
- Assert a non-admin wallet cannot add or remove addresses from the blacklist
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The admin can blacklist a wallet address to block it from buying, selling, or registering as a creator. Unit tests should confirm blacklisted wallets are rejected across all mutating functions and that removing the wallet from the blacklist restores access.
Scope
wallet_blacklistedwallet_blacklistedwallet_blacklistedAcceptance Criteria
wallet_blacklistedon buywallet_blacklistedon sellwallet_blacklistedon registrationETA: 12 hours
Coordinate on Telegram