OPCIONARIO Enciclopedia de Opciones
opcionsigma.com

DeFi Liquidity Pools (AMMs)

EN: DeFi Liquidity Pools / AMM / Uniswap / Curve PT: Pools de Liquidez DeFi

El mecanismo que reemplaza orderbooks en DeFi — LPs aportan capital a pools, traders swap contra ellos, fees se distribuyen. Uniswap V3 (concentrated liquidity), Curve (stables), Balancer (multi-asset). Impermanent loss es el risk principal. $100B+ TVL combined. Entender AMMs es entender el 95% de DeFi.

Neutral Fuerza: Alta Tasa histórica: AMMs son infrastructure fundamental de DeFi; stable LPs consistentemente profitable; volatile LPs retail net-losers frecuentemente Confirmación: Recomendada Yield generation; portfolio diversification; DeFi yield strategies; professional liquidity provision; stablecoin treasury management.

Qué son Liquidity Pools

Los Liquidity Pools (LPs) son contratos inteligentes que contienen reservas de tokens utilizados para facilitar trading peer-to-contract. Son la innovación fundamental que hizo posible DeFi trading. Replacement revolucionario para orderbook-based trading — user no necesita contraparte especifica para comerciar. Mecánica básica (AMM — Automated Market Maker): (1) Liquidity provider (LP) deposita pair of tokens (ej. ETH + USDC) en pool. (2) Recibe LP tokens representing share del pool. (3) Traders swap tokens against pool. Cada swap ajusta ratio y por tanto precio. (4) Trading fees (typically 0.05-1%) se distribuyen proporcionalmente a LPs. (5) Withdraw: LP burn LP tokens, receive share of pool (composition may differ from initial deposit due to price movements). Formula clásica (Uniswap V2): x × y = k (constant product formula). Donde x = cantidad token A, y = cantidad token B, k = constante. Cuando alguien compra token A, y debe subir para mantener k constante, lo cual implica que el precio de A subió. Historical evolution: Uniswap V1 (2018): primera implementación AMM popular. ETH pairs only. Uniswap V2 (2020): general ERC-20 pairs. Unleashed DeFi summer. Curve (2020): specialized for stablecoins. Lower slippage. Balancer (2020): multi-asset pools (up to 8 tokens). Customizable weights. Uniswap V3 (2021): revolucionary concentrated liquidity. LPs choose price range para capital. 4000x efficiency improvement for some pairs. Uniswap V4 (2024): hooks customizables, advanced features. Market share 2024-2025: Uniswap (V2 + V3): $5B+ TVL, $2B+ daily volume. Dominant DEX. Curve: $2B TVL, specialist in stables. Balancer: $1B TVL, multi-asset. PancakeSwap: $2B TVL, BNB Chain y expanding. Aerodrome (Base): $1.5B TVL, Base-native. Velodrome (Optimism): similar. Combined DEX landscape: $20B+ TVL, processes hundreds of millions daily. Fundamental infrastructure of DeFi.

DeFi Liquidity Pools — AMM Mechanics y IL Magnitude Uniswap V2: x × y = k (constant product) Impermanent Loss Magnitude (price movement): ±5% → 0.06% ±25% → 0.6% ±50% (1.5x) → 2% ±100% (2x) → 5.7% ±200% → 13% ±400% → 25% Stable LPs (3-8%) Curve 3Pool USDC/USDT/DAI IL minimal · Safe Correlated (5-15%) stETH/ETH wBTC/ETH Moderate IL V3 Active (20-200%) Narrow ranges Uniswap V3 Recenter weekly Volatile (50%+) Memecoin pairs New tokens IL devastating Uniswap V3 concentrated liquidity: 4000x efficiency pero requires active management 80% retail V3 LPs pierden vs just holding después de fees · Stick to stables + aggregators

Uniswap V3 y Concentrated Liquidity

