Curvance
  • Protocol Overview
    • Click Less, Earn More
    • Protocol Architecture
    • Asset Types
    • Liquidity Markets
      • Borrowing
      • Liquidations
      • Interest Rates
      • Oracles
      • Collateral Caps
      • Bad Debt Socialization
    • Application Specific Sequencing
    • New Age Liquidity Mining
      • Protocols
    • How Are New Assets Integrated
    • Plugin System
    • Universal Account Balance
    • Token Approval Management
    • Lending Risks
  • Security
    • Security and Audits
  • Miscellaneous
    • RPCs and Testnet Stability
    • Glossary
    • TL;DR
      • Customer Types and Benefits
    • Brand Assets
    • Weblinks
    • Disclaimer
    • Frequently Asked Questions
  • Developer Docs
    • Overview
    • Quick Start Guides
      • Atlas Fastlane Auctions (coming soon)
      • Plugin Integration
        • List of Delegable Actions
      • Loans & Collateral
        • Lend Assets
        • Deposit into pTokens
        • Withdraw Loans
        • Withdraw pTokens
      • Borrowing & Repayment
        • Borrow
        • Repaying Debt
      • Leverage
        • Leveraging
        • Deleveraging
    • Lending Protocol
      • Market Manager
      • Position Tokens (pToken)
      • Earn Tokens (eTokens)
      • Dynamic Interest Rate Model
      • Universal Balance
    • Position Management
      • Leverage
      • Deleverage / Fold
    • Dynamic Liquidation Engine (DLE)
      • Orderflow Auction System
      • Bad Debt Socialization
    • Plugin & Delegation System
      • Transfer Lock Mechanism
      • Delegable Actions
    • Cross-Chain Functionality
      • Messaging Hub
      • Fee Manager
      • Reward Manager
    • Auxiliary Functionality
Powered by GitBook
On this page
  • Market Design Principles
  • Core Market Components
  • Asset Management
  • Dynamic Liquidation Engine (DLE)
  • Risk Modeling
Export as PDF
  1. Developer Docs

Lending Protocol

Market Design Principles

Curvance markets are built with a focus on risk management, liquidity efficiency, and economic security. The protocol employs a novel market architecture that enables both capital efficiency and strong risk management.

Thesis-Driven Markets

Curvance creates thesis-driven micro-ecosystems. Each Market Manager focuses on a specific financial thesis:

  • Interest-bearing stablecoins.

  • Bluechip long market exposure.

  • Volatile LP tokens for a particular DEX or perpetual platform.

  • Other specialized asset categories.

This targeted approach allows for customized risk parameters appropriate for each asset class, rather than forcing disparate assets to share the same risk model.

Systemic Risk Reduction

By segregating markets by thesis, Curvance minimizes the contagion risk between asset classes. A volatility event in one market doesn't propagate to unrelated markets, protecting the overall protocol health. Isolated Market Managers are designed to contain risk within their boundaries. If extreme market conditions impact one Isolated Market Manager, other Market Managers remain unaffected, ensuring protocol stability.

Core Market Components

Two-Token System

Curvance employs a dual token model:

  1. Position Tokens (pTokens): Collateral tokens that can be posted as security for borrowing.

  2. Debt Tokens (eTokens): Tokens that can be borrowed against posted pToken collateral.

Both are collectively referred to as Market Tokens (mTokens), with each serving a specific purpose within the ecosystem.

Market Manager

The Market Manager is the central contract that:

  • Manages risk parameters for all tokens in its market.

  • Handles collateral posting and borrowing interactions.

  • Coordinates liquidation processes.

  • Enforces position health requirements.

  • Monitors and applies interest rate models.

Position Flow State Machine

  1. Deposit: User deposits underlying assets into a pToken.

  2. Collateral Posting: User posts pToken shares as collateral.

  3. Borrowing: User borrows eTokens against posted collateral.

  4. Repayment: User repays borrowed eTokens.

  5. Withdrawal: User withdraws collateral after repaying debt.

Asset Management

No Rehypothecation

Unlike many lending protocols, Curvance disables rehypothecation of position token deposits. This means:

  • Collateral assets cannot be re-lent to other users.

  • Each asset's risk exposure remains isolated.

  • Risk modeling becomes more accurate and predictable.

  • Complex collateral chains that could amplify systemic risk are avoided.

Collateral Management System

The collateral system has several key components:

  1. Collateral Caps: Each pToken has a maximum amount of shares that can be posted as collateral, limiting exogenous risk exposure.

  2. Collateral Posting: Assets are posted as shares, allowing collateral caps to grow proportionally with any yield-generating strategies.

  3. Cap Management: Collateral caps can be decreased even if current utilization is above the new cap, which prevents new risk while not forcing position unwinding.

Dynamic Liquidation Engine (DLE)

The Dynamic Liquidation Engine enables more nuanced position management:

Liquidation State Machine:

  1. Healthy Position: Collateral value exceeds required thresholds.

  2. Soft Liquidation Threshold: When collateral/debt ratio falls below soft threshold, partial liquidations begin with base penalties.

  3. Hard Liquidation Threshold: When ratio falls below hard threshold, complete liquidation is permitted with higher penalties.

  4. Bad Debt Threshold: When debt exceeds collateral value, socialized bad debt handling begins.

OEV Liquidation Auctions

Curvance features a next-generation liquidation auction system, OEV (Optimal Extractable Value) that maximizes MEV capture:

  1. High-Performance Batch Processing:

    1. Enables concurrent processing of multiple liquidations within a single transaction.

    2. Dramatically reduces latency and gas costs while maximizing throughput efficiency.

    3. Ensures rapid position resolution during market stress.

  2. Off-chain Auction Architecture:

    1. Conducts competitive bidding in a gas-efficient off-chain environment.

    2. Sophisticated bidding algorithms rank each proposal based on multiple parameters including close factor and penalty fees.

    3. Enables optimal price discovery while minimizing on-chain footprint.

  3. MEV capture:

    1. Transforms traditional MEV extraction into protocol-captured value.

    2. Eliminates wasteful gas wars through structured auction mechanisms.

    3. Provides a more efficient and equitable liquidation process.

Risk Modeling

Curvance enhances risk modeling through:

  1. Asset-Specific Risk Parameters: Each asset has customized collateralization requirements.

  2. Three-Tier Liquidation System: Soft, hard, and bad debt thresholds for graduated liquidation responses.

  3. Volatility-Responsive Liquidations: Aggressive liquidations in volatile periods, gentler in stable periods.

  4. Bad Debt Socialization: When a user's debt exceeds collateral, lenders share any shortfall.

The overall architecture provides a powerful framework for managing diverse asset classes while maintaining protocol solvency and capital efficiency.

PreviousDeleveragingNextMarket Manager

Last updated 19 days ago