Function loans::pallet::dispatchables::repay_borrow
source · pub fn repay_borrow<T: Config>(
asset_id: <T as Config>::CurrencyId,
repay_amount: <T as Config>::Balance
)
Expand description
The caller repays some of their debts.
asset_id
: the asset to be repaid.repay_amount
: the amount to be repaid, in the underlying currency (asset_id
).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::repay_borrow
.