Type Alias moonriver_runtime::xcm_config::XcmExecutor

source ·
pub type XcmExecutor = XcmExecutorWrapper<XcmExecutorConfig, XcmExecutor<XcmExecutorConfig>>;

Aliased Type§

struct XcmExecutor(/* private fields */);

Trait Implementations

source§

impl<Config, InnerXcmExecutor> ExecuteXcm<<Config as Config>::RuntimeCall> for XcmExecutorWrapper<Config, InnerXcmExecutor>
where Config: Config, InnerXcmExecutor: ExecuteXcm<<Config as Config>::RuntimeCall>,

§

type Prepared = <InnerXcmExecutor as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared

source§

fn prepare( message: Xcm<<Config as Config>::RuntimeCall>, ) -> Result<<XcmExecutorWrapper<Config, InnerXcmExecutor> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, Xcm<<Config as Config>::RuntimeCall>>

source§

fn execute( origin: impl Into<Location>, pre: <XcmExecutorWrapper<Config, InnerXcmExecutor> as ExecuteXcm<<Config as Config>::RuntimeCall>>::Prepared, hash: &mut [u8; 32], weight_credit: Weight, ) -> Outcome

source§

fn charge_fees(location: impl Into<Location>, fees: Assets) -> Result<(), Error>

Deduct some fees to the sovereign account of the given location and place them as per the convention for fees.
§

fn prepare_and_execute( origin: impl Into<Location>, message: Xcm<Call>, id: &mut [u8; 32], weight_limit: Weight, weight_credit: Weight, ) -> Outcome

source§

impl<Config, InnerXcmExecutor> XcmAssetTransfers for XcmExecutorWrapper<Config, InnerXcmExecutor>
where Config: Config,

§

type IsReserve = <Config as Config>::IsReserve

Combinations of (Asset, Location) pairs which we trust as reserves. Meaning reserve-based-transfers are to be used for assets matching this filter.
§

type IsTeleporter = <Config as Config>::IsTeleporter

Combinations of (Asset, Location) pairs which we trust as teleporters. Meaning teleports are to be used for assets matching this filter.
§

type AssetTransactor = <Config as Config>::AssetTransactor

How to withdraw and deposit an asset.
§

fn determine_for(asset: &Asset, dest: &Location) -> Result<TransferType, Error>

Determine transfer type to be used for transferring asset from local chain to dest.