Trait staging_xcm_executor::traits::ClaimAssets
source · pub trait ClaimAssets {
// Required method
fn claim_assets(
origin: &Location,
ticket: &Location,
what: &Assets,
context: &XcmContext,
) -> bool;
}
Expand description
Define any handlers for the AssetClaim
instruction.
Required Methods§
sourcefn claim_assets(
origin: &Location,
ticket: &Location,
what: &Assets,
context: &XcmContext,
) -> bool
fn claim_assets( origin: &Location, ticket: &Location, what: &Assets, 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.
Object Safety§
This trait is not object safe.