Expand description
§XCM Primitives
§Overview
Collection of common XCM primitives used by runtimes.
AssetLocationIdConverter- conversion between local asset Id and cross-chain asset multilocationFixedRateOfForeignAsset- weight trader for execution payment in foreign assetReserveAssetFilter- used to check whether asset/origin are a valid reserve locationXcmFungibleFeeHandler- used to handle XCM fee execution fees
Please refer to implementation below for more info.
Structs§
- Absolute
AndRelative Reserve Provider Assetreserve location provider. It’s based onRelativeReserveProviderand in addition will convert self absolute location to relative location.- Account
IdTo Multi Location - Convert
AccountIdtoLocation. - Allow
TopLevel Paid Execution From - Allows execution from
originif it is contained inT(i.e.T::Contains(origin)) taking payments into account. - Asset
Location IdConverter - Used to convert between cross-chain asset multilocation and local asset Id.
- Fixed
Rate OfForeign Asset - Used as weight trader for foreign assets.
- Reserve
Asset Filter - Used to determine whether the cross-chain asset is coming from a trusted reserve or not
- XcmFungible
FeeHandler - Used to deposit XCM fees into a destination account.