Updated 2022-09-29
    with total_users as(select date_trunc('day', block_timestamp) as date,count(distinct ORIGIN_FROM_ADDRESS) as number_of_users
    from ethereum.core.fact_event_logs
    where date>'2022-01-01'
    GROUP by date
    )
    ,
    metamask_users as (select date_trunc('day', block_timestamp) as date,count(distinct ORIGIN_FROM_ADDRESS) as number_of_users
    from ethereum.core.fact_event_logs
    where date>'2022-01-01' and lower(contract_address) = lower('0x881D40237659C251811CEC9c364ef91dC08D300C')
    GROUP by date)

    select *,'total_users' as event
    from total_users
    UNION
    select *,'metamask_users' as event
    FROM metamask_users

    Run a query to Download Data