peteer1new
    Updated 2023-01-15
    select sum(amount) , block_timestamp::date , CASE
    when action in ('Redelegate' , 'Delegate') then 'stake'
    when action='Undelegate' then 'unstake' end as staking
    from terra.core.ez_staking
    group by 2,3
    Run a query to Download Data