Trait tidefi_primitives::pallet::AssetRegistryExt
source · pub trait AssetRegistryExt {
fn is_currency_enabled(currency_id: CurrencyId) -> bool;
}
Required Methods§
sourcefn is_currency_enabled(currency_id: CurrencyId) -> bool
fn is_currency_enabled(currency_id: CurrencyId) -> bool
Make sure the currency exist and is enabled