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