📖
Yupana Document Portal
  • Introduction
    • What is Yupana.Finance?
    • Participants
    • FAQ
  • Lending
    • Supplying assets
      • General
    • Borrowing assets
      • General
  • Liquidation
  • Liquidity Risk
    • Yupana Interest Rate
  • ⚙️Developer space
    • yToken contract methods
      • 📄Storage overview
      • accrueInterest
      • priceCallback
      • updateInterest
      • 🔵Lending methods
        • borrow
        • enterMarket
        • exitMarket
        • liquidate
        • mint
        • redeem
        • repay
      • 🔵FA2 Token entrypoints
        • balance_of
        • get_total_supply
        • transfer
        • update_operators
      • 🛑Admin methods
        • 📥Setup entrypionts
          • setTokenAction
          • setUseAction
        • 🤹Manage entrypoints
          • addMarket
          • setAdmin
          • setBorrowPause
          • setGlobalFactors
          • setTokenFactors
          • updateMetadata
          • withdrawReserve
    • InterestRate contract
      • 🔵On-chain views
        • getBorrowRate
        • getSupplyRate
        • getUtilizationRate
      • 🛑Admin methods
        • setCoefficients
        • updateAdmin
    • PriceFeed contract
      • getPrice
      • receivePrice
      • 🛑Admin methods
        • setProxyAdmin
        • updateOracle
        • updatePair
        • updateYToken
  • Agreements
    • Terms of Service
    • Privacy Policy
    • Cookie Policy
Powered by GitBook
On this page
  • Introduction
  • Interest Rate Model
  • Price Oracle
  1. Liquidity Risk

Yupana Interest Rate

Introduction

The interest rate strategy in the Yupana protocol is designed to manage risk and regulate supply and demand. Interest rates on loans are determined by the Utilization Rate.

Utilization rate — The amount of loan that has been taken by the users of the lending protocol, divided by the total amount of loan available.

Interest Rate Model

Yupana interest rates work according to the jump rate model. This means that interest change significantly when the utilization rate is changed.

Mathematically, jump interest rates can be characterized as follows:

ib={α+βUif U≤U∗α+βU∗+γ(U−U∗)if U>U∗i_b =\begin{cases} \alpha + \beta U & \text{if } U \leq U^*\\ \alpha + \beta U^* + \gamma (U-U^*) & \text{if } U > U^* \end{cases}ib​={α+βUα+βU∗+γ(U−U∗)​if U≤U∗if U>U∗​

where 𝛼 denotes a per-block base rate, 𝛽 denotes a per-block multiplier, 𝑈 denotes the utilization ratio (with 𝑈 ∗ denoting the optimal utilization ratio) and 𝛾 denotes a ‘jump’ multiplier.

Price Oracle

Oracles provide smart contracts with data on the prices in USD of assets added to the protocol for the formulas to work correctly.

PreviousLiquidationNextyToken contract methods

Last updated 3 years ago