Destroy all accounts associated with a given asset.
destroy_accounts 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 accounts. It will destroy RemoveItemsLimit accounts at a time.
id: The identifier of the asset to be destroyed. This must identify an existing
asset.
Each call emits the Event::DestroyedAccounts event.
Destroy all accounts associated with a given asset.
destroy_accounts
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 accounts. It will destroy
RemoveItemsLimit
accounts at a time.id
: The identifier of the asset to be destroyed. This must identify an existing asset.Each call emits the
Event::DestroyedAccounts
event.