Trait pallet_assets::AssetsCallback
source · pub trait AssetsCallback<AssetId, AccountId> {
// Provided methods
fn created(_id: &AssetId, _owner: &AccountId) -> Result<(), ()> { ... }
fn destroyed(_id: &AssetId) -> Result<(), ()> { ... }
}
Expand description
Trait with callbacks that are executed after successful asset creation or destruction.
Provided Methods§
Object Safety§
This trait is not object safe.