Orchai Protocol
  • πŸ’§ORCHAI LIQUID STAKING
    • Overview
    • Staked Assets (sAssets)
    • Reward & Fee
    • Validator
  • 🏦ORCHAI MONEY MARKET
    • Overview
    • Borrowing
    • Lending
    • Liquidation
    • Protocol Parameters
  • πŸ“œUser Guide
    • Stake
      • sORAI
      • scORAI
    • Borrow
      • Participate In Liquidations
    • Lend
    • My Page
  • πŸ“–Whitepaper
    • Introduction
    • The vision of Orchai
    • System Architecture
      • Low-code DeFi management features
      • Asset-flow optimizing protocols
        • Orchai Liquid Staking
        • Orchai Money Market
    • Apply AI to the protocol
    • Tokenomics
    • Conclusion
  • πŸ“ŒResources
    • Audit Log
    • Press Kit (Logos & Graphics)
Powered by GitBook
On this page
  • oToken
  • Lending Interest Rate

Was this helpful?

Export as PDF
  1. ORCHAI MONEY MARKET

Lending

Users can become lenders by depositing their preferred asset that is accepted by the protocol. Deposits can be withdrawn anytime unless every token in a market is borrowed.

Lending interest is distributed through the value appreciation of oToken, which is minted to lenders as a deposit receipt.

oToken

oToken balances represent a depositor's share in the market. The exchange rate with their underlying token, the oToken exchange rate, increases as deposits accrues interest, appreciating the value of oToken. With time, holders can redeem oToken with a greater number of underlying tokens, enabling depositors to collect interest simply by holding them.

The oToken exchange rate at time ttt is defined as:

oTokenExchangeRate(t)=totalDeposited(t)+totalBorrowed(t)βˆ’reserves(t)oTokenSupply(t)oTokenExchangeRate(t) = \frac{totalDeposited(t)+ totalBorrowed(t) - reserves(t)}{oToken Supply(t)} oTokenExchangeRate(t)=oTokenSupply(t)totalDeposited(t)+totalBorrowed(t)βˆ’reserves(t)​

Where totalDeposited(t)totalDeposited(t)totalDeposited(t) and totalBorrowed(t)totalBorrowed(t)totalBorrowed(t) is the amount of money sent into the system and amount of money borrowed by the borrower at time ttt. A share of the protocol’s interests is allocated to a collector contract from the ecosystem treasury, saved to the parameter reserves(t)reserves(t)reserves(t).

As the market’s total borrowing balance increases (as a function of borrower interest accruing), the exchange rate between oToken and the underlying asset increases.

The amount of oToken a user receives when depositing underlying asset is calculated using the oTokenExchangeRateoTokenExchangeRateoTokenExchangeRate value using the formula below:

oTokenMinted=depositAmountoTokenExchangeRate(t)oTokenMinted =\frac{depositAmount}{oTokenExchangeRate(t)}oTokenMinted=oTokenExchangeRate(t)depositAmount​

And amount of underlying asset user receives when oToken is calculated as below:

receiveAmount=oTokenBurnedΓ—oTokenExchangeRate(t)receiveAmount = oTokenBurned \times oTokenExchangeRate(t)receiveAmount=oTokenBurnedΓ—oTokenExchangeRate(t)

Lending Interest Rate

The equation above simply means that all income received through lending, after a small portion is subtracted to deposit into the system's reserve, will be split equally among lenders.

The lending interest rate L(t)L(t) L(t) at time ttt can be re-expressed by the following formula:

L(t)=B(t)Γ—U(t)Γ—(1βˆ’r)L(t) = B(t) \times U(t) \times (1-r)L(t)=B(t)Γ—U(t)Γ—(1βˆ’r)

Reserve factor is set at 10%

PreviousBorrowingNextLiquidation

Last updated 2 years ago

Was this helpful?

Where U(t)U(t)U(t)​ is and B(t)B(t)B(t)​ is at time ttt and rrr is reserve factor.

🏦
utilization rate
borrow rate