Module location_converter

Source

Type Aliases§

LocalOriginToLocation
Converts a local signed origin into an XCM location. Forms the basis for local origins sending/executing XCMs. Converts a local signed origin into a MultiLocation for outbound XCMs.
LocationToAccountId
Type for specifying how a Location can be converted into an AccountId. This is used when determining ownership of accounts for asset transacting and when attempting to use XCM Transact in order to determine the dispatch Origin. Conversions between Multilocation to an accountid Parachain origin is converted to corresponding sovereign account
XcmOriginToTransactDispatchOrigin
This is the type we use to convert an (incoming) XCM origin into a local Origin instance, ready for dispatching a transaction with Xcm’s Transact. There is an OriginKind which can biases the kind of local Origin it will become. Converts an incoming XCM origin into a local RuntimeOrigin for Transact dispatch.