Skip to content

Stellar Index v0.5.0-rc.121

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jun 23:02

[v0.5.0-rc.121] — 2026-06-19

Added

  • Real Blend per-pool TVL / utilization / APY (ADR-0039, #84 complete). New
    GET /v1/lending/pools/{pool}/reserves reads each reserve's CURRENT on-chain
    state from the lake (point-lookup of the ResData/ResConfig contract_data
    entries by exact key, decoded with the new storage decoder), and reports
    supplied/borrowed amounts, utilization, and supply/borrow APR computed with
    the pool's own interest-rate model — verified against real r1 data (Pool #1
    USDC: ~$55M supplied, ~$37M borrowed, 67.8% util). USD TVL is best-effort
    (priced reserves only); token-unit amounts + util + APR are always exact.
    The Lending pool detail page replaces its "#84 pending" placeholder with the
    live reserve table. This is real current-state, distinct from the
    /v1/lending/pools window net-flow proxy.

  • Soroban contract current-state reader (ADR-0039) — Blend reserve decoder +
    interest model.
    First half of #84: read on-chain contract state from the
    lake instead of only events. New internal/sources/blend/storage.go decodes
    Blend ReserveData / ReserveConfig / PoolConfig from Soroban storage (by
    field name, mirroring the pool contract's storage.rs), and interest.go
    ports the pool's interest-rate model (interest.rs / reserve.rs) —
    utilization, borrow APR, supply APR — with fixed-point rounding that matches
    the chain bit-for-bit (validated against the contract's own unit-test
    vectors). ADR-0039 records the read-time-decode architecture. The lake reader

    • real /v1/lending/pools TVL/util/APY wiring follow next.