SELECT
from_address_name,
sum(amount_usd),
count(*)
FROM ethereum.udm_events
WHERE
--tx_id = lower('0xc694aa997c88e52ec106757e6bda5834bc2d814afbf8b16ffe0a366060d3fe00')\
Symbol = 'YFI'
and date_trunc('day', block_timestamp)>= CURRENT_DATE()-30
and from_address_name is not null
and amount_usd is not null
group by 1
order by 2 desc
limit 10