Query editor
with legeacy_mech_mm_requests as (selectdate_trunc('week', evt_block_time) as week_start,count(distinct evt_tx_hash) as interaction_countfrom autonolas_gnosis.agentmech_evt_requestgroup bydate_trunc('week', evt_block_time)),legeacy_mech_mm_deliveries as (selectdate_trunc('week', evt_block_time) as week_start,count(distinct evt_tx_hash) as interaction_countfrom autonolas_gnosis.agentmech_evt_delivergroup bydate_trunc('week', evt_block_time)),legeacy_deprecated_requests as (selectdate_trunc('week', evt_block_time) as week_start,count(distinct evt_tx_hash) as interaction_countfrom useful_for_autonolas_services_gnosis.agentmech_evt_requestgroup bydate_trunc('week', evt_block_time)),legacy_deprecated_deliveries as (selectdate_trunc('week', evt_block_time) as week_start,count(distinct evt_tx_hash) as interaction_countfrom useful_for_autonolas_services_gnosis.agentmech_evt_delivergroup bydate_trunc('week', evt_block_time)),combined_existing_legacy as (select * from legeacy_mech_mm_requestsunion allselect * from legeacy_mech_mm_deliveries),combined_deprecated_legacy as (select * from legeacy_deprecated_requestsunion allselect * from legacy_deprecated_deliveries),combined_legacy as (select * from combined_existing_legacyunion allselect * from combined_deprecated_legacy),mm_requests_gnosis as (select date_trunc('week', block_time) as week_start,count(distinct tx_hash) as interaction_countfrom gnosis.logswhere contract_address=0x735FAAb1c4Ec41128c367AFb5c3baC73509f70bBand topic0 in (0x5d60556939d4ab71b3129033c865bf7e828306916fd94fd35019d3d530eb36b3,0xb1ea35a385d4517ac7b3fb0eac4f62db4f0c5b4cf8b7aef789bbd1db097edb25)group by