pub fn propose_transfer_debt<T: Config>(
    pool_id: T::PoolId,
    from_loan_id: T::LoanId,
    to_loan_id: T::LoanId,
    repaid_amount: RepaidInput<T>,
    borrow_amount: PrincipalInput<T>
)
Expand description

Transfer debt from one loan to another loan, repaying from the first loan and borrowing the same amount from the second loan. from_loan_id is the loan used to repay. to_loan_id is the loan used to borrow. The repaid and borrow amount must match.

§Warning: Doc-Only

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