select sum(amount) as total,
date_trunc('week',block_timestamp) as date_time
from ethereum.core.ez_token_transfers
where contract_address ilike lower('0X3D3F13F2529EC3C84B2940155EFFBF9B39A8F3EC')
and origin_function_signature in('0x8dbdbe6d')
and origin_to_address ilike lower('0XAE1FC3947EE83AEB3B7FEC237BCC1D194C88BC24')
group by date_time