Module runtime_common::xcm
source · Structs§
- How we convert an
[AccountId]
into an XCM Location - CurrencyIdConvert This type implements conversions from our
CurrencyId
type intoLocation
and vice-versa. A currency locally is identified with aCurrencyId
variant but in the network it is identified in the form of aLocation
. - Our FixedConversionRateProvider, used to charge XCM-related fees for tokens registered in the asset registry that were not already handled by native Trader rules.
Functions§
- A utils function to un-bloat and simplify the instantiation of
GeneralKey
values
Type Aliases§
- Barrier is a filter-like option controlling what messages are allows to be executed.
- No local origins on this chain are allowed to dispatch XCM sends/executions.
- Type for specifying how a
Location
can be converted into anAccountId
. This is used when determining ownership of accounts for asset transacting and when attempting to use XCMTransact
in order to determine the dispatch Origin.