-- tornado cash addresses
with address as (select address, address_name
from flipside_prod_db.crosschain.address_labels
where address_name like '%tornado%cash%' )
select sum(eth_value) as total_volume
from ethereum.core.fact_transactions
join address on address.address = ethereum.core.fact_transactions.to_address
where-- block_timestamp>=CURRENT_DATE-365 and
eth_value>0 and to_address in (select address from address)