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
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Functions§
- Ensure that the origin
o
represents is the relay chain. ReturnsOk
if it does or anErr
otherwise. - Ensure that the origin
o
represents a sibling parachain. ReturnsOk
with the parachain ID of the sibling or anErr
otherwise.