pub trait Inspect {
    type AssetId;
    type Balance;
    type CustomMetadata: Parameter + Member + TypeInfo;

    fn asset_id(location: &MultiLocation) -> Option<Self::AssetId>;
    fn metadata(
        asset_id: &Self::AssetId
    ) -> Option<AssetMetadata<Self::Balance, Self::CustomMetadata>>; fn metadata_by_location(
        location: &MultiLocation
    ) -> Option<AssetMetadata<Self::Balance, Self::CustomMetadata>>; fn location(
        asset_id: &Self::AssetId
    ) -> Result<Option<MultiLocation>, DispatchError>; }

Required Associated Types§

AssetId type

Balance type

Custom metadata type

Required Methods§

Implementors§