Uniswap V3 (May 2021) revolucionó AMMs con concentrated liquidity. Problema que resolvía: en V2, liquidity was spread across full price range (0 to infinity). Most trading happens en narrow price range, so most capital was "wasted" — sitting en price levels nunca traded. Capital inefficient. Solution V3: LPs can specify price range para proveer liquidity. Ejemplo: ETH trading at $3,000. LP provides 1 ETH + 3,000 USDC only for range $2,800-$3,200. Capital concentrated here. All trading within range uses their liquidity (earning fees). Efficiency improvement: up to 4000x more capital efficient. Same fees with 1/4000 the capital. Dramatic yields for active LPs. But complexity increased: Active management required: if price moves out of LP range, LP stops earning fees. Must "recenter" position. Out-of-range positions: only hold one asset (not both). Converted to whichever side price moved to. Impermanent loss amplified: concentrating capital amplifies IL when price moves. Fee tiers: V3 introduced multiple fee tiers per pool. 0.05%: stablecoin pairs (USDC/DAI). 0.30%: standard pairs (ETH/USDC). 1%: exotic pairs (niche tokens). 0.01%: added later for stables. LPs choose tier based on risk/volume expectations. Strategies: (1) Narrow range LP: aggressive. High fees, high IL risk. Requires active management. Example: ETH/USDC narrow range ±2% around market price. Fees 200-500% APR potential, pero requires re-centering weekly. (2) Wide range LP: conservative. Lower fees, less IL, passive. Example: ETH/USDC ±20% around market. Fees 20-40% APR, managed monthly. (3) Range orders: single-sided LP. If range entirely above current price, acts as limit sell order. If below, limit buy. Advanced technique. (4) JIT liquidity (Just-In-Time): MEV bots provide liquidity for single block before expected large trade, removing after. Extracts fees without IL. Controversial. LP managers: services like Arrakis, Gamma, Charm automate V3 LP management. Retail accessible. 10-30% APY typical. Tradeoff: management fees.

Impermanent Loss en Detalle

El Impermanent Loss (IL) es el risk más importante y mal entendido de LP. Definición: IL ocurre cuando el precio relativo de los tokens en el pool cambia vs. el momento del deposit. LP ends up with more of the losing token, less of the winning. Compared to just holding the tokens, LP underperforms. Ejemplo numérico (Uniswap V2, 50/50 pool): deposit 1 ETH + $3,000 USDC when ETH = $3,000. Pool value: $6,000. If ETH appreciates to $6,000 (2x): without LP, holder has 1 ETH ($6,000) + $3,000 = $9,000. With LP, AMM rebalances: pool now has 0.707 ETH + $4,243 USDC = $8,486. IL = $514 ($9,000 - $8,486), o 5.7% less value. Pero trading fees offset parcial o completamente: si pool earned $500 fees during period, net LP return = -$14 (barely negative) vs. +$3,000 holder. Usually fees don't fully offset IL during large moves. Universal truth: LP profitable when IL < fees earned. IL worse para higher volatility pairs. Stable pairs (USDC/USDT): minimal IL. Correlated pairs (wBTC/ETH): low IL. Uncorrelated pairs: high IL. Volatile pairs: extreme IL risk. Magnitude table: ±5% price change: IL ~0.06%. Trivial. ±25%: IL ~0.6%. Modest. ±50% (1.5x move): IL ~2%. Significant. ±100% (2x move): IL ~5.7%. Major. ±200% (3x): IL ~13%. Catastrophic. ±400% (5x): IL ~25%. Devastating. IL en V3 concentrated liquidity: worse. Concentrating capital amplifies IL when price exits range. If price moves 10% and LP range was ±5%, position is 100% converted to losing token. Worse than V2 equivalent. Mitigation strategies: (1) Stable pairs: low IL inherently. USDC/USDT, DAI/FRAX. 3-8% APY, safe. (2) Correlated pairs: stETH/ETH, wBTC/ETH. Similar price movements reduce IL. (3) High-fee tiers: 1% fee tier pairs earn more to offset IL. But lower volume. (4) Short timeframes: provide liquidity briefly, exit before major moves. Active management. (5) Hedged LP: simultaneously short one token via perps = offset exposure. Delta-neutral LP. Complex. (6) IL insurance: some protocols offer (Bancor v3 tried, struggled). Generally cost-prohibitive. Reality check: avg retail LP en Uniswap V3 slight net loss vs holding after fees. Only sophisticated active managers consistently profitable. Most retail should stick to stablecoin pools where IL minimal.

