referrerpolicy=no-referrer-when-downgrade
westend_runtime::xcm_config

Type Alias Barrier

Source
pub type Barrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<XcmPallet>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<OnlyParachains>, AllowExplicitUnpaidExecutionFrom<(IsChildSystemParachain<Id>, Fellows)>), UniversalLocation, ConstU32<8>>)>;
Expand description

The barriers one of which must be passed for an XCM message to be executed.

Aliased Type§

struct Barrier(/* private fields */);

Trait Implementations

Source§

impl<InnerBarrier> ShouldExecute for TrailingSetTopicAsId<InnerBarrier>
where InnerBarrier: ShouldExecute,

Source§

fn should_execute<Call>( origin: &Location, instructions: &mut [Instruction<Call>], max_weight: Weight, properties: &mut Properties, ) -> Result<(), ProcessMessageError>

Returns Ok(()) if the given message may be executed. Read more