In the borrow modal, User can choose the asset they want to borrow, can see their current borrow balance, current borrow APR and when they enter the amount, they can see how their loan limit and loan balance are going to change accordingly.
Borrow can be made at any time if the user has enough collateral and if there are enough assets in the pool.
user_deposit_balance * ltv_ratio - user_borrow_balance
On the right side of the modal User can track how the proposed loan will affect their loan balance and loan balance limit, for example:
Clicking on the BORROW button sends the transaction request to the ledger and the User is informed they should open their Radix Wallet to continue.
Upon opening the Radix Wallet app, User can see transaction details, review it and sign it to be committed.
Transaction can be canceled at any time before signing by clicking on the cancel button in the modal or on the X in the upper left corner in the Radix Wallet.
Click on the MAX button will fill the amount input with the maximum allowed amount that the user can borrow at the moment. MAX value for the User depends on deposit and borrow balance as well as on Loan-to-Value ratio that every pool has. Learn more about the LTV Ratio in our section. MAX borrow value for the User is calculated using the following formula: