Query editor
with barter as (select'barter' as router,b.tx_hashfrom cow_protocol_ethereum.batches bjoin cow_protocol_ethereum.solvers son b.solver_address = s.addresswhere(s.name = 'Barter' or b.solver_address = 0x1921e0ff550c09066edd4df05d304151c45e77de)and b.block_time >= current_timestamp - interval '{{last_n_months}}' monthunion allselect'barter' as router,tx_hashfrom query_5692341 ---Barter integrations except CoWSwapwhereintegration != 'cow'and block_time >= current_timestamp - interval '{{last_n_months}}' month), aggs as (selectproject as router,tx_hashfrom dex_aggregator.tradeswhereblockchain = 'ethereum'and project not in ('1inch', 'bebop', 'DODO X', 'sushiswap', 'velora_delta')--and tx_hash not in (select tx_hash from barter)and block_time >= current_timestamp - interval '{{last_n_months}}' monthunion allselect'1inch' as router,tx_hashfrom oneinch.swapswhereblockchain = 'ethereum'and protocol = 'AR'and block_time >= current_timestamp - interval '{{last_n_months}}' monthunion allselect'okx' as router,tx_hashfrom query_5715805where "minute" >= current_timestamp - interval '{{last_n_months}}' month), fusion as (select'1inch_fusion' as router,tx_hashfrom oneinch.swaps swheres.blockchain = 'ethereum'and mode = 'fusion'and block_time >= current_timestamp - interval '{{last_n_months}}' month), uniswap_x as (select