Learning paths
Start here
Each path puts the general mechanism first, then the protocol that implements it, then the version guide. Pick the question you came with, or browse every question and the cross-protocol comparisons. You do not need to read Solidity: code appears only so a claim can be checked.
How on-chain lending works
From a utilization-priced pool to Aave’s V3 Pool and V4 hub, Compound’s single-base-asset markets, then isolated markets with Morpho and a capital allocator with Spark.
- Lending pools and utilization
- Interest-rate models
- Collateral and liquidation
- On-chain accounting
- Aave
- Aave from the V3 Pool to the V4 hub
- Compound
- Compound v2 and Compound III
- Isolated markets and curation
- Morpho
- Morpho versions: Blue, Vaults V2 and Midnight
- Euler
- Euler vault types: governed, escrow, finalized and Earn
- Spark
- Spark Savings and liquidity intents
How on-chain exchanges price trades
From the constant-product rule to concentrated liquidity, Uniswap v4, Curve and Balancer’s Vault.
How collateralized stablecoins work
Vaults, debt and liquidation in Maker, what changed with Sky, and the synthetic dollar built on funding rates.
How staking and restaking work
Shares, rebases and the withdrawal queue with Lido, then restaking, operator sets and slashing with EigenLayer.
How yield is split and traded
Principal and yield tokens, fixed rates, and what it takes to use a maturing token as collateral.
How an on-chain exchange runs perpetuals
An order book and margin engine on its own chain, a validator-run oracle, and the funding rate that synthetic dollars build on.
Engineering and risk
Composability, flash settlement, oracles, upgrades and the assumptions left over.