Type Alias moonbeam_runtime::xcm_config::XcmBarrier

source ·
pub type XcmBarrier = TrailingSetTopicAsId<(TakeWeightCredit, AllowKnownQueryResponses<PolkadotXcm>, WithComputedOrigin<(AllowTopLevelPaidExecutionFrom<Everything>, AllowSubscriptionsFrom<Everything>), UniversalLocation, ConstU32<8>>)>;

Aliased Type§

struct XcmBarrier(/* private fields */);

Trait Implementations

§

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

§

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