referrerpolicy=no-referrer-when-downgrade

Module xcm_config

Source
Expand description

Holds the XCM specific configuration that would otherwise be in lib.rs

This configuration dictates how the Penpal chain will communicate with other chains.

One of the main uses of the penpal chain will be to be a benefactor of reserve asset transfers with Asset Hub as the reserve. At present no derivative tokens are minted on receipt of a ReserveAssetTransferDeposited message but that will but the intension will be to support this soon.

Structs§

AssetFromChain
Accepts asset with ID AssetLocation and is coming from Origin chain.
AssetHubTrustedTeleporter
AssetPrefixFrom
Asset filter that allows all assets from a certain location matching asset id.
AssetsPalletLocation
AuthorizeAliasHoldReason
CheckingAccount
CustomizableAssetFromSystemAssetHub
The Penpal runtime is utilized for testing with various environment setups. This storage item provides the opportunity to customize testing scenarios by configuring the trusted asset from the SystemAssetHub.
DepositPerByte
DepositPerItem
LocalReservableFromAssetHub
LocalTeleportableToAssetHub
MaxAssetsIntoHolding
MaxInstructions
NativeAssetFilter
NativeAssetId
ParentOrParentsExecutivePlurality
PenpalNativeCurrency
RelayChainOrigin
RelayLocation
RelayNetwork
RelayNetworkId
RootLocation
StakingPot
SystemAssetHubAssetsPalletLocation
SystemAssetHubLocation
The location that this chain recognizes as the Relay network’s Asset Hub.
TreasuryAccount
TrustBackedAssetsPalletIndex
TrustBackedAssetsPalletLocation
UnitWeightCost
UniversalLocation
UsdtFromAssetHub
XcmAssetFeesReceiver
XcmBenchmarkHelper
Simple conversion of u32 into an AssetId for use in benchmarking.
XcmConfig

Constants§

ASSETS_PALLET_ID
ASSET_HUB_ID
RESERVABLE_ASSET_ID
TELEPORTABLE_ASSET_ID
USDT_ASSET_ID

Type Aliases§

AccountIdOf
Type alias to conveniently refer to frame_system’s Config::AccountId.
AssetTransactors
Means for transacting assets on this chain.
Barrier
ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger
Multiplier used for dedicated TakeFirstAssetTrader with ForeignAssets instance.
ForeignAssetsAssetId
ForeignAssetsConvertedConcreteId
ForeignFungiblesTransactor
Means for transacting foreign assets from different global consensus.
FungibleTransactor
Means for transacting assets on this chain.
FungiblesTransactor
Means for transacting assets besides the native currency on this chain.
LocalOriginToLocation
Converts a local signed origin into an XCM location. Forms the basis for local origins sending/executing XCMs.
LocationToAccountId
Type for specifying how a Location can be converted into an AccountId. This is used when determining ownership of accounts for asset transacting and when attempting to use XCM Transact in order to determine the dispatch Origin.
PoolAssetsExchanger
Asset converter for pool assets. Used to convert assets in pools to the asset required for fee payment. The pool must be between the first asset and the one required for fee payment. This type allows paying fees with any asset in a pool with the asset required for fee payment.
PriceForParentDelivery
TrustBackedAssetsConvertedConcreteId
AssetId/Balance converter for TrustBackedAssets.
TrustedAliasers
Defines origin aliasing rules for this chain.
TrustedReserves
TrustedTeleporters
WaivedLocations
XcmOriginToTransactDispatchOrigin
This is the type we use to convert an (incoming) XCM origin into a local Origin instance, ready for dispatching a transaction with Xcm’s Transact. There is an OriginKind which can biases the kind of local Origin it will become.
XcmRouter
The means for routing XCM messages which are not for local execution into the right message queues.