Withdraw Collateral
Once a loan has been fully repaid, it will transition to a status of 'paid'. Once this happens, the borrower is allowed to withdraw any collateral that was deposited during acceptBid()
by calling the withdraw()
function of CollateralManager.sol
.
Any account is allowed to call this method. If the loan status is 'paid' then the collateral will be transferred to the lender address for the loan.
Last updated