peteerNumber of unique users per week
    Updated 2022-08-31
    with number_of_unique_users as
    (
    select count(distinct origin_from_address) from optimism.velodrome.ez_claimed_rewards
    )
    ,number_of_unique_users_day as
    (
    select count(distinct origin_from_address),date_trunc('day', block_timestamp) from optimism.velodrome.ez_claimed_rewards
    group by 2
    )
    ,number_of_unique_users_week as
    (
    select count(distinct origin_from_address),date_trunc('week', block_timestamp) from optimism.velodrome.ez_claimed_rewards
    group by 2
    )
    ,number_of_unique_users_month as
    (
    select count(distinct origin_from_address),date_trunc('month', block_timestamp) from optimism.velodrome.ez_claimed_rewards
    group by 2
    )

    select * from number_of_unique_users_week