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 configuredUniversalLocation
and remote universal location. - Adapter implementation for [
SendXcm
] that allows adding a message size fee and/or dynamic fees based on theBridgeId
resolved by theT::BridgeIdResolver
resolver, if and only ifE
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 theBridgeId
resolved by theT::BridgeIdResolver
resolver, if and only if theE
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.