Function pallet_assets::pallet::dispatchables::refund
source · pub fn refund<T: Config<I>, I: 'static>(
id: T::AssetIdParameter,
allow_burn: bool
)
Expand description
Return the deposit (if any) of an asset account or a consumer reference (if any) of an account.
The origin must be Signed.
id
: The identifier of the asset for which the caller would like the deposit refunded.allow_burn
: Iftrue
then assets may be destroyed in order to complete the 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
.