Smart Debt
Smart Debt is an advanced strategy that reverses traditional collateral patterns by borrowing productive assets (LP tokens) while supplying liquid staking tokens. This creates a unique arbitrage opportunity between different yield sources.
Overview
π What it is: You supply an xToken (like XEGLD) and borrow an LP token. This inverts the typical collateral-debt relationship to take advantage of yield differentials.
β How it works: This is a reversal of Smart Collateral. Now you're borrowing an LP token (which slowly gains value due to trading fees), but your supplied xToken may gain value faster through auto-compounding. As long as borrowing the LP is cheaper than borrowing the base token, this strategy wins.
π‘ Why to use it: When borrowing something like EGLD is very expensive (high borrow APR), but borrowing the LP token is cheap. The LP token you borrowed earns fees passively, reducing your effective borrow cost.
How It Works
Mechanism
Supply liquid staking token - Deposit XEGLD earning staking rewards
Borrow LP token - Take a loan in XEGLD/WEGLD LP (which earns trading fees)
LP fees reduce borrow cost - The LP token grows in value, lowering your net debt
Profit from spread - Earn when staking APR > (LP borrow cost - LP fee generation)
Why This Works
Traditional borrowing:
Supply XEGLD (earning 8% APY)
Borrow EGLD (paying 5% APR)
Net: 8% - 5% = 3% return
Smart Debt:
Supply XEGLD (earning 8% APY)
Borrow XEGLD/WEGLD LP (paying 3% APR)
LP earns trading fees (2% APY)
Net: 8% - (3% - 2%) = 7% return
Real Example
Market conditions:
XEGLD staking APY: 8%
EGLD borrow APR: 5%
XEGLD/WEGLD LP borrow APR: 3%
LP trading fee APR: 2%
Position:
Supply: 10 XEGLD ($1,000)
Borrow: XEGLD/WEGLD LP worth $600
Annual Returns:
Staking rewards: $1,000 Γ 8% = $80
LP borrow cost: $600 Γ 3% = -$18
LP fee earnings: $600 Γ 2% = +$12
Net profit: $80 - $18 + $12 = $74/year (7.4% APR)
Compare to traditional:
Supply XEGLD, borrow EGLD: $80 - $30 = $50/year (5% APR)
When to Use
β Ideal conditions:
LP borrow rates significantly lower than base token borrow rates
LP pool has consistent trading volume and fees
Your collateral (xToken) has stable or growing staking yields
You understand both staking and LP mechanics
β Avoid when:
LP borrow rates approach base token rates
LP pool volume is declining
Staking yields are dropping
You're unfamiliar with LP token dynamics
Calculating Profitability
Net Yield Formula
Example Calculation
Collateral: $1,000 XEGLD at 8% staking APR
Debt: $600 LP at 3% borrow APR, earning 2% LP fees
Initial capital: $1,000
Risk Considerations
Smart Debt carries unique risks due to borrowing productive assets.
Key Risks
LP Value Growth - Borrowed LP increases in value, increasing debt
Collateral Depreciation - If XEGLD staking stops or reduces
Rate Changes - LP borrow rates may increase
Liquidation - If LP value grows faster than collateral
Health Factor Management
Because LP tokens appreciate:
Health Factor > 2.5 - Safe buffer for LP growth
Health Factor 2.0-2.5 - Moderate, monitor regularly
Health Factor 1.5-2.0 - Risky, LP growth threatens position
Health Factor < 1.5 - Dangerous, consider reducing debt
Comparison: Smart Debt vs Traditional Borrowing
Borrow APR
5%
3%
LP Fee Benefit
N/A
-2% (reduces cost)
Net Borrow Cost
5%
1%
Collateral APR
8%
8%
Net APR
3%
7%
Advanced Strategy: LP Token Management
What to do with borrowed LP tokens:
Option 1: Hold and Earn
Keep LP token in wallet
Earn trading fees passively
Reduces effective borrow cost
Option 2: Break and Deploy
Remove liquidity from LP
Deploy base assets elsewhere
Requires active management
Option 3: Stake LP
Some protocols allow staking borrowed LP
Earn additional rewards
Highest complexity but maximum yield
Exit Strategy
Closing a Smart Debt position:
Acquire LP tokens - Buy or provide liquidity to get LP
Repay loan - Return the LP tokens
Withdraw collateral - Remove XEGLD
Calculate final returns - Account for all fee accrual
Use Case Examples
Scenario 1: Rate Arbitrage
High EGLD borrow rate (6%)
Low LP borrow rate (2.5%)
LP earning fees (1.5%)
Strategy wins by 5% APR spread
Scenario 2: Yield Farming
Supply XEGLD earning 8%
Borrow LP at 3%, earning 2% fees
Break LP and farm elsewhere for 6%
Total: 8% + 6% - 1% = 13% APR
Scenario 3: Market Neutral
Concerned about EGLD price but want staking yield
Borrow XEGLD/WEGLD LP (price-neutral exposure)
Earn staking rewards without price risk
Related Strategies
Smart Debt Classic - Using base tokens as collateral
Smart Collateral - Supplying LP, borrowing base assets
Liquid Boost - Leveraging staking yields
Smart Debt requires active monitoring. LP token value appreciation increases your debt in real terms. Always maintain a healthy safety buffer.
Last updated
Was this helpful?