Skip to content
solidity
import "solidity-scale-codec/src/Xcm/v5/Instruction/Instruction.sol";

File-Level Functions

withdrawAsset(struct WithdrawAssetParams params)

solidity
function withdrawAsset(struct WithdrawAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `WithdrawAsset` variant with the provided `params`.

reserveAssetDeposited(struct ReserveAssetDepositedParams params)

solidity
function reserveAssetDeposited(struct ReserveAssetDepositedParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ReserveAssetDeposited` variant with the provided `params`.

receiveTeleportedAsset(struct ReceiveTeleportedAssetParams params)

solidity
function receiveTeleportedAsset(struct ReceiveTeleportedAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ReceiveTeleportedAsset` variant with the provided `params`.

queryResponse(struct QueryResponseParams params)

solidity
function queryResponse(struct QueryResponseParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `QueryResponse` variant with the provided `params`.

transferAsset(struct TransferAssetParams params)

solidity
function transferAsset(struct TransferAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `TransferAsset` variant with the provided `params`.

transferReserveAsset(struct TransferReserveAssetParams params)

solidity
function transferReserveAsset(struct TransferReserveAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `TransferReserveAsset` variant with the provided `params`.

transact(struct TransactParams params)

solidity
function transact(struct TransactParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `Transact` variant with the provided `params`.

hrmpNewChannelOpenRequest(struct HrmpNewChannelOpenRequestParams params)

solidity
function hrmpNewChannelOpenRequest(struct HrmpNewChannelOpenRequestParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `HrmpNewChannelOpenRequest` variant with the provided `params`.

hrmpChannelAccepted(struct HrmpChannelAcceptedParams params)

solidity
function hrmpChannelAccepted(struct HrmpChannelAcceptedParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `HrmpChannelAccepted` variant with the provided `params`.

hrmpChannelClosing(struct HrmpChannelClosingParams params)

solidity
function hrmpChannelClosing(struct HrmpChannelClosingParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `HrmpChannelClosing` variant with the provided `params`.

clearOrigin()

solidity
function clearOrigin() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ClearOrigin` variant.

descendOrigin(struct DescendOriginParams params)

solidity
function descendOrigin(struct DescendOriginParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `DescendOrigin` variant with the provided `params`.

reportError(struct ReportErrorParams params)

solidity
function reportError(struct ReportErrorParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ReportError` variant with the provided `params`.

depositAsset(struct DepositAssetParams params)

solidity
function depositAsset(struct DepositAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `DepositAsset` variant with the provided `params`.

depositReserveAsset(struct DepositReserveAssetParams params)

solidity
function depositReserveAsset(struct DepositReserveAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `DepositReserveAsset` variant with the provided `params`.

exchangeAsset(struct ExchangeAssetParams params)

solidity
function exchangeAsset(struct ExchangeAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExchangeAsset` variant with the provided `params`.

initiateReserveWithdraw(struct InitiateReserveWithdrawParams params)

solidity
function initiateReserveWithdraw(struct InitiateReserveWithdrawParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `InitiateReserveWithdraw` variant with the provided `params`.

initiateTeleport(struct InitiateTeleportParams params)

solidity
function initiateTeleport(struct InitiateTeleportParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `InitiateTeleport` variant with the provided `params`.

reportHolding(struct ReportHoldingParams params)

solidity
function reportHolding(struct ReportHoldingParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ReportHolding` variant with the provided `params`.

buyExecution(struct BuyExecutionParams params)

solidity
function buyExecution(struct BuyExecutionParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `BuyExecution` variant with the provided `params`.

refundSurplus()

solidity
function refundSurplus() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `RefundSurplus` variant.

setErrorHandler(struct SetErrorHandlerParams params)

solidity
function setErrorHandler(struct SetErrorHandlerParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SetErrorHandler` variant with the provided `params`.

setAppendix(struct SetAppendixParams params)

solidity
function setAppendix(struct SetAppendixParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SetAppendix` variant with the provided `params`.

clearError()

solidity
function clearError() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ClearError` variant.

claimAsset(struct ClaimAssetParams params)

solidity
function claimAsset(struct ClaimAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ClaimAsset` variant with the provided `params`.

trap(struct TrapParams params)

solidity
function trap(struct TrapParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `Trap` variant with the provided `params`.

subscribeVersion(struct SubscribeVersionParams params)

solidity
function subscribeVersion(struct SubscribeVersionParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SubscribeVersion` variant with the provided `params`.

unsubscribeVersion()

solidity
function unsubscribeVersion() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `UnsubscribeVersion` variant.

burnAsset(struct BurnAssetParams params)

solidity
function burnAsset(struct BurnAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `BurnAsset` variant with the provided `params`.

expectAsset(struct ExpectAssetParams params)

solidity
function expectAsset(struct ExpectAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExpectAsset` variant with the provided `params`.

expectOrigin(struct ExpectOriginParams params)

solidity
function expectOrigin(struct ExpectOriginParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExpectOrigin` variant with the provided `params`.

expectError(struct ExpectErrorParams params)

solidity
function expectError(struct ExpectErrorParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExpectError` variant with the provided `params`.

expectTransactStatus(struct ExpectTransactStatusParams params)

solidity
function expectTransactStatus(struct ExpectTransactStatusParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExpectTransactStatus` variant with the provided `params`.

queryPallet(struct QueryPalletParams params)

solidity
function queryPallet(struct QueryPalletParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `QueryPallet` variant with the provided `params`.

expectPallet(struct ExpectPalletParams params)

solidity
function expectPallet(struct ExpectPalletParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExpectPallet` variant with the provided `params`.

reportTransactStatus(struct ReportTransactStatusParams params)

solidity
function reportTransactStatus(struct ReportTransactStatusParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ReportTransactStatus` variant with the provided `params`.

clearTransactStatus()

solidity
function clearTransactStatus() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ClearTransactStatus` variant.

universalOrigin(struct UniversalOriginParams params)

solidity
function universalOrigin(struct UniversalOriginParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `UniversalOrigin` variant with the provided `params`.

exportMessage(struct ExportMessageParams params)

solidity
function exportMessage(struct ExportMessageParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExportMessage` variant with the provided `params`.

lockAsset(struct LockAssetParams params)

solidity
function lockAsset(struct LockAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `LockAsset` variant with the provided `params`.

unlockAsset(struct UnlockAssetParams params)

solidity
function unlockAsset(struct UnlockAssetParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `UnlockAsset` variant with the provided `params`.

noteUnlockable(struct NoteUnlockableParams params)

solidity
function noteUnlockable(struct NoteUnlockableParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `NoteUnlockable` variant with the provided `params`.

requestUnlock(struct RequestUnlockParams params)

solidity
function requestUnlock(struct RequestUnlockParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `RequestUnlock` variant with the provided `params`.

setFeesMode(struct SetFeesModeParams params)

solidity
function setFeesMode(struct SetFeesModeParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SetFeesMode` variant with the provided `params`.

setTopic(struct SetTopicParams params)

solidity
function setTopic(struct SetTopicParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SetTopic` variant with the provided `params`.

clearTopic()

solidity
function clearTopic() internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ClearTopic` variant.

aliasOrigin(struct AliasOriginParams params)

solidity
function aliasOrigin(struct AliasOriginParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `AliasOrigin` variant with the provided `params`.

unpaidExecution(struct UnpaidExecutionParams params)

solidity
function unpaidExecution(struct UnpaidExecutionParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `UnpaidExecution` variant with the provided `params`.

payFees(struct PayFeesParams params)

solidity
function payFees(struct PayFeesParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `PayFees` variant with the provided `params`.

initiateTransfer(struct InitiateTransferParams params)

solidity
function initiateTransfer(struct InitiateTransferParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `InitiateTransfer` variant with the provided `params`.

executeWithOrigin(struct ExecuteWithOriginParams params)

solidity
function executeWithOrigin(struct ExecuteWithOriginParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `ExecuteWithOrigin` variant with the provided `params`.

setHints(struct SetHintsParams params)

solidity
function setHints(struct SetHintsParams params) internal pure returns (struct Instruction)

Creates an `Instruction` struct representing the `SetHints` variant with the provided `params`.

File-Level Structs

WithdrawAssetParams

solidity
struct WithdrawAssetParams

Params for `WithdrawAsset`.

FieldTypeDescription
assetsAssetsThe asset(s) to be withdrawn into holding.

ReserveAssetDepositedParams

solidity
struct ReserveAssetDepositedParams

Params for `ReserveAssetDeposited`.

FieldTypeDescription
assetsAssetsThe asset(s) that are minted into holding.

ReceiveTeleportedAssetParams

solidity
struct ReceiveTeleportedAssetParams

Params for `ReceiveTeleportedAsset`.

FieldTypeDescription
assetsAssetsThe asset(s) minted into the Holding Register.

QueryResponseParams

solidity
struct QueryResponseParams

Params for `QueryResponse`.

FieldTypeDescription
queryIdQueryIdThe identifier of the query that resulted in this response.
responseResponseThe message content.
maxWeightWeightThe maximum weight that handling this response should take.
hasQuerierboolWhether `querier` is present.
querierLocationThe location responsible for initiating the response, when present.

TransferAssetParams

solidity
struct TransferAssetParams

Params for `TransferAsset`.

FieldTypeDescription
assetsAssetsThe asset(s) to be withdrawn.
beneficiaryLocationThe new owner for the assets.

TransferReserveAssetParams

solidity
struct TransferReserveAssetParams

Params for `TransferReserveAsset`.

FieldTypeDescription
assetsAssetsThe asset(s) to be withdrawn.
destLocationThe location whose sovereign account will own the assets.
xcmbytesInstructions that follow `ReserveAssetDeposited`. SCALE-encoded Xcm<()>.

TransactParams

solidity
struct TransactParams

Params for `Transact`.

FieldTypeDescription
originKindOriginKindThe means of expressing message origin as dispatch origin.
hasFallbackMaxWeightboolWhether `fallbackMaxWeight` is present.
fallbackMaxWeightWeightCompatibility fallback weight, corresponding to v4 `require_weight_at_most`.
callbytesThe raw encoded call bytes (`DoubleEncoded<Call>.encoded`, equivalent to Rust `Vec<u8>`). The `Transact` factory SCALE-encodes this as `Vec<u8>` (Compact length + bytes).

HrmpNewChannelOpenRequestParams

solidity
struct HrmpNewChannelOpenRequestParams

Params for `HrmpNewChannelOpenRequest`.

FieldTypeDescription
senderuint32The sender in the to-be-opened channel.
maxMessageSizeuint32The maximum size of a message proposed by the sender.
maxCapacityuint32The maximum number of messages that can be queued in the channel.

HrmpChannelAcceptedParams

solidity
struct HrmpChannelAcceptedParams

Params for `HrmpChannelAccepted`.

FieldTypeDescription
recipientuint32The recipient whose open-channel request was accepted.

HrmpChannelClosingParams

solidity
struct HrmpChannelClosingParams

Params for `HrmpChannelClosing`.

FieldTypeDescription
initiatoruint32The party initiating the channel closure.
senderuint32The channel sender.
recipientuint32The channel recipient.

DescendOriginParams

solidity
struct DescendOriginParams

Params for `DescendOrigin`.

FieldTypeDescription
interiorJunctionsInterior location to descend origin into.

ReportErrorParams

solidity
struct ReportErrorParams

Params for `ReportError`.

FieldTypeDescription
responseInfoQueryResponseInfoInformation for constructing and sending the query response.

DepositAssetParams

solidity
struct DepositAssetParams

Params for `DepositAsset`.

FieldTypeDescription
assetsAssetFilterAsset filter selecting assets removed from holding.
beneficiaryLocationThe new owner for the assets.

DepositReserveAssetParams

solidity
struct DepositReserveAssetParams

Params for `DepositReserveAsset`.

FieldTypeDescription
assetsAssetFilterAsset filter selecting assets removed from holding.
destLocationThe location whose sovereign account will own the assets.
xcmbytesOrders that follow `ReserveAssetDeposited`. SCALE-encoded Xcm<()>.

ExchangeAssetParams

solidity
struct ExchangeAssetParams

Params for `ExchangeAsset`.

FieldTypeDescription
giveAssetFilterMaximum assets to remove from holding.
wantAssetsMinimum assets expected in exchange.
minimalotherwise-

InitiateReserveWithdrawParams

solidity
struct InitiateReserveWithdrawParams

Params for `InitiateReserveWithdraw`.

FieldTypeDescription
assetsAssetFilterAsset filter selecting assets removed from holding.
reserveLocationReserve location for all selected assets.
xcmbytesInstructions to execute once withdrawn on reserve. SCALE-encoded Xcm<()>.

InitiateTeleportParams

solidity
struct InitiateTeleportParams

Params for `InitiateTeleport`.

FieldTypeDescription
assetsAssetFilterAsset filter selecting assets removed from holding.
destLocationDestination location that accepts teleports from this origin.
xcmbytesInstructions to execute on destination. SCALE-encoded Xcm<()>.

ReportHoldingParams

solidity
struct ReportHoldingParams

Params for `ReportHolding`.

FieldTypeDescription
responseInfoQueryResponseInfoInformation for constructing and sending the query response.
assetsAssetFilterFilter over holdings to be reported.

BuyExecutionParams

solidity
struct BuyExecutionParams

Params for `BuyExecution`.

FieldTypeDescription
feesAssetThe asset(s) used to pay fees.
weightLimitWeightLimitThe maximum amount of weight to purchase.

SetErrorHandlerParams

solidity
struct SetErrorHandlerParams

Params for `SetErrorHandler`.

FieldTypeDescription
xcmbytesError handler code. SCALE-encoded Xcm<Call>.

SetAppendixParams

solidity
struct SetAppendixParams

Params for `SetAppendix`.

FieldTypeDescription
xcmbytesAppendix code executed after program completion. SCALE-encoded Xcm<Call>.

ClaimAssetParams

solidity
struct ClaimAssetParams

Params for `ClaimAsset`.

FieldTypeDescription
exactlymust-
ticketLocationTicket identifier used to locate the claimable asset.

TrapParams

solidity
struct TrapParams

Params for `Trap`.

FieldTypeDescription
codeuint64Trap code used as the inner value of the `Trap` error.

SubscribeVersionParams

solidity
struct SubscribeVersionParams

Params for `SubscribeVersion`.

FieldTypeDescription
queryIdQueryIdQuery identifier replicated into the response message.
maxResponseWeightWeightMaximum weight allowed for the responding `QueryResponse` execution.

BurnAssetParams

solidity
struct BurnAssetParams

Params for `BurnAsset`.

FieldTypeDescription
assetsAssetsAssets to burn from holding up to the provided amount.

ExpectAssetParams

solidity
struct ExpectAssetParams

Params for `ExpectAsset`.

FieldTypeDescription
assetsAssetsAssets that must be present in holding.

ExpectOriginParams

solidity
struct ExpectOriginParams

Params for `ExpectOrigin`.

FieldTypeDescription
hasOriginboolWhether an expected origin is provided.
originLocationExpected origin location when `hasOrigin` is true.

ExpectErrorParams

solidity
struct ExpectErrorParams

Params for `ExpectError`.

FieldTypeDescription
hasErrorboolWhether an expected error tuple is provided.
indexuint32Expected instruction index when `hasError` is true.
errXcmErrorExpected XCM error when `hasError` is true.

ExpectTransactStatusParams

solidity
struct ExpectTransactStatusParams

Params for `ExpectTransactStatus`.

FieldTypeDescription
transactStatusMaybeErrorCodeExpected transact status register value.

QueryPalletParams

solidity
struct QueryPalletParams

Params for `QueryPallet`.

FieldTypeDescription
moduleNamebytesPallet module name to query.
responseInfoQueryResponseInfoInformation for constructing and sending the query response.

ExpectPalletParams

solidity
struct ExpectPalletParams

Params for `ExpectPallet`.

FieldTypeDescription
indexuint32Expected pallet index.
crateMajoruint32Expected crate major version.
minCrateMinoruint32Minimum acceptable crate minor version.
namebytesExpected pallet name.
moduleNamebytesExpected pallet module name.

ReportTransactStatusParams

solidity
struct ReportTransactStatusParams

Params for `ReportTransactStatus`.

FieldTypeDescription
responseInfoQueryResponseInfoInformation for constructing and sending the query response.

UniversalOriginParams

solidity
struct UniversalOriginParams

Params for `UniversalOrigin`.

FieldTypeDescription
junctionJunctionChild junction of the Universal Ancestor to set as origin.

ExportMessageParams

solidity
struct ExportMessageParams

Params for `ExportMessage`.

FieldTypeDescription
networkNetworkIdRemote consensus system to export to.
destinationJunctionsDestination interior location relative to the remote consensus system.
xcmbytesMessage to export. SCALE-encoded Xcm<()>.

LockAssetParams

solidity
struct LockAssetParams

Params for `LockAsset`.

FieldTypeDescription
assetAssetAsset to lock.
unlockerLocationOrigin required to unlock via a corresponding `UnlockAsset`.

UnlockAssetParams

solidity
struct UnlockAssetParams

Params for `UnlockAsset`.

FieldTypeDescription
assetAssetAsset to unlock.
targetLocationAsset owner on the local chain.

NoteUnlockableParams

solidity
struct NoteUnlockableParams

Params for `NoteUnlockable`.

FieldTypeDescription
assetAssetAsset that is now unlockable from this origin.
ownerLocationOwner of the asset on the chain where it was locked.

RequestUnlockParams

solidity
struct RequestUnlockParams

Params for `RequestUnlock`.

FieldTypeDescription
assetAssetAsset requested for unlock.
lockerLocationLocation of the locker from prior `NoteUnlockable`.

SetFeesModeParams

solidity
struct SetFeesModeParams

Params for `SetFeesMode`.

FieldTypeDescription
jitWithdrawboolIf true, fees are withdrawn just-in-time for instructions.

SetTopicParams

solidity
struct SetTopicParams

Params for `SetTopic`.

FieldTypeDescription
topicbytes3232-byte topic identifier.

AliasOriginParams

solidity
struct AliasOriginParams

Params for `AliasOrigin`.

FieldTypeDescription
locationLocationNew origin to alias to.

UnpaidExecutionParams

solidity
struct UnpaidExecutionParams

Params for `UnpaidExecution`.

FieldTypeDescription
weightLimitWeightLimitFree-execution weight limit.
hasCheckOriginboolWhether a specific origin check is required.
checkOriginLocationExpected origin when `hasCheckOrigin` is true.

PayFeesParams

solidity
struct PayFeesParams

Params for `PayFees`.

FieldTypeDescription
assetAssetAsset used to pay execution fees.

InitiateTransferParams

solidity
struct InitiateTransferParams

Params for `InitiateTransfer`.

FieldTypeDescription
destinationLocationLocation of the program next hop.
remoteFeesAssetTransferFilterWhether `remoteFees` is provided.nsfer filter used first on remote side.
assetsAssetTransferFilter[]Transfer filters matched against holding assets for this leg.
hasRemoteFeesboolWhether `remoteFees` is provided.
preserveOriginboolWhether to preserve origin (`AliasOrigin`) instead of clearing it.
remoteXcmbytesCustom instructions to run on destination. SCALE-encoded Xcm<()>.

ExecuteWithOriginParams

solidity
struct ExecuteWithOriginParams

Params for `ExecuteWithOrigin`.

FieldTypeDescription
hasDescendantOriginboolWhether `descendantOrigin` is provided.
descendantOriginJunctionsOptional descendant origin for executing inner XCM.
xcmbytesInner instructions executed under the derived origin. SCALE-encoded Xcm<Call>.

SetHintsParams

solidity
struct SetHintsParams

Params for `SetHints`.

FieldTypeDescription
hintsHint[]A bounded vector of execution hints.

Instruction

solidity
struct Instruction

Cross-Consensus Message: A message from one consensus system to another.

FieldTypeDescription
variantInstructionVariantThe type of the instruction. See `InstructionVariant` enum for possible values.
thesee-

File-Level Enums

InstructionVariant

solidity
enum InstructionVariant

Discriminant for the `Instruction` enum, representing the type of instruction being executed.

VariantDescription
WithdrawAssetWithdraw asset(s) from the ownership of `origin` and place them into the Holding Register.
ReserveAssetDepositedAsset(s) have been received into the ownership of this system on the `origin` system and equivalent derivatives should be placed into the Holding Register.
ReceiveTeleportedAssetAsset(s) have been destroyed on the `origin` system and equivalent assets should be created and placed into the Holding Register.
QueryResponseRespond with information that the local system is expecting.
TransferAssetWithdraw asset(s) from the ownership of `origin` and place equivalent assets under the ownership of `beneficiary`.
TransferReserveAssetWithdraw asset(s) from the ownership of `origin` and place equivalent assets under the ownership of `dest` within this consensus system.
TransactApply the encoded transaction `call`, whose dispatch-origin should be `origin` as expressed by the kind of origin `origin_kind`.
HrmpNewChannelOpenRequestA message to notify about a new incoming HRMP channel.
HrmpChannelAcceptedA message to notify about that a previously sent open channel request has been accepted by the recipient.
HrmpChannelClosingA message to notify that the other party in an open channel decided to close it.
ClearOriginClear the origin.
DescendOriginMutate the origin to some interior location.
ReportErrorImmediately report the contents of the Error Register to the given destination via XCM.
DepositAssetRemove the asset(s) from the Holding Register and place equivalent assets under the ownership of `beneficiary`.
DepositReserveAssetRemove the asset(s) from the Holding Register and place equivalent assets under the ownership of `dest`, then send a `ReserveAssetDeposited` onward message.
ExchangeAssetRemove the asset(s) from the Holding Register and replace them with alternative assets.
InitiateReserveWithdrawRemove the asset(s) from holding and send a `WithdrawAsset` XCM message to a reserve location.
InitiateTeleportRemove the asset(s) from holding and send a `ReceiveTeleportedAsset` XCM message to a `dest` location.
ReportHoldingReport to a given destination the contents of the Holding Register.
BuyExecutionPay for the execution of some XCM with up to `weight` picoseconds of execution time, paying with up to `fees` from the Holding Register.
RefundSurplusRefund any surplus weight previously bought with `BuyExecution`.
SetErrorHandlerSet the Error Handler Register to code that should be called in the case of an error.
SetAppendixSet the Appendix Register to code that should be called after execution (including error handler) is finished.
ClearErrorClear the Error Register.
ClaimAssetCreate some assets which are being held on behalf of the origin.
TrapAlways throws an error of type `Trap`.
SubscribeVersionAsk the destination system to respond with the most recent version of XCM that they support.
UnsubscribeVersionCancel the effect of a previous `SubscribeVersion` instruction.
BurnAssetReduce Holding by up to the given assets.
ExpectAssetThrow an error if Holding does not contain at least the given assets.
ExpectOriginEnsure that the Origin Register equals some given value and throw an error if not.
ExpectErrorEnsure that the Error Register equals some given value and throw an error if not.
ExpectTransactStatusEnsure that the Transact Status Register equals some given value and throw an error if not.
QueryPalletQuery the existence of a particular pallet type.
ExpectPalletEnsure that a particular pallet with a particular version exists.
ReportTransactStatusSend a `QueryResponse` message containing the value of the Transact Status Register to some destination.
ClearTransactStatusSet the Transact Status Register to its default, cleared, value.
UniversalOriginSet the Origin Register to be some child of the Universal Ancestor.
ExportMessageSend a message on to Non-Local Consensus system.
LockAssetLock the locally held asset and prevent further transfer or withdrawal.
UnlockAssetRemove the lock over `asset` on this chain and allow the asset to be transferred.
NoteUnlockableAsset has been locked on the `origin` system and may not be transferred.
RequestUnlockSend an `UnlockAsset` instruction to the `locker` for the given `asset`.
SetFeesModeSets the Fees Mode Register.
SetTopicSet the Topic Register.
ClearTopicClear the Topic Register.
AliasOriginAlter the current Origin to another given origin.
UnpaidExecutionA directive to indicate that the origin expects free execution of the message.
PayFeesTakes an asset, uses it to pay for execution and puts the rest in the fees register. Successor to `BuyExecution`.
InitiateTransferInitiates cross-chain transfer of assets in the holding register using specified asset transfer filters.
ExecuteWithOriginExecutes inner `xcm` with origin set to the provided `descendant_origin`, then restores the original origin.
SetHintsSet hints for XCM execution, changing the behaviour of the XCM program.

Instruction

Kind: source