Crate xcm_builder

source ·
Expand description

XCM-Builder

Types and helpers for building XCM configuration.

Modules

Structs

Enums

Traits

  • Simple trait to indicate whether an asset is subject to having its teleportation into and out of this chain recorded and if so in what MintLocation.
  • Creates an instruction matcher from an XCM. Since XCM versions differ, we need to make a trait here to unify the interfaces among them.
  • Means of converting a location into a stable and unique descriptive identifier.
  • API that allows to pattern-match against anything that is contained within an XCM.
  • Function trait for handling some revenue. Similar to a negative imbalance (credit) handler, but for a MultiAsset. Sensible implementations will deposit the asset in some known treasury or block-author account.

Functions

  • Returns the network ID and consensus location within that network of the remote location dest which is itself specified as a location relative to the local chain, itself situated at universal_local within the consensus universe. If dest is not a location in remote consensus, then an error is returned.

Type Definitions