DeFi Operator Path
Stage 3 of 7
On This Page
PART 1: The Big Idea
PART 2: AMM Basics (Automated Market Makers)
PART 3: Liquidity Providers (LPs)
PART 4: Different AMM Designs
PART 5: DeFi Protocol Types
PART 6: Role of Oracles
PART 7: Collateralization
PART 8: How Everything Connects
PART 9: Where People Get It Wrong
Key Takeaways
• AMMs replace traditional buyers & sellers
• Liquidity pools determine price
• LPs earn fees but take risks
• Lending requires over-collateralization
• Oracles feed critical price data
• Everything in DeFi is interconnected
Lesson
3.1
Protocol Fundamentals
What You’ll Learn
• How AMMs replace traditional exchanges
• How staking, lending, and liquidity pools work
• Why oracles and collateral are critical
• How value actually moves inside DeFi systems
This lesson teaches you how DeFi actually works under the hood
PART 1: The Big Idea
Traditional Finance:
Buyers & sellers match (order books)
DeFi:
There are no direct buyers and sellers
Instead:
You trade against liquidity pools
PART 2: AMM Basics (Automated Market Makers)
What is an AMM?
A system that allows trading without a counterparty
Key Protocols:
Uniswap
Curve Finance
Balancer
How AMMs Work
The Core Formula:
x⋅y=k
Meaning:
x = Token A
y = Token B
k = constant
What happens when you trade?
Example:
You swap ETH → USDC
👉 You add ETH to the pool 👉 You remove USDC from the pool
Result:
ETH price goes up
USDC price goes down
Key Insight:
Price is determined by pool balance, not market orders
PART 3: Liquidity Providers (LPs)
Who provides the liquidity?
👉 Users like you
What LPs do:
Deposit 2 tokens into a pool
Example:
ETH + USDC
What LPs earn:
Trading fees
Incentives (sometimes)
Risk:
Impermanent loss (covered later)
Key Insight:
LPs are the backbone of DeFi markets
PART 4: Different AMM Designs
Uniswap
General-purpose
Works for most tokens
Curve Finance
Optimized for stablecoins
Low slippage
Balancer
Multi-token pools
Flexible allocations
Key Insight:
Different AMMs = different use cases
PART 5: DeFi Protocol Types
1. Staking
What is staking?
Lock tokens to:
Secure a network
Earn rewards
Example:
Stake ETH → earn yield
Risks:
Lockup periods
Slashing (in some systems)
2. Lending & Borrowing
How it works:
Step 1: Deposit collateral
Step 2: Borrow against it
Example:
Deposit $1000 ETH → borrow $500 USDC
Key Rule:
You must over-collateralize
Risk:
Liquidation
If collateral drops → position gets closed
Key Insight:
You don’t borrow money—you unlock liquidity
3. Liquidity Providing (LP)
Already covered—but now deeper:
You provide:
Token A
Token B
You earn:
Trading fees
Yield farming rewards
Risks:
Impermanent loss
Low volume = low returns
PART 6: Role of Oracles
Problem:
Smart contracts don’t know real-world prices
Solution: Oracles
What is an oracle?
A system that feeds external data into blockchain
Example:
Chainlink
What oracles provide:
Price feeds
Market data
Risk:
Wrong price data
→ Can cause liquidations or exploits
Key Insight:
If oracle fails → entire protocol can fail
PART 7: Collateralization
Core concept of DeFi:
Everything is backed by collateral
Example:
Deposit $1000 → borrow $500
Why over-collateralized?
Because:
No credit checks exist
Risk:
Liquidation
If your collateral falls below threshold
Key Insight:
Collateral = your safety buffer
PART 8: How Everything Connects
Full System Flow:
AMMs → enable trading
LPs → provide liquidity
Lending → unlock capital
Oracles → provide pricing
Collateral → ensures safety
Big Picture:
DeFi is a system of interconnected mechanisms
PART 9: Where People Get It Wrong
Mistake 1:
Thinking yield comes from nowhere
Mistake 2:
Ignoring how protocols generate revenue
Mistake 3:
Using protocols without understanding mechanics
Truth:
If you don’t understand the system you ARE the risk
Operator-Level Mental Models
“Where does the yield come from?”
“Who is paying me?”
“What breaks this system?”
Practice Mission
Go to a DEX (like Uniswap)
Analyze:
Pool size
Token ratio
Trading volume
Simulate:
Add liquidity (mentally or small test)
Observe fee generation
Final Thought
DeFi isn’t magic It’s a system of mechanics, incentives, and risk
