h4wkdebridge new user
    Updated 5 hours ago
    with price as (
    select hour::date as price_date,
    token_address,
    case when token_address in ('Dn4noZ5jgGfkntzcQSUZ8czkreiZ1ForXYoV2H8Dm7S1', '8qJSyQprMC57TWKaYEmetUR3UUiTP2M3hXdcvFhkZdmv') then 'USDT'
    when token_address in ('A9mUU4qviSctJVPJdBJWkb28deg915LYJKrzQ19ji3FM', 'FCqfQSujuPxy6V42UvafBhsysWtEq1vhjfMN1PUbgaxA') then 'USDC'
    when token_address in ('33fsBLA8djQm82RpHmE3SuVrPGtZBWNYExsEUeKX1HXX', '5RpUwQ8wtdPCZHhu6MERp2RGrpobsbZ6MH5dDHkUjs2') then 'BUSD'
    else symbol end as symbol,
    avg(price) as price
    from solana.price.ez_prices_hourly
    where price_date = Current_date
    and token_address not in ('96fxUxwiZm9rkCdDaP2qmB73eA8FcD3wTeuczTtmkdk3') -- SPEPE
    group by all
    )
    , base as (
    select
    block_timestamp,
    user_address
    from solana.defi.fact_bridge_activity
    join price on (token_address = mint)
    where succeeded
    and platform = 'deBridge'
    )
    , first_date as (
    select
    user_address,
    min(block_timestamp) as first_date
    from base
    group by 1
    )

    , daily_new_users as (
    select
    first_date::date as date,
    count(distinct user_address) as daily_new_user_count
    from first_date
    group by 1
    Last run: about 5 hours agoAuto-refreshes every 24 hours
    DATE
    DAILY_USER_COUNT
    DAILY_NEW_USER_COUNT
    RETURNING_USER
    DAILY_USER_COUNT_7_DAY_AVG
    1
    2025-01-11 00:00:00.00011843977871184
    2
    2025-01-12 00:00:00.00010693497201126.5
    3
    2025-01-13 00:00:00.000138737510121213.333
    4
    2025-01-14 00:00:00.000152347310501290.75
    5
    2025-01-15 00:00:00.000160950911001354.4
    6
    2025-01-16 00:00:00.00014914989931377.166
    7
    2025-01-17 00:00:00.000164058010601414.714
    8
    2025-01-18 00:00:00.0004444250719371880.428
    9
    2025-01-19 00:00:00.0004657253921182393
    10
    2025-01-20 00:00:00.0004161206720942789.285
    11
    2025-01-21 00:00:00.000222878914392890
    12
    2025-01-22 00:00:00.000232273615862991.857
    13
    2025-01-23 00:00:00.000211163114803080.428
    14
    2025-01-24 00:00:00.000176353712263098
    15
    2025-01-25 00:00:00.000149442610682676.571
    16
    2025-01-26 00:00:00.000152446910552229
    17
    2025-01-27 00:00:00.000213663615001939.714
    18
    2025-01-28 00:00:00.000176354012231873.285
    19
    2025-01-29 00:00:00.00015075159921756.857
    20
    2025-01-30 00:00:00.000155749510621677.714
    91
    4KB
    176s