select sum(e2.amount_usd)/1000000 as amount_in_M_usd, e2.origin_function_name
from ethereum.dex_swaps as e1
INNER JOIN ethereum.udm_events as e2
on e1.tx_id=e2.tx_id
where e1.platform ='sushiswap'
and e2.origin_function_name='mint'
or e2.origin_function_name='harvest'
or e2.origin_function_name='burn'
and e2.block_timestamp >= CURRENT_DATE - 30
--where contract_address ='0x0b3acd8a13cabcb596fc20629510dec038a8246d'
group by 2