Module opaque Copy item path Ancestor A unit struct which can be converted into a Location
of the inner parents
value. AncestorThen A unit struct which can be converted into a Location
of the inner parents
value and the
inner interior. Asset Either an amount of a single fungible asset, or a single well-identified non-fungible asset. AssetId Location to identify an asset. Assets A Vec
of Asset
s. HintNumVariants InstructionError XCM error and the index of the instruction that caused it. Location A relative path between state-bearing consensus systems. MaxAssetTransferFilters PalletInfo Parent A unit struct which can be converted into a Location
of parents
value 1. ParentThen A tuple struct which can be converted into a Location
of parents
value 1 with the inner
interior. QueryResponseInfo Information regarding the composition of a query response. Weight XcmContext Contextual data pertaining to a specific list of XCM instructions. AssetFilter Asset
collection, defined either by a number of Assets
or a single wildcard.AssetInstance A general identifier for an instance of a non-fungible asset class. BodyId An identifier of a pluralistic body. BodyPart A part of a pluralistic body. Fungibility Classification of whether an asset is fungible or not, along with a mandatory amount or
instance. Hint Junction A single item in a path to describe the relative location of a consensus system. Junctions Non-parent junctions that can be constructed, up to the length of 8. This specific Junctions
implementation uses a Rust enum
in order to make pattern matching easier. MaybeErrorCode NetworkId A global identifier of a data structure existing within consensus. OriginKind Basically just the XCM (more general) version of ParachainDispatchOrigin
. Outcome Outcome of an XCM execution. Response Response data to a query. SendError Error result value when attempting to send an XCM message. WeightLimit An optional weight limit. WildAsset A wildcard representing a set of assets. WildFungibility Classification of whether an asset is fungible or not. XcmError Error codes used in XCM. The first errors codes have explicit indices and are part of the XCM
format. Those trailing are merely part of the XCM implementation; there is no expectation that
they will retain the same index over time. XCM_VERSION ExecuteXcm Type of XCM message executor. PreparedMessage Reanchorable SendXcm Utility for sending an XCM message to a given location. XcmWeightInfo send_xcm Convenience function for using a SendXcm
implementation. Just interprets the dest
and wraps
both in Some
before passing them as mutable references into T::send_xcm
. validate_send Convenience function for using a SendXcm
implementation. Just interprets the dest
and wraps
both in Some
before passing them as mutable references into T::send_xcm
. Instruction The basic concrete type of Instruction
, which doesn’t make any assumptions about the
format of a call other than it is pre-encoded. InstructionIndex The index of an instruction in an XCM. InteriorLocation A relative location which is constrained to be an interior location of the context. QueryId An identifier for a query. SendResult Result value when attempting to send an XCM message. Xcm The basic concrete type of Xcm
, which doesn’t make any assumptions about the
format of a call other than it is pre-encoded. XcmHash A hash type for identifying messages. XcmResult