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

Type Alias PriceForChildParachainDelivery

Source
pub type PriceForChildParachainDelivery = ExponentialPrice<FeeAssetId, BaseDeliveryFee, TransactionByteFee, Dmp>;

Aliased Type§

struct PriceForChildParachainDelivery(/* private fields */);

Trait Implementations

Source§

impl<A, B, M, F> PriceForMessageDelivery for ExponentialPrice<A, B, M, F>
where A: Get<AssetId>, B: Get<u128>, M: Get<u128>, F: FeeTracker,

Source§

type Id = <F as FeeTracker>::Id

Type used for charging different prices to different destinations
Source§

fn price_for_delivery( id: <ExponentialPrice<A, B, M, F> as PriceForMessageDelivery>::Id, msg: &Xcm<()>, ) -> Assets

Return the assets required to deliver message to the given para destination.