tunnl
  • Introduction
  • Roadmap
  • Orderbook Exchange
    • Getting Started
    • Userflow
    • UI/UX
    • Matching Engine and Orderbook
    • On-Chain Execution
    • Margin and Shorts
    • Oracles
    • Decentralized Leverage
    • Liquidations
    • Interest and Lending Rate
    • Fees
    • Token Details
  • Aggregated USDC
  • Aggregated Swaps
    • Getting Started
    • Fees
  • MPC Vaults
  • TUN Token
    • Profit Share and Buy Back
    • Token Allocations
    • Token Emissions
    • Governance
Powered by GitBook
On this page
  1. Orderbook Exchange

Interest and Lending Rate

PreviousLiquidationsNextFees

Last updated 2 months ago

Please note that decentralized leverage, margin trading, and borrow/lend capabilties are still in their beta phase. One must always be careful when using beta products as there could be unexpected outcomes and there is a risk to using them.

The interest and lending rates as described in the "" section and the "" section are dynamically calculated for each asset.

The interest rate is a 2 step calculation based on the "Borrow Proportion" outlined in the Decentralized Leverage section.

Each asset has a "Minimum Interest Rate", "Maximum Interest Rate", "Prime Interest Rate", "Borrow Proportion" and "Prime Borrow Proportion". All of these variables are self explanatory except for: "Prime Interest Rate" which is the ideal interest rate which should be charged at the "Prime Borrow Proportion".

The Interest Rate rises along with the Borrow Proportion starting at the Minimum Interest Rate up until it reaches the Prime Borrow Proportion, where it will be at the Prime Interest Rate. After that, the Interest Rate will rise in a more rapid manner up until the Max Interest Rate. Below is an example chart of the linear rise of a hypothetical interest rate for an asset with the following values:

  • Minimum Interest Rate: 1.5%

  • Prime Interest Rate: 15%

  • Maximum Interest Rate: 100%

  • Prime Borrow Proportion: 75%

The lending Rate is then calculated as a percentage of the interest paid out by the user and then distributed amongst all asset holders for that asset's lending pool, with a spread between the interest and lending rate being paid to TUN holders. The Lending Rate percentage value varies on the asset's Borrow Proportion and current Interest Rate depending on the asset.

Margin and Shorts
Decentralized Leverage