Skip to content

Master Lending: Aave, Morpho, Horizon and Institutional Credit Markets

@d20@d2031 charts

Master Lending: onchain credit markets

One page for lending at large (size, utilization, rates, flows, liquidations) and for the institutional lens (tokenized-fund collateral, permissioned vs permissionless, borrowing against RWA). Every number in the charts is read on-chain from Dune tables: Aave v3 (many chains), SparkLend, Aave Horizon, Aave v4 (8 liquidity hubs), Morpho Blue, Fluid, Euler v2, Maple (Ethereum), HyperLend and Venus; Compound v3 appears with its collateral legs only. DefiLlama appears only as a labeled reference in the cross-check table, never in a total. Protocols or legs Dune cannot support at acceptable quality (Compound v3 base-asset legs, Solana lenders and others) are listed as not covered, with the reason. Aave-style state as of 10/26/2026 11:28 AM ET; Fluid, Euler, Maple, HyperLend and Morpho as of 10/26/2026 12:30 PM ET; Venus, Aave v4 and Compound v3 collateral as of 10/26/2026 1:30 PM ET. Related dashboards: Tokenized Treasuries & Fidelity Onchain and Stablecoins: top 50 coverage, supply, issuance and FIDD. Methodology, cross-checks and manual entries are at the bottom.

A. Lending at large

Loan-asset supply is what lenders have deposited in assets that can be borrowed. Collateral-asset deposits (not borrowable) are assets that cannot be borrowed (borrowing disabled, or the collateral side of a Morpho market). Utilization = borrowed / loan-asset supply, so collateral never dilutes it. Coverage compares total deposits with the DefiLlama Lending category (reference only, supplied-equivalent = TVL + borrowed).

How the utilization counter is computed. Utilization = B / A, where A = supplied USD summed over every Loan-asset row (assets that can be borrowed) and B = borrowed USD summed over the same rows. Both sums come from dune.d20.result_lending_market_unified, one row per reserve, vault or Morpho leg, and the counter shows B / A x 100.

Worked example (10/26/2026 1:40 PM ET refresh): A = $39,416,795,483 and B = $23,662,889,828, so B / A = 0.60033, shown as 60.0%. The Borrowed counter is a wider number: it adds C = $60,956,026 of debt still recorded on reserves where borrowing has since been disabled, so it shows B + C = $23,723,845,853. (B + C) / A would be 60.19%, which is why the counters are not simply divided by each other. Dividing the rounded headline figures is also off: before Venus, Aave v4 and Compound v3 were added, the counters read $37.1B and $22.9B, and $22.9B / $37.1B = 61.7%, but the unrounded loan-asset figures were $22,812,769,624 / $37,118,015,370 = 61.46%, shown as 61.5%. Only B (not C) belongs in the numerator, and collateral-asset deposits never enter A. The table below recomputes every line live.

Market snapshot by protocol and chain

Every row is read on-chain by Dune (method in the last column). Morpho markets have two legs: the loan token counts as loan-asset supply, the collateral token as a collateral asset (not borrowable). A Morpho market at 90% utilization is on target, since its rate model steers utilization to 90%.

Debt against collateral assets appears on the loan-asset rows (e.g. WETH debt backed by weETH deposits); the table is by reserve, not by borrower.

Where the deposits sit

All deposits (loan-asset supply and collateral-asset deposits) across the covered protocols, grouped into broad classes by symbol rules (see Methodology).

Largest reserves, vaults and markets, with APY

Role shows whether an asset can be borrowed: "Loan asset" rows count in utilization, "Collateral asset (not borrowable)" rows do not. A large deposit with almost no borrowing is usually a collateral asset. Example: osETH on Aave v3 Ethereum has borrowing disabled (borrow cap 1, LTV 0) and is held only as collateral. Supply and borrow rates are APY = exp(APR) - 1 from each venue's latest rate; "rate age" is the hours since that rate was last updated (Aave rates only move when a reserve is touched). Morpho vault APYs below are net of the curator fee. The last column says why a cell is blank or zero; notes below the table.

