Repay
How to repay loans
The protocol supports partial and complete repays. You can do so via the dApp or by calling repay or repayMax functions on the Nebula contract via web3.
It is also possible to use the exitAll function to repay the loan and withdraw all collateral via one transaction.
You can check the outstanding amount via the dApp or by calling getAccruedDebt function via web3.
Last updated