Function pallet_assets::pallet::dispatchables::finish_destroy
source · pub fn finish_destroy<T: Config<I>, I: 'static>(id: T::AssetIdParameter)
Expand description
Complete destroying asset and unreserve currency.
finish_destroy
should only be called after start_destroy
has been called, and the
asset is in a Destroying
state. All accounts or approvals should be destroyed before
hand.
id
: The identifier of the asset to be destroyed. This must identify an existing asset.
Each successful call emits the Event::Destroyed
event.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::finish_destroy
.