Name | Lookup | Parameters | |
|---|---|---|---|
| bid | 1a00 | 1 | |
| unbid | 1a01 | - | |
| vouch | 1a02 | 3 | |
| unvouch | 1a03 | - | |
| vote | 1a04 | 2 | |
| defender_vote | 1a05 | 1 | |
| payout | 1a06 | - | |
| waive_repay | 1a07 | 1 | |
| found_society | 1a08 | 6 | |
| dissolve | 1a09 | - | |
| judge_suspended_member | 1a0a | 2 | |
| set_parameters | 1a0b | 4 | |
| punish_skeptic | 1a0c | - | |
| claim_membership | 1a0d | - | |
| bestow_membership | 1a0e | 1 | |
| kick_candidate | 1a0f | 1 | |
| resign_candidacy | 1a10 | - | |
| drop_candidate | 1a11 | 1 | |
| cleanup_candidacy | 1a12 | 2 | |
| cleanup_challenge | 1a13 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Founded | 1a00 | ["AccountId"] | |
| Bid | 1a01 | ["AccountId","BalanceOf"] | |
| Vouch | 1a02 | ["AccountId","BalanceOf","AccountId"] | |
| AutoUnbid | 1a03 | ["AccountId"] | |
| Unbid | 1a04 | ["AccountId"] | |
| Unvouch | 1a05 | ["AccountId"] | |
| Inducted | 1a06 | ["AccountId","Vec<AccountId>"] | |
| SuspendedMemberJudgement | 1a07 | ["AccountId","bool"] | |
| CandidateSuspended | 1a08 | ["AccountId"] | |
| MemberSuspended | 1a09 | ["AccountId"] | |
| Challenged | 1a0a | ["AccountId"] | |
| Vote | 1a0b | ["AccountId","AccountId","bool"] | |
| DefenderVote | 1a0c | ["AccountId","bool"] | |
| NewParams | 1a0d | ["GroupParamsFor"] | |
| Unfounded | 1a0e | ["AccountId"] | |
| Deposit | 1a0f | ["BalanceOf"] | |
| Elevated | 1a10 | ["AccountId","Rank"] |
Name | Type | |
|---|---|---|
| Parameters | {"origin":"PlainType","plain_type":"pallet_society:GroupParams","PlainTypeValue":520} | |
| Pot | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Founder | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| Head | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| Rules | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":13} | |
| Members | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:MemberRecord","keys_id":0,"value_id":703}} | |
| Payouts | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:PayoutRecord","keys_id":0,"value_id":706}} | |
| MemberCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| MemberByIndex | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"AccountId","keys_id":4,"value_id":0}} | |
| SuspendedMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:MemberRecord","keys_id":0,"value_id":703}} | |
| RoundCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Bids | {"origin":"PlainType","plain_type":"Vec<pallet_society:Bid>","PlainTypeValue":708} | |
| Candidates | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"pallet_society:Candidacy","keys_id":0,"value_id":712}} | |
| Skeptic | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| Votes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","AccountId"],"value":"pallet_society:Vote","keys_id":714,"value_id":715}} | |
| VoteClearCursor | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<U8>","keys_id":0,"value_id":716}} | |
| NextHead | {"origin":"PlainType","plain_type":"pallet_society:IntakeRecord","PlainTypeValue":717} | |
| ChallengeRoundCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Defending | {"origin":"PlainType","plain_type":"Tuple:AccountIdAccountIdpallet_society:Tally","PlainTypeValue":718} | |
| DefenderVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_society:Vote","keys_id":622,"value_id":715}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f736f636965 | |
| GraceStrikes | U32 | 0a000000 | |
| PeriodSpend | U128 | 040abf82280f00000000000000000000 | |
| VotingPeriod | U32 | 40190100 | |
| ClaimPeriod | U32 | 80700000 | |
| MaxLockDuration | U32 | 004eed00 | |
| ChallengePeriod | U32 | c0890100 | |
| MaxPayouts | U32 | 08000000 | |
| MaxBids | U32 | 00020000 |
Name | Docs |
|---|---|
| NotMember | User is not a member. |
| AlreadyMember | User is already a member. |
| Suspended | User is suspended. |
| NotSuspended | User is not suspended. |
| NoPayout | Nothing to payout. |
| AlreadyFounded | Society already founded. |
| InsufficientPot | Not enough in pot to accept candidate. |
| AlreadyVouching | Member is already vouching or banned from vouching again. |
| NotVouchingOnBidder | Member is not vouching. |
| Head | Cannot remove the head of the chain. |
| Founder | Cannot remove the founder. |
| AlreadyBid | User has already made a bid. |
| AlreadyCandidate | User is already a candidate. |
| NotCandidate | User is not a candidate. |
| MaxMembers | Too many members in the society. |
| NotFounder | The caller is not the founder. |
| NotHead | The caller is not the head. |
| NotApproved | The membership cannot be claimed as the candidate was not clearly approved. |
| NotRejected | The candidate cannot be kicked as the candidate was not clearly rejected. |
| Approved | The candidacy cannot be dropped as the candidate was clearly approved. |
| Rejected | The candidacy cannot be bestowed as the candidate was clearly rejected. |
| InProgress | The candidacy cannot be concluded as the voting is still in progress. |
| TooEarly | The candidacy cannot be pruned until a full additional intake period has passed. |
| Voted | The skeptic already voted. |
| Expired | The skeptic need not vote on candidates from expired rounds. |
| NotBidder | User is not a bidder. |
| NoDefender | There is no defender currently. |
| NotGroup | Group doesn't exist. |
| AlreadyElevated | The member is already elevated to this rank. |
| AlreadyPunished | The skeptic has already been punished for this offence. |
| InsufficientFunds | Funds are insufficient to pay off society debts. |
| NoVotes | The candidate/defender has no stale votes to remove. |