CUBE3contract creation with 0x0 to_address
    Updated 2025-02-19
    SELECT
    *
    /*
    TO_ADDRESS as address,
    BLOCK_NUMBER as block_number,
    'constant' as blockchain_id,
    BLOCK_TIMESTAMP as block_time,
    OUTPUT as bytecode,
    'calculated' as bytecode_hash,
    FROM_ADDRESS as creator_address,
    '?' as creator_address_tx,
    INPUT as creator_bytecode,
    'calculated' as creator_bytecode_hash,
    'calculated' as received_at,
    TX_HASH as transaction_hash,
    'flipside' as source
    */
    FROM
    ethereum.core.fact_traces
    WHERE
    -- TO_ADDRESS = '0x0000000000000000000000000000000000000000'
    --AND
    TYPE IN ('CREATE2', 'CREATE')
    AND
    TX_STATUS = 'SUCCESS'
    AND
    TRACE_STATUS = 'SUCCESS'
    AND
    ERROR_REASON <> ''
    LIMIT 16
    QueryRunArchived: QueryRun has been archived