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

The caller redeems their entire lend token balance in exchange for the underlying asset. Note: this will fail if the account needs some of the collateral for backing open borrows, or if any of the lend tokens are used by other pallets (e.g. used as vault collateral)

  • asset_id: the asset to be redeemed.

Warning: Doc-Only

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