Skip to content

File: src/Xcm/v5/OriginKind/OriginKind.sol

OriginKind

Kind: source

Enums

enum OriginKind

Basically just the XCM (more general) version of ParachainDispatchOrigin.

VariantDescription
NativeOrigin should just be the native dispatch origin representation for the sender in the local runtime framework. For Cumulus/Frame chains this is the Parachain or Relay origin if coming from a chain, though there may be others if the MultiLocation XCM origin has a primary/native dispatch origin form.
SovereignAccountOrigin should just be the standard account-based origin with the sovereign account of the sender. For Cumulus/Frame chains, this is the Signed origin.
SuperuserOrigin should be the super-user. For Cumulus/Frame chains, this is the Root origin. This will not usually be an available option.
XcmOrigin should be interpreted as an XCM native origin and the MultiLocation should be encoded directly in the dispatch origin unchanged. For Cumulus/Frame chains, this will be the `pallet_xcm::Origin::Xcm` type.

Created with solidity-doc-generator