referrerpolicy=no-referrer-when-downgrade

Module misc

Source
Expand description

Miscellaneous traits and types for working with unique instances derivatives.

Structs§

ConcatIncrementalExtra
The ConcatIncrementalExtra implements a creation operation that takes a derivative. It takes the derivative’s extra data and passes the tuple of the derivative and its extra data to the underlying CreateOp (i.e., concatenates the derivative and its extra).
DerivativeToOriginalConvert
The DerivativeToOriginalConvert uses the provided DerivativesRegistry to convert the Derivative value to the Original one.
EnsureNotDerivativeInstance
The EnsureNotDerivativeInstance is an XCM Matcher that ensures that the instance returned by the inner Matcher isn’t a derivative.
MatchDerivativeInstances
The MatchDerivativeInstances is an XCM Matcher that uses a DerivativesRegistry to match the XCM identification of the original instance to a derivative instance.
OriginalToDerivativeConvert
The OriginalToDerivativeConvert uses the provided DerivativesRegistry to convert the Original value to the Derivative one.
OwnerConvertedLocation
Converts a given AssetId to a WithConfig strategy with the owner account set to the asset’s location converted to an account ID.
OwnerConvertedLocationDefaultErr
RegisterDerivative
The RegisterDerivative implements a creation operation with DeriveAndReportId, which takes the Original and derives the corresponding Derivative.

Traits§

DerivativesExtra
Derivatives extra data.
DerivativesRegistry
A registry abstracts the mapping between an Original entity and a Derivative entity.
IterDerivativesRegistry
Iterator utilities for a derivatives registry.