SELECT date(block_timestamp) as day , sum(asset_amount) as total_bonded,sum(total_bonded) over (order by day) as cumulative_bonded
from thorchain.bond_actions
where bond_type = 'bond_paid' and asset = 'THOR.RUNE' and block_timestamp >= CURRENT_DATE-90
GROUP by 1
-- LIMIT 10