Deposits backing debt (new columns; Aave v3 Ethereum and Spark only). For each reserve: deposits held by accounts that have the collateral flag on for that asset and more than $1,000 of variable debt in the same pool, rebuilt from aToken and debt-token events (balance x latest index x price). It is account-level, not asset-specific: Aave does not allocate collateral to particular loans, so it is an upper bound on collateral actively backing debt, and on loan-asset rows (e.g. USDC) it means deposits held by indebted accounts. Example: weETH has $3.50B deposits, $3.50B (99.8%) of it in 631 accounts that have debt; those accounts owe $3.13B ($2.67B in ETH-family assets, $0.46B in stablecoins). Core pools only: Aave Prime and EtherFi pools, Horizon and other Aave chains are blank. Balances can differ by up to 1.5% from the reserve-state view. As-of is the last event on each reserve. Cached in dune.d20.result_lending_collateral_backing (about 2.1 credits per manual refresh).

Why cells are blank, zero or marked (counts are over all 3,882 rows in the unified view; the table shows the top 40)

  • 0.00% supply APY on "Collateral asset (not borrowable)" rows (Aave v3 144 rows, $8.9B, of which 85 are exactly 0%; Spark 8; Horizon 6): borrowing is disabled, so nobody pays interest and lenders earn 0%. Aave also shows 0% on Loan-asset reserves that are barely borrowed (Aave v3 5 rows, Spark 3, Morpho 30 Loan-asset markets with under 0.2% borrowed). Old borrow rates are hidden on collateral rows.
  • Blank supply and borrow APY, Morpho collateral rows (641 rows, $9.4B): a Morpho collateral token earns nothing and has no rate; the rate belongs to the loan token row of the same market. Blank rate age on all 1,282 Morpho rows: the rate comes from a snapshot table with no timestamp.
  • Blank rates by design of the data: Euler v2 (1,945 rows; the field exists but is not wired), Maple (1 row, $2.0B; rates are negotiated per loan), Compound v3 collateral (86 rows; no rate on collateral), Fluid and Aave v4 supply APY (113 and 64 rows; only the borrow rate is decoded), Venus (borrow APY blank on 21 of 87 Loan-asset rows with under 6h of index history).
  • Blank borrowed: Aave-style collateral-asset reserves with no debt token (93 rows) show $0.
  • Unpriced assets (no prices.latest price) have no USD value and are skipped, so they never appear as blanks.

Why big deposits earn little. Supply APY is about borrow APY x utilization x (1 - reserve factor), so it needs borrowers. Three groups: (1) collateral assets (not borrowable), about $9.4B on Aave/Spark/Horizon (weETH $3.5B, wstETH $2.2B, rsETH $0.8B): holders earn staking or restaking yield in the token itself, plus points or incentives, and use it as collateral to borrow (weETH holders on Aave Ethereum owe mostly WETH, i.e. looped ETH positions, plus some stablecoins; see the backing columns). (2) Loan-asset reserves nobody borrows, about $10.4B: Aave WBTC $2.7B at 2.1% utilization and 0.00%, cbBTC $1.4B at 1.0%, Spark wstETH $3.35B with zero borrowed. People park BTC and ETH here as a safe place to custody and as collateral, and they do not need the yield. (3) USDe $263M on Aave Ethereum pays 0.23% (4.5% utilization) while its borrow rate is 6.84%, because holders earn the USDe savings rate elsewhere. Healthy stablecoin reserves pay 3 to 5%: Aave USDC $2.4B at 93.5% utilization pays 3.84%, USDT 3.53%. Morpho Base USDC $1.8B pays 5.03% at 90% utilization.

Flows (90 days)

