Crate pallet_xcm
source ·Expand description
Pallet to handle XCM messages.
Re-exports
pub use pallet::*;
Modules
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs
EnsureOrigin
implementation succeeding with aMultiLocation
value to recognize and filter theOrigin::Response
item.EnsureOrigin
implementation succeeding with aMultiLocation
value to recognize and filter theOrigin::Xcm
item.- Filter for
MultiLocation
to find those which represent a strict majority approval of an identified plurality. - Filter for
MultiLocation
to find those which represent a voice of an identified plurality. - fallback implementation
- A simple passthrough where we reuse the
MultiLocation
-typed XCM origin as the inner value of this crate’sOrigin::Xcm
value.
Traits
Functions
- Ensure that the origin
o
represents an XCM response origin. - Ensure that the origin
o
represents an XCM (Transact
) origin.