Query editor
with address_list as (select distinct 'Fiat-Collateralized Stablecoins' as category, 'ethereum' as blockchain,address from query_1879804where chain='ethereum'and address <> 0xa693b19d2931d498c5b318df961919bb4aee87a5and stablecoin_type = 'A. Fiat-Collateralised'and stablecoin not in ('USDM', 'USDY')unionselect distinct 'Fiat-Collateralized Stablecoins' as category, blockchain, contract_addressfrom dune."21co".result_evm_native_stablecoin_supplyunionselect distinct category, blockchain, addressfrom query_3064826unionselect distinct 'Private Equities' as category, 'ethereum' as blockchain, addressfrom ethereum.creation_traceswhere "from" = 0xc6181D559F433ffC4eb130d237E70B873808f23Eunionselect 'Real-Estate' as category, 'polygon' as blockchain, 0x40379a439d4f6795b6fc9aa5687db461677a2dba as address)select "category", count(distinct "to") as usersfrom address_list aleft join evms.erc20_transfers bon a.blockchain = b.blockchainand a.address=b.contract_addresswhere b.blockchain in (select distinct blockchain from address_list)and contract_Address in (select address from address_list)group by 1union allselect 'Asset-Based Finance' as category, count(distinct address) as usersfrom (select "capitalProvider" as addressfrom goldfinch_ethereum.Pool_evt_DepositMadeunion allselect "owner"from goldfinch_ethereum.MigratedTranchedPool_evt_DepositMadeunion allselect "capitalProvider"from goldfinch_ethereum.SeniorPool_evt_DepositMade)agroup by 1