Borrowing
Last updated
Last updated
When taking a loan from FWX, borrowers are required to offer tokens as security. The value of the tokens used as collateral must always be higher than the amount of the loan. Initially, the maximum loan-to-value (LTV) ratio is set at 70%, which implies that the highest amount of loan a borrower can receive is 70% of the value of their deposited tokens. If the LTV ratio surpasses 80%, the loan will be liquidated. The interest rate for borrowing is non-compounding and remains consistent for a 28-day period. To preserve stability in the pool, a minimum of three days' worth of interest is charged for each loan.
The interest from the borrower is influenced by the relationship between the demand for borrowing and the supply of lending. To establish a clear link between the supply and demand of tokens in the pool and APRs, a utilization rate is computed by comparing the amount of borrowing and lending. The utilization rate serves as a gauge of balance between borrowing and lending. A high utilization rate corresponds to a high APY, while a low utilization rate results in a lower APY.
The utilization rate represents the percentage of tokens that are being borrowed from the pool. It has a direct correlation with the borrowing rate.
FWX protocol employs a piece-wise linear function to model the borrowing APRs curve. To achieve this, we divide the utilization rate, ranging from 0% to 100%, into n intervals at specific points
Each Ui has a corresponding borrowing APR Ri. Using this information, we model the borrowing APRs for each interval as a linear function with a slope of
Consequently, the borrowing APRs at any given utilization rate X can be expressed as a standard function.
If a user borrows tokens using a certain amount of collateral, resulting in an LTV ratio of less than 70%, the borrower is required to pay interest at a specified rate over a period of 28 days. Once this period is over, the borrower can renew their borrowing by selecting the "rollover" button, which will update the borrowing rate for the next 28-day period.
However, if the borrower fails to take any action after 28 days, the platform will charge the delay interest at the old rate along with penalty fees amounting to 5 times such interest rate. This will continue until the user takes some action or a third party presses the "rollover" button on the borrower interface.