Module xcm_builder::test_utils

source ·

Modules

Structs

A unit struct which can be converted into a MultiLocation of the inner parents value.
A unit struct which can be converted into a MultiLocation of the inner parents value and the inner interior.
List of non-wildcard fungible and non-fungible assets.
A Vec of MultiAssets. There may be no duplicate fungible items in here and when decoding, they must be sorted.
A relative path between state-bearing consensus systems.
A unit struct which can be converted into a MultiLocation of parents value 1.
A tuple struct which can be converted into a MultiLocation of parents value 1 with the inner interior.

Enums

Classification of an asset being concrete or abstract.
A general identifier for an instance of a non-fungible asset class.
An identifier of a pluralistic body.
A part of a pluralistic body.
Classification of whether an asset is fungible or not, along with a mandatory amount or instance.
Cross-Consensus Message: A message from one consensus system to another.
A single item in a path to describe the relative location of a consensus system.
Non-parent junctions that can be constructed, up to the length of 8. This specific Junctions implementation uses a Rust enum in order to make pattern matching easier.
MultiAsset collection, either MultiAssets or a single wildcard.
A global identifier of an account-bearing consensus system.
Basically just the XCM (more general) version of ParachainDispatchOrigin.
Outcome of an XCM execution.
Response data to a query.
Error result value when attempting to send an XCM message.
An optional weight limit.
Classification of whether an asset is fungible or not.
A wildcard representing a set of assets.

Constants

Traits

The trait to parameterize the XcmExecutor.
A converter trait for origin types.
Type of XCM message executor.
Filters assets/location pairs.
Means of inverting a location: given a location which describes a target interpreted from the source, this will provide the corresponding location which describes the source.
Define what needs to be done upon receiving a query response.
Utility for sending an XCM message.
Facility for asset transacting.

Type Definitions

A relative location which is constrained to be an interior location of the context.
An identifier for a query.
Result value when attempting to send an XCM message.
Local weight type; execution time in picoseconds.