subscan
Runtime Modules / ParachainStaking
Spec Version:
Events
Name
Lookup
Attributes
NewRound1400["BlockNumber","RoundIndex","u32","BalanceOf"]
JoinedCollatorCandidates1401["AccountId","BalanceOf","BalanceOf"]
CollatorChosen1402["RoundIndex","AccountId","BalanceOf"]
CandidateBondLessRequested1403["AccountId","BalanceOf","RoundIndex"]
CandidateBondedMore1404["AccountId","BalanceOf","BalanceOf"]
CandidateBondedLess1405["AccountId","BalanceOf","BalanceOf"]
CandidateWentOffline1406["RoundIndex","AccountId"]
CandidateBackOnline1407["RoundIndex","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"]
DelegatorExitCancelled1413["AccountId"]
CancelledDelegationRequest1414["AccountId","DelegationRequest<AccountId, BalanceOf>"]
Delegation1415["AccountId","BalanceOf","AccountId","DelegatorAdded<BalanceOf>"]
DelegatorLeftCandidate1416["AccountId","AccountId","BalanceOf","BalanceOf"]
DelegatorDueReward1417["AccountId","AccountId","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","BlockNumber","u32","u32","Perbill","Perbill","Perbill"]
Storage Functions
Name
Type
CollatorCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":38}
TotalSelected{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ParachainBondInfo{"origin":"PlainType","plain_type":"parachain_staking:pallet:ParachainBondConfig","PlainTypeValue":147}
Round{"origin":"PlainType","plain_type":"parachain_staking:pallet:RoundInfo","PlainTypeValue":148}
NominatorState2{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"parachain_staking:pallet:Nominator2","keys_id":0,"value_id":149}}
DelegatorState{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"parachain_staking:pallet:Delegator","keys_id":0,"value_id":155}}
CandidateState{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"parachain_staking:pallet:CollatorCandidate","keys_id":0,"value_id":160}}
CollatorState2{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"parachain_staking:pallet:Collator2","keys_id":0,"value_id":164}}
SelectedCandidates{"origin":"PlainType","plain_type":"Vec<[U8; 20]>","PlainTypeValue":71}
Total{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CandidatePool{"origin":"PlainType","plain_type":"Vec<parachain_staking:pallet:Bond>","PlainTypeValue":150}
ExitQueue2{"origin":"PlainType","plain_type":"parachain_staking:pallet:ExitQ","PlainTypeValue":165}
AtStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","[U8; 20]"],"value":"parachain_staking:pallet:CollatorSnapshot","keys_id":170,"value_id":171}}
Staked{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}}
InflationConfig{"origin":"PlainType","plain_type":"parachain_staking:inflation:InflationInfo","PlainTypeValue":172}
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":170,"value_id":4}}
Constants
Name
Type
Value
MinBlocksPerRoundU320a000000
DefaultBlocksPerRoundU3208070000
LeaveCandidatesDelayU321c000000
CandidateBondLessDelayU321c000000
LeaveDelegatorsDelayU321c000000
RevokeDelegationDelayU321c000000
DelegationBondLessDelayU321c000000
RewardPaymentDelayU3202000000
MinSelectedCandidatesU3208000000
MaxDelegatorsPerCandidateU3264000000
MaxDelegationsPerDelegatorU3264000000
DefaultCollatorCommissionU3200c2eb0b
DefaultParachainBondReservePercentU81e
MinCollatorStkU128000080f64ae1c7022d15000000000000
MinCandidateStkU128000040b2bac9e0191e02000000000000
MinDelegationU128000050efe2d6e41a1b00000000000000
MinDelegatorStkU128000050efe2d6e41a1b00000000000000
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
NoWritingSameValue
TooLowCandidateCountWeightHintJoinCandidates
TooLowCandidateCountWeightHintCancelLeaveCandidates
TooLowCandidateCountToLeaveCandidates
TooLowDelegationCountToDelegate
TooLowCandidateDelegationCountToDelegate
TooLowDelegationCountToLeaveDelegators
PendingCandidateRequestsDNE
PendingCandidateRequestAlreadyExists
PendingCandidateRequestNotDueYet
PendingDelegationRequestDNE
PendingDelegationRequestAlreadyExists
PendingDelegationRequestNotDueYet