Expand description
Miscellaneous traits and types for working with unique instances derivatives.
Structs§
- Concat
Incremental Extra - 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 underlyingCreateOp
(i.e., concatenates the derivative and its extra). - Derivative
ToOriginal Convert - The
DerivativeToOriginalConvert
uses the provided DerivativesRegistry to convert theDerivative
value to theOriginal
one. - Ensure
NotDerivative Instance - The
EnsureNotDerivativeInstance
is an XCM Matcher that ensures that the instance returned by the innerMatcher
isn’t a derivative. - Match
Derivative Instances - The
MatchDerivativeInstances
is an XCM Matcher that uses aDerivativesRegistry
to match the XCM identification of the original instance to a derivative instance. - Original
ToDerivative Convert - The
OriginalToDerivativeConvert
uses the provided DerivativesRegistry to convert theOriginal
value to theDerivative
one. - Owner
Converted Location - Converts a given
AssetId
to aWithConfig
strategy with the owner account set to the asset’s location converted to an account ID. - Owner
Converted Location Default Err - Register
Derivative - The
RegisterDerivative
implements a creation operation withDeriveAndReportId
, which takes theOriginal
and derives the correspondingDerivative
.
Traits§
- Derivatives
Extra - Derivatives extra data.
- Derivatives
Registry - A registry abstracts the mapping between an
Original
entity and aDerivative
entity. - Iter
Derivatives Registry - Iterator utilities for a derivatives registry.