mlharb, count of swaps and swappers1
    Updated 2022-09-08
    select count(distinct(origin_from_address)) as swappers,
    count(distinct(tx_hash)) as swaps,
    'before Nitro' as type
    from arbitrum.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp >= '2022-08-26' and block_timestamp < '2022-08-31'
    group by 3
    UNION

    select count(distinct(origin_from_address)) as swappers,
    count(distinct(tx_hash)) as swaps,
    'after Nitro' as type
    from arbitrum.core.fact_event_logs
    where event_name = 'Swap'
    and block_timestamp > '2022-08-31'
    group by 3
    Run a query to Download Data