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§
- Asset
From Chain - Accepts asset with ID
AssetLocation
and is coming fromOrigin
chain. - Asset
HubTrusted Teleporter - Asset
Prefix From - Asset filter that allows all assets from a certain location matching asset id.
- Assets
Pallet Location - Authorize
Alias Hold Reason - Checking
Account - Customizable
Asset From System Asset Hub - 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
. - Deposit
PerByte - Deposit
PerItem - Local
Reservable From Asset Hub - Local
Teleportable ToAsset Hub - MaxAssets
Into Holding - MaxInstructions
- Native
Asset Filter - Native
Asset Id - Parent
OrParents Executive Plurality - Penpal
Native Currency - Relay
Chain Origin - Relay
Location - Relay
Network - Relay
Network Id - Root
Location - Staking
Pot - System
Asset HubAssets Pallet Location - System
Asset HubLocation - The location that this chain recognizes as the Relay network’s Asset Hub.
- Treasury
Account - Trust
Backed Assets Pallet Index - Trust
Backed Assets Pallet Location - Unit
Weight Cost - Universal
Location - Usdt
From Asset Hub - XcmAsset
Fees Receiver - XcmBenchmark
Helper - Simple conversion of
u32
into anAssetId
for use in benchmarking. - XcmConfig
Constants§
Type Aliases§
- Account
IdOf - Type alias to conveniently refer to
frame_system
’sConfig::AccountId
. - Asset
Transactors - Means for transacting assets on this chain.
- Barrier
- Foreign
Asset FeeAs Existential Deposit Multiplier FeeCharger - Multiplier used for dedicated
TakeFirstAssetTrader
withForeignAssets
instance. - Foreign
Assets Asset Id - Foreign
Assets Converted Concrete Id - Foreign
Fungibles Transactor - Means for transacting foreign assets from different global consensus.
- Fungible
Transactor - Means for transacting assets on this chain.
- Fungibles
Transactor - Means for transacting assets besides the native currency on this chain.
- Local
Origin ToLocation - Converts a local signed origin into an XCM location. Forms the basis for local origins sending/executing XCMs.
- Location
ToAccount Id - Type for specifying how a
Location
can be converted into anAccountId
. This is used when determining ownership of accounts for asset transacting and when attempting to use XCMTransact
in order to determine the dispatch Origin. - Pool
Assets Exchanger - 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.
- Price
ForParent Delivery - Trust
Backed Assets Converted Concrete Id AssetId
/Balance
converter forTrustBackedAssets
.- Trusted
Aliasers - Defines origin aliasing rules for this chain.
- Trusted
Reserves - Trusted
Teleporters - Waived
Locations - XcmOrigin
ToTransact Dispatch Origin - This is the type we use to convert an (incoming) XCM origin into a local
Origin
instance, ready for dispatching a transaction with Xcm’sTransact
. There is anOriginKind
which can biases the kind of localOrigin
it will become. - XcmRouter
- The means for routing XCM messages which are not for local execution into the right message queues.