Query editor
with c as (select 'ethereum' chain, block_time, code from ethereum.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'gnosis', block_time, code from gnosis.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'arbitrum', block_time, code from arbitrum.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'avalanche_c', block_time, code from avalanche_c.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'bnb', block_time, code from bnb.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'polygon', block_time, code from polygon.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'base', block_time, code from base.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'linea', block_time, code from linea.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01'union all select 'plasma', block_time, code from plasma.creation_traces where "from" = 0xdeCC46a4b09162F5369c5C80383AAa9159bCf192 and block_time >= timestamp '2025-11-01')select chain,case when bytearray_position(code, 0x029d584E847373B6373b01dfaD1a0C9BfB916382) > 0 then 'COLLATERAL_SWAP'when bytearray_position(code, 0x73e7aF13Ef172F13d8FEfEbfD90C7A6530096344) > 0 then 'DEBT_SWAP'when bytearray_position(code, 0xAc27F3f86e78B14721d07C4f9CE999285f9AAa06) > 0 then 'REPAY_WITH_COLLATERAL'else 'OTHER' end as swap_type,count(*) instances, min(block_time) first_t, max(block_time) last_tfrom c group by 1,2 order by 1,3 desc