Query editor
with dex_labels as (select distinct project_contract_address as addr, 'DEX' as cat from dex.tradeswhere blockchain = 'ethereum' and project != '0x API'), additional_eth_labels as (select * from dex_labelsUNION ALLselect distinct project_contract_address as addr, 'Aggregator' as cat from dex_aggregator.tradeswhere blockchain = 'ethereum' and project_contract_address not in (select addr from dex_labels)UNION ALLselect distinct address as addr, 'Scaling' as cat from addresses_ethereum.l2_batch_submittersUNION ALLselect distinct address as addr, 'MEV' as cat from addresses_ethereum.mev), manual_lables as (select 0xdd69da9a83cedc730bc4d3c56e96d29acc05ecde as addr, 'NFT' as catUNION ALLselect 0x3cc18fe17879a8af05ca183f71fe14c288e5fa54 as addr, 'SocialFi' as catUNION ALLselect 0x7a250d5630b4cf539739df2c5dacb4c659f2488d as addr, 'DEX' as catUNION ALLselect 0x7be8076f4ea4a4ad08075c2508e481d6c946d12b as addr, 'NFT' as catUNION ALLselect 0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258 as addr, 'NFT' as catUNION ALLselect 0xdac17f958d2ee523a2206206994597c13d831ec7 as addr, 'Stablecoin' as catUNION ALLselect 0xef1c6e67703c7bd7107eed8303fbe6ec2554bf6b as addr, 'DEX' as catUNION ALLselect 0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45 as addr, 'DEX' as catUNION ALLselect 0x7f268357a8c2552623316e2562d90e642bb538e5 as addr, 'NFT' as catUNION ALLselect 0xe592427a0aece92de3edee1f18e0157c05861564 as addr, 'DEX' as catUNION ALLselect 0x007933790a4f00000099e9001629d9fe7775b800 as addr, 'MEV' as catUNION ALLselect 0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad as addr, 'DEX' as catUNION ALLselect 0x5acc84a3e955bdd76467d3348077d003f00ffb97 as addr, 'Ponzi' as catUNION ALLselect 0x881d40237659c251811cec9c364ef91dc08d300c as addr, 'Aggregator' as catUNION ALLselect 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 as addr, 'Stablecoin' as catUNION ALLselect 0xe33c8e3a0d14a81f0dd7e174830089e82f65fc85 as addr, 'MEV' as catUNION ALLselect 0xfbddadd80fe7bda00b901fbaf73803f2238ae655 as addr, 'Infra' as catUNION ALLselect 0xa5409ec958c83c3f309868babaca7c86dcb077c1 as addr, 'NFT' as catUNION ALLselect 0x1a2a1c938ce3ec39b6d47113c7955baa9dd454f2 as addr, 'Gaming' as catUNION ALLselect 0x00000000006c3852cbef3e08e8df289169ede581 as addr, 'NFT' as catUNION ALLselect 0xed9d63a96c27f87b07115b56b2e3572827f21646 as addr, 'Scaling' as catUNION ALL------------------