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 successfull asset creation or destruction.
Provided Methods§
Implementations on Foreign Types§
impl<AssetId, AccountId> AssetsCallback<AssetId, AccountId> for ()
Empty implementation in case no callbacks are required.