Crate pallet_xcm

source ·
Expand description

Pallet to handle XCM messages.

Re-exports

Modules

  • The module that hosts all the FRAME types needed to add this pallet to a runtime.

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.
  • A simple passthrough where we reuse the MultiLocation-typed XCM origin as the inner value of this crate’s Origin::Xcm value.

Functions

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