pub fn close<T: Config>(pool_id: T::PoolId, loan_id: T::LoanId)
Expand description

Closes a given loan

A loan only can be closed if it’s fully repaid by the loan borrower. Closing a loan gives back the collateral used for the loan to the borrower .

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::close.