📑
DeFi Saver Knowledge Base
  • Welcome to DeFi Saver Knowledge Base
  • General
    • What is DeFi Saver?
      • Boost & Repay
      • Smart Contracts
      • DeFi Saver and security
      • Liquidity Sources of DeFi Saver
      • DeFi Saver Fees
    • Smart Wallets
      • Can I access DFS created positions using other apps?
      • Why did we switch to Safe?
    • Wallet Compatibility
    • Troubleshooting common issues
      • Error: "An issue was detected with this transaction that would cause it to fail" - what to do
      • How can I withdraw tokens from my Smart Wallet?
      • My MetaMask account is failing to load - what should I do?
      • My transaction is pending / not going through - what should I do?
      • I cannot make any transactions using DeFi Saver after using Furucombo?
      • Avoiding MEV with your transactions
  • Features
    • ETH Saver
      • How does ETH Saver work?
      • Profit tracking & how does it work
      • Positions in ETH Saver
      • Are there fees?
        • Are there any costs that are not immediately noticeable?
    • Automation
      • Automation strategies
      • Requirements for using Automation
      • Automation Fees
      • How does Automation work?
      • When are Automation transactions made?
      • Are there risks when using Automation?
    • Recipe Creator
      • What are Flash Loans?
      • Is Recipe Creator safe to use?
      • Pre-made recipes / Recipe Book
      • How can I reuse output of previous functions?
    • Loan Shifter
      • Collateral Swaps
      • Debt Swaps
    • Notify
      • Notification Monitors
      • How do I set up Notify?
    • Simulation Mode
    • Smart Savings
      • Overview of Yearn
      • Overview of Convex
      • Overview of mStable
      • Why is a smart wallet needed for using Smart Savings?
      • How to start lending funds and earning interest using Smart Savings?
      • Managing existing portfolios using Smart Savings
      • The difference between APR and APY
      • Are there any security risks?
    • Bridge
    • Exchange
      • What are Limit Orders?
      • What is DCA?
  • Protocols
    • Aave
      • Aave Dashboard
      • Aave versions comparison
      • How does Aave Automation work?
      • Can I manage my existing Aave lending/borrowing portfolio using the Aave dashboard?
      • What are Flash Loans?
      • How can I long or short assets using Aave?
      • Staking Aave tokens
      • How can I tell how much interest I will earn or have already earned using Aave?
      • How can I swap my collateral or debt in Aave?
      • Migrating your Aave position(s)
      • Pendle Principal Tokens (PTs) on Aave
    • CurveUSD
      • What is LLAMMA in CurveUSD?
      • How do you create a loan in CurveUSD protocol?
      • Does CurveUSD charge any fees?
      • Is there a standard (hard) liquidation in CurveUSD?
      • What are bands in CurveUSD?
      • Why do I need a Smart wallet for CurveUSD?
    • Compound
      • Compound Dashboard
      • Can I manage my existing Compound lending/borrowing portfolio using the Compound dashboard in DeFi S
      • How to earn and withdraw COMP tokens
      • How can I tell how much interest I will earn or have already earned using Compound?
    • Fluid
      • Intro to Fluid
      • Liquidity Layer
      • Lend Protocol
      • Vault Protocol
      • DEX Protocol
      • DeFi Saver-supported Features
    • Liquity
      • Liquity Dashboard walkthrough
      • What is a Trove?
      • Liquity Redemptions
      • How to stay protected from redemption risk in Liquity
      • How do Liquidations work in Liquity?
      • What are the key benefits of Liquity?
      • Does Liquity charge any fees?
      • What is a Stability Pool?
      • What is the "Debt-in-Front" value in Liquity?
      • How can I earn LQTY tokens?
      • Why do I need a Smart wallet for Liquity?
    • Liquity V2
      • Intro to BOLD
      • Borrowing Rates and Redemptions
      • Collateral Ratios
      • Troves as NFTs
      • Revenue Distribution and Forkanomics
      • LQTY Staking
      • DeFi Saver-supported Features
    • Chicken Bonds
    • MakerDAO
      • Managing the Dashboard
      • Automation options for MakerDAO
      • What is a CDP and why should I be interested in opening one?
      • How do Boost & Repay work?
      • How does CDP Automation work?
      • Can I transfer my MakerDAO Vault to a different address?
      • Can I manage MakerDAO Vaults created using other apps at DeFi Saver?
    • Morpho Blue
    • Reflexer
      • Reflexer Dashboard walkthrough
      • How can I start borrowing or leveraging using Reflexer?
      • What makes Reflexer unique?
    • Spark
      • Spark Dashboard walkthrough
      • What is sDAI?
      • Liquidations in Spark
  • Legal
    • Terms and Conditions
Powered by GitBook
On this page
  1. Protocols
  2. CurveUSD

Does CurveUSD charge any fees?

In CurveUSD protocol, there are two types of fees users can potentially be exposed to: 1. Borrowing fees (dynamic). 2. Fees/losses during liquidations (both soft LINK and hard liquidations LINK).

Borrowing fees

CurveUSD has a dynamic borrow rate implemented for each market (collateral asset).

The rate adjusts depending on a Peg Keeper contract's debt during the process of keeping the $crvUSD at $1. If the Peg Keeper has burned all uncollateralized $crvUSD (zero debt), and the price of $crvUSD is still below $1, the borrow rates increase rapidly.

Formula: rate = rate0 * exp(-(p - 1) / sigma) * exp(-peg_keeper_debt / (total_debt * peg_keeper_target_fraction))

Formula interpretation: - when the $crvUSD price goes lower, the rate goes higher, and vice versa. - when Peg Keeper's debt goes lower, the rate goes higher, and vice versa.

Soft liquidation losses

During soft liquidations the collateral is sold at a slightly lower price compared to the market price as an incentive for arbitrage bots, causing users to experience certain losses.

Soft liquidation losses increase as the number of price swings within the bands increases. Choosing a bigger number of bands gives you wider price range for liquidation, but increases chances of higher loss during soft liquidations (and gas costs).

Hard liquidation losses

The hard liquidation fees are variable.

If the position is fully liquidated, the liquidators gain all the collateral by paying 100% debt back, and get a liquidation discount (currently set to 6%).

In case of partial liquidation, there is no discount and users are not experiencing the loss by giving up the extra margin (over-collatearization).

PreviousHow do you create a loan in CurveUSD protocol?NextIs there a standard (hard) liquidation in CurveUSD?

Last updated 1 year ago