🌾 Yield Farming Internals

Yield farming is the practice of deploying capital across DeFi protocols to earn returns — from swap fees as a liquidity provider, to governance token rewards, to complex multi-protocol strategies. Understanding the math behind LP positions, impermanent loss, and compounding is essential for anyone putting capital to work in DeFi.

📊 Yield Sources in DeFi

💧
Swap Fees
LPs earn a share of trading fees (0.01%–1%) proportional to their pool share
🎁
Token Incentives
Protocols distribute governance tokens to bootstrap liquidity (UNI, CRV, SUSHI)
🏦
Lending Interest
Supply assets to Aave/Compound and earn variable interest from borrowers
🔄
Staking Yield
Earn consensus rewards by staking ETH via Lido, Rocket Pool, or native staking
● Live

Impermanent Loss

Why providing liquidity can lose you money — interactive calculator showing IL vs price divergence

● Live

LP Math

How liquidity pool shares work, fee accrual, and the constant product formula x·y=k visualized

● Live

Auto-Compounding

Manual harvesting vs auto-compounding vaults — Yearn, Beefy, and the math behind compound yield

● Live

Yearn Finance

How Yearn's auto-yield vaults work — strategy allocation across Curve/Aave/Compound, yToken mechanics, and fee structure

● Live

Yearn vs Manual

Is Yearn automation worth the fees? Side-by-side calculator comparing gas costs, compounding frequency, and net returns