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 aLocation
value to recognize and filter theOrigin::Response
item.EnsureOrigin
implementation succeeding with aLocation
value to recognize and filter theOrigin::Xcm
item.- Filter for
Location
to find those which represent a strict majority approval of an identified plurality. - Filter for
Location
to find those which represent a voice of an identified plurality. - fallback implementation
- A simple passthrough where we reuse the
Location
-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.