subscan
Runtime Modules / ParachainStaking
Spec Version:
Events
Name
Lookup
Attributes
NewRound3000["BlockNumber","RoundIndex","u32","BalanceOf"]
JoinedCollatorCandidates3001["AccountId","BalanceOf","BalanceOf"]
CollatorChosen3002["RoundIndex","AccountId","BalanceOf"]
CandidateBondLessRequested3003["AccountId","BalanceOf","RoundIndex"]
CandidateBondedMore3004["AccountId","BalanceOf","BalanceOf"]
CandidateBondedLess3005["AccountId","BalanceOf","BalanceOf"]
CandidateWentOffline3006["AccountId"]
CandidateBackOnline3007["AccountId"]
CandidateScheduledExit3008["RoundIndex","AccountId","RoundIndex"]
CancelledCandidateExit3009["AccountId"]
CancelledCandidateBondLess300a["AccountId","BalanceOf","RoundIndex"]
CandidateLeft300b["AccountId","BalanceOf","BalanceOf"]
DelegationDecreaseScheduled300c["AccountId","AccountId","BalanceOf","RoundIndex"]
DelegationIncreased300d["AccountId","AccountId","BalanceOf","bool"]
DelegationDecreased300e["AccountId","AccountId","BalanceOf","bool"]
DelegatorExitScheduled300f["RoundIndex","AccountId","RoundIndex"]
DelegationRevocationScheduled3010["RoundIndex","AccountId","AccountId","RoundIndex"]
DelegatorLeft3011["AccountId","BalanceOf"]
DelegationRevoked3012["AccountId","AccountId","BalanceOf"]
DelegationKicked3013["AccountId","AccountId","BalanceOf"]
DelegatorExitCancelled3014["AccountId"]
CancelledDelegationRequest3015["AccountId","CancelledScheduledRequest<BalanceOf>","AccountId"]
Delegation3016["AccountId","BalanceOf","AccountId","DelegatorAdded<BalanceOf>"]
DelegatorLeftCandidate3017["AccountId","AccountId","BalanceOf","BalanceOf"]
Rewarded3018["AccountId","BalanceOf"]
ReservedForParachainBond3019["AccountId","BalanceOf"]
ParachainBondAccountSet301a["AccountId","AccountId"]
ParachainBondReservePercentSet301b["Percent","Percent"]
InflationSet301c["Perbill","Perbill","Perbill","Perbill","Perbill","Perbill"]
StakeExpectationsSet301d["BalanceOf","BalanceOf","BalanceOf"]
TotalSelectedSet301e["u32","u32"]
CollatorCommissionSet301f["Perbill","Perbill"]
BlocksPerRoundSet3020["RoundIndex","BlockNumber","u32","u32","Perbill","Perbill","Perbill"]
Storage Functions
Name
Type
CollatorCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":53}
TotalSelected{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ParachainBondInfo{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:ParachainBondConfig","PlainTypeValue":368}
Round{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:RoundInfo","PlainTypeValue":369}
DelegatorState{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_parachain_staking:types:Delegator","keys_id":0,"value_id":370}}
CandidateInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_parachain_staking:types:CandidateMetadata","keys_id":0,"value_id":375}}
DelegationScheduledRequests{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"Vec<pallet_parachain_staking:delegation_requests:ScheduledRequest>","keys_id":0,"value_id":380}}
TopDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":382}}
BottomDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":382}}
SelectedCandidates{"origin":"PlainType","plain_type":"Vec<[U8; 32]>","PlainTypeValue":55}
Total{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CandidatePool{"origin":"PlainType","plain_type":"Vec<pallet_parachain_staking:types:Bond>","PlainTypeValue":371}
AtStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"pallet_parachain_staking:types:CollatorSnapshot","keys_id":383,"value_id":384}}
DelayedPayouts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_parachain_staking:types:DelayedPayout","keys_id":4,"value_id":385}}
Staked{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}}
InflationConfig{"origin":"PlainType","plain_type":"pallet_parachain_staking:inflation:InflationInfo","PlainTypeValue":386}
Points{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U32","keys_id":4,"value_id":4}}
AwardedPts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 32]"],"value":"U32","keys_id":383,"value_id":4}}
Constants
Name
Type
Value
MinBlocksPerRoundU320a000000
DefaultBlocksPerRoundU3208070000
LeaveCandidatesDelayU321c000000
CandidateBondLessDelayU321c000000
LeaveDelegatorsDelayU321c000000
RevokeDelegationDelayU321c000000
DelegationBondLessDelayU321c000000
RewardPaymentDelayU3202000000
MinSelectedCandidatesU3205000000
MaxTopDelegationsPerCandidateU3264000000
MaxBottomDelegationsPerCandidateU3232000000
MaxDelegationsPerDelegatorU3219000000
DefaultCollatorCommissionU3200e1f505
DefaultParachainBondReservePercentU800
MinCollatorStkU1280000909dceda82370000000000000000
MinCandidateStkU1280000909dceda82370000000000000000
MinWhitelistCandidateStkU12800002876e1158d050000000000000000
MinDelegationU1280080e03779c311000000000000000000
MinDelegatorStkU1280080e03779c311000000000000000000
Error Types
Name
Docs
DelegatorDNE
DelegatorDNEinTopNorBottom
DelegatorDNEInDelegatorSet
CandidateDNE
DelegationDNE
DelegatorExists
CandidateExists
CandidateBondBelowMin
InsufficientBalance
DelegatorBondBelowMin
DelegationBelowMin
AlreadyOffline
AlreadyActive
DelegatorAlreadyLeaving
DelegatorNotLeaving
DelegatorCannotLeaveYet
CannotDelegateIfLeaving
CandidateAlreadyLeaving
CandidateNotLeaving
CandidateCannotLeaveYet
CannotGoOnlineIfLeaving
ExceedMaxDelegationsPerDelegator
AlreadyDelegatedCandidate
InvalidSchedule
CannotSetBelowMin
RoundLengthMustBeAtLeastTotalSelectedCollators
NoWritingSameValue
TooLowCandidateCountWeightHintJoinCandidates
TooLowCandidateCountWeightHintCancelLeaveCandidates
TooLowCandidateCountToLeaveCandidates
TooLowDelegationCountToDelegate
TooLowCandidateDelegationCountToDelegate
TooLowCandidateDelegationCountToLeaveCandidates
TooLowDelegationCountToLeaveDelegators
PendingCandidateRequestsDNE
PendingCandidateRequestAlreadyExists
PendingCandidateRequestNotDueYet
PendingDelegationRequestDNE
PendingDelegationRequestAlreadyExists
PendingDelegationRequestNotDueYet
CannotDelegateLessThanOrEqualToLowestBottomWhenFull
PendingDelegationRevoke
PalletAlreadyInitialized
NotEnoughCollatorsForPalletInit
InvalidState