Borrowing
Last updated
Last updated
Tokens can be borrowed from the money market by creating a loan position with whitelisted sAssets as collateral. An account can only own a single loan position, though a user may create more loan positions with the use of multiple accounts.
sAssets collaterals are locked to open a loan position. Users are allowed to lock multiple sAsset types to a single position, diversifying collateral price exposure
Borrows can be made until the user's liability reaches their position's borrow limit. The borrow limit is yielded as the sum of locked collateral value, times the maximum LTV ratio of collateral:
One should observe that the borrow limit fluctuates with the oracle-reported sAsset price. Loan positions with a liability higher than their borrow limit are subject to liquidation, where their collaterals are converted to stablecoins to repay their liabilities.
To prevent liquidation, borrowers can lock additional collateral to their position and increase their borrow limit. Collaterals can also be unlocked and withdrawn from a loan position, as long as the borrower's liability does not exceed the position's borrow limit.
Tokens borrowed from a market all follow a unified, algorithmically determined borrow rate. The applied borrow rate constantly adjusts based on the market supply and demand, set to increase as a function of the utilization ratio.
Utilization Rate is an indicator of the availability of capital within the pool, at time is caculated as:
A high utilization rate indicates that a lot of borrowing has occurred, while a low ratio indicates the opposite.
The interest rate model manages liquidity risk in the protocol through user incentives to support liquidity:
When capital is available: low-interest rates to encourage borrowing.
When capital is scarce: high-interest rates to encourage repayments of debt and additional supplying
Interest Rate Model tends to be a cost-effective way for the Pool to run itself. The parameters of the pool will aid in the adjustment of borrow and deposit rates to a balanced and reasonable point.
Borrowing capacity of a loan position is a ratio that indicates the user loan position's liquidation riskiness, which is calculated as the following formula:
To improves user's collateral safety and borrow position, user can:
Repay a portion or the full amount of the borrowed amount
Provide more collateral
If Utilization Rate approaches 100%, there will be a scarcity of tokens in the Pool. The borrower will be unable to borrow at this time, and the lender will be unable to withdraw funds from the Pool. To avoid this, the interest rate curve is split into two parts around an Optimal Utilization Rate. Before the slope is small, after it begins rising sharply.
Specifically, the borrow interest rate is defined by:
If then
if then
The interest rates have a kink in them: they sharply change at a certain point. A variety of protocols use interest rates like this, including Aave and Compound. As users mint, redeem, borrow, repay, or liquidate tokens, the interest rate changes with the utilization rate . As a result, it's also known as a variable interest rate.
When is higher then 100%, a portion of the user's collateral can be liquidated.