Turing
subscan
Runtime Modules / ParachainStaking
Spec Version:
Events
Name
Lookup
Attributes
NewRound1600["BlockNumber","RoundIndex","u32","BalanceOf"]
JoinedCollatorCandidates1601["AccountId","BalanceOf","BalanceOf"]
CollatorChosen1602["RoundIndex","AccountId","BalanceOf"]
CandidateBondLessRequested1603["AccountId","BalanceOf","RoundIndex"]
CandidateBondedMore1604["AccountId","BalanceOf","BalanceOf"]
CandidateBondedLess1605["AccountId","BalanceOf","BalanceOf"]
CandidateWentOffline1606["AccountId"]
CandidateBackOnline1607["AccountId"]
CandidateScheduledExit1608["RoundIndex","AccountId","RoundIndex"]
CancelledCandidateExit1609["AccountId"]
CancelledCandidateBondLess160a["AccountId","BalanceOf","RoundIndex"]
CandidateLeft160b["AccountId","BalanceOf","BalanceOf"]
DelegationDecreaseScheduled160c["AccountId","AccountId","BalanceOf","RoundIndex"]
DelegationIncreased160d["AccountId","AccountId","BalanceOf","bool"]
DelegationDecreased160e["AccountId","AccountId","BalanceOf","bool"]
DelegatorExitScheduled160f["RoundIndex","AccountId","RoundIndex"]
DelegationRevocationScheduled1610["RoundIndex","AccountId","AccountId","RoundIndex"]
DelegatorLeft1611["AccountId","BalanceOf"]
DelegationRevoked1612["AccountId","AccountId","BalanceOf"]
DelegationKicked1613["AccountId","AccountId","BalanceOf"]
DelegatorExitCancelled1614["AccountId"]
CancelledDelegationRequest1615["AccountId","CancelledScheduledRequest<BalanceOf>","AccountId"]
Delegation1616["AccountId","BalanceOf","AccountId","DelegatorAdded<BalanceOf>","Percent"]
DelegatorLeftCandidate1617["AccountId","AccountId","BalanceOf","BalanceOf"]
Rewarded1618["AccountId","BalanceOf"]
ReservedForParachainBond1619["AccountId","BalanceOf"]
ParachainBondAccountSet161a["AccountId","AccountId"]
ParachainBondReservePercentSet161b["Percent","Percent"]
InflationSet161c["Perbill","Perbill","Perbill","Perbill","Perbill","Perbill"]
StakeExpectationsSet161d["BalanceOf","BalanceOf","BalanceOf"]
TotalSelectedSet161e["u32","u32"]
CollatorCommissionSet161f["Perbill","Perbill"]
BlocksPerRoundSet1620["RoundIndex","BlockNumber","u32","u32","Perbill","Perbill","Perbill"]
AutoCompoundSet1621["AccountId","AccountId","Percent"]
Compounded1622["AccountId","AccountId","BalanceOf"]
Storage Functions
Name
Type
CollatorCommission{"origin":"PlainType","plain_type":"U32","PlainTypeValue":69}
TotalSelected{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ParachainBondInfo{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:ParachainBondConfig","PlainTypeValue":240}
Round{"origin":"PlainType","plain_type":"pallet_parachain_staking:types:RoundInfo","PlainTypeValue":241}
DelegatorState{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_parachain_staking:types:Delegator","keys_id":0,"value_id":242}}
CandidateInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_parachain_staking:types:CandidateMetadata","keys_id":0,"value_id":247}}
DelegationScheduledRequests{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<pallet_parachain_staking:delegation_requests:ScheduledRequest>","keys_id":0,"value_id":252}}
AutoCompoundingDelegations{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<pallet_parachain_staking:auto_compound:AutoCompoundConfig>","keys_id":0,"value_id":255}}
TopDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":258}}
BottomDelegations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_parachain_staking:types:Delegations","keys_id":0,"value_id":258}}
SelectedCandidates{"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":259}
Total{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
CandidatePool{"origin":"PlainType","plain_type":"Vec<pallet_parachain_staking:types:Bond>","PlainTypeValue":260}
AtStake{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_parachain_staking:types:CollatorSnapshot","keys_id":262,"value_id":263}}
DelayedPayouts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_parachain_staking:types:DelayedPayout","keys_id":4,"value_id":266}}
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":267}
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","AccountId"],"value":"U32","keys_id":262,"value_id":4}}
Constants
Name
Type
Value
MinBlocksPerRoundU320a000000
LeaveCandidatesDelayU3218000000
CandidateBondLessDelayU3218000000
LeaveDelegatorsDelayU3218000000
RevokeDelegationDelayU3218000000
DelegationBondLessDelayU3218000000
RewardPaymentDelayU3202000000
MinSelectedCandidatesU3205000000
MaxTopDelegationsPerCandidateU322c010000
MaxBottomDelegationsPerCandidateU3232000000
MaxDelegationsPerDelegatorU3264000000
MinCandidateStkU1280000c16ff28623000000000000000000
MinDelegationU1280088526a740000000000000000000000
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
TooLowCandidateAutoCompoundingDelegationCountToLeaveCandidates
TooLowCandidateCountWeightHint
TooLowCandidateCountWeightHintGoOffline
CandidateLimitReached
CannotSetAboveMaxCandidates
RemovedCall