Crate cumulus_pallet_xcm
source ·Expand description
Pallet for stuff specific to parachains’ usage of XCM. Right now that’s just the origin
used by parachains when receiving Transact messages from other parachains or the Relay chain
which must be natively represented.
Re-exports
pub use pallet::*;
Modules
- The
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs
- For an incoming downward message, this just adapts an XCM executor and executes DMP messages immediately. Their origin is asserted to be the Parent location.
- For an incoming downward message, this just adapts an XCM executor and executes DMP messages immediately. Their origin is asserted to be the Parent location.
Functions
- Ensure that the origin
orepresents is the relay chain. ReturnsOkif it does or anErrotherwise. - Ensure that the origin
orepresents a sibling parachain. ReturnsOkwith the parachain ID of the sibling or anErrotherwise.