LogoLogo
V2 DocsV2 dApp
English 🇬🇧
English 🇬🇧
  • Welcome to Folks Finance official documentation!
  • Getting started
  • HOW TO
    • Deposit
    • Lock & Earn
    • fStaking
    • Withdraw
    • Borrow
    • Rebalance
    • Repay
    • Rewards aggregator
    • Algo Liquid Governance
      • Algo Liquid Governance - G3
  • User profile
    • Dashboard
    • History
    • Notifier
  • Developer
    • Contracts
    • Official SDKs
  • Protocol architecture
    • Overview
      • Liquidity pool dynamics
      • Interest rates model
      • Interest accrual
      • Deposit
      • Withdraw
      • Borrow
      • Slippage
      • Liquidation
      • Algo Liquid Governance
      • Incentive system
      • fStaking
      • Token types
  • Security
    • Audits
    • Bug bounty
  • Support
    • FAQ
    • Glossary
    • Fees
  • helpful guides
    • Creating a My Algo Wallet
    • Buying Algo using FIAT - CEXs guide
    • Buying Algo with FIAT - Pera wallet/MyAlgo wallet guide
    • Allowing pop-up
    • Folks Finance's Testnet
  • Community
    • What can I do with gALGO?
    • Aeneas liquidity program
    • Contact
    • Community treasury
    • FOLKS
  • Legal
    • Privacy Policy
    • Terms & Conditions
    • Disclaimer
Powered by GitBook
On this page
  • Utilization Ratio
  • Impact of Utilization ratio on interest rates

Was this helpful?

  1. Protocol architecture
  2. Overview

Liquidity pool dynamics

Liquidity pools are the dispenser contracts of the protocol that holds ASAs. Each pool holds a specific ASA. This paragraph explains how the utilisation ratio U influences the interest rates.

PreviousOverviewNextInterest rates model

Last updated 2 years ago

Was this helpful?

Utilization Ratio

Each available on Folks Finance has a specific liquidity pool where users can and the asset contained.

The pool's Utilization Ratio, U, is defined as the ratio between the total borrows and the total liquidity, calculated as the sum of the total deposits:

U=TotalBorrowsTotalLiquidityU = \frac{Total Borrows}{Total Liquidity}U=TotalLiquidityTotalBorrows​

The protocol leverages the U to maintain the pool balance among all deposits and borrows. Generally, if UUU carries a high value, the protocol will exhibit a low borrowing capacity, as well as a low redeem capacity. Therefore, the , and consequently, the both increase to disincentivize new loans and incentivize new deposits. So, when U tends to 1, the available capital becomes scarce, resulting in a possible problematic situation of unavailable funds for depositor’s withdrawal requests.

On the contrary, if UUU moves lower, the protocol, on that specific pool, will offer lower returns on deposited capital, so it must incentivize new loans. Therefore, the borrow interest rate and consequently the deposit interest rate will both decrease to incentivize new borrows and disincentivize further deposits.

So the protocol implements these rules:

  • High UUU --> high interest rates --> incentive deposits

  • Low UUU --> low interest rates --> incentive borrows

Impact of Utilization ratio on interest rates

The relation that links the UUU and the interest rates is a semi-linear formula made up as follows:

  • from zero to a safety threshold UoptU_{opt}Uopt​, the rate follows a linear growth with a gentle scope.

  • from the safety threshold to 1 (100% utilization), the course is linear but with a steeper slope.

Parameters of the example above
Value

80%

1%

4%

60%

Token parameters

Uopt

R0

R1

R2

RR

EPSILON

ALGO

0.7

0

0.11

3

0.25

1

gALGO

0.7

0

0

0

0.25

1

USDC

0.85

0

0.09

1

0.25

1

USDt

0.85

0

0.09

1

0.25

1

goBTC

0.6

0

0.08

3

0.25

1

goETH

0.6

0

0.08

3

0.25

1

gALGO3

0.7

0

0

0

0.25

1

Planets

0.6

0

0.07

3

0.25

1

ALGO/gALGO PLP

0.7

0

0

0

0.25

1

ALGO/USDC TMP1.1

0.7

0

0

0

0.25

1

ALGO/USDC PLP

0.7

0

0

0

0.25

1

ALGO/gALGO3 TMP1.1

0.7

0

0

0

0.25

1

ALGO/gALGO3 PLP

0.7

0

0

0

0.25

1

USDC/gALGO TMP1.1

0.7

0

0

0

0.25

1

USDC/USDt TMP1.1

0.7

0

0

0

0.25

1

USDC/USDt PLP

0.7

0

0

0

0.25

1

goBTC/gALGO PLP

0.7

0

0

0

0.25

1

goBTC/gALGO PLP

0.7

0

0

0

0.25

1

For precisely modelling the UUU behavior, four values are defined as follows:

Uoptimal (UoptU_{opt}Uopt​) indicates the optimal utilization ratio. Once UUU reaches this value, it is necessary to encourage deposits, and drastically reduce loans. This is done by increasing the slope of the line, thus resulting in a high increase in both the borrow and deposit APRs.

Base (R0R_0R0​) is the line intercept representing the initial borrowing rate, when U=0U=0U=0.

Slope 1 (R1R_1R1​) and Slope 2 (R2R_2R2​), respectively, indicate the slope of the interest rate function before and after the UoptU_{opt}Uopt​.

Optimal Utilization Ratio ()

Base ()

Slope 1 ()

Slope 2 ()

UoptU_{opt}Uopt​
R0R_0R0​
R1R_1R1​
R2R_2R2​
deposit
borrow
ASA
borrow interest rate
deposit interest rate
Behaviour of the interest rate as the Utilisation Ratio varies