Query editor
WITHstablecoins_daily_inflows AS (-- usdt0select "to" as bridgor, 'USD₮0' as asset, sum(value/1e6) as daily_inflows from usdt0_hyperevm.hyperliquidextension_evt_transferwhere "from" = 0x200000000000000000000000000000000000010cgroup by 1-- thbillUNION ALLselect "to" as bridgor, 'thBILL' as asset, sum(value/1e6) as daily_inflows from theo_hyperevm.ThBillOFT_evt_transferwhere "from" = 0x2000000000000000000000000000000000000143group by 1-- feUSDUNION ALLselect "to" as bridgor, 'feUSD' as asset, sum(value/1e18) as daily_inflows from felix_cdp_hyperevm.feusd_evt_transferwhere "from" = 0x20000000000000000000000000000000000000F1group by 1-- USDeUNION ALLselect "to" as bridgor, 'USDe' as asset, sum(value/1e18) as daily_inflows from ethena_labs_hyperevm.usdeoft_evt_transferwhere "from" = 0x20000000000000000000000000000000000000EBgroup by 1-- USDHLUNION ALLselect "to" as bridgor, 'USDHL' as asset, sum(value/1e6) as daily_inflows from usdhl_hyperevm.USDHL_evt_transferwhere "from" = 0x2000000000000000000000000000000000000123group by 1-- USDXLUNION ALLselect "to" as bridgor, 'USDXL' as asset, sum(value/1e18) as daily_inflows from hypurrfi_hyperevm.usdxl_evt_transferwhere "from" = 0x20000000000000000000000000000000000000EFgroup by 1-- USDHUNION ALLselect "to" as bridgor, 'USDH' as asset, sum(value/1e6) as daily_inflows from native_markets_hyperevm.usdh_evt_transferwhere "from" = 0x2000000000000000000000000000000000000168group by 1),stablecoins_daily_outflows AS (-- usdt0select "from" as bridgor, 'USD₮0' as asset, -1*sum(value/1e6) as daily_outflows from usdt0_hyperevm.hyperliquidextension_evt_transferwhere "to" = 0x200000000000000000000000000000000000010cgroup by 1-- thbillUNION ALLselect "from" as bridgor, 'thBILL' as asset, -1*sum(value/1e6) as daily_outflows from theo_hyperevm.ThBillOFT_evt_transferwhere "to" = 0x2000000000000000000000000000000000000143group by 1-- feUSDUNION ALLselect "from" as bridgor, 'feUSD' as asset, -1*sum(value/1e18) as daily_outflows from felix_cdp_hyperevm.feusd_evt_transferwhere "to" = 0x20000000000000000000000000000000000000F1group by 1-- USDeUNION ALLselect "from" as bridgor, 'USDe' as asset, -1*sum(value/1e18) as daily_outflows from ethena_labs_hyperevm.usdeoft_evt_transferwhere "to" = 0x20000000000000000000000000000000000000EBgroup by 1