pub trait ForeignAssetCreatedHook<ForeignAsset> {
// Required method
fn on_asset_created(foreign_asset: &ForeignAsset, asset_id: &AssetId);
}
Expand description
Trait for the OnForeignAssetRegistered hook
Required Methods§
fn on_asset_created(foreign_asset: &ForeignAsset, asset_id: &AssetId)
Object Safety§
This trait is not object safe.