Trait pallet_mapped_assets::AssetsCallback
source · pub trait AssetsCallback<AssetId, AccountId> {
// Provided methods
fn created(_id: &AssetId, _owner: &AccountId) { ... }
fn destroyed(_id: &AssetId) { ... }
}
Expand description
Trait with callbacks that are executed after successfull asset creation or destruction.
Provided Methods§
sourcefn created(_id: &AssetId, _owner: &AccountId)
fn created(_id: &AssetId, _owner: &AccountId)
Indicates that asset with id
was successfully created by the owner