Borrowing & Repayment
Last updated
Last updated
In Curvance's lending ecosystem, eTokens represent debt positions. Each eToken corresponds to a specific underlying asset - for example, eUSDC represents borrowed USDC. When you borrow an asset from Curvance, you're interacting with an eToken contract that tracks your debt.
eUSDC is the debt token representing borrowed USDC in Curvance. When you borrow USDC, you're effectively taking on eUSDC debt. Key characteristics include:
Underlying Asset: USDC (USD Coin) stablecoin with 6 decimal places
Interest Accrual: Interest accumulates continuously based on market conditions, increasing your debt over time
Exchange Rate: The relationship between eUSDC and USDC changes as interest accrues
Dynamic Interest: Rates adjust automatically based on utilization ratio in the USDC lending market
Curvance implements a 20-minute minimum hold period for collateral, which means your collateral must remain in the system for at least 20 minutes. This enhances security by preventing certain types of exploits and flash loan attacks.
Before interacting with eUSDC, you'll need to set up your environment with ethers.js v5.7.3. You'll need contract ABIs for interaction, but we'll keep it simple here - you can obtain the full ABIs from Curvance documentation.
As interest accrues on your debt, it's important to monitor your position regularly. Curvance provides several functions to help you track your debt balance.The debtBalanceWithUpdateSafe
function fetches your current debt balance with the latest interest applied:
The debt balance will increase over time as interest accrues. If your debt grows too large relative to your collateral, you risk liquidation. Maintaining a healthy collateralization ratio is essential for using Curvance safely.
The interest rate for eUSDC debt depends on market supply and demand. You can check current market conditions to make informed borrowing decisions:
Higher utilization (more borrowing relative to available supply) generally leads to higher interest rates. Monitoring these metrics can help you anticipate changes in borrowing costs.
When borrowing through eUSDC, be aware of these risks:
Liquidation Risk: If your collateral value falls or your debt increases (through interest accrual), you may face liquidation if your position drops below the required collateralization ratio.
Interest Rate Volatility: Rates can change based on market conditions, potentially increasing your debt faster than anticipated.
Protocol Risk: Smart contract vulnerabilities or governance decisions could affect your borrowing position.
Market Risk: The value of your collateral might decrease relative to your borrowed USDC.
To mitigate these risks, consider maintaining a higher collateralization ratio than the minimum required, and regularly monitor your position's health.