referrerpolicy=no-referrer-when-downgrade

Crate assets_common

Source

Modules§

benchmarks
foreign_creators
fungible_conversion
Runtime API definition for assets.
local_and_foreign_assets
matching
runtime_api
Runtime API definition for fungibles.

Structs§

AccountKey20ToH160
Fallible converter from a location to a H160 that matches any location ending with an AccountKey20 junction.
ERC20Transactor
An Asset Transactor that deals with ERC20 tokens.
IsLocalAccountKey20
Contains<Location> implementation that matches locations with no parents, a PalletInstance and an AccountKey20 junction.
PoolAdapter
Adapter implementation for accessing pools (pallet_asset_conversion) that uses AssetKind as a xcm::v* which could be different from the xcm::latest.

Type Aliases§

AssetIdForPoolAssets
AssetIdForPoolAssetsConvert
Location vs AssetIdForPoolAssets converter for PoolAssets.
AssetIdForTrustBackedAssetsConvert
Location vs AssetIdForTrustBackedAssets converter for TrustBackedAssets
CollectionIdForUniquesConvert
Location vs CollectionId converter for Uniques
ERC20Matcher
[xcm_executor::traits::MatchesFungibles] implementation that matches ERC20 tokens.
ForeignAssetsConvertedConcreteId
[MatchedConvertedConcreteId] converter dedicated for storing ForeignAssets with AssetId as Location.
PoolAssetsConvertedConcreteId
[MatchedConvertedConcreteId] converter dedicated for PoolAssets
TrustBackedAssetsAsLocation
[MatchedConvertedConcreteId] converter dedicated for TrustBackedAssets, it is a similar implementation to TrustBackedAssetsConvertedConcreteId, but it converts AssetId to xcm::v*::Location type instead of AssetIdForTrustBackedAssets = u32
TrustBackedAssetsConvertedConcreteId
[MatchedConvertedConcreteId] converter dedicated for TrustBackedAssets
UniquesConvertedConcreteId
[MatchedConvertedConcreteId] converter dedicated for Uniques