hessDaily Number of New Contracts
    Updated 2025-03-24
    with base as (select a.block_timestamp,
    a.tx_hash,
    origin_from_address,
    '0x' || substr(topics[1],27) as token_address,
    '0x' || substr(topics[2],27) as creator_address,
    '' as mcapInEth,
    regexp_substr_all(substr(input_data,11, len(input_data)), '.{64}') as segmented,
    TRIM(TRY_HEX_DECODE_STRING(segmented[8]::STRING), '\x00') AS name,
    TRIM(TRY_HEX_DECODE_STRING(segmented[10]::STRING), '\x00') AS symbol,
    TRIM(TRY_HEX_DECODE_STRING(segmented[12]::STRING), '\x00') AS description,
    REGEXP_REPLACE(SUBSTRING(segmented[2], 3), '^0+', '') AS cleaned_data,
    livequery.utils.udf_hex_to_int(cleaned_data)/pow(10,18) as amount
    from ronin.core.fact_event_logs a join ronin.core.fact_transactions b on a.tx_hash = b.tx_hash
    where topics[0] = '0xf372df0af3c16a1deb41b25691dd807a3836ba8f443e83d24c1406ae3748232e'
    and a. TX_SUCCEEDED = 'TRUE'
    and origin_to_address = '0xa54b0184d12349cf65281c6f965a74828ddd9e8f'
    )
    ,
    new_token as ( select min(block_timestamp::date) as date,
    token_address
    from base
    group by 2)
    ,
    new_tokens as ( select date,
    count(DISTINCT token_address) as "New Tama Contracts",
    from new_token
    group by 1)
    ,
    contract as ( select min(block_timestamp::date) as day,
    contract_address
    from ronin.core.fact_event_logs
    group by 2)
    ,
    final as (select day,
    count(DISTINCT contract_address) as new
    from contract
    Last run: 2 days ago
    DAILY
    NEWS
    New Tama Contract
    New Daily Contracts
    New Daily Contract
    1
    2025-02-01 00:00:00.00041340855
    2
    2025-02-28 00:00:00.00024281161161
    3
    2025-03-11 00:00:00.00023689147147
    4
    2025-01-12 00:00:00.0006066
    5
    2024-10-14 00:00:00.0005055
    6
    2024-10-17 00:00:00.0004044
    7
    2025-02-18 00:00:00.0002802206060
    8
    2024-10-13 00:00:00.0001011
    9
    2025-02-20 00:00:00.000579116756245624
    10
    2025-02-19 00:00:00.000840720582028202
    11
    2024-12-11 00:00:00.0009099
    12
    2025-03-28 00:00:00.00039262330330
    13
    2025-03-10 00:00:00.00017837141141
    14
    2024-12-10 00:00:00.0001001010
    15
    2024-11-13 00:00:00.0006066
    16
    2025-03-21 00:00:00.000122675555
    17
    2025-01-27 00:00:00.0008167882828
    18
    2024-10-22 00:00:00.0001101111
    19
    2025-01-07 00:00:00.0005055
    20
    2025-01-19 00:00:00.0001011
    ...
    188
    7KB
    9s