with main as (select
distinct miner
from ethereum.core.fact_blocks
where miner is not null
)
select
origin_from_address,
sum(amount_in) as "swaped volume (ETH)"
from ethereum.core.ez_dex_swaps a
left join main b on a.origin_from_address=b.miner
where symbol_in = 'WETH'
and block_timestamp::date > '2022-09-15 06:46:00.000'
group by 1
order by 2 desc
limit 10