Trait xcm_executor::traits::ClaimAssets
source · pub trait ClaimAssets {
fn claim_assets(
origin: &MultiLocation,
ticket: &MultiLocation,
what: &MultiAssets
) -> bool;
}
Expand description
Define any handlers for the AssetClaim
instruction.
Required Methods§
sourcefn claim_assets(
origin: &MultiLocation,
ticket: &MultiLocation,
what: &MultiAssets
) -> bool
fn claim_assets(
origin: &MultiLocation,
ticket: &MultiLocation,
what: &MultiAssets
) -> bool
Claim any assets available to origin
and return them in a single Assets
value, together
with the weight used by this operation.