pub fn withdraw_all_collateral<T: Config>(asset_id: <T as Config>::CurrencyId)
Expand description

Caller disables their lend token balance as borrow collateral. This operation unlocks the lend tokens, so they become transferrable. This operation can only succeed if the caller’s debt is backed by sufficient collateral excluding this currency.

  • asset_id: the underlying asset denoting the market whose lend tokens are to be disabled as collateral.

Warning: Doc-Only

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