Module staging_xcm_executor::traits
source · Expand description
Various traits used in configuring the executor.
Modules§
Structs§
- A structure that performs identity conversion.
- A structure that performs standard conversion using the standard Rust conversion traits.
- Properties of an XCM message and its imminent execution.
Enums§
- Errors related to determining asset transfer support.
- Errors associated with
MatchesFungibles
operation. - Context under which a fee is paid.
- The possible state of an XCM query response.
- Specify which type of asset transfer is required for a particular
(asset, dest)
combination.
Traits§
- A service for exchanging assets.
- Define a handler for notification of an asset being locked and for the unlock instruction.
- Defines how a call is dispatched with given origin. Allows to customize call dispatch, such as adapting the origin based on the call or modifying the call.
- Trait to determine whether the execution engine is suspended from executing a given XCM.
- Define any handlers for the
AssetClaim
instruction. - Means of converting a location into an account identifier.
- A converter
trait
for origin types. - Define a handler for when some non-empty
AssetsInHolding
value should be dropped. - Utility for delivering a message to a system under a different (non-local) consensus with a spoofed origin. This essentially defines the behaviour of the
ExportMessage
XCM instruction. - Handle stuff to do with taking fees in certain XCM instructions.
- FilterAssetLocationDeprecatedFilters assets/location pairs.
- Executes optional logic when a
HrmpChannelAccepted
XCM notification is received. - Executes optional logic when a
HrmpChannelClosing
XCM notification is received. - Executes logic when a
HrmpNewChannelOpenRequest
XCM notification is received. - Define what needs to be done upon receiving a query response.
- Provides mechanisms for transactional processing of XCM instructions.
- Provides methods to expect responses from XCMs and query their status.
- Trait for recording XCMs.
- Trait to determine whether the execution engine should actually execute a given XCM.
- Facility for asset transacting.
- Trait for a type which handles notifying a destination of XCM version changes.
- Determine the weight of an XCM message.
- Charge for weight in order to execute XCM.
- A trait for identifying asset transfer type based on
IsTeleporter
andIsReserve
configurations.
Functions§
- Convenience function for using a
SendXcm
implementation. Just interprets thedest
and wraps both inSome
before passing them as as mutable references intoT::send_xcm
. - Convenience function for using a
SendXcm
implementation. Just interprets thedest
and wraps both inSome
before passing them as as mutable references intoT::send_xcm
.