Trait primitives::traits::MultiAssetRegistry [−][src]
pub trait MultiAssetRegistry<AssetId> {
fn native_asset_location(asset: &AssetId) -> Option<MultiLocation>;
fn is_liquid_asset(asset: &AssetId) -> bool;
}
Expand description
Type that provides the mapping between AssetId
and MultiLocation
.
Required methods
fn native_asset_location(asset: &AssetId) -> Option<MultiLocation>
fn native_asset_location(asset: &AssetId) -> Option<MultiLocation>
Determines the relative location of the consensus system where the given asset is native from the point of view of the current system
fn is_liquid_asset(asset: &AssetId) -> bool
fn is_liquid_asset(asset: &AssetId) -> bool
Whether the given identifier is currently supported as a liquid asset