Expand description
Miscellaneous traits and types for working with unique instances derivatives.
Structs§
- Concat
Incremental Extra - The
ConcatIncrementalExtraimplements 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
DerivativeToOriginalConvertuses the provided DerivativesRegistry to convert theDerivativevalue to theOriginalone. - Ensure
NotDerivative Instance - The
EnsureNotDerivativeInstanceis an XCM Matcher that ensures that the instance returned by the innerMatcherisn’t a derivative. - Match
Derivative Instances - The
MatchDerivativeInstancesis an XCM Matcher that uses aDerivativesRegistryto match the XCM identification of the original instance to a derivative instance. - Original
ToDerivative Convert - The
OriginalToDerivativeConvertuses the provided DerivativesRegistry to convert theOriginalvalue to theDerivativeone. - Owner
Converted Location - Converts a given
AssetIdto aWithConfigstrategy with the owner account set to the asset’s location converted to an account ID. - Owner
Converted Location Default Err - Register
Derivative - The
RegisterDerivativeimplements a creation operation withDeriveAndReportId, which takes theOriginaland derives the correspondingDerivative.
Traits§
- Derivatives
Extra - Derivatives extra data.
- Derivatives
Registry - A registry abstracts the mapping between an
Originalentity and aDerivativeentity. - Iter
Derivatives Registry - Iterator utilities for a derivatives registry.