Query editor
-- https://dune.com/queries/1957339withbatch_traders as (select tx_hash,block_number,-- array_agg(trader) as trader_in,array_agg(receiver) as trader_outfrom cow_protocol_ethereum.trades twhere block_date > cast('{{DateFrom}}' as timestamp)group by tx_hash, block_number),eth_transfers as (selectbt.tx_hash,"from",to,valuefrom batch_traders btinner join ethereum.traces eton block_time > cast('{{DateFrom}}' as timestamp)and bt.block_number = et.block_numberand bt.tx_hash = et.tx_hashand cast(value as decimal(38, 0)) > 0and success = trueand 0x9008d19f58aabd9ed0d60971565aa8510560ab41 in (to, "from")and "from" != 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2and not contains(trader_out, to))select * from eth_transfers