mariyaDelegated amount ( last 30 days )
    Updated 2022-05-18
    with a as (select date_trunc('day', block_timestamp) as day, sum (event_amount) as amount_delegated
    from terra.staking
    where action like '%delegate%'
    group by 1)
    select * from a
    where day>current_date-30
    Run a query to Download Data