Dock
subscan
Runtime Modules / ElectionProviderMultiPhase
Spec Version:
Events
Name
Lookup
Attributes
SolutionStored2000["ElectionCompute","bool"]
ElectionFinalized2001["ElectionCompute","ElectionScore"]
ElectionFailed2002
Rewarded2003["<T as frame_system::Config>::AccountId","BalanceOf"]
Slashed2004["<T as frame_system::Config>::AccountId","BalanceOf"]
SignedPhaseStarted2005["u32"]
UnsignedPhaseStarted2006["u32"]
Storage Functions
Name
Type
Round{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
CurrentPhase{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:Phase","PlainTypeValue":782}
QueuedSolution{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:ReadySolution","PlainTypeValue":784}
Snapshot{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:RoundSnapshot","PlainTypeValue":785}
DesiredTargets{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SnapshotMetadata{"origin":"PlainType","plain_type":"pallet_election_provider_multi_phase:SolutionOrSnapshotSize","PlainTypeValue":506}
SignedSubmissionNextIndex{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
SignedSubmissionIndices{"origin":"PlainType","plain_type":"Vec<Tuple:sp_npos_elections:ElectionScoreU32>","PlainTypeValue":788}
SignedSubmissionsMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_election_provider_multi_phase:signed:SignedSubmission","keys_id":4,"value_id":792}}
MinimumUntrustedScore{"origin":"PlainType","plain_type":"sp_npos_elections:ElectionScore","PlainTypeValue":505}
Constants
Name
Type
Value
UnsignedPhaseU3284030000
SignedPhaseU3284030000
BetterSignedThresholdU3200000000
BetterUnsignedThresholdU3220a10700
OffchainRepeatU3205000000
MinerTxPriorityU64feffffffffffff7f
SignedMaxSubmissionsU320a000000
SignedMaxWeightU649044361396000000
SignedMaxRefundsU3203000000
SignedRewardBaseU6440420f0000000000
SignedDepositBaseU640065cd1d00000000
SignedDepositByteU641027000000000000
SignedDepositWeightU640000000000000000
MaxElectingVotersU32a00f0000
MaxElectableTargetsU16ffff
Error Types
Name
Docs
PreDispatchEarlySubmissionSubmission was too early.
PreDispatchWrongWinnerCountWrong number of winners presented.
PreDispatchWeakSubmissionSubmission was too weak, score-wise.
SignedQueueFullThe queue was full, and the solution was not better than any of the existing ones.
SignedCannotPayDepositThe origin failed to pay the deposit.
SignedInvalidWitnessWitness data to dispatchable is invalid.
SignedTooMuchWeightThe signed submission consumes too much weight
OcwCallWrongEraOCW submitted solution for wrong round
MissingSnapshotMetadataSnapshot metadata should exist but didn't.
InvalidSubmissionIndex`Self::insert_submission` returned an invalid index.
CallNotAllowedThe call is not allowed at this point.
FallbackFailedThe fallback failed