Crate pallet_xcm
source ·Expand description
Pallet to handle XCM messages.
Re-exports
pub use pallet::*;
Modules
- The
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs
EnsureOriginimplementation succeeding with aMultiLocationvalue to recognize and filter theOrigin::Responseitem.EnsureOriginimplementation succeeding with aMultiLocationvalue to recognize and filter theOrigin::Xcmitem.- Filter for
MultiLocationto find those which represent a strict majority approval of an identified plurality. - Filter for
MultiLocationto 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::Xcmvalue.
Traits
Functions
- Ensure that the origin
orepresents an XCM response origin. - Ensure that the origin
orepresents an XCM (Transact) origin.