Brokex Docs
Docs/PROTOCOL MECHANICS/Interest Rate Model

Interest Rate Model

Kinked utilization-based borrow APR and global RAY debt index.

Kinked Long Borrowing Interest Rate Curve (LongRateConfig)min 2% · opt 8% @ 80% · max 40%
0%10%20%30%40%0%20%40%60%80%100%2.00% min8.00% @ 80% kink40.00% maxVault Utilization (debt / grossAssets)

Kinked APR Formula (LongManager.currentLongAprBps())

  • For utilBps <= 8000 (80%): aprBps=200+⌊(800−200)⋅utilBps8000⌋\text{aprBps} = 200 + \left\lfloor \frac{(800 - 200) \cdot \text{utilBps}}{8000} \right\rfloor
  • For utilBps > 8000: aprBps=800+⌊(4000−800)⋅(utilBps−8000)10000−8000⌋\text{aprBps} = 800 + \left\lfloor \frac{(4000 - 800) \cdot (\text{utilBps} - 8000)}{10000 - 8000} \right\rfloor