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

Increase debt for a loan. Similar to Pallet::borrow() but without transferring from the pool.

The origin must be the borrower of the loan. The increase debt action should fulfill the borrow restrictions configured at types::LoanRestrictions. The portfolio valuation of the pool is updated to reflect the new present value of the loan.

§Warning: Doc-Only

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