Reef
subscan
Runtime Modules / Poc
Spec Version:
Call Functions
Name
Lookup
Parameters
start_candidacy3300-
stop_candidacy3301-
commit33023
add_funds33031
unbond3304-
withdraw3305-
vote_candidate33061
Storage Functions
Name
Type
CurrentEra{"origin":"PlainType","plain_type":"Era<BlockNumber>"}
VoterRewards{"origin":"DoubleMapType","double_map_type":{"key":"EraIndex","key2":"AccountId","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"BalanceOf","isLinked":false}}
Commitments{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"CommitmentOf","isLinked":false}}
Members{"origin":"PlainType","plain_type":"Vec<AccountId>"}
Candidates{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"BalanceOf","isLinked":false}}
CandidatesCount{"origin":"PlainType","plain_type":"u32"}
LockedAmount{"origin":"PlainType","plain_type":"BalanceOf"}
Constants
Name
Type
Value
EraDurationprimitives::BlockNumber0x40ec0000
NominatorAPYPerbill0x00e1f505
CouncilInflationPerbill0x80969800
CandidacyDepositBalanceOf0x000000a1edccce1bc2d3000000000000
MinLockAmountBalanceOf0x000080f64ae1c7022d15000000000000
TotalLockedCapBalanceOf0x000000d07900a13f795c760600000000
MaxCandidatesu320x64000000
MaxMembersu320x09000000
Error Types
Name
Docs
AlreadyCandidate Account is already running as a candidate
NotCandidate Candidate not found
CannotLeave Candidate is a member and cannot withdraw candidacy
MaxCandidatesReached Already have maximum allowed number of candidates
AlreadyCommitted Account already has an active commitment
CommitmentNotFound Cannot operate on a non existing commitment
NotCommitted The commitment is not active
CannotWithdrawLocked Funds are still locked and cannot be withdrawn
InsufficientAmount Bonded amount is too small
OverSubscribed The PoC system already has maximum amount committed