Expand description
Cross-Consensus Message format data structures.
Modules
- XCM Version 2
- Version 3 of the Cross-Consensus Message format data structures.
Structs
WrapVersion
implementation which attempts to always convert the XCM to version 2 before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to version 3 before wrapping it.- Wrapper around the encoded and decoded versions of a value. Caches the decoded value once computed.
Enums
- A single version’s
Response
value, together with its version code. - A single
InteriorMultiLocation
value, together with its version code. - A single
Junction
value, together with its version code. - A single
MultiAsset
value, together with its version code. - A single
MultiAssets
value, together with its version code. - A single
MultiLocation
value, together with its version code. - A single
NetworkId
value, together with its version code. - A single version’s
Response
value, together with its version code. - A single XCM message, together with its version code.
Constants
- Maximum nesting level for XCM decoding.
Traits
- Attempt to convert
self
into a particular version of itself. - Convert an
Xcm
datum into aVersionedXcm
, based on a destinationMultiLocation
which will interpret it.
Type Definitions
WrapVersion
implementation which attempts to always convert the XCM to the latest version before wrapping it.WrapVersion
implementation which attempts to always convert the XCM to the most recent Long- Term-Support version before wrapping it.- A version of XCM.