Lending Protocol
Borrow against LP tokens while continuing to earn yield
Lending Protocol: Revolutionary LP Token Collateralization
The Kandle Finance Lending Protocol breaks new ground in DeFi by recognizing LP tokens as valuable collateral assets, allowing users to borrow against their yield-generating positions without interrupting their earnings.
Revolutionary Approach
Traditional lending protocols force users to choose between:
- Providing liquidity to earn yield OR
- Using assets as collateral to borrow
Kandle Finance eliminates this trade-off by allowing you to:
- Keep earning yield on your LP tokens
- Borrow against them simultaneously
- Maintain full exposure to your chosen strategies
How LP Token Collateralization Works
1. Deposit Your LP Tokens
When you deposit Kandle LP tokens as collateral:
- Tokens Remain Active: Your LP tokens stay in yield-generating strategies
- Collateral Value Calculated: Real-time valuation based on underlying assets + accrued yield
- Borrowing Power Determined: Conservative LTV ratios ensure safe borrowing
- Continue Earning: Yield generation never stops
2. Collateral Valuation Engine
Our sophisticated valuation system considers multiple factors:
contract CollateralValuer {
function getLPTokenValue(address lpToken) external view returns (uint256) {
// Get underlying asset balances
(uint256 token0Amount, uint256 token1Amount) = getUnderlyingBalances(lpToken);
// Calculate current market values
uint256 token0Value = token0Amount.mul(getPrice(token0));
uint256 token1Value = token1Amount.mul(getPrice(token1));
// Add accrued but unclaimed yield
uint256 yieldValue = calculateAccruedYield(lpToken);
// Account for LP token exchange rate appreciation
uint256 exchangeRateGains = calculateExchangeRateGains(lpToken);
return token0Value.add(token1Value).add(yieldValue).add(exchangeRateGains);
}
}Valuation Components:
- Base Asset Value: Current market value of underlying tokens
- Accrued Yield: Earned but not yet compounded rewards
- Exchange Rate Appreciation: LP token value increase over time
- Future Yield Potential: Conservative estimate of ongoing earnings
3. Dynamic Risk Assessment
Risk parameters adjust based on:
- Asset Volatility: More volatile underlying assets = lower LTV
- Strategy Risk: Riskier yield strategies = additional haircuts
- Market Conditions: High volatility periods = temporary LTV reductions
- Liquidity Depth: Ensure liquidation is always possible
Supported Collateral Types
Kandle LP Tokens
Stablecoin LP Tokens (Highest LTV: 70-75%)
- USDT Earn LP Tokens
- USDC Earn LP Tokens
- DAI Earn LP Tokens
- Multi-stablecoin LP Tokens
ETH LP Tokens (Medium LTV: 65-70%)
- ETH Earn LP Tokens
- ETH-Stablecoin LP Tokens
- Liquid Staking LP Tokens (stETH, rETH)
BTC LP Tokens (Medium LTV: 60-65%)
- wBTC Earn LP Tokens
- BTC-ETH LP Tokens
- BTC-Stablecoin LP Tokens
Multi-Asset LP Tokens (Variable LTV: 50-65%)
- Balanced portfolio LP Tokens
- Index fund LP Tokens
- Sector-specific LP Tokens
External LP Tokens (Future)
Uniswap V3 Positions
- Direct acceptance of Uni V3 NFTs
- Automated range management
- Concentrated liquidity optimization
Curve LP Tokens
- Major Curve pool tokens
- Gauge-staked positions
- Convex-boosted positions
Borrowable Assets
Primary Borrowable Assets
Stablecoins
- USDT: Most liquid stablecoin option
- USDC: USD-backed stablecoin
- DAI: Decentralized stablecoin
- FRAX: Algorithmic stablecoin
Major Cryptocurrencies
- ETH: Ethereum for gas and DeFi participation
- wBTC: Bitcoin exposure
- WMATIC: Polygon ecosystem participation
- BNB: BSC ecosystem participation
Interest Rate Model
Dynamic interest rates based on utilization and risk:
contract InterestRateModel {
function getBorrowRate(uint256 utilization, address asset) external pure returns (uint256) {
if (utilization <= OPTIMAL_UTILIZATION) {
// Linear increase to optimal point
return BASE_RATE.add(utilization.mul(SLOPE_1).div(OPTIMAL_UTILIZATION));
} else {
// Steep increase beyond optimal utilization
uint256 excess = utilization.sub(OPTIMAL_UTILIZATION);
return BASE_RATE.add(OPTIMAL_RATE).add(excess.mul(SLOPE_2).div(MAX_EXCESS));
}
}
}Interest Rate Parameters:
- Base Rate: 2-5% (minimum borrowing cost)
- Optimal Utilization: 80% (target utilization rate)
- Slope 1: Gradual increase to optimal point
- Slope 2: Steep increase beyond optimal utilization
Sample Interest Rates
| Asset | Base Rate | Rate at 50% Util. | Rate at 80% Util. | Rate at 95% Util. |
|---|---|---|---|---|
| USDT | 3% | 6% | 12% | 25% |
| USDC | 3% | 6% | 12% | 25% |
| DAI | 3% | 6% | 12% | 25% |
| ETH | 2% | 5% | 10% | 20% |
| wBTC | 4% | 8% | 15% | 30% |
Loan-to-Value (LTV) Ratios
Conservative LTV Structure
Stablecoin Collateral
- Single Stablecoin LP: 75% LTV
- Multi-Stablecoin LP: 70% LTV
- Curve Stable LP: 70% LTV
ETH Collateral
- ETH LP Tokens: 65% LTV
- Liquid Staking LP: 65% LTV
- ETH-Stablecoin LP: 70% LTV
BTC Collateral
- wBTC LP Tokens: 60% LTV
- BTC-ETH LP: 60% LTV
- BTC-Stablecoin LP: 65% LTV
Multi-Asset Collateral
- Diversified LP: 55% LTV
- Index LP: 50% LTV
- Sector LP: 45-60% LTV
Dynamic LTV Adjustments
LTV ratios adjust based on:
- Market Volatility: Higher volatility = lower LTV temporarily
- Liquidity Conditions: Poor liquidity = reduced LTV
- Strategy Performance: Underperforming strategies = slight LTV reduction
- User Behavior: Responsible borrowers may get slight LTV bonuses
Liquidation System
Liquidation Thresholds
Safety buffers built into all positions:
Liquidation Threshold = LTV Ratio + Safety BufferExample:
- ETH LP Token LTV: 65%
- Safety Buffer: 10%
- Liquidation Threshold: 75%
Liquidation Process
Soft Liquidation (Health Factor: 1.0-1.1)
- Automated partial repayment using LP token yield
- No liquidation penalty
- Position brought back to safe levels
Standard Liquidation (Health Factor: below 1.0)
- Liquidator Identification: Public liquidation bot network
- Partial Liquidation: Only liquidate enough to restore safety
- Collateral Sale: LP tokens sold at current market rates
- Penalty Distribution:
- 5% to liquidator (incentive)
- 3% to insurance fund
- 2% burned (deflationary pressure)
Liquidation Protection
Grace Periods
- 24-hour grace period for minor health factor violations
- Automatic yield harvesting to improve position
- Email/notification warnings before liquidation
Self-Liquidation Options
- Repay with pending yield
- Partial position closure
- Collateral type switching
Advanced Features
Yield-Enhanced Borrowing
Yield Offset Borrowing
- Borrow at standard rates
- LP token yield automatically reduces effective borrowing cost
- Net borrowing cost = Borrow Rate - LP Yield Rate
Example:
- Borrow USDT at 8% APR
- ETH LP tokens earning 12% APY
- Net borrowing cost: -4% (you're paid to borrow!)
Flash Loan Integration
LP Token Flash Loans
- Borrow LP tokens for single-transaction strategies
- Arbitrage opportunities across protocols
- Liquidation assistance for underwater positions
Cross-Chain Lending
Multi-Chain Collateral
- Use LP tokens from different chains as collateral
- Borrow on the most cost-effective network
- Automated cross-chain position management
Risk Management
Protocol-Level Protections
Diversification Requirements
- Maximum exposure limits per strategy
- Protocol concentration limits
- Geographic diversification (multi-chain)
Insurance Integration
- Nexus Mutual coverage for smart contract risks
- Self-insurance fund from protocol fees
- User-purchased insurance options
Emergency Procedures
- Circuit breakers for unusual market conditions
- Emergency pause functionality
- Gradual liquidation for large positions
User-Level Tools
Health Factor Monitoring
- Real-time health factor tracking
- Mobile notifications for health factor changes
- Automatic yield harvesting to maintain position health
Position Management
- Automated top-up from yield earnings
- Stop-loss functionality
- Take-profit automation
Getting Started
Step 1: Deposit LP Tokens as Collateral
- Navigate to the "Lending" section
- Select your Kandle LP tokens
- Choose the amount to use as collateral
- Confirm the transaction
Step 2: Borrow Against Your Collateral
- View your available borrowing power
- Select the asset you want to borrow
- Choose your loan amount (within safe LTV limits)
- Review interest rates and terms
- Confirm the loan
Step 3: Manage Your Position
- Monitor health factor regularly
- Use yield to repay loans or compound growth
- Adjust position size based on market conditions
- Take advantage of yield-enhanced borrowing
Fee Structure
Borrowing Fees
- No origination fees
- Competitive variable interest rates
- Early repayment incentives
Liquidation Fees
- 10% total liquidation penalty
- 5% to liquidators, 3% to insurance, 2% burned
KANDLE Token Benefits
- Staking KANDLE provides interest rate discounts
- Higher stakes = better borrowing terms
- Governance participation rewards
The Kandle Finance Lending Protocol represents a breakthrough in capital efficiency, allowing DeFi users to have their cake and eat it too - earning yield while accessing liquidity through the same assets.