SELECT
date_trunc('day',BLOCK_TIMESTAMP) as block_day,
sum(AMOUNT/pow(10,6)) as volume,
sum(volume) over (order by block_day asc) as cum_volume
FROM osmosis.core.fact_transfers
WHERE TRANSFER_TYPE = 'IBC_TRANSFER_IN'
AND CURRENCY = 'uusdc'
AND SENDER LIKE 'axelar%'
and block_day >= '2022-01-01'
group by block_day