-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Summary
I’d like to add a new spell that unifies blacklist, unblacklist, and destroy events for USDT, USDC, and PYUSD on Ethereum and Arbitrum into a single table. This will make it easier to track sanctions-style events and downstream address status across these major stablecoins.
Subproject
- Proposed subproject:
daily_spellbook
Details
- Blockchains: ethereum, arbitrum
- Tokens: USDT, USDC, PYUSD
- Data sources:
tether_ethereum.tether_usd_evt_addedblacklisttether_ethereum.tether_usd_evt_removedblacklisttether_ethereum.tether_usd_evt_destroyedblackfundstether_arbitrum.arbitrumextension_evt_blockplacedtether_arbitrum.arbitrumextension_evt_destroyedblockedfundsusdc_mk_v1_ethereum.fiattokenv2_1_evt_blacklistedusdc_mk_v1_ethereum.fiattokenv2_1_evt_unblacklistedcircle_arbitrum.fiattokenv2_2_evt_blacklistedcircle_arbitrum.fiattokenv2_2_evt_unblacklistedpaypal_pyusd_ethereum.pyusdimplementation_evt_addressfrozenpaypal_pyusd_ethereum.pyusdimplementation_evt_addressunfrozenpaypal_arbitrum.pyusd_evt_freezeaddress
- Output granularity: one row per blacklist-related event
- Primary key suggestion:
(blockchain, tx_hash, event_type, address)
Community benefit
- Centralizes blacklist-style events for major centralized stablecoins.
- Useful for compliance, investigations, and monitoring blacklist churn across chains.
- Can be reused by many dashboards instead of recreating the same unions per query.
Example usage
SELECT * FROM spellbook.daily_spellbook.stablecoin_blacklist_events WHERE address = 0x...- Aggregate per address to derive latest status, total destroyed amounts, etc.
Metadata
Metadata
Assignees
Labels
No labels