Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
destroy_approvals should only be called after start_destroy has been called, and the
asset is in a Destroying state.
Due to weight restrictions, this function may need to be called multiple times to fully
destroy all approvals. It will destroy RemoveItemsLimit approvals at a time.
id: The identifier of the asset to be destroyed. This must identify an existing
asset.
Each call emits the Event::DestroyedApprovals event.
Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
destroy_approvals
should only be called afterstart_destroy
has been called, and the asset is in aDestroying
state.Due to weight restrictions, this function may need to be called multiple times to fully destroy all approvals. It will destroy
RemoveItemsLimit
approvals at a time.id
: The identifier of the asset to be destroyed. This must identify an existing asset.Each call emits the
Event::DestroyedApprovals
event.