Name | Lookup | Parameters | |
---|---|---|---|
start_candidacy | 3300 | - | |
stop_candidacy | 3301 | - | |
commit | 3302 | 3 | |
add_funds | 3303 | 1 | |
unbond | 3304 | - | |
withdraw | 3305 | - | |
vote_candidate | 3306 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
CandidateAdded | 3300 | ||
CandidateRemoved | 3301 | ||
Committed | 3302 | ||
FundsAdded | 3303 | ||
UnbondingStarted | 3304 | ||
BondWithdrawn | 3305 | ||
Voted | 3306 | ||
VoterRewarded | 3307 | ||
Elected | 3308 |
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"} |
Name | Type | Value | |
---|---|---|---|
EraDuration | primitives::BlockNumber | 0x40ec0000 | |
NominatorAPY | Perbill | 0x00e1f505 | |
CouncilInflation | Perbill | 0x80969800 | |
CandidacyDeposit | BalanceOf | 0x000000a1edccce1bc2d3000000000000 | |
MinLockAmount | BalanceOf | 0x000080f64ae1c7022d15000000000000 | |
TotalLockedCap | BalanceOf | 0x000000d07900a13f795c760600000000 | |
MaxCandidates | u32 | 0x64000000 | |
MaxMembers | u32 | 0x09000000 |
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 |