Expand description
Cross-Consensus Message format data structures.
Modules§
- latest
- lts
- opaque
- prelude
- v2
Deprecated - XCM Version 2
- v3
- Version 3 of the Cross-Consensus Message format data structures.
- v4
- Version 4 of the Cross-Consensus Message format data structures.
Structs§
- Always
V2 WrapVersionimplementation which attempts to always convert the XCM to version 2 before wrapping it.- Always
V3 WrapVersionimplementation which attempts to always convert the XCM to version 3 before wrapping it.- Always
V4 WrapVersionimplementation which attempts to always convert the XCM to version 3 before wrapping it.- Double
Encoded - Wrapper around the encoded and decoded versions of a value. Caches the decoded value once computed.
Enums§
- Unsupported
- Versioned
Asset - A single
Assetvalue, together with its version code. - Versioned
Asset Id - A single version’s
AssetIdvalue, together with its version code. - Versioned
Assets - A single
MultiAssetsvalue, together with its version code. - Versioned
Interior Location - A single
InteriorLocationvalue, together with its version code. - Versioned
Junction - A single
Junctionvalue, together with its version code. - Versioned
Location - A single
Locationvalue, together with its version code. - Versioned
Network Id - A single
NetworkIdvalue, together with its version code. - Versioned
Response - A single version’s
Responsevalue, together with its version code. - Versioned
Xcm - A single XCM message, together with its version code.
Constants§
- MAX_
XCM_ DECODE_ DEPTH - Maximum nesting level for XCM decoding.
Traits§
- GetVersion
- Check and return the
Versionthat should be used for theXcmdatum for the destinationLocation, which will interpret it. - Identify
Version - Used to get the version out of a versioned type.
- Into
Version - Attempt to convert
selfinto a particular version of itself. - TryAs
- Wrap
Version - Convert an
Xcmdatum into aVersionedXcm, based on a destinationLocationwhich will interpret it.
Type Aliases§
- Always
Latest WrapVersionimplementation which attempts to always convert the XCM to the latest version before wrapping it.- Always
Lts WrapVersionimplementation which attempts to always convert the XCM to the most recent Long- Term-Support version before wrapping it.- Version
- A version of XCM.
- Versioned
Interior Multi Location Deprecated - Versioned
Multi Asset Deprecated - Versioned
Multi Assets Deprecated - Versioned
Multi Location Deprecated