with tornado_addresses as (
select * from flipside_prod_db.crosschain.address_labels
where project_name = 'tornado cash'
)
select
eth_from_address as user,
sum(amount) as eth_volume,
count(distinct tx_hash) as number_of_transactions
from ethereum.core.ez_eth_transfers
inner join tornado_addresses on address = eth_to_address
where eth_to_address in (select address from tornado_addresses)
and block_timestamp >= '2022-08-01'
and user not in (select address from tornado_addresses)
group by user
order by eth_volume desc
limit 10