Crate orml_xcm_support
source ·Expand description
XCM Support Module.
Overview
The XCM support module provides supporting traits, types and implementations, to support cross-chain message(XCM) integration with ORML modules.
Structs
OnDepositFailimpl, will deposit known currencies to an alternative account.- A
MatchesFungibleimplementation. It matches concrete fungible assets whoseidcould be converted intoCurrencyId. - The
TransactAssetimplementation, to handleMultiAssetdeposit/withdraw. Note that teleport related functions are unimplemented. - A
ContainsPairimplementation. Filters multi native assets whose reserve is same withorigin.
Traits
- Deposit errors handler for
TransactAssetimplementations. Default impl for()returns anXcmError::FailedToTransactAsseterror. - Handlers unknown asset deposit and withdraw.