BlockTrackercontract deployed
    Updated 2025-04-06
    -- forked from contract deployed @ https://flipsidecrypto.xyz/studio/queries/8f910da9-97b6-4bda-94db-5a8999ccaf26

    select
    date_trunc('{{granularity}}', block_timestamp) as date,
    count(DISTINCT to_address) as contract_deployed,
    sum(contract_deployed) over (order by date) as cumulative_contract_deployed
    from swell.core.fact_traces
    where type ilike '%CREATE%'
    and TX_SUCCEEDED
    and to_address is not null
    and input <> '0x'
    and ORIGIN_FUNCTION_SIGNATURE <> '0x'
    group by 1
    order by date desc



    QueryRunArchived: QueryRun has been archived