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
whose id
could be converted into CurrencyId
.The
TransactAsset
implementation, to handle MultiAsset
deposit/withdraw.
Note that teleport related functions are unimplemented.A
FilterAssetLocation
implementation. Filters multi native assets whose
reserve is same with origin
.Traits
Deposit errors handler for
TransactAsset
implementations. Default impl for
()
returns an XcmError::FailedToTransactAsset
error.Handlers unknown asset deposit and withdraw.