Sbhn_NP2024-07-01 12:03 AM
    Updated 2024-06-30
    with arbitrum as (select
    count(*) as price_updates1,
    count(DISTINCT from_address) as contracts1
    from arbitrum.core.fact_traces
    where to_address = lower('0xff1a0f4744e8582DF1aE09D5611b887B6a12925C')
    and block_timestamp::date>= '2023-01-01'
    ),


    aurora as (select
    count(*) as price_updates2,
    count(DISTINCT from_address) as contracts2
    from aurora.core.fact_traces
    where to_address = lower('0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9')
    and block_timestamp::date>= '2023-01-01'
    ),


    avalanche as (select
    count(*) as price_updates3,
    count(DISTINCT from_address) as contracts3
    from avalanche.core.fact_traces
    where to_address = lower('0x4305FB66699C3B2702D4d05CF36551390A4c69C6')
    and block_timestamp::date>= '2023-01-01'
    ),


    base as (select
    count(*) as price_updates4,
    count(DISTINCT from_address) as contracts4
    from base.core.fact_traces
    where to_address = lower('0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a')
    and block_timestamp::date>= '2023-01-01'

    ),

    QueryRunArchived: QueryRun has been archived