Module pallet_xcm_bridge_router::impls

source ·
Expand description

Various implementations supporting easier configuration of the pallet.

Structs§

  • Implementation of ResolveBridgeId returning [bp_xcm_bridge::BridgeId] based on the configured UniversalLocation and remote universal location.
  • Adapter implementation for [SendXcm] that allows adding a message size fee and/or dynamic fees based on the BridgeId resolved by the T::BridgeIdResolver resolver, if and only if E supports routing. This adapter can be used, for example, as a wrapper over [xcm_builder::LocalExporter], enabling it to compute message and/or dynamic fees using a fee factor.
  • Adapter implementation for [ExporterFor] that allows exporting message size fee and/or dynamic fees based on the BridgeId resolved by the T::BridgeIdResolver resolver, if and only if the E exporter supports bridging. This adapter acts as an [ExporterFor], for example, for the [xcm_builder::SovereignPaidRemoteExporter], enabling it to compute message and/or dynamic fees using a fee factor.