Afonso_Diazprojects using AERO
    Updated 2025-01-01
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    origin_from_address as user,
    project_name,
    label_type
    from
    base.core.fact_event_logs
    join
    base.core.dim_labels on contract_address = address
    where
    tx_hash in (select distinct tx_hash from base.core.ez_token_transfers where contract_address = '0x940181a94a35a4569e4529a3cdfb74e38fd98631')
    and label_type != 'token'
    and label_subtype != 'token_contract'
    )

    select
    project_name,
    count(distinct tx_hash) as transactions,
    count(distinct user) as users
    from
    main
    group by 1
    order by 2 desc
    limit 10



    QueryRunArchived: QueryRun has been archived