Query editor
with mm_requests_gnosis_from_olas_agents as (selectdistinct topic2from gnosis.logswhere contract_address = 0x735FAAb1c4Ec41128c367AFb5c3baC73509f70bBand topic0 in (0x5d60556939d4ab71b3129033c865bf7e828306916fd94fd35019d3d530eb36b3,0xb1ea35a385d4517ac7b3fb0eac4f62db4f0c5b4cf8b7aef789bbd1db097edb25)and lower('0x' || substr(to_hex(topic2), -40)) in (select lower('0x' || to_hex(multisig)) from autonolas_gnosis.serviceregistryl2_evt_createmultisigwithagents)),mm_requests_base_from_olas_agents as (selectdistinct topic2from base.logswhere contract_address = 0xf24eE42edA0fc9b33B7D41B06Ee8ccD2Ef7C5020and topic0 in (0x5d60556939d4ab71b3129033c865bf7e828306916fd94fd35019d3d530eb36b3,0xb1ea35a385d4517ac7b3fb0eac4f62db4f0c5b4cf8b7aef789bbd1db097edb25)and lower('0x' || substr(to_hex(topic2), -40)) in (select lower('0x' || to_hex(multisig)) from autonolas_base.serviceregistryl2_evt_createmultisigwithagents))select * from mm_requests_gnosis_from_olas_agentsunion allselect * from mm_requests_base_from_olas_agents