Query editor
with t as (select "from" fr, "to" tt, cast(value as double)/1e18*116 usd, evt_block_time tsfrom erc20_ethereum.evt_Transferwhere contract_address = 0x1B19C19393e2d034D8Ff31ff34c81252FcBbee92and evt_block_time >= timestamp '2026-04-01' and evt_block_time < timestamp '2026-11-01'and ("to" = 0x93358db73b6cd4b98d89c8f5f230e81a95c2643a or "from" = 0x93358db73b6cd4b98d89c8f5f230e81a95c2643a))select case when tt = 0x93358db73b6cd4b98d89c8f5f230e81a95c2643a then 'into instant manager (redeem)' else 'out of instant manager' end dir,count(*) n, round(sum(usd)/1e6, 1) usd_m, count_if(day_of_week(ts) in (6,7)) weekend_n,round(coalesce(sum(case when day_of_week(ts) in (6,7) then usd end), 0)/1e6, 1) weekend_usd_mfrom t group by 1