subscan
Runtime Modules / ParachainStaking
Spec Version:
Events
Name
Lookup
Attributes
NewRound1400["BlockNumberFor","RoundIndex","u32","BalanceOf"]
JoinedCollatorCandidates1401["AccountId","BalanceOf","BalanceOf"]
CollatorChosen1402["RoundIndex","AccountId","BalanceOf"]
CandidateBondLessRequested1403["AccountId","BalanceOf","RoundIndex"]
CandidateBondedMore1404["AccountId","BalanceOf","BalanceOf"]
CandidateBondedLess1405["AccountId","BalanceOf","BalanceOf"]
CandidateWentOffline1406["AccountId"]
CandidateBackOnline1407["AccountId"]
CandidateScheduledExit1408["RoundIndex","AccountId","RoundIndex"]
CancelledCandidateExit1409["AccountId"]
CancelledCandidateBondLess140a["AccountId","BalanceOf","RoundIndex"]
CandidateLeft140b["AccountId","BalanceOf","BalanceOf"]
DelegationDecreaseScheduled140c["AccountId","AccountId","BalanceOf","RoundIndex"]
DelegationIncreased140d["AccountId","AccountId","BalanceOf","bool"]
DelegationDecreased140e["AccountId","AccountId","BalanceOf","bool"]
DelegatorExitScheduled140f["RoundIndex","AccountId","RoundIndex"]
DelegationRevocationScheduled1410["RoundIndex","AccountId","AccountId","RoundIndex"]
DelegatorLeft1411["AccountId","BalanceOf"]
DelegationRevoked1412["AccountId","AccountId","BalanceOf"]
DelegationKicked1413["AccountId","AccountId","BalanceOf"]
DelegatorExitCancelled1414["AccountId"]
CancelledDelegationRequest1415["AccountId","CancelledScheduledRequest<BalanceOf>","AccountId"]
Delegation1416["AccountId","BalanceOf","AccountId","DelegatorAdded<BalanceOf>","Percent"]
DelegatorLeftCandidate1417["AccountId","AccountId","BalanceOf","BalanceOf"]
Rewarded1418["AccountId","BalanceOf"]
ReservedForParachainBond1419["AccountId","BalanceOf"]
ParachainBondAccountSet141a["AccountId","AccountId"]
ParachainBondReservePercentSet141b["Percent","Percent"]
InflationSet141c["Perbill","Perbill","Perbill","Perbill","Perbill","Perbill"]
StakeExpectationsSet141d["BalanceOf","BalanceOf","BalanceOf"]
TotalSelectedSet141e["u32","u32"]
CollatorCommissionSet141f["Perbill","Perbill"]
BlocksPerRoundSet1420["RoundIndex","BlockNumberFor","u32","u32","Perbill","Perbill","Perbill"]
AutoCompoundSet1421["AccountId","AccountId","Percent"]
Compounded1422["AccountId","AccountId","BalanceOf"]
Storage Functions
Name
Type
CollatorCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":42}
TotalSelected{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ParachainBondInfo{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:ParachainBondConfig","PlainTypeValue":411}
Round{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:RoundInfo","PlainTypeValue":412}
DelegatorState{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"pallet_parachain_staking:types:Delegator","keys_id":0,"value_id":413}}
CandidateInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"pallet_parachain_staking:types:CandidateMetadata","keys_id":0,"value_id":418}}
DelegationScheduledRequests{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 20]"],"value":"Vec<pallet_parachain_staking:delegation_requests:ScheduledRequest>","keys_id":0,"value_id":423}}
AutoCompoundingDelegations{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 20]"],"value":"Vec<pallet_parachain_staking:auto_compound:AutoCompoundConfig>","keys_id":0,"value_id":426}}
TopDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":429}}
BottomDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":429}}
SelectedCandidates{"origin":"PlainType","plain_type":"Vec<[U8; 20]>","PlainTypeValue":430}
Total{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CandidatePool{"origin":"PlainType","plain_type":"Vec<pallet_parachain_staking:types:Bond>","PlainTypeValue":431}
AtStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 20]"],"value":"pallet_parachain_staking:types:CollatorSnapshot","keys_id":433,"value_id":434}}
DelayedPayouts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_parachain_staking:types:DelayedPayout","keys_id":4,"value_id":437}}
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":438}
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; 20]"],"value":"U32","keys_id":433,"value_id":4}}
EnableMarkingOffline{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":37}
Constants
Name
Type
Value
MinBlocksPerRoundU320a000000
MaxOfflineRoundsU3201000000
LeaveCandidatesDelayU321c000000
CandidateBondLessDelayU321c000000
LeaveDelegatorsDelayU321c000000
RevokeDelegationDelayU321c000000
DelegationBondLessDelayU321c000000
RewardPaymentDelayU3202000000
MinSelectedCandidatesU3208000000
MaxTopDelegationsPerCandidateU322c010000
MaxBottomDelegationsPerCandidateU3232000000
MaxDelegationsPerDelegatorU3264000000
MinCandidateStkU12800000042db999d3784a7010000000000
MinDelegationU128000088b116afe3b50200000000000000
MaxCandidatesU32c8000000
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
RoundLengthMustBeGreaterThanTotalSelectedCollators
NoWritingSameValue
TooLowCandidateCountWeightHintJoinCandidates
TooLowCandidateCountWeightHintCancelLeaveCandidates
TooLowCandidateCountToLeaveCandidates
TooLowDelegationCountToDelegate
TooLowCandidateDelegationCountToDelegate
TooLowCandidateDelegationCountToLeaveCandidates
TooLowDelegationCountToLeaveDelegators
PendingCandidateRequestsDNE
PendingCandidateRequestAlreadyExists
PendingCandidateRequestNotDueYet
PendingDelegationRequestDNE
PendingDelegationRequestAlreadyExists
PendingDelegationRequestNotDueYet
CannotDelegateLessThanOrEqualToLowestBottomWhenFull
PendingDelegationRevoke
TooLowDelegationCountToAutoCompound
TooLowCandidateAutoCompoundingDelegationCountToAutoCompound
TooLowCandidateAutoCompoundingDelegationCountToDelegate
TooLowCollatorCountToNotifyAsInactive
CannotBeNotifiedAsInactive
TooLowCandidateAutoCompoundingDelegationCountToLeaveCandidates
TooLowCandidateCountWeightHint
TooLowCandidateCountWeightHintGoOffline
CandidateLimitReached
CannotSetAboveMaxCandidates
RemovedCall
MarkingOfflineNotEnabled
CurrentRoundTooLow