vildX
All posts

DeFi education

How DeFi lending actually generates yield: Aave, Compound, Morpho and the mechanics underneath

Yield on DeFi lending isn't magic, and it isn't a subsidy. It is interest paid by real borrowers for real loans, governed by a curve you can read.

vildX Team
5 min read

"How does DeFi pay 6%?" is the most common question we get. The honest answer is shorter than people expect: someone is paying interest on a loan, and that interest is being paid to you.

This piece walks through how on-chain lending actually works — the same primitive that powers most of the vildX strategy. Once you've seen the mechanics, the yield stops feeling mysterious.

The basic loop

A DeFi lending protocol like Aave or Compound is a smart contract that does three things:

  1. Accepts deposits. Lenders deposit a token (say, USDC) into a pool.
  2. Issues loans. Borrowers post collateral (say, ETH) and borrow against it from the pool.
  3. Collects interest. Borrowers pay interest. That interest accrues to the pool. Lenders' share of the pool grows over time.

No middleman. No discretionary lending decisions. The contract enforces the rules.

Why borrowers pay interest at all

The first thing that confuses newcomers: if a borrower has to post more collateral than they're borrowing, why do they bother borrowing?

Several real reasons:

  • Leverage. Post ETH as collateral, borrow stablecoins, buy more ETH. If ETH rises faster than the interest rate, the trade prints. (When it doesn't, the position gets liquidated, which is where some of the lending protocol's other income comes from.)
  • Liquidity without selling. Hold an asset you don't want to sell (for tax reasons, conviction, locked tokens), borrow against it to fund spending or other trades.
  • Yield arbitrage. Borrow at one rate, deploy elsewhere at a higher rate, capture the spread.
  • Shorting. Borrow an asset, sell it, hope it goes down, buy back cheaper, repay the loan.

In aggregate, there's always significant borrowing demand for stablecoins because the use cases above are real and recurring. That demand is what pays the lender yield.

The interest rate curve

Lending protocols use a utilization curve to set rates dynamically. Utilization is the fraction of deposited funds currently borrowed:

utilization = totalBorrowed / totalSupplied

The interest rate is a function of utilization. The curve has two zones:

  1. Below the kink. Rates increase gently with utilization. The protocol wants utilization to rise toward the kink — that's the efficient zone.
  2. Above the kink. Rates rise sharply. This is the protocol's mechanism to push utilization back down. When utilization gets too high, the pool risks not being able to honor withdrawals; the steep curve incentivizes new lenders to deposit and existing borrowers to repay.

For USDC on Aave, the kink is typically at 90% utilization. Below it, the lending APR might be 3–5%. Above it, the APR jumps quickly — sometimes to 10%+ at full utilization.

This is why DeFi lending rates can change daily without any committee meeting. It's a pure function of supply and demand.

Why the rate the lender sees is lower than the borrower pays

The full borrower rate isn't paid to lenders. The protocol takes a small spread (the "reserve factor") to fund insurance reserves and DAO treasury. Roughly:

lender_rate = borrower_rate × utilization × (1 - reserve_factor)

Two non-obvious things in that equation:

  1. Utilization multiplies the lender rate. Only the borrowed portion of the pool is paying interest. If utilization is 50%, half of your deposit is sitting idle. That's why lender rates trend higher when utilization is higher.
  2. The reserve factor is a real cost. On USDC it's typically 10%. A 6% borrower rate at 90% utilization with a 10% reserve factor pays the lender about 6% × 0.90 × 0.90 = 4.86%.

This is the rate you'd see in the Aave UI for supplying USDC, and it's the rate the vildX strategy is capturing when it allocates to Aave.

What Compound and Morpho add on top

Compound is conceptually identical to Aave, with a different curve, a different governance structure, and historically more conservative collateral listings. The mechanics are the same: deposit, borrow, accrue interest via the curve.

Morpho is a more interesting case. It sits on top of Aave and Compound and matches lenders directly with borrowers in a peer-to-peer book. When a match is found, both sides get a better rate than the underlying pool would offer — the borrower pays less, the lender earns more, and Morpho captures none of the spread. When no match is available, funds default back to the underlying pool, so the worst-case rate is the pool rate.

The net effect: Morpho's lending rate is usually slightly above Aave's for the same asset. That's the value the matching engine extracts, paid back to users.

What can go wrong

Lending is one of the better-understood primitives in DeFi, but it isn't risk-free.

  • Bad debt. If a borrower's position falls below collateralization and isn't liquidated fast enough (oracle delays, network congestion, illiquid collateral), the protocol can accumulate bad debt. Lenders eat the loss proportionally.
  • Oracle manipulation. The protocol prices collateral using on-chain oracles. A manipulated oracle can let an attacker borrow more than their collateral should permit.
  • Frozen withdrawals. At 100% utilization, lenders can't withdraw until borrowers repay. This is rare on major pools but has happened during stress events.
  • Governance risk. Parameters like collateralization ratios and reserve factors are set by governance. A bad governance decision is a non-zero risk.

We talk about all of these — and how a managed strategy mitigates them — in smart-contract risk.

What this means for your yield

When the vildX strategy quotes 5–7% APY, a significant fraction is coming from exactly this primitive: lenders supplying stablecoins to Aave, Compound, and Morpho, borrowers paying interest, and the strategy capturing the lender side of the spread. The yield is real, it's auditable on-chain at any moment, and it's set by market forces rather than promised by a counterparty.

The full strategy isn't just lending — Curve adds a different income source we cover in liquidity provision on Curve — but lending is the largest and most stable piece of the blend.

Ready when you are

Start earning in under five minutes.

Download the vildX app, connect any standard wallet, and put your stablecoins to work. No crypto knowledge required.