neo_nguyenPendle - Base
    Updated 2025-05-12
    with

    pendle_pool as( select * from $query('f90ce887-7773-43b6-ac7d-a666182c79e0') ),

    pendle_data as(
    select from_address as pool, case when amount is null then raw_amount/1e18 else amount end amount, contract_address, block_timestamp from base.core.ez_token_transfers union all
    select to_address as pool, case when amount is null then 0-raw_amount/1e18 else 0-amount end amount, contract_address, block_timestamp from base.core.ez_token_transfers ),

    pendle_liquid as(
    select chain, category, protocol, symbol, sy, sum(amount*price) tvl, count(distinct mk) pool
    from pendle_data tb1
    join pendle_pool tb2 on tb1.contract_address = tb2.sy and tb1.pool = '0x0000000000000000000000000000000000000000'
    where chain = 'Base'
    group by 1,2,3,4,5)

    select chain, category, protocol, symbol, sum(pool) pool, sum(tvl/pool) tvl, max(sy) sy
    from pendle_liquid
    group by 1,2,3,4
    order by tvl desc



    Last run: about 1 month agoAuto-refreshes every 24 hours
    CHAIN
    CATEGORY
    PROTOCOL
    SYMBOL
    POOL
    TVL
    SY
    1
    BaseBTCLombardLBTC159526888.86779320xb261266cb30c255cb9c73ebf4a3ead9398d23ab4
    2
    BaseStablesResolvUSR114955683.31460230x4665d514e82b2f9c78fa2b984e450f33d9efc842
    3
    BaseBTCMoonwellmcbBTC13396181.346662160x7f5efa1bb887a5080ceacd6f3e2c0fc16bd90c90
    4
    BaseStablesMoonwellmUSDC12731576.434158250xc40febf5a33b8c92b187d9be0fd3fe0ac2e4b07c
    5
    BaseRWAAnzensUSDz11048543.058171060xff702347d81725ed8bbe341392af511e29cfed98
    6
    BaseStablesAnzensUSDz11048543.058171060xff702347d81725ed8bbe341392af511e29cfed98
    7
    BaseETHCoinbase Staked ETHcbETH1393926.4845529360x75372f72ec752a761e96cbcb3395f4b9586d9afd
    8
    BaseOTHERAerodromeVIRTUAL/cbBTC1389588.6488730250x02adf72d5d06a9c92136562eb237c07696833a84
    9
    BaseETHOriginwsuperOETHb1383697.5376912120x67507f3e26e7e2fd0a42c48fbc85069ccfcbd2ff
    9
    910B
    212s