Query editor
with user as (selectaddress,chain,block_time,tx_hashfrom (selecttx_from as address,blockchain as chain,block_time,tx_hashfrom gyroscope.trades-- Here exclude the trades behind CoW meta-aggregator GPv2Settlementon ethereum (0x16c473448e770ff647c69cbe19e28528877fba1b,0xd50ecb485dcf5d97266122dfed979587dd8923ac)-- and 1inch resolver AggregationRouterV5 0xc6c7565644ea1893ad29182f7b6961aab7edfed0 on polygonwhere tx_from not in (0x16c473448e770ff647c69cbe19e28528877fba1b,0xd50ecb485dcf5d97266122dfed979587dd8923ac,0xc6c7565644ea1893ad29182f7b6961aab7edfed0)union all-- trades behind CoW aggregator on ethereum--selectowner as address,'ethereum' as chain,block_time,tx_hashfrom query_3468368union all-- trades behind 1inch resolver on polygon --selectmaker as address,'polygon' as chain,block_time,tx_hashfrom query_3478576union all-- GYD transfers across all chainsselect"from" as address,'ethereum' as chain,evt_block_time as block_time,evt_tx_hash as tx_hashfrom erc20_ethereum.evt_Transferwhere contract_address = 0xe07F9D810a48ab5c3c914BA3cA53AF14E4491e8Aunion all-- GYD reserve interactions, every Mint/Redeem against the reserve count as one interactionselect -- mintminter as address,'ethereum' as chain,evt_block_time as block_time,evt_tx_hash as tx_hashfrom gyroscope_ethereum.Motherboard_evt_Mintunion allselect -- redeemredeemer as address,