XEI Docs
  • 👋Welcome to XEI
  • Feature Description
    • 💫Swap Trading
    • ✨Leverage Trading
    • 💰Liquidity Pools
    • 🎭Lending Pools
    • 💵Liquidation
    • 💹Oracle
  • PRODUCT GUIDES
    • 📒Tutorial
      • Getting Started on XEI
      • How to Start a Market Swap
      • How to Add Trading Tokens
      • How to Start Futures Trading
      • How to Add Liquidity
    • ❓FAQ
      • What should I do if I can't find the cryptocurrency I want to trade?
      • What are market orders and limit orders?
      • What fees are associated with Swap transactions?
      • What are fee tiers, and how do you choose the right fee tier?
      • What happens if the current price exceeds the price range set for my liquidity position?
      • Are fee rewards automatically compounded?
      • What factors affect LP APR?
      • What is Lending Pools?
      • How is the reward period calculated after participating in Lending Pool?
      • Which cryptocurrencies are supported by Lending Pool?
      • How long does it take for redemption to be credited to the account?
  • OTHER
    • 💌Contact Us
Powered by GitBook
On this page
  • Risk Considerations
  • Customized Lending Pools
  • LToken Overview
  1. Feature Description

Lending Pools

The uDEX protocol features lending pools for leveraged trading, where users can contribute any asset.

  • By providing assets to these pools, users are rewarded with LTokens, representing their stake in the pool, along with token incentives.

  • Lenders earn interest when trading pairs involve borrowing from these pools. The distribution of this interest, alongside LTokens and token rewards, is proportional to the lender's contribution compared to the pool's total assets.

To safeguard against flash loan attacks, the uDEX protocol mandates that lending and repayment cannot be executed within the same block, necessitating users to open and close their positions across different blocks.

Risk Considerations

Contributing assets to the uDEX protocol's lending pools carries risks. In adverse scenarios, the equity in traders' accounts may become negative, potentially resulting in losses for lenders. To address these situations, the uDEX protocol maintains a risk protection pool, managed by the DAO, which provides a certain percentage of coverage for these extreme cases.

Customized Lending Pools

The uDEX protocol allows anyone to create a lending pool for a trading pair, provided there's existing liquidity for that pair on a DEX.

For instance, someone interested in leverage trading for the SHIB/USDT pair could establish a lending pool for it, where lenders can supply SHIB solely to purchase USDT or vice versa.

LToken Overview

LTokens represent a key method of engagement with uDEX's lending pools, serving as interest-accumulating tokens.

When a user deposits assets into a lending pool, they are issued LTokens in return. These tokens enable the holder to accumulate interest over time, not through direct distribution but through their intrinsic value growth. The exchange rate of LTokens increases, meaning the underlying asset value they represent grows, while the quantity of LTokens in one's possession remains constant.

In addition, various projects might offer LTokens via their yield farming programs. This strategy is designed to encourage fund providers to deposit assets, thereby facilitating leveraged trading for borrowers using these tokens.

PreviousLiquidity PoolsNextLiquidation
🎭