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§

source

fn on_asset_created(foreign_asset: &ForeignAsset, asset_id: &AssetId)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<ForeignAsset> ForeignAssetCreatedHook<ForeignAsset> for ()

source§

fn on_asset_created(_foreign_asset: &ForeignAsset, _asset_id: &AssetId)

Implementors§