select
from_address as donatoor,
sum(raw_amount)/pow(10,6) as total_amount,
count(distinct tx_hash) as donate_Count
from optimism.core.fact_token_transfers
where contract_address = '0x7f5c764cbc14f9669b88837ca1490cca17c31607'
and origin_function_signature in ('0x160e3f3d', '0x6a761202')
and to_address = '0x19793c7824be70ec58bb673ca42d2779d12581be'
group by 1
order by total_amount desc