Curve, Balancer, y Specialized AMMs

Beyond Uniswap, specialized AMMs optimize for specific use cases. Curve Finance: specialized for stablecoins y similar-value assets. StableSwap formula: hybrid between constant product y constant sum. Near-zero slippage for similar-value pairs. Use cases: USDC/USDT/DAI swaps (3pool), stETH/ETH, wBTC/renBTC. Volumes: $100M+ daily. Major users: arbitrageurs, DeFi protocols, yield aggregators. Governance: CRV token + veCRV (vote-escrowed) model. Locked CRV earns higher yields, directs protocol fees. TVL: $2B+. "Curve wars": 2021-2022 — protocols competed for CRV voting power to direct emissions to their pools. Convex Finance dominated. Novel governance dynamic. Balancer: Multi-asset pools: up to 8 tokens per pool. Custom weights: not restricted to 50/50. Example: 80% ETH / 20% USDC. Use cases: index-like exposure, custom portfolios, LBPs (Liquidity Bootstrapping Pools for new token launches). Managed pools: weights can change over time. Complex strategies possible. TVL: $1B+. Innovation: Balancer v2 unified vault architecture reduced gas costs 50%+. Aerodrome/Velodrome: Solidly fork: revolutionary ve(3,3) model by Andre Cronje. Locked governance token: veAERO, veVELO. Voters direct emissions to pools. Bribes market: protocols pay voters to direct emissions their way. Use cases: bribes-optimized LP strategies. Pools pay above-market yields. TVL: Aerodrome $1.5B on Base, Velodrome $500M on Optimism. Maverick Protocol: innovation 2023. Dynamic liquidity that moves with price automatically. Reduces IL vs traditional LPs. TVL: growing. Differentiated offering. Ambient (Crocswap): concentrated liquidity like V3 but different math. TVL $200M+. Kyber DMM: dynamic market maker, adjust curves. Niche. PancakeSwap V3: BNB Chain's Uniswap clone con concentrated liquidity. $2B TVL. Dominant on BNB. Choosing right DEX: Stablecoin swaps: Curve wins. Major pairs (ETH/USDC): Uniswap V3 typically best liquidity. Exotic tokens: Uniswap V3 (via aggregators like 1inch). Custom portfolios: Balancer. Bribes/yields: Aerodrome, Velodrome. BNB Chain: PancakeSwap. Low-slippage stables: Curve or PancakeSwap. Aggregators: 1inch, Matcha, ParaSwap route trades across multiple DEXs for best price. Always use aggregators for swaps >$1K. Save 0.1-1% typically.

LP Strategies y Risk Management

