maybeyonasnew_contracts
    Updated 6 hours ago
    -- forked from new_wallet @ https://flipsidecrypto.xyz/studio/queries/cd4c8520-3c96-447c-8f1f-577bf0127405

    with
    first_time as (
    select
    to_address,
    min(block_timestamp) as first_time
    from swell.core.fact_traces
    group by 1
    ),
    daily_new as (
    select
    date_trunc('day', first_time) as date,
    count(distinct to_address) as new_contracts,
    sum(new_contracts) over(order by date) as total_contracts
    from first_time
    group by 1
    )

    select * from daily_new
    order by 1 desc



    Last run: about 6 hours ago
    DATE
    NEW_CONTRACTS
    TOTAL_CONTRACTS
    1
    2025-04-24 00:00:00.000827190
    2
    2025-04-23 00:00:00.00010327182
    3
    2025-04-22 00:00:00.00025827079
    4
    2025-04-21 00:00:00.00010626821
    5
    2025-04-20 00:00:00.00012026715
    6
    2025-04-19 00:00:00.00010326595
    7
    2025-04-18 00:00:00.00010426492
    8
    2025-04-17 00:00:00.00024826388
    9
    2025-04-16 00:00:00.00023526140
    10
    2025-04-15 00:00:00.00010325905
    11
    2025-04-14 00:00:00.0004825802
    12
    2025-04-13 00:00:00.0005225754
    13
    2025-04-12 00:00:00.0004925702
    14
    2025-04-11 00:00:00.00012925653
    15
    2025-04-10 00:00:00.00023825524
    16
    2025-04-09 00:00:00.00019825286
    17
    2025-04-08 00:00:00.00014725088
    18
    2025-04-07 00:00:00.00017124941
    19
    2025-04-06 00:00:00.00020724770
    20
    2025-04-05 00:00:00.00023924563
    ...
    147
    5KB
    1s