Net flows show the change in supplied and borrowed value implied by events (Aave, Spark, Morpho and Compound v3 via Dune's lending spells). Gross deposit and borrow volumes include loop and bot churn, so read direction from net flows. Gnosis is excluded from flow charts (see Methodology).

Liquidations

Debt repaid by liquidators. Collateral seized excludes Morpho because its collateral prices are unreliable.

Flash loans (30 days)

Morpho flash loans are routing liquidity used by bundlers, so their volume is not comparable with Aave or Spark.

B. The institutional lens

How lending connects to tokenized Treasuries and funds: Aave Horizon (permissioned RWA collateral against open stablecoin liquidity), tokenized-fund collateral on other lenders, access models, and whether borrowing stablecoins against RWA beats the T-bill.

Aave Horizon deep dive

RWA collateral is limited to issuer-allowlisted holders; USDC, RLUSD and GHO can be supplied by anyone and borrowed only against RWA collateral. Caps and LTVs are the latest on-chain events. Supply cap used above 100% means supply is above the cap set by governance.

Permissioned vs permissionless

Access model, size, utilization and average stablecoin borrow cost, all read on-chain. Maple has no borrow cost here because loan rates are negotiated per loan and not decoded.

Tokenized-fund collateral across lenders

Collateral value by asset and venue. Morpho rows also show stablecoin borrowed against that collateral; Aave and Spark rows show supplied value only.

Borrow against RWA: cost and carry

Carry = 1-month T-bill minus the stablecoin borrow APY. Positive carry means the loan costs less than the T-bill earns, before fees and differences between each token's own yield and the T-bill.

C. Coverage, cross-checks and manual entries

The cross-check compares Dune with the DefiLlama reference for each covered protocol, then lists the protocols not covered and why. The manual entries table is everything typed by hand.

Methodology (1/4): Sources, addresses, as-of

Aave-style state 10/26/2026 11:28 AM ET; Fluid, Euler v2, Maple, HyperLend 10/26/2026 12:30 PM ET; Venus, Aave v4, Compound v3 collateral and the unified view 10/26/2026 about 1:40 PM ET; Morpho from the dune.morpho snapshot tables. Flows and liquidations cover 7/28/2026 to 10/25/2026. Prices come from Dune prices.latest unless a fallback is listed in (4/4). All market rows are in one view, dune.d20.result_lending_market_unified (source query 9015253), built from three state views: result_lending_reserve_state (Aave v3, Spark, Horizon), result_lending_other_state (Fluid, Euler, Maple, HyperLend; source query 9015237) and result_lending_more_state (Venus, Aave v4, Compound v3 collateral; source query 9015611).

ItemSourceVerified address or table
Aave v3 poolsaave_v3_multichain decoded tablesEthereum 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2; Base 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5; Arbitrum, Optimism, Polygon, Avalanche 0x794a61358D6845594F94dc1DB02A252b5b4814aD; BNB 0x6807dc923806fE8Fd134338EABCA509979a7e0cB; Gnosis 0xb50201558B00496A145fE76f7424749556E326D8; Scroll 0x11fCfe756c05AD438e312a7fd934381537D3cFfe; Linea 0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac; Plasma 0x925a2A7214Ed92428B5b1B090F80b25700095e12; Mantle 0x458F293454fE0d67EC0655f3672301301DD51422; Sonic 0x5362dBb1e601abF3a4c14c22ffEdA64042E5eAA3; Celo 0x3E59A31363E2ad014dcbc521c4a0d5757d9f3402; zkSync 0x78e30497a3c7527d953c6B1E3541b021A98Ac43c (Aave address book)
Aave Horizonaave_horizon_ethereum decoded tablesPool 0xAe05Cd22df81871bc7cC2a04BeCfb516bFe332C8. Assets: RLUSD, GHO, USDC (borrowable); USCC, JAAA, mGLOBAL, USTB, VBILL, USYC, JTRSY (collateral)
SparkLendspark_protocol_ethereum decoded tablesReserves read from reserve-init events
Borrowable flag (Aave, Spark, Horizon)poolconfigurator_evt_reserveborrowing (Horizon: poolconfiguratorinstance_evt_reserveborrowing)Latest enabled/disabled event per reserve decides Loan asset vs Collateral asset (not borrowable)
Morpho Bluedune.morpho.result_morpho_market_state_extendedMorpho-whitelisted markets only (is_whitelisted)
Morpho vaultsdune.morpho.blue_api_vaults_stateWhitelisted vaults only
Fluidfluid_multichain.fluidliquidity_evt_logoperateLiquidity layer, latest operation per chain and token (6 chains)
Euler v2euler_v2_multichain.evault_evt_vaultstatus and evault_evt_evaultcreatedLatest VaultStatus per vault (cash and total borrows), all vaults ever created (about 2,200)
Maple (Ethereum)maplefinance_v2_ethereum pool_v2 deposit and transfer events, loan-manager principalOutUpdated eventsPools 0x80ac24aa929eaf5013f6436cda2a7ba190f5cc0b (syrupUSDC), 0x356b8d89c1e1239cbbb9de4815c39a1474d5ba7d (syrupUSDT), 0xc39a5a616f0ad1ff45077fa2de3f79ab8eb8b8b9, 0x87b65c4aaffa76881f9e96f3e7ed945ddfc3cd7a
HyperLend (HyperEVM)hyperlend_hyperevm pool eventsAave v3 fork; balances rebuilt from pool events
Venusvenus_multichain.vtoken_evt_accrueinterest (isolated pools, Ethereum, Arbitrum, Base, opBNB, Optimism, Unichain, zkSync) and venus_bnb.vbep20_bnb_core_evt_accrueinterest, venus_bnb.vbnb_v2_evt_accrueinterest (BNB Core)Latest AccrueInterest per vToken within 30 days; underlying from underlying() call outputs; vBNB 0xA07c5b74C9B40447a954e1466938b865b6BBea36 priced as WBNB
Aave v4 hubsaave_v4_ethereum, aave_v4_arc, aave_v4_avalanche_c, aave_v4_base, aave_v4_optimism hub event tablesEthereum Core 0xCCA852BC40E560ADC3B1CC58CA5B55638CE826C9, Prime 0x943827DCA022D0F354A8A8C332DA1E5EB9F9F931, Plus 0x06002E9C4412CB7814A791EA3666D905871E536A, Global dollar 0x62D63197660C080236193CA60B70E49A08E90368; Arc Core 0x17288DFC86205301064577B98B02B81017E6F79C; Avalanche Core 0xD07369FAE4A5BB13C9CE446B052C7867B1ABDF6E; Base Equities 0xA4D5947EB727A052BAE69C593FFC84247EC9864E; Optimism EtherFi 0x66753C4E3FC84F1ED0E3C267C927284E9D90C572
Compound v3 (collateral only)lending.supply (spell, project compound v3), compound_v3_multichain Comet eventsEthereum USDC 0xC3D688B66703497DAA19211EEDFF47F25384CDC3, USDT 0x3AFDC9BCA9213A35503B077A6072F3D0D5AB0840, WETH 0xA17581A9E3356D9A858B789D68B4D866E593AE94; Arbitrum USDC 0x9C4EC768C28520B50860EA7A15BD7213A9FF58BF; Base USDC 0xB125E6687D4313864E53DF431D5425969C15EB2F, WETH 0x46E6B214B524310239732D51387075E0E70970BF; Polygon USDC 0xF25212E676D1F7F89CD72FFEE66158F541246445 (plus small and deprecated comets)
Flows and liquidationslending.supply, lending.borrow (Dune spells)Filters on blockchain, project and block_month on every scan
Flash loanslending.flashloansSame filters
Horizon caps, LTV, access modelpoolconfiguratorinstance_evt_supplycapchanged, _borrowcapchanged, _collateralconfigurationchanged; Aave docs (Horizon)Latest event per asset; RWA collateral is limited to issuer-allowlisted holders

Methodology (2/4): Exact methods

Definitions. Labels: the dashboard shows the internal role loan as "Loan asset" and collateral-only as "Collateral asset (not borrowable)"; queries still use the internal keys. Loan-asset supply = deposits in assets that can be borrowed (Aave-style reserves with borrowing enabled, Fluid, Euler and HyperLend assets with borrows, Maple pools, the loan token of each Morpho market). Collateral asset (not borrowable) = everything else (reserves with borrowing disabled, the collateral token of each Morpho market). Utilization = borrowed on loan assets / supply on loan assets (B / A; worked example in section A). Total deposits = loan-asset supply + collateral-asset deposits.

Why Morpho Base showed 90% utilization with $2.2B borrowed of $6.5B "supplied". Both numbers were right but had different denominators: the old "supplied" included collateral ($4.1B), while utilization used lender supply only ($2.46B). $2.2B borrowed / $2.46B lender supply = 90%, which is also the target of Morpho's interest rate model. Now every table and chart splits loan-asset supply and collateral-asset deposits, and utilization always uses loan-asset supply.

Aave v3, SparkLend and Horizon state (view dune.d20.result_lending_reserve_state, source query 9014674). Dune has no decoded balance table for Aave, so supplied and borrowed are rebuilt from events:

  1. Reserves and their aToken, variable debt token and asset come from the reserve-init events.
  2. Scaled balance = sum over aToken Mint events of (value - balanceIncrease) / index, minus sum over Burn events of (value + balanceIncrease) / index. Tokens = scaled balance x the latest liquidity index from the pool's ReserveDataUpdated event. Debt uses the variable debt token events and the variable borrow index.
  3. Horizon has no debt-token event tables, so debt is rebuilt from pool Borrow, Repay and LiquidationCall events using the index from the ReserveDataUpdated event in the same transaction.
  4. Rates: latest ReserveDataUpdated per reserve are APRs in ray (1e27). APY = exp(APR) - 1 (continuous compounding, the standard way to show Aave's APY). Plasma reads the aave_v3_plasma rate table. The rates were spot-checked against lending.market.
  5. USD = tokens x price. Horizon uses the Aave oracle getAssetPrice (last 30 days); other reserves use prices.latest.
  6. Fixes found while validating: BNB aToken events appear twice in the decoded tables (deduplicated by tx hash and event index); Mantle debt events are only in the aToken tables (filtered to debt-token addresses).

Morpho Blue. One row per market for the loan leg (lender supply, borrowed) and one for the collateral leg. Rates in the source table are annualized APRs; the dashboard converts them with exp(APR) - 1 (previously they were shown as APR; checked against Morpho's public API for one market). Markets with supply above $100B are dropped as price errors.

Fluid (view dune.d20.result_lending_other_state). The liquidity layer emits LogOperate on every deposit, borrow, withdraw and repay. The latest event per chain and token carries packed storage: totalAmounts (supply and borrow, each split into interest-bearing and interest-free, stored as 64-bit BigNumbers: coefficient = x >> 8, value = coefficient x 2^(x & 255)) and exchangePricesAndConfig (supply and borrow exchange prices, 12-decimal). Interest-bearing amounts are multiplied by the exchange price. Native-token rows are priced with the chain's wrapped token.

Euler v2. Latest VaultStatus event per vault gives cash and total borrows in asset units; supply = cash + borrows. The same event has an interestRate field (per-second borrow rate, 1e27 scale) that is not wired in yet, so Euler rates are blank. The vault's asset comes from EVaultCreated. All vaults ever created are read (a vault's last status event can be more than 60 days old and still be its current state).

Maple (Ethereum). Pool supply = share supply (mints and burns from Transfer events) x assets-per-share (latest Deposit event). Borrowed = principalOut from the latest event of each loan manager. Check: each pool's assets line up with one loan manager's principal out (matched by size, the manager-to-pool map is not decoded): $337M vs $337M, $312M vs $312M, $982M vs $972M, $321M vs $301M. Maple pools are nearly fully deployed, so utilization is about 99%. Loan rates are negotiated per loan and not decoded.

HyperLend. Only one aToken is decoded, so balances are rebuilt from pool Supply, Withdraw, Borrow, Repay, LiquidationCall and MintedToTreasury events divided by the reserve index from the same transaction, then multiplied by the index extrapolated to now (index x (1 + rate x seconds / year)).

Venus (view dune.d20.result_lending_more_state, source query 9015611). Venus is Compound v2 style. The latest AccrueInterest event per vToken (within 30 days) carries cashPrior and totalBorrows in underlying units; supply = cash + borrows (reserves are not subtracted) and borrowed = totalBorrows. The underlying token comes from the vToken underlying() call outputs (BNB Core calls are filtered to the last 3 days to avoid a 48M-row scan). Borrow APR = ln(latest borrow index / index at least 6 hours earlier) annualized by seconds, APY = exp(APR) - 1. Supply APR = borrow APR x (borrows / (cash + borrows)) x (1 - reserve factor), with the latest reserve factor per vToken from the NewReserveFactor events (30% on BTCB); it is a derived estimate, not Venus's own exchange-rate rate, and XVS rewards are excluded. Result vs DefiLlama Core Pool: supplied -3.3%, borrowed +0.1% (Dune also includes isolated pools).

Aave v4 (same view). v4 has liquidity hubs; each asset is accounted in shares. Supplied = net Add shares minus Remove shares, times assets-per-share from the latest Add or Remove event with at least 1e6 raw units (a ratio proxy; dust events are ignored). Borrowed = net Draw drawn shares minus Restore drawn shares, times the latest drawn index (ray) from UpdateAsset. Borrow rate = the latest drawn rate (premium rate on top is not included). Assets without a price in prices.latest are skipped (23 of 87 asset rows, 18 of them in the Optimism EtherFi hub). Premium debt and deficits are not included. Loan asset vs Collateral asset follows borrowed > 0. Result vs DefiLlama: supplied -1.7%, borrowed +9.1% (not explained).

Compound v3: exact collateral legs only. Collateral is net SupplyCollateral minus WithdrawCollateral per comet and token (from the lending.supply spell, all history from 2022), priced at prices.latest. It totals about $1,170M across 11 comets on 5 chains (Ethereum $1,115M) and is shown as a collateral asset (collateral cannot be borrowed in Comet). The base asset (USDC, USDT, WETH) is not shown, for these measured reasons: (1) Comet stores principal and multiplies by a base index; its events (Supply, Withdraw, Transfer, AbsorbDebt, BuyCollateral) report present-value amounts and never emit the index, so a replay of event amounts gives nominal flows without accrued interest. (2) That understates: Ethereum USDC base supply from flows is $287M against about $390M from the last on-chain totalSupply call (26% low); across all comets, flows give $555M base supply and $463M borrowed, and with exact collateral the supplied-equivalent is 14% below DefiLlama and borrowed is 28% below. (3) Anchors cannot fix it for all comets: the decoded totalSupply and totalBorrow call outputs exist for only a few comets and days. (4) Compounding monthly flows at a flat rate needed about 6% to match the one anchor, above any plausible average supply APY, so it would be a fit to one data point, not a measurement. (5) Replaying the on-chain rate model needs per-comet kink and slope parameters that are spread over several configurator event tables with different chain coverage and governance updates. An exact rebuild needs the index at each event (raw-log or state replay), which is outside the cost cap. Since no estimate reached the 10% bar, base legs are left out rather than shown as a number of unknown quality.

Flows viewdune.d20.result_lending_flows_daily_90d (source query 9014819). Daily rows by chain, protocol, event kind and (for liquidations) asset, from lending.supply and lending.borrow, projects aave, spark, morpho and compound, 19 chains. Events above $500M are dropped as price errors. Kinds: deposit, withdraw, repay_with_atokens, borrow, repay, liquidation collateral seized, liquidation debt repaid.

  • Net supplied = deposits - withdrawals - repay-with-aTokens - liquidated collateral (Morpho collateral excluded, its collateral prices are unreliable). The repay-with-aTokens term matters: without it Aave net supply is overstated by about $36B over 90 days.
  • Net borrowed = borrows - repays - liquidated debt.
  • Gnosis is excluded from flow charts: Aave on Gnosis shows $58B of deposits and $36B of borrows over 90 days on a market that holds $64M, which is bot churn. It stays in the view.
  • Gross volumes include flash-loan loops and round trips, so read direction from net flows.
  • Horizon daily flows come from the decoded pool events and are valued at today's price.

Refresh. Re-execute source queries 9014674 (Aave-style state), 9015237 (other protocols), 9015611 (Venus, Aave v4, Compound v3 collateral) and 9014819 (flows), refresh the views in that order, then refresh result_lending_market_unified. Measured cost: state view about 10 credits, other-protocol view about 3, Venus/Aave v4/Compound view about 2, unified view about 3; every chart query is free or under 3 credits.

Methodology (3/4): APY formulas, cross-checks, known gaps and coverage

How supply and borrow APY are computed (per venue)

All rates are the latest spot value per market (not an average), converted to APY with APY = exp(APR) - 1, and exclude token rewards and incentives. APR = the venue's own annualized rate.

VenueBorrow APYSupply APYWorked example (real row, 10/26/2026)
Aave v3, Spark, Horizonexp(variableBorrowRate / 1e27) - 1 from the latest ReserveDataUpdated eventexp(liquidityRate / 1e27) - 1, already net of the reserve factorEthereum USDC: borrow APR 4.48% gives 4.58%; supply APR 3.77% gives 3.84%; utilization 93.5%
HyperLend (Aave fork)same as Aavesame as AaveWHYPE: borrow APR 0.980% gives 0.985%; supply APR 0.615% gives 0.617%
Morpho Blueexp(borrow_rate) - 1, annualized APR from the market state tableexp(supply_rate) - 1 from the same table; about borrow x utilization (fee near 0)Ethereum cbBTC/USDC 86%: borrow 0.04891 gives 5.01%; supply 0.04406 gives 4.50%; utilization 90.1%, 0.04891 x 0.9008 = 0.04406
Fluidexp(APR) - 1, APR = low 16 bits of exchangePricesAndConfig in 0.01% units (715 means 7.15%)not decoded (blank)Ethereum USDC: 7.15% APR gives 7.41%
Aave v4exp(drawn rate / 1e27) - 1 from the latest UpdateAsset eventnot decoded (blank)Arc USDC: 3.486% APR gives 3.547%
Venusexp(APR) - 1, APR = ln(latest borrow index / index at least 6h earlier) x 31,536,000 / secondsAPR = borrow APR x borrows / (cash + borrows) x (1 - reserve factor), then exp - 1BNB BTCB: borrow APR 1.087% x utilization 22.85% x (1 - 30%) = 0.174%
Euler v2not wired (VaultStatus.interestRate exists)not wiredblank
Maplenegotiated per loan, not decodednot decodedblank

Rate age = hours since the rate's source event. There is no forward-fill: Aave, Fluid and Aave v4 rates change only when the reserve is touched, so a quiet reserve shows an old rate. Morpho has no timestamp. Not truly equivalent: (1) Venus borrow is a trailing realized rate over at least 6 hours, the others are instantaneous spot rates; (2) Venus supply is a derived estimate that ignores reserves in utilization and uses today's reserve factor; (3) Fluid, Aave v4 and Euler have a borrow rate but no supply rate; (4) Aave v4 excludes the premium rate on top of the drawn rate; (5) Morpho market supply rate is before vault curator fees (vault APYs are net of them); (6) exp(APR) - 1 is the continuous-compounding convention, which matches Morpho and approximates Aave's per-second compounding; (7) staking, restaking, points and token incentives are all excluded, so rows can look worse than the all-in return.

Cross-checks and coverage

DefiLlama's lending TVL is net of borrows, so the cross-check uses supplied-equivalent = TVL + borrowed. DefiLlama is a reference only and is never added to a total. Coverage counter: total Dune deposits vs the DefiLlama Lending category ($82,274M supplied-equivalent on 10/26/2026).

ProtocolDune vs DefiLlama (supplied / borrowed)Why they differ
Aave v3+2.6% / -0.7%Pendle PT tokens priced at par (about $53M), price-source differences. Prime (Lido) and EtherFi instances are not read
SparkLend+0.7% / +0.9%Price differences
Aave Horizon-1.0% / -2.6%VBILL priced at par; JTRSY has no price
Morpho Blue-7.3% / -2.2%Dune counts Morpho-whitelisted markets only; DefiLlama adds newer chains, non-whitelisted markets and idle balances
Fluid+1.5% / +2.1%Different price sources
HyperLend-0.1% / +1.5%Index extrapolation and prices
Maple-26% / +0.4%Borrowed matches. Pool assets match loan-manager principal at pool level (see 2/4), so the supplied gap is most likely pools or chains that DefiLlama counts and Dune does not (not verified)
Euler v2-39% / +9%Borrowed within 9%. The deposit gap is not explained; DefiLlama may count collateral balances outside vault cash
Venus-3.3% / +0.1%DefiLlama reference is Core Pool only; Dune includes isolated pools. Supply APY is derived, not measured
Aave v4-1.7% / +9.1%8 hubs; unpriced assets skipped; premium debt and deficits not included. Borrowed gap not explained
Compound v3-41% / -100%Collateral legs only by design (see 2/4): exact collateral $1,170M, base supply and borrow not shown

Deposits backing debt (reserves table columns). Query 9017010, cached as dune.d20.result_lending_collateral_backing. For every Core-pool reserve of Aave v3 Ethereum (67 reserves) and Spark (18), balances per account are rebuilt from aToken Mint, Burn and BalanceTransfer events (scaled change = (value - balanceIncrease) / index for mints, -(value + balanceIncrease) / index for burns) and variable-debt-token Mint and Burn events, then multiplied by each token's latest index, divided by 10^decimals and priced with the reserve-state view. Tokens are mapped through the Core PoolConfigurator ReserveInitialized list (other pools' tokens in the same decoded schema would overcount debt about 13x). Collateral flag = latest ReserveUsedAsCollateralEnabled or Disabled event per (account, reserve). Tiers: deposits (all holders with at least $1), collateral flag on, and collateral flag on with more than $1,000 of total variable debt (shown in the table). Because Aave does not allocate collateral to specific debts this is account-level and an upper bound; the indicative pro-rata debt per asset is held in the cached view (weETH about $2.8B, about 80% of its value, consistent with ETH-correlated eMode looping). Derived token totals reconcile with the reserve-state view within 1.5% (index staleness). Not covered: Aave Prime and EtherFi pools, atoken-with-delegation reserves, Horizon (no debt-token tables), Aave v3 on other chains (a test run covered Avalanche, Polygon, Monad, Optimism and Gnosis, but on Base, Arbitrum, Plasma, Ink, Linea and Scroll the Core reserve list does not contain the debt tokens, so debt would be silently understated), Morpho, Compound, Euler, Fluid and Venus. Cost: about 2.1 credits per refresh of the Ethereum and Spark view; the refresh is manual.

Not covered, with reasons (also in the coverage table, with DefiLlama reference sizes):

  • Compound v3 base-asset supply and borrow. Not shown; collateral is exact and included. Comet events carry no interest index, so flows understate (base supply -26% on Ethereum USDC vs the on-chain anchor; borrowed -28% vs DefiLlama across all comets). Full reasoning in 2/4.
  • Kamino, Jupiter Lend, Marginfi (Solana). Dune has decoded instruction calls, not reserve or bank state. Probes: counting Kamino borrow instructions cost 2.6 credits for 2 days of one table (a 90-day scan of four instructions is above the cost cap), and rebuilding Kamino liquidity from reserve vault balances cost 22.6 credits and found only about $297M of $2.1B because older reserves are missing from the decoded init table. Jupiter Lend liquidity events are not decoded. Marginfi has deposit and repay events but no bank state. None were included rather than hand-entered.
  • Not built in this pass: JustLend (Tron), Hyperliquid Earn, Lista, Figure, Dolomite, Fira, Cooler, EtherFi Borrowing and about 630 smaller protocols. They are listed as the next candidates.

Other notes. Horizon JTRSY has no price (position near zero). Pendle PT reserves are valued at par. Morpho flash-loan volume is routing liquidity and is not comparable with other protocols. Aave rates update only when a reserve is touched, so quiet reserves show old rates (see "rate age" in the reserves table).

Methodology (4/4): Manual entries (update these)

Everything typed by hand. All market state is computed live from Dune; the table above (query 9014789) shows the same items with as-of dates.

ItemValueWhereAs ofRefresh
1-month T-bill yield4.11%rates query 9014811, carry query 901487210/23/2026weekly, Treasury par yield curve
DefiLlama Lending category total (reference only)$82,274M supplied-equivalent (TVL $51,867M + borrowed $30,407M)headline query 901479410/26/2026weekly, api.llama.fi/protocols
DefiLlama per-protocol values (reference only)11 covered protocols (Compound v3 collateral only) and the not-covered listcross-check query 901489910/26/2026weekly, api.llama.fi/protocols
Price fallbacksVBILL $1.00, USYC $1.141225, Pendle PT at par, stablecoin pools priced at $1.00 for Maple, syrupUSDT and GHO on Mantle priced from other chainsqueries 9014674, 901523710/26/2026when refreshing the state views
Tokenized-fund and institutional-credit symbol listBUIDL, USTB, USYC, USCC, wUSCC, JTRSY, JAAA, ACRED, VBILL, mGLOBAL, mGLO, mGLOeuro, mF-ONE, mM1-USD, mROX, mWIN, wFalconX, AA_FalconXUSDC, XAUt, syrupUSDC, syrupUSDT, syrupUSDGqueries 9014868, 901487210/26/2026when a new tokenized asset appears
Asset-class and access-model labelssymbol patterns and protocol text in the queriesqueries 9014804, 901487310/26/2026when a new class or access model appears
State viewsresult_lending_reserve_state (9014674), result_lending_other_state (9015237), result_lending_more_state (9015611), result_lending_market_unified (9015253)materialized views10/26/2026refresh in that order; no schedule
Flows viewresult_lending_flows_daily_90d (9014819)materialized viewdata through 10/25/2026refresh the view; no schedule