El LP trading es arte específico con risk management crítico. Strategy 1: Stablecoin LP (conservative): pools like Curve 3Pool (USDC/USDT/DAI), Uniswap V3 0.01% tier USDC/USDT. APY: 3-8%. IL minimal. Smart contract risk only. Recommended allocation: 30-50% of "DeFi yield" portion of portfolio. Proven, boring, consistent. Strategy 2: Correlated asset LP: stETH/ETH pools (Curve), wBTC/BTC wrapped pools. APY: 5-15%. IL moderate (assets correlated). Harvest staking yields + LP fees simultaneously. Recommended 10-20% allocation. Strategy 3: V3 concentrated LP active: narrow ranges para major pairs (ETH/USDC). APY: 20-200% potential. Requires active re-centering (weekly minimum). High IL risk. Use Arrakis, Gamma, Charm for automation. Recommended 5-15% allocation for sophisticated users. Strategy 4: Blue chip LP: UNI/ETH, AAVE/ETH on Uniswap V3. Medium-high APY (30-80%). Directional exposure. Recommended small allocation (2-5%). Strategy 5: LBP participation: Balancer Liquidity Bootstrapping Pools for new token launches. Provide liquidity at token launch, earn high initial APY, often receive airdrops. Speculative. 1-3% allocation max. Strategy 6: Delta-neutral LP: provide liquidity long + short perpetual hedge. Remove directional exposure. Earn pure fees + funding. Complex. Requires sophisticated tools (dHedge, Jupiter Perps). 20-50% APY possible. 5-10% allocation for experienced users. Strategy 7: Yield aggregator LPs: Yearn, Beefy, Convex route LP position across multiple strategies. Simple for user, professionally managed. APY 10-30%. 10-20% allocation. Risk monitoring: Check weekly: (1) Price movements vs LP range. (2) Fees earned vs IL. (3) Pool volume trends. (4) Protocol health (TVL, governance, audits). (5) Broader market conditions. Exit triggers: (1) Price moves 20%+ outside LP range (V3). (2) Fees declining 50% from expected. (3) Protocol security issue announced. (4) Better opportunity available. Portfolio construction example: $100K "DeFi yield" allocation: $40K Curve 3Pool stables (conservative base), $20K stETH/ETH Curve (correlated stake+fees), $15K V3 ETH/USDC narrow range (active management), $10K Yearn vaults (aggregator), $10K Aerodrome bribes strategy (higher yield), $5K LBP / experimental (speculative). Target blended APY: 8-15%. Rebalance monthly. Tools esenciales: DeFi Llama: pool APYs comparisons. Arrakis/Gamma: automated V3 LP management. Merkl: concentrated liquidity rewards aggregator. Incentives.com: bribes tracking. DeBank: portfolio tracker. Revert Finance: LP position analysis, IL tracking.

Major AMM DEXs — Comparison

Different specializations; choose based on use case.

DEXTVLSpecialtyBest Use Case
Uniswap V3 $5B+Concentrated liquidityAll ERC-20 swaps, active LP
Curve $2B+Stablecoin swapsUSDC/USDT, stETH/ETH, pegged assets
Balancer $1B+Multi-asset (up to 8)Custom portfolios, LBPs
Aerodrome (Base) $1.5Bve(3,3) + bribesBase-native, high yields via bribes
PancakeSwap $2BBNB Chain dominantBNB Chain swaps, farming
Curve v2 ~$1BVolatile pairs stable-likeCorrelated pairs, low slippage

Preguntas Frecuentes

