Crate pallet_xcm
source ·Expand description
Pallet to handle XCM messages.
Re-exports
pub use pallet::*;
Modules
- The module that hosts all the FRAME types needed to add this pallet to a runtime.
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. - A simple passthrough where we reuse the
MultiLocation
-typed XCM origin as the inner value of this crate’sOrigin::Xcm
value.
Functions
- Ensure that the origin
o
represents an XCM response origin. - Ensure that the origin
o
represents an XCM (Transact
) origin.