adriaparcerisasflow defi tvl by protocol all
    Updated 3 days ago
    select
    trunc(x.date,'day') as week,
    x.protocol,
    case when x.protocol ilike '%more markets%' then avg(chain_tvl)+15000000 else avg(chain_tvl) end as tvl
    --sum(volume) as dex_volume,
    --sum(dex_volume) over (order by week) as total_dex_volume
    from external.defillama.fact_protocol_tvl x
    --join external.defillama.fact_dex_volume y on lower(x.chain)=y.chain and x.date=y.date
    where x.chain ilike '%Flow%' and week<trunc(current_date,'day')
    group by 1,2 order by 1 desc,2


    Last run: 3 days ago
    WEEK
    PROTOCOL
    TVL
    1
    2025-06-08 00:00:00.000Ankr12359228
    2
    2025-06-08 00:00:00.000Fixes Launchpad1096
    3
    2025-06-08 00:00:00.000Fixes frc2024160
    4
    2025-06-08 00:00:00.000Fixes frc20 Staking23642
    5
    2025-06-08 00:00:00.000Increment Lending1290644
    6
    2025-06-08 00:00:00.000Increment Liquid Staking2987893
    7
    2025-06-08 00:00:00.000Increment Swap12615415
    8
    2025-06-08 00:00:00.000KittyPunch PunchSwap9740611
    9
    2025-06-08 00:00:00.000KittyPunch PunchSwap V37320356
    10
    2025-06-08 00:00:00.000KittyPunch StableKitty22205019
    11
    2025-06-08 00:00:00.000MORE Markets30067931
    12
    2025-06-08 00:00:00.000Sturdy V21068288.5
    13
    2025-06-08 00:00:00.000Trado Perpetual304343
    14
    2025-06-08 00:00:00.000Trado Spot733133
    15
    2025-06-07 00:00:00.000Ankr12345457
    16
    2025-06-07 00:00:00.000Fixes Launchpad1086
    17
    2025-06-07 00:00:00.000Fixes frc2023916
    18
    2025-06-07 00:00:00.000Fixes frc20 Staking23408
    19
    2025-06-07 00:00:00.000Increment Lending1301445.5
    20
    2025-06-07 00:00:00.000Increment Liquid Staking3114597
    ...
    5831
    311KB
    3s