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
OnDepositFail
impl, will deposit known currencies to an alternative account.- A
MatchesFungible
implementation. It matches concrete fungible assets whoseid
could be converted intoCurrencyId
. - The
TransactAsset
implementation, to handleMultiAsset
deposit/withdraw. Note that teleport related functions are unimplemented. - A
ContainsPair
implementation. Filters multi native assets whose reserve is same withorigin
.
Traits
- Deposit errors handler for
TransactAsset
implementations. Default impl for()
returns anXcmError::FailedToTransactAsset
error. - Handlers unknown asset deposit and withdraw.