referrerpolicy=no-referrer-when-downgrade

Module impls

Source
Expand description

Auxiliary struct/enums for parachain runtimes. Taken from polkadot/runtime/common (at a21cd64) and adapted for parachains.

Structs§

AssetExists
Allow checking in assets that exists.
AssetsFrom
Asset filter that allows all assets from a certain location.
AssetsToBlockAuthor
A HandleCredit implementation that naively transfers the fees to the block author. Will drop and burn the assets in case the transfer fails.
DealWithFees
Fungible implementation of OnUnbalanced that deals with the fees by combining tip and fee and passing the result on to ToStakingPot.
NonZeroIssuance
Allow checking in assets that have issuance > 0.
ToParentTreasury
Implements OnUnbalanced::on_unbalanced to teleport slashed assets to relay chain treasury account.
ToStakingPotDeprecated
Implementation of OnUnbalanced that deposits the fees into a staking pot for later payout.

Type Aliases§

AccountIdOf
Type alias to conveniently refer to frame_system’s Config::AccountId.
BalanceOf
Type alias to conveniently refer to the Currency::Balance associated type.
NegativeImbalance
Type alias to conveniently refer to the Currency::NegativeImbalance associated type.