referrerpolicy=no-referrer-when-downgrade

Module impls

Source
Expand description

Auxiliary struct/enums for polkadot runtime.

Modules§

benchmarks

Structs§

ContainsParts
Adapter for [Contains] trait to match VersionedLocatableAsset type converted to the latest version of itself where it’s location matched by L and it’s asset id by A parameter types.
DealWithFees
EraPayoutParams
Parameters passed into relay_era_payout function.
LocatableAssetConverter
Converts the VersionedLocatableAsset to the [xcm_builder::LocatableAssetId].
ToAuthor
Logic for the author to get a portion of fees.
VersionedLocationConverter
Converts the [VersionedLocation] to the [xcm::latest::Location].

Enums§

VersionedLocatableAsset
Versioned locatable asset type which contains both an XCM location and asset_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.