Trait pallet_asset_manager::pallet::AssetRegistrar
source · pub trait AssetRegistrar<T: Config> {
// Required method
fn destroy_asset_dispatch_info_weight(_asset: T::AssetId) -> Weight;
// Provided methods
fn create_foreign_asset(
_asset: T::AssetId,
_min_balance: T::Balance,
_metadata: T::AssetRegistrarMetadata,
_is_sufficient: bool
) -> DispatchResult { ... }
fn destroy_foreign_asset(_asset: T::AssetId) -> DispatchResult { ... }
}
Required Methods§
fn destroy_asset_dispatch_info_weight(_asset: T::AssetId) -> Weight
Provided Methods§
fn create_foreign_asset( _asset: T::AssetId, _min_balance: T::Balance, _metadata: T::AssetRegistrarMetadata, _is_sufficient: bool ) -> DispatchResult
fn destroy_foreign_asset(_asset: T::AssetId) -> DispatchResult
Object Safety§
This trait is not object safe.