Function pallet_loans::pallet::dispatchables::apply_transfer_debt
source · pub fn apply_transfer_debt<T: Config>(pool_id: T::PoolId, change_id: T::Hash)
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::apply_transfer_debt
.