referrerpolicy=no-referrer-when-downgrade

Function pallet_assets::pallet::dispatchables::refund_other

source ·
pub fn refund_other<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    who: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Return the deposit (if any) of a target asset account. Useful if you are the depositor.

The origin must be Signed and either the account owner, depositor, or asset Admin. In order to burn a non-zero balance of the asset, the caller must be the account and should use refund.

  • id: The identifier of the asset for the account holding a deposit.
  • who: The account to refund.

Emits Refunded event when successful.

§Warning: Doc-Only

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