Afonso_DiazBridge To Swell Overtime
    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
    SYMBOL
    TRANSACTIONS
    USERS
    VOLUME_USD
    AVERAGE_AMOUNT_USD
    CUMULATIVE_TRANSACTIONS
    CUMULATIVE_VOLUME_USD
    1
    2024-12-09 00:00:00.000SWELL5550.32384519110.064769038550.323845191
    2
    2024-12-09 00:00:00.000rSWELL222
    3
    2024-12-09 00:00:00.000swBTC111.9618016671.96180166711.961801667
    4
    2024-12-16 00:00:00.000ENA6316.040171662.673361943616.04017166
    5
    2024-12-16 00:00:00.000SWELL97891415116.1319163914588.8261022311021415166.45576158
    6
    2024-12-16 00:00:00.000USDe77551409125.5804720718300.332213923771409125.58047207
    7
    2024-12-16 00:00:00.000rSWELL532521534
    8
    2024-12-16 00:00:00.000rsETH1058447173070.5301596449267.33838247210547173070.5301596
    9
    2024-12-16 00:00:00.000rswETH32932316343884.940831949677.46182623732916343884.9408319
    10
    2024-12-16 00:00:00.000sUSDe53413538721.350482866768.3273676533538721.3504828
    11
    2024-12-16 00:00:00.000swBTC545210343496.5377612191546.2321807635510343498.4995629
    12
    2024-12-16 00:00:00.000swETH1351352409473.837027217847.954348351352409473.8370272
    13
    2024-12-23 00:00:00.000ENA22716.191742703358.0958713518732.231914363
    14
    2024-12-23 00:00:00.000SWELL13212785155.29942832645.115904762341500321.7551899
    15
    2024-12-23 00:00:00.000USDe2211641423029.981848856439.0496916242982832155.56232091
    16
    2024-12-23 00:00:00.000rSWELL412389946
    17
    2024-12-23 00:00:00.000rsETH4340366838.8234182998531.13542833314847539909.3535779
    18
    2024-12-23 00:00:00.000rswETH1561475292167.6284097133924.15146416548521636052.5692416
    19
    2024-12-23 00:00:00.000sUSDe44323609035.5058341482023.534223503977147756.85631695
    20
    2024-12-23 00:00:00.000swBTC27279572728.73022781354545.5085269568219916227.2297907
    ...
    156
    13KB
    9s