Expand description
Auxiliary struct/enums for parachain runtimes. Taken from polkadot/runtime/common (at a21cd64) and adapted for parachains.
Structs§
- Asset
Exists - Allow checking in assets that exists.
- Assets
From - Asset filter that allows all assets from a certain location.
- Assets
ToBlock Author - A
HandleCreditimplementation that naively transfers the fees to the block author. Will drop and burn the assets in case the transfer fails. - Deal
With Fees - Fungible implementation of
OnUnbalancedthat deals with the fees by combining tip and fee and passing the result on toToStakingPot. - NonZero
Issuance - Allow checking in assets that have issuance > 0.
- ToParent
Treasury - Implements
OnUnbalanced::on_unbalancedto teleport slashed assets to relay chain treasury account. - ToStaking
Pot Deprecated - Implementation of
OnUnbalancedthat deposits the fees into a staking pot for later payout.
Type Aliases§
- Account
IdOf - Type alias to conveniently refer to
frame_system’sConfig::AccountId. - Balance
Of - Type alias to conveniently refer to the
Currency::Balanceassociated type. - Negative
Imbalance - Type alias to conveniently refer to the
Currency::NegativeImbalanceassociated type.