🍧Interest Rate Model

Palmy Finance interest rate strategy is calibrated to manage liquidity risk and optimize utilization. The borrow interest rates come from the Utilization Rate UU.

UU is an indicator of the availability of assets in the pool. The interest rate model is used to manage liquidity risk through user incentives:

  • When an asset is available: a low-interest rate is applied to encourage borrowers.

  • When an asset is scarce: a high-interest rate is applied to encourage borrowers to repay and depositors to add more assets.

A liquidity risk becomes apparent when utilization is high. It turns problematic as UU gets closer to 100%. To adjust the model to this constraint, the interest rate curve is split into two parts around an optimal utilization rate UoptimalU_{optimal}. Before the point UoptimalU_{optimal}, the slope is gradual. After passing that point, it starts becoming steep.

The interest rateRtR_tis as follows:

ifU<Uoptimal:Rt=R0+UtUoptimalRslope1if \hspace{1mm} U < U_{optimal}: \hspace{1cm} R_t = R_0 + \frac{U_t}{U_{optimal}} R_{slope1}

ifUβ‰₯Uoptimal:Rt=R0+Rslope1+Utβˆ’Uoptimal1βˆ’UoptimalRslope2if \hspace{1mm} U \geq U_{optimal}: \hspace{1cm} R_t = R_0 + R_{slope1} + \frac{U_t-U_{optimal}}{1-U_{optimal}}R_{slope2}

In the technical implementation of borrowing rates, the calculation method relies primarily on approximations that affect higher interest rates. The actual borrow rate can be resulted as:

ActualAPY=(1+TheoreticalAPY/secsperyear)secsperyearβˆ’1Actual APY = (1+Theoretical APY/secsperyear)^{secsperyear}-1

Both variable and stable interest models are derived from the formula above with different parameters for each asset.

  • When U<UoptimalU < U_{optimal} the borrowing interest rates increase slowly for the utilization.

  • When Uβ‰₯UoptimalU \geq U_{optimal} the borrow interest rates increase rapidly for the utilization resulting in over 50% APY if the liquidity is fully utilized.

Borrowing with variable interest constantly fluctuates in its interest rate based on usage. In other words, it is not suitable for financial planning.

Borrowing with stable interest maintains its interest rate at issuance until a specific rebalancing condition is met. To rebalance a stable interest rate lower, the stable interest rateSSneeds to be greater than the current stable rateStS_t plus a delta equal to 20%: Sβ‰₯St+20%S \geq S_t + 20\%.

To rebalance the stable interest rate higher, below two conditions need to be met:

  1. Utilization Rate: Ut>95%U_t > 95\%

  2. Overall Borrowing Rate (the weighted average of all the borrow rates): RO<25%R_O < 25\%

Model Parameters

Interest rate parameters have been calibrated per cluster of assets that share similar risk profiles. First, it's crucial to distinguish assets that are used predominantly as collateral (volatile assets) which need liquidity at all times to enable liquidations. These assets require a low Optimal Utilization rate typically calibrated around 45%. Secondly, liquidity on Palmy Finance is an important factor as the more liquidity, the more stable the utilization becomes: interest rates of assets with lower liquidity should be more conservative. For example, low liquidity stablecoins have a low Optimal Utilization Ratio than those with higher liquidity.

It's also key to consider market conditions: how can the asset be used in the current market? A cost to borrow on Palmy Finance must be aligned with market yield opportunities. Alternatively, there will be a rate arbitrage with incentives for users to borrow all the liquidity on Palmy Finance to obtain higher yield opportunities.

If market conditions change, the parameters of the interest rate can be adapted. These changes would have to adapt not only to Palmy Finance's market availability but also to incentives across DeFi.

Interest Rate Model Parameters

Asset

UoptimalU_{optimal}

Base

Slope 1

Slope 2

OAS

45%

0%

7%

300%

WETH

65%

0%

8%

100%

WBTC

65%

0%

7%

100%

USDC

90%

0%

4%

60%

Interest Rates

Utilizations vs Interest Rates for each asset are below:

Utilizations /Interest Rates$OAS$WETH$WBTC

1%

0.16%

0.12%

0.11%

2%

0.31%

0.25%

0.22%

3%

0.47%

0.37%

0.32%

4%

0.62%

0.49%

0.43%

5%

0.78%

0.62%

0.54%

6%

0.93%

0.74%

0.65%

7%

1.09%

0.86%

0.75%

8%

1.24%

0.98%

0.86%

9%

1.40%

1.11%

0.97%

10%

1.56%

1.23%

1.08%

11%

1.71%

1.35%

1.18%

12%

1.87%

1.48%

1.29%

13%

2.02%

1.60%

1.40%

14%

2.18%

1.72%

1.51%

15%

