Expand description
Auxiliary struct
/enum
s for polkadot runtime.
Modules§
Structs§
- Contains
Parts - Adapter for [
Contains
] trait to matchVersionedLocatableAsset
type converted to the latest version of itself where it’s location matched byL
and it’s asset id byA
parameter types. - Deal
With Fees - EraPayout
Params - Parameters passed into
relay_era_payout
function. - Locatable
Asset Converter - Converts the
VersionedLocatableAsset
to the [xcm_builder::LocatableAssetId
]. - ToAuthor
- Logic for the author to get a portion of fees.
- Versioned
Location Converter - Converts the [
VersionedLocation
] to the [xcm::latest::Location
].
Enums§
- Versioned
Locatable Asset - Versioned locatable asset type which contains both an XCM
location
andasset_id
to identify an asset which exists on some chain.
Functions§
- relay_
era_ payout - A specialized function to compute the inflation of the staking system, tailored for polkadot relay chains, such as Polkadot, Kusama and Westend.