Sbhn_NPextensive-coffee
    Updated 2025-03-08
    select date_trunc('day',block_timestamp) as date,
    sum(amount_usd) as usd_volume,
    sum(usd_volume) over (order by date) as cumulative,
    count(distinct concat('0x', right(topics[2],40))) as traders,
    count(distinct tx_hash) as swaps
    from ink.core.fact_event_logs
    join ink.core.ez_token_transfers a using(tx_hash)
    where topic_0 = '0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822'
    and concat('0x', right(topics[1],40)) = '0xa8c1c38ff57428e5c3a34e0899be5cb385476507'
    and a.contract_address = '0x4200000000000000000000000000000000000006'
    and concat('0x', right(topics[2],40)) != '0xa8c1c38ff57428e5c3a34e0899be5cb385476507'
    group by 1
    Last run: 3 months ago
    DATE
    USD_VOLUME
    CUMULATIVE
    TRADERS
    SWAPS
    1
    2025-01-10 00:00:00.00016043.3411868.39264590
    2
    2025-03-02 00:00:00.00012693.632688889.586791805
    3
    2025-02-16 00:00:00.00058036.312427336.92836518694
    4
    2025-02-17 00:00:00.00030646.252457983.1732627297
    5
    2025-02-13 00:00:00.00034923.932289547.3524188844
    6
    2025-02-15 00:00:00.00043159.362369300.61280811100
    7
    2025-02-04 00:00:00.00062525.141926960.59393983
    8
    2025-01-27 00:00:00.000114860.971195223.6547675264
    9
    2025-02-09 00:00:00.00014060.212125510.378222182
    10
    2025-01-19 00:00:00.00035821.71647368.04386602
    11
    2025-01-04 00:00:00.00011200.57104432.19383594
    12
    2025-02-03 00:00:00.00087845.451864435.45322808
    13
    2025-01-07 00:00:00.00077903.2335784.09456770
    14
    2025-01-08 00:00:00.00022782.06358566.15228496
    15
    2025-01-22 00:00:00.00047293.7728799.81466858
    16
    2025-02-11 00:00:00.00060798.272213076.42389016478
    17
    2025-02-25 00:00:00.00027536.042638546.669092221
    18
    2025-01-26 00:00:00.000201558.511080362.6861197086
    19
    2025-02-19 00:00:00.00025709.262502757.9816784171
    20
    2024-12-27 00:00:00.00016071.2321579.782731
    73
    4KB
    3s