Query editor
with aave_v3_data as(SELECTDATE_TRUNC('day', aave_base.evt_block_time) as deposit_date,aave_base.onBehalfOf as wallet_address,aave_base.reserve as asset_address,'AAVE V3' as protocol,aave_base.chain,aave_base.amountfrom(select * FROM aave_v3_multichain.pool_evt_supply where lower(chain) in ('ethereum','optimism','base','polygon','bnb')and evt_block_time >= DATE '2025-10-01') aave_basewhere-- ethereum(lower(aave_base.chain)='ethereum' and reserve IN (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0xdAC17F958D2ee523a2206206994597C13D831ec7,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0x2260fac5e5542a773aa44fbcfedf7c193bc2c599,0x6b175474e89094c44da98b954eedeac495271d0f))-- optimismor (lower(aave_base.chain)='optimism' and reserve in(0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 , 0x94b008aA00579c1307B0EF2c499aD98a8ce58e58,0x4200000000000000000000000000000000000006,0x68f180fcCe6836688e9084f035309E29Bf0A2095,0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1))-- baseor (lower(aave_base.chain)='base' and reserve in(0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 ,0x4200000000000000000000000000000000000006,0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb))-- polygonor (lower(aave_base.chain)='polygon' and reserve in(0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359,0xc2132D05D31c914a87C6611C10748AEb04B58e8F,0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619,0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6,0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063))-- bnbor (lower(aave_base.chain)='bnb' and reserve in(0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d,0x55d398326f99059fF775485246999027B3197955,0x2170Ed0880ac9A755fd29B2688956BD959F933F8,0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c,0x1AF3F329e8BE154074D8769D1FFa4eE058B1DBc3))),compound_v3_data as(-- ethereumselect DATE_TRUNC('day', com_eth_usdc.evt_block_time) as deposit_date,com_eth_usdc.dst as wallet_address,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 as asset_address,'COMPOUND V3' as protocol,'ethereum' as chain,com_eth_usdc.amountfrom compound_v3_ethereum.cusdcv3_evt_supply com_eth_usdc where com_eth_usdc.evt_block_time >= DATE '2025-10-01'unionselect DATE_TRUNC('day', com_eth_usdt.evt_block_time) as deposit_date,com_eth_usdt.dst as wallet_address,0xdAC17F958D2ee523a2206206994597C13D831ec7 as asset_address,'COMPOUND V3' as protocol,'ethereum' as chain,com_eth_usdt.amountfrom compound_v3_ethereum.cusdtv3_evt_supply com_eth_usdt where com_eth_usdt.evt_block_time >= DATE '2025-10-01'union