Exchange Rate
Each rToken (Rheofi's interest-bearing token) has an exchange rate that determines how many underlying tokens one rToken is worth. The exchange rate increases over time as interest accrues:
exchangeRate=totalSupply of rTokenstotalCash+totalBorrows−totalReserves
When you supply assets, you receive rTokens based on the current exchange rate. When you redeem, you receive more underlying tokens than you originally deposited, reflecting the interest earned.
Utilization Rate
The utilization rate measures how much of the supplied liquidity is currently being borrowed:
U=totalCash+totalBorrows−totalReservestotalBorrows
A higher utilization rate indicates greater demand for borrowing and typically leads to higher interest rates.
Interest Rate Calculations
Rheofi uses a jump rate model for most markets. The borrow rate is calculated per block:
- When U≤Ukink: borrowRate=U×multiplier+baseRate
- When U>Ukink: borrowRate=Ukink×multiplier+(U−Ukink)×jumpMultiplier+baseRate
The supply rate is derived from the borrow rate:
supplyRate=U×borrowRate×(1−reserveFactor)
Collateral Factor
Each asset has a collateral factor (between 0 and 1) that determines how much borrowing power it provides:
borrowingPower=∑(suppliedValuei×collateralFactori)
A collateral factor of 0.75 means that for every 100ofcollateralsupplied,youcanborrowupto75.
Health Factor
The health factor determines whether a position is at risk of liquidation:
healthFactor=totalBorrowValue∑(collateralValuei×liquidationThresholdi)
A health factor below 1 means the position is under-collateralized and eligible for liquidation. Users should maintain a health factor well above 1 to provide a safety buffer against price volatility.