Trait orml_xcm_support::UnknownAsset
source · pub trait UnknownAsset {
fn deposit(asset: &MultiAsset, to: &MultiLocation) -> DispatchResult;
fn withdraw(asset: &MultiAsset, from: &MultiLocation) -> DispatchResult;
}
Expand description
Handlers unknown asset deposit and withdraw.
Required Methods§
sourcefn deposit(asset: &MultiAsset, to: &MultiLocation) -> DispatchResult
fn deposit(asset: &MultiAsset, to: &MultiLocation) -> DispatchResult
Deposit unknown asset.
sourcefn withdraw(asset: &MultiAsset, from: &MultiLocation) -> DispatchResult
fn withdraw(asset: &MultiAsset, from: &MultiLocation) -> DispatchResult
Withdraw unknown asset.