2.33%

1.85%

1.62%

16%

2.49%

1.97%

1.72%

17%

2.64%

2.09%

1.83%

18%

2.80%

2.22%

1.94%

19%

2.96%

2.34%

2.05%

20%

3.11%

2.46%

2.15%

21%

3.27%

2.58%

2.26%

22%

3.42%

2.71%

2.37%

23%

3.58%

2.83%

2.48%

24%

3.73%

2.95%

2.58%

25%

3.89%

3.08%

2.69%

26%

4.04%

3.20%

2.80%

27%

4.20%

3.32%

2.91%

28%

4.36%

3.45%

3.02%

29%

4.51%

3.57%

3.12%

30%

4.67%

3.69%

3.23%

31%

4.82%

3.82%

3.34%

32%

4.98%

3.94%

3.45%

33%

5.13%

4.06%

3.55%

34%

5.29%

4.18%

3.66%

35%

5.44%

4.31%

3.77%

36%

5.60%

4.43%

3.88%

37%

5.76%

4.55%

3.98%

38%

5.91%

4.68%

4.09%

39%

6.07%

4.80%

4.20%

40%

6.22%

4.92%

4.31%

41%

6.38%

5.05%

4.42%

42%

6.53%

5.17%

4.52%

43%

6.69%

5.29%

4.63%

44%

6.84%

5.42%

4.74%

45%

7.00%

5.54%

4.85%

46%

12.45%

5.66%

4.95%

47%

17.91%

5.78%

5.06%

48%

23.36%

5.91%

5.17%

49%

28.82%

6.03%

5.28%

50%

34.27%

6.15%

5.38%

51%

39.73%

6.28%

5.49%

52%

45.18%

6.40%

5.60%

53%

50.64%

6.52%

5.71%

54%

56.09%

6.65%

5.82%

55%

61.55%

6.77%

5.92%

56%

67.00%

6.89%

6.03%

57%

72.45%

7.02%

6.14%

58%

77.91%

7.14%

6.25%

59%

83.36%

7.26%

6.35%

60%

88.82%

7.38%

6.46%

61%

94.27%

7.51%

6.57%

62%

99.73%

7.63%

6.68%

63%

105.18%

7.75%

6.78%

64%

110.64%

7.88%

6.89%

65%

116.09%

8.00%

7.00%

66%

121.55%

10.86%

9.86%

67%

127.00%

13.71%

12.71%

68%

132.45%

16.57%

15.57%

69%

137.91%

19.43%

18.43%

70%

143.36%

22.29%

21.29%

71%

148.82%

25.14%

24.14%

72%

154.27%

28.00%

27.00%

73%

159.73%

30.86%

29.86%

74%

165.18%

33.71%

32.71%

75%

170.64%

36.57%

35.57%

76%

176.09%

39.43%

38.43%

77%

181.55%

42.29%

41.29%

78%

187.00%

45.14%

44.14%

79%

192.45%

48.00%

47.00%

80%

197.91%

50.86%

49.86%

81%

203.36%

53.71%

52.71%

82%

208.82%

56.57%

55.57%

83%

214.27%

59.43%

58.43%

84%

219.73%

62.29%

61.29%

85%

225.18%

65.14%

64.14%

86%

230.64%

68.00%

67.00%

87%

236.09%

70.86%

69.86%

88%

241.55%

73.71%

72.71%

89%

247.00%

76.57%

75.57%

90%

252.45%

79.43%

78.43%

91%

257.91%

82.29%

81.29%

92%

263.36%

85.14%

84.14%

93%

268.82%

88.00%

87.00%

94%

274.27%

90.86%

89.86%

95%

279.73%

93.71%

92.71%

96%

285.18%

96.57%

95.57%

97%

290.64%

99.43%

98.43%

98%

296.09%

102.29%

101.29%

99%

301.55%

105.14%

104.14%

100%

307.00%

108.00%

107.00%

Deposit APY

The borrowing interest paid is distributed as yield for lToken holders deposited in the protocol, except for the share of yields sent to the ecosystem reserve defined by Reserve Factor. This interest rate is paid on the asset that is borrowed and then shared among all the liquidity providers. The deposit APY, DtD_t, is:

Dt=UtVt(1βˆ’Rt)D_t = U_t V_t(1-R_t)

You can view Palmy Finance deposit APY on Palmy App for each asset.

The average Deposit APY over a period also includes Flash Loan fees.

​Net APY

For your reference, it is calculated at frontend as follows:

Net APY = sum of PL by Asset in USD / Total Deposited in USD

PL by Asset in USD = Interest PL + Reward

Interest PL = deposited * APY in USD - borrowed * APY in USD

Reward = deposited * depositAPR in USD + borrowed * borrowAPR in USD

Last updated