subscan
Runtime Modules / PalletLiquidStaking
Spec Version:
Events
Name
Lookup
Attributes
Stakedc300["AccountId","BalanceOf"]
Unstakedc301["AccountId","BalanceOf","BalanceOf"]
StakingLedgerUpdatedc302["DerivativeIndex","StakingLedger<AccountId, BalanceOf>"]
Bondingc303["DerivativeIndex","AccountId","BalanceOf","RewardDestination<AccountId>"]
BondingExtrac304["DerivativeIndex","BalanceOf"]
Unbondingc305["DerivativeIndex","BalanceOf"]
Rebondingc306["DerivativeIndex","BalanceOf"]
WithdrawingUnbondedc307["DerivativeIndex","u32"]
Nominatingc308["DerivativeIndex","Vec<AccountId>"]
StakingLedgerCapUpdatedc309["BalanceOf"]
ReserveFactorUpdatedc30a["Ratio"]
ExchangeRateUpdatedc30b["Rate"]
NotificationReceivedc30c["Box<MultiLocation>","QueryId","Option<(u32, XcmError)>"]
ClaimedForc30d["AccountId","BalanceOf"]
NewErac30e["EraIndex"]
Matchingc30f["BalanceOf","BalanceOf","BalanceOf"]
ReservesReducedc310["AccountId","BalanceOf"]
UnstakeCancelledc311["AccountId","BalanceOf","BalanceOf"]
CommissionRateUpdatedc312["Rate"]
FastUnstakeMatchedc313["AccountId","BalanceOf","BalanceOf","BalanceOf"]
IncentiveUpdatedc314["BalanceOf"]
NonIdealStakingLedgerc315["DerivativeIndex"]
RelaychainStorageProofKeyc316["DerivativeIndex","Bytes","AccountId"]
SetStakingLedgerTryc317["AccountId","DerivativeIndex","StakingLedger<AccountId, BalanceOf>","Vec<Vec<u8>>"]
OnInitializeHookc318["BlockNumberFor","u32"]
SetMembersc319["Vec<AccountId>"]
Storage Functions
Name
Type
ExchangeRate{"origin":"PlainType","plain_type":"U128","PlainTypeValue":181}
CommissionRate{"origin":"PlainType","plain_type":"U128","PlainTypeValue":181}
ValidationData{"origin":"PlainType","plain_type":"polkadot_primitives:v4:PersistedValidationData","PlainTypeValue":248}
ReserveFactor{"origin":"PlainType","plain_type":"U32","PlainTypeValue":173}
TotalReserves{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
MatchingPool{"origin":"PlainType","plain_type":"pallet_liquid_staking:types:MatchingLedger","PlainTypeValue":678}
StakingLedgerCap{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
XcmRequests{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"pallet_liquid_staking:types:XcmRequest","keys_id":11,"value_id":680}}
FastUnstakeRequests{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}}
CurrentEra{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
EraStartBlock{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Unlockings{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<pallet_liquid_staking:types:UnlockChunk>","keys_id":0,"value_id":391}}
Members{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":44}
StakingLedgers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U16"],"value":"pallet_liquid_staking:types:StakingLedger","keys_id":62,"value_id":390}}
IsUpdated{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Bool","keys_id":62,"value_id":47}}
StorageVersion{"origin":"PlainType","plain_type":"pallet_liquid_staking:pallet:Versions","PlainTypeValue":681}
IsMatched{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":47}
Incentive{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Constants
Name
Type
Value
PalletId[U8; 8]7069632f6c71736b
SelfParaIdU3227080000
DerivativeIndexListVec<U16>18000001000200030004000500
XcmFeesU12800f2052a010000000000000000000000
MatchingPoolFastUnstakeFeeU1280000c16ff28623000000000000000000
StakingCurrencyU12804000000000000000000000000000000
LiquidCurrencyU12814000000000000000000000000000000
MinStakeU12800e87648170000000000000000000000
MinUnstakeU12800743ba40b0000000000000000000000
BondingDurationU321c000000
MinNominatorBondU12800e87648170000000000000000000000
EraLengthU32100e0000
NumSlashingSpansU3200000000
ElectionSolutionStoredOffsetU324e0c0000
ProtocolFeeReceiverAccountIda3e194e1abc02bdd10ce919fe2c3d33b5c9291b3aaa3f75035c65fcdf1b8f129
NativeCurrencyU12801000000000000000000000000000000
Error Types
Name
Docs
InvalidExchangeRateExchange rate is invalid.
StakeTooSmallThe stake was below the minimum, `MinStake`.
UnstakeTooSmallThe unstake was below the minimum, `MinUnstake`.
InvalidLiquidCurrencyInvalid liquid currency
InvalidStakingCurrencyInvalid staking currency
InvalidDerivativeIndexInvalid derivative index
InvalidStakingLedgerInvalid staking ledger
CapExceededExceeded liquid currency's market cap
InvalidCapInvalid market cap
InvalidFactorThe factor should be bigger than 0% and smaller than 100%
NothingToClaimNothing to claim yet
NotBondedStash wasn't bonded yet
AlreadyBondedStash is already bonded.
NoMoreChunksCan not schedule more unlock chunks.
StakingLedgerLockedStaking ledger is locked due to mutation in notification_received
NotWithdrawnNot withdrawn unbonded yet
InsufficientBondCannot have a nominator role with value less than the minimum defined by`MinNominatorBond`
InvalidProofThe merkle proof is invalid
NoUnlockingsNo unlocking items
InvalidCommissionRateInvalid commission rate
InvalidOrigin