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

Type Alias ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger

Source
pub type ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger = AssetFeeAsExistentialDepositMultiplier<Runtime, WeightToFee, BalanceToAssetBalance<Balances, Runtime, ConvertInto, ForeignAssetsInstance>, ForeignAssetsInstance>;
Expand description

Multiplier used for dedicated TakeFirstAssetTrader with ForeignAssets instance.

Aliased Type§

struct ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger(/* private fields */);

Trait Implementations

Source§

impl<CurrencyBalance, Runtime, WeightToFee, BalanceConverter, AssetInstance> ChargeWeightInFungibles<<Runtime as Config>::AccountId, Pallet<Runtime, AssetInstance>> for AssetFeeAsExistentialDepositMultiplier<Runtime, WeightToFee, BalanceConverter, AssetInstance>
where Runtime: Config<AssetInstance>, WeightToFee: WeightToFee<Balance = CurrencyBalance>, BalanceConverter: ConversionToAssetBalance<CurrencyBalance, <Runtime as Config<AssetInstance>>::AssetId, <Runtime as Config<AssetInstance>>::Balance>,

Source§

fn charge_weight_in_fungibles( asset_id: <Pallet<Runtime, AssetInstance> as Inspect<<Runtime as Config>::AccountId>>::AssetId, weight: Weight, ) -> Result<<Pallet<Runtime, AssetInstance> as Inspect<<Runtime as Config>::AccountId>>::Balance, Error>