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§

Provided Methods§

source

fn create_foreign_asset( _asset: T::AssetId, _min_balance: T::Balance, _metadata: T::AssetRegistrarMetadata, _is_sufficient: bool ) -> DispatchResult

source

fn destroy_foreign_asset(_asset: T::AssetId) -> DispatchResult

Object Safety§

This trait is not object safe.

Implementors§