diff --git a/pallets/foreign-asset-creator/src/lib.rs b/pallets/foreign-asset-creator/src/lib.rs index b6291b5f..af6e89d3 100644 --- a/pallets/foreign-asset-creator/src/lib.rs +++ b/pallets/foreign-asset-creator/src/lib.rs @@ -36,11 +36,26 @@ pub trait ForeignAssetCreatedHook { ); } +impl + ForeignAssetCreatedHook for () +{ + fn on_asset_created( + _foreign_asset: &ForeignAsset, + _asset_id: &AssetId, + _min_balance: &AssetBalance, + ) { + } +} + /// Trait for the OnForeignAssetDeregistered hook pub trait ForeignAssetDestroyedHook { fn on_asset_destroyed(foreign_asset: &ForeignAsset, asset_id: &AssetId); } +impl ForeignAssetDestroyedHook for () { + fn on_asset_destroyed(_foreign_asset: &ForeignAsset, _asset_id: &AssetId) {} +} + #[pallet] pub mod pallet { use super::*;