Westend
subscan
Runtime Modules / ElectionProviderMultiPhase
Spec Version:
Call Functions
Storage Functions
Name
Type
Round{"origin":"PlainType","plain_type":"u32"}
CurrentPhase{"origin":"PlainType","plain_type":"Phase<BlockNumber>"}
QueuedSolution{"origin":"PlainType","plain_type":"ReadySolution<AccountId>"}
Snapshot{"origin":"PlainType","plain_type":"RoundSnapshot<AccountId>"}
DesiredTargets{"origin":"PlainType","plain_type":"u32"}
SnapshotMetadata{"origin":"PlainType","plain_type":"SolutionOrSnapshotSize"}
SignedSubmissionNextIndex{"origin":"PlainType","plain_type":"u32"}
SignedSubmissionIndices{"origin":"PlainType","plain_type":"SubmissionIndicesOf"}
SignedSubmissionsMap{"origin":"MapType","map_type":{"key":"u32","hasher":"Twox64Concat","value":"SignedSubmissionOf","isLinked":false}}
MinimumUntrustedScore{"origin":"PlainType","plain_type":"ElectionScore"}
Constants
Name
Type
Value
UnsignedPhaseBlockNumber0x96000000
SignedPhaseBlockNumber0x96000000
SolutionImprovementThresholdPerbill0x20a10700
OffchainRepeatBlockNumber0x05000000
SignedMaxSubmissionsu320x80000000
SignedMaxWeightWeight0xc084666557010000
SignedRewardBaseBalanceOf0x709f664d2d0b00000000000000000000
SignedDepositBaseBalanceOf0x0010a5d4e80000000000000000000000
SignedDepositByteBalanceOf0xf2052a01000000000000000000000000
SignedDepositWeightBalanceOf0x00000000000000000000000000000000
Error Types
Name
Docs
PreDispatchEarlySubmission Submission was too early.
PreDispatchWrongWinnerCount Wrong number of winners presented.
PreDispatchWeakSubmission Submission was too weak, score-wise.
SignedQueueFull The queue was full, and the solution was not better than any of the existing ones.
SignedCannotPayDeposit The origin failed to pay the deposit.
SignedInvalidWitness Witness data to dispatchable is invalid.
SignedTooMuchWeight The signed submission consumes too much weight
OcwCallWrongEra OCW submitted solution for wrong round
MissingSnapshotMetadata Snapshot metadata should exist but didn't.
InvalidSubmissionIndex `Self::insert_submission` returned an invalid index.
CallNotAllowed The call is not allowed at this point.