Module pallet_liquid_staking::pallet
source · Expand description
The module that hosts all the FRAME types needed to add this pallet to a runtime.
Structs
Can be used to configure the
genesis state
of this pallet.
Enums
Contains one variant per dispatchable that can be called by an extrinsic.
Custom dispatch errors
of this pallet.
Utility type for managing upgrades/migrations.
Constants
Traits
Configuration trait of this pallet.
Type Definitions
The commission rate charge for staking total rewards.
Current era index
Users can come to claim their unbonded staking assets back once this value arrived
at certain height decided by
BondingDuration
and EraLength
Current era’s start relaychain block
The exchange rate between relaychain native asset and the voucher.
Users’ fast unstake requests in liquid currency
Set to true if already do matching in current era
clear after arriving at next era
Set to true if staking ledger has been modified in this block
Store total stake amount and unstake amount in each era,
And will update when stake/unstake occurred.
ModuleDeprecated
Type alias to
Pallet
, to be used by construct_runtime
.Fraction of reward currently set aside for reserves.
Staking ledger’s cap
Platform’s staking ledgers
Unbonding requests to be handled after arriving at target era
Fraction of reward currently set aside for unstake reserves.
ValidationData of previous block
Flying & failed xcm requests