Borrowing and Lending
Overview
The ZEUR protocol enables users to borrow EUR-denominated stablecoins against crypto collateral while also allowing EUR stablecoin holders to earn lending interest. This creates a two-sided marketplace where borrowers access EUR liquidity and lenders earn yield on their EUR deposits.
Borrowing Mechanics
Supported Debt Assets
ZEUR currently supports borrowing against these EUR stablecoins:
EURC (Circle EUR)
Issuer: Circle
Decimals: 6
Backing: 1:1 EUR reserves
Liquidity: High secondary market liquidity
Regulatory: EU MiCA compliant
Borrowing Process
1. Collateral Supply
Users must first supply collateral before borrowing:
2. Calculate Borrowing Capacity
3. Execute Borrow
Borrow Process:
Validation: Check borrowing capacity and asset status
Health Factor: Ensure health factor remains > 1.0
Debt Tracking: Mint debtEUR tokens to user
Asset Transfer: Transfer EURC from ColEUR vault to user
Borrowing Limits
Individual Limits
Maximum LTV: Asset-specific (80% ETH, 70% LINK)
Health Factor: Must remain above 1.0
Borrow Cap: Per-asset protocol limits
Protocol Limits
Lending Mechanics (EUR Supply)
EUR Stablecoin Lending
Users can supply EUR stablecoins to earn lending interest:
Supply Process
Supply Process:
Asset Transfer: EURC transferred from user to protocol
Vault Deposit: EURC deposited into ColEUR ERC4626 vault
Share Minting: User receives ColEUR shares representing deposit
Interest Accrual: User earns interest as borrowers repay loans
ColEUR Vault Integration
ColEUR is an ERC4626 vault that manages EUR stablecoin deposits:
Interest Rate Model
Utilization-Based Interest
Interest rates are determined by utilization ratio:
Interest Rate Calculation
Example Interest Rates
0%
2%
0%
40%
6%
2.2%
80%
10%
7.2%
90%
15%
12.2%
95%
17.5%
15.7%
Repayment Process
Full Repayment
Partial Repayment
Repayment Process:
Asset Transfer: EURC transferred from user to ColEUR vault
Debt Burning: Corresponding debtEUR tokens burned
Capacity Update: User's borrowing capacity increases
Health Factor: Health factor improves
EUR Stablecoin Withdrawal
Withdrawal Process
Withdrawal Process:
Share Burning: Burn user's ColEUR shares
Asset Transfer: Transfer EURC from vault to user
Interest Included: User receives principal + accrued interest
Withdrawal Limits
Available Liquidity: Limited by vault liquidity
Utilization Cap: Cannot withdraw if utilization too high
Multi-Asset Portfolio Management
Cross-Collateral Borrowing
Users can deposit multiple collateral types:
Weighted Risk Calculations
For multi-asset portfolios:
Borrowing Strategies
Strategy 1: Conservative Borrowing
Collateral: ETH (stable, high LTV)
Borrowed Amount: 50% of maximum capacity
Purpose: EUR exposure with safety margin
Strategy 2: Leveraged Staking
Collateral: Multiple LST protocols
Borrowed Amount: 70-80% of maximum capacity
Purpose: Maximize staking yield while accessing EUR
Strategy 3: Arbitrage Opportunities
Collateral: Various assets
Borrowed Amount: Varies based on opportunities
Purpose: EUR/USD arbitrage trading
Risk Management for Borrowers
Health Factor Monitoring
Liquidation Prevention
Monitor Health Factor: Keep above 1.2 for safety
Diversify Collateral: Use multiple asset types
Conservative LTV: Borrow less than maximum
Active Management: Repay during market stress
Interest Accrual and Compounding
Continuous Compounding
Interest accrues continuously using compound interest:
Interest Distribution
For ColEUR vault holders:
Example:
Borrow APR: 10%
Utilization: 80%
Reserve Factor: 10%
Supply APR: 10% × 80% × 90% = 7.2%
Flash Loans (Future Feature)
Flash Loan Integration
Use Cases
Arbitrage: EUR/USD price differences
Liquidation: Flash loan to liquidate positions
Refinancing: Move positions between protocols
Gas Optimization
Batch Operations
Efficient Interest Calculations
Pre-computed interest rate curves
Batch interest accrual updates
Optimized storage patterns
Monitoring and Analytics
Key Metrics
Total Value Locked (TVL): Sum of all collateral
Total Borrowed: Sum of all outstanding debt
Utilization Rate: Borrowed / Supplied ratio
Average Health Factor: Portfolio risk metric
Interest Earned: Total interest paid to lenders
User Dashboard Metrics
Current borrowing capacity
Health factor with price impact simulation
Interest accrued on supplies
Liquidation price levels
The borrowing and lending system provides efficient EUR stablecoin access while generating sustainable yield for EUR suppliers through a robust interest rate model.
Last updated