¿AMM o orderbook DEX — cuál usar?
Depende del trade. AMM pros (Uniswap, Curve): available 24/7, no counterparty needed, passive liquidity, simple UX. AMM cons: slippage for large trades, no limit orders, MEV exposure, fees on every swap. Orderbook DEX pros (dYdX, Hyperliquid, Drift): true limit orders, better price discovery for size, professional trading features, less slippage on large trades. Orderbook cons: less liquidity for long-tail tokens, complex UX. Recomendación por use case: (1) Small swaps (<$1K): AMM via aggregator (1inch, Matcha). (2) Medium swaps ($1K-10K): AMM with MEV protection (CowSwap). (3) Large swaps ($10K+): orderbook DEX (Hyperliquid) or institutional OTC desks. (4) Leverage/perps: orderbook DEX (dYdX, Hyperliquid) — superior for derivatives. (5) Limit orders: orderbook DEX required. (6) Exotic tokens: AMM only (Uniswap V3). Orderbooks lack liquidity for long-tail.
¿Cómo elijo el rango de mi V3 LP?
Balance entre fees y IL management. Narrow range (±2-5%): maximum capital efficiency, highest fees (200-500% APR potential), pero IL high if price moves, requires recentering weekly. Moderate range (±10-15%): good balance. 50-150% APR typical. Recenter monthly. Wide range (±20-30%): conservative. 20-60% APR. Recenter quarterly o rarely. Very wide (±50%+): basically V2 equivalent. Low fees (20-40%), but very passive. Decisión based en: (1) Price volatility expectations: high vol → wider range. Low vol → narrow. (2) Active management capacity: daily checker → narrow. Weekly → moderate. Monthly → wide. (3) Capital size: small capital (under $5K) can't afford gas costs for frequent rebalancing → wider. Large capital ($50K+) can afford → narrow. (4) Pair characteristics: stablecoin ultra-narrow. Correlated assets (stETH/ETH) narrow. Volatile pairs (UNI/ETH) wide. Recommendation para principiantes: start with moderate range (±10%) on ETH/USDC. Monitor weekly. Adjust based on experience.
¿Qué protocolos LP son más seguros?
Uniswap V3: most battle-tested. $5B+ TVL, 3+ years production, multiple audits, never hacked directly (supporting infrastructure yes, core never). Smart contracts proven. Curve: also very mature. $2B+ TVL. 2023 Vyper compiler vulnerability caused $70M loss — atypical, not Curve specific. Otherwise strong track record. Balancer: solid. Never major hack. Smaller TVL means less audit attention from attackers. Aerodrome/Velodrome: newer (2023). Less battle-tested. Growing quickly. Audit quality good but shorter track record. Emerging protocols: Maverick, Ambient, new L2 native DEXs. Inherent higher risk. Wait 6-12 months before significant TVL. Avoid: new unverified protocols with high APYs (>50% for stables, >200% for pairs) — often unsustainable or rug pulls. Check list antes de LP: (1) Audit history (Trail of Bits, ConsenSys Diligence, etc.). (2) TVL stability (growing = confidence). (3) Protocol age (1+ years preferred). (4) Team identity (doxxed preferred). (5) Insurance available (Nexus Mutual). (6) Community sentiment. Use DeFi Llama safety scores.
¿Cómo manejan impermanent loss los yield aggregators?
Not directly — they optimize overall returns. Yearn, Beefy, Convex structure positions to maximize yield after all costs including IL. Typical approaches: (1) Focus on correlated assets: stETH/ETH pools naturally low IL. Yearn concentrates here. (2) Rebalance actively: Arrakis, Gamma compound rewards back into position, adjusting range. Partially offsets IL via fees. (3) Provide structured products: some vaults combine LP + options to hedge downside. (4) Delta-neutral strategies: sophisticated vaults hedge directional exposure via perps. Performance reality: yield aggregators typically net-positive after IL y fees, pero not dramatically outperform simple holding during bull markets. Benefit: consistent modest yields (5-15% APY). Tradeoff: yield aggregator fees (10-20% of profits) + smart contract stacking risk. For retail: yield aggregators are generally best LP approach. Simpler than self-managing, professionally optimized, acceptable net yields.
¿Qué es el "Curve wars" y por qué importan?
2021-2022 governance battle over CRV (Curve governance token) emissions direction. Mechanics: CRV holders can lock into veCRV (vote-escrowed, 1-4 year locks). veCRV holders vote weekly on which pools receive CRV emissions. More emissions = higher APYs for those pools = more liquidity attracted. Why it matters: Curve has most stable-swap liquidity. Every stablecoin project wants liquidity there. Projects compete for veCRV votes by: (1) Bribing voters via Votium, Hidden Hand. (2) Accumulating veCRV themselves (locking CRV). Convex Finance (CVX): emerged as dominant strategy. Convex aggregates CRV locked positions. Became #1 veCRV holder (>50%). Bribes go through Convex. Result: Convex controls Curve emissions direction. Competition: Frax, Lido, Yearn, Stake DAO all participated in "wars." Innovation impact: ve(3,3) model copied by Velodrome, Aerodrome, many others. Standard governance model now. Current state 2024-2025: wars subsided as markets matured. But infrastructure remains — Curve remains center of stablecoin liquidity ecosystem. For traders: understanding bribes markets helps find high-yield LP opportunities on Curve, Aerodrome. 20-40% APY stablecoin LPs possible via bribes-enhanced emissions.