samnoisy-scarlet copy
    Updated 2025-03-12
    with raw as (
    select
    block_timestamp,
    event_index,
    from_address,
    to_address,
    amount
    from bsc.core.ez_token_transfers
    where block_timestamp::date >= '2025-01-01'
    and contract_address = lower('0x7d814b9eD370Ec0a502EdC3267393bF62d891B62') -- virtuals
    ),

    all_address as (
    select
    distinct to_address as address
    from raw
    ),

    all_dates as (
    select
    date_day::date as day
    from crosschain.core.dim_dates
    where date_day between '2025-01-01' and current_date()::date
    ),

    full_list as (
    select
    day,
    address
    from all_dates cross join all_address
    ),

    direction as (
    select
    block_timestamp,
    block_timestamp::date as day,
    Last run: about 2 months ago
    DAY
    HOLDERS
    1
    2025-03-10 00:00:00.0007
    2
    2025-03-09 00:00:00.0003
    3
    2025-03-11 00:00:00.00044199
    4
    2025-02-28 00:00:00.0001
    5
    2025-02-26 00:00:00.0001
    6
    2025-03-07 00:00:00.0002
    7
    2025-03-08 00:00:00.0002
    8
    2025-03-12 00:00:00.00043530
    9
    2025-03-01 00:00:00.0001
    10
    2025-03-04 00:00:00.0001
    11
    2025-03-05 00:00:00.0001
    12
    2025-03-06 00:00:00.0001
    13
    2025-03-02 00:00:00.0001
    14
    2025-03-03 00:00:00.0001
    15
    2025-02-27 00:00:00.0001
    15
    459B
    22s