Crate pallet_xcm

source ·
Expand description

Pallet to handle XCM messages.

Re-exports

Modules

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs

  • EnsureOrigin implementation succeeding with a MultiLocation value to recognize and filter the Origin::Response item.
  • EnsureOrigin implementation succeeding with a MultiLocation value to recognize and filter the Origin::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’s Origin::Xcm value.

Traits

Functions

  • Ensure that the origin o represents an XCM response origin.
  • Ensure that the origin o represents an XCM (Transact) origin.