Afonso_DiazOvertime
    Updated 2025-04-10
    with

    tokens as (
    select
    symbol,
    decimals,
    address as token_address
    from
    swell.core.dim_contracts

    union all

    select 'enzoBTC', 8, '0x6a9a65b84843f5fd4ac9a0471c4fc11afffbce4a'

    union all

    select 'swBTC', 18, '0xd557a21f78045380142a7bbccbca0fe3746a0787'

    union all

    select 'swBTC', 18, '0xe786314c7ee33bb45aaf72dd374d715da1c414e7'

    union all

    select 'earnETH', 18, '0x9ed15383940cc380faef0a75edace507cc775f22'
    ),

    pricet as (
    select
    hour::date as date,
    case token_address
    when '0x8db2350d78abc13f5673a411d4700bcf87864dde' then 'swBTC'
    when '0xfae103dc9cf190ed75350761e95403b7b8afa6c0' then 'rswETH'
    when '0x0a6e7ba5042b38349e437ec6db6214aec7b35676' then 'SWELL'
    when '0xf951e335afb289353dc249e82926178eac7ded78' then 'swETH'
    when '0xecac9c5f704e954931349da37f60e39f515c11c1' then 'LBTC'
    Last run: 14 days ago
    DATE
    SWAPS
    SWAPPERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    NEW_SWAPPERS
    RETURNING_SWAPPERS
    CUMULATIVE_SWAPS
    CUMULATIVE_VOLUME_USD
    1
    2025-02-26 00:00:00.0002252538.912959097115.40513450450222538.912959097
    2
    2025-02-27 00:00:00.0008514.2270722561.77838403241302553.140031353
    3
    2025-02-28 00:00:00.000183514.99669087128.61092727121483068.136722224
    4
    2025-03-01 00:00:00.00043360.28054096890.07013524221523428.417263192
    5
    2025-03-02 00:00:00.00030112087.85405409769.59513513792825516.271317289
    6
    2025-03-03 00:00:00.0005452179.82869002140.367197963141367696.10000731
    7
    2025-03-04 00:00:00.000167108011.24319019547.9715161094630315707.343197506
    8
    2025-03-05 00:00:00.0007052764.17943319239.4882776171437318471.522630698
    9
    2025-03-06 00:00:00.0001521447438.681459606312.0965885512252565910.204090303
    10
    2025-03-07 00:00:00.000133117877.2943972459.2277774235665873787.498487543
    11
    2025-03-08 00:00:00.00069134017.89669134958.2303868316772777805.395178892
    12
    2025-03-09 00:00:00.00017087592.44052562144.6614148571789785397.835704513
    13
    2025-03-10 00:00:00.0004071020183.15520379549.590061926641304105580.990908308
    14
    2025-03-11 00:00:00.0003221629476.06417477391.5405719715111626135057.055083081
    15
    2025-03-12 00:00:00.0002451316496.19337618867.331401535491871151553.248459269
    16
    2025-03-13 00:00:00.000472322761.642754884484.29027138112111918174314.891214153
    17
    2025-03-14 00:00:00.0001285819.375330424484.947944202171930180134.266544577
    18
    2025-03-15 00:00:00.000128143.50501689211.958751408261942180277.771561469
    19
    2025-03-16 00:00:00.0002379062.298582864394.012981864251965189340.070144334
    20
    2025-03-17 00:00:00.000139360.92267722327.763282863541978189700.992821557
    44
    4KB
    8s