superflyLuna staked on weekly basis(Distribution of Luna staked amount based on action Distribution of Luna staked count based on action Weekly Luna staked amount based on action Weekly Luna staked count based on action)
    Updated 2022-12-26
    with luna_staking_daily as (
    select date_trunc('week', block_timestamp) as week,
    sum(AMOUNT) as total_amount_staked,
    count(*) as total_count,
    action
    from terra.core.ez_staking
    group by action, week
    )
    select * from luna_staking_daily
    Run a query to Download Data