Protocols
Not just reading the docs — reading the source. Tearing major DeFi protocols apart line by line at the contract level: architecture, math models, security mechanisms and version evolution.
Uni
★ Featured
Uniswap Full-Version Source Walkthrough
From V2 constant-product, to V3 concentrated liquidity and the Tick system, to the V4 Hooks architecture — 40+ method-by-method breakdowns.
//V3 Source Series
01
Architecture Deep Dive
Core contract layering, call relationships and design trade-offs
02
Math Models & Algorithms
sqrtPriceX96, liquidity and fixed-point arithmetic
03
Price & Tick System
tick spacing and the cross-tick swap implementation
04
Liquidity Management
positions, mint/burn and fee accrual
05
Swap Mechanism Deep Dive
The full state-transition path of a single swap
06
Security & Oracle
Reentrancy protection, the TWAP oracle and flash loans