rajsDistribution of Arbitrum Users by # of Contracts Interacted With
    Updated 2023-04-13
    with req_tab AS
    (
    SELECT
    origin_from_address,
    count(distinct contract_address) as no_of_contracts
    -- count(distinct date_trunc('week', block_timestamp)) as no_of_active_weeks
    from arbitrum.core.fact_event_logs
    group by 1
    )

    select
    no_of_contracts,
    count(origin_from_address) as no_of_users
    from req_tab
    group by 1
    order by 1


    Run a query to Download Data