Name | Lookup | Parameters | |
|---|---|---|---|
| bid | 1a00 | 1 | |
| unbid | 1a01 | 1 | |
| vouch | 1a02 | 3 | |
| unvouch | 1a03 | 1 | |
| vote | 1a04 | 2 | |
| defender_vote | 1a05 | 1 | |
| payout | 1a06 | - | |
| found | 1a07 | 3 | |
| unfound | 1a08 | - | |
| judge_suspended_member | 1a09 | 2 | |
| judge_suspended_candidate | 1a0a | 2 | |
| set_max_members | 1a0b | 1 |
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"] | |
| NewMaxMembers | 1a0d | ["u32"] | |
| Unfounded | 1a0e | ["AccountId"] | |
| Deposit | 1a0f | ["BalanceOf"] |
Name | Type | |
|---|---|---|
| Founder | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| Rules | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":9} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<pallet_society:Bid>","PlainTypeValue":570} | |
| SuspendedCandidates | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Tuple:U128pallet_society:BidKind","keys_id":0,"value_id":573}} | |
| Pot | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| Head | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| Members | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":47} | |
| SuspendedMembers | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Bool","keys_id":0,"value_id":54}} | |
| Bids | {"origin":"PlainType","plain_type":"Vec<pallet_society:Bid>","PlainTypeValue":570} | |
| Vouching | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:VouchingStatus","keys_id":0,"value_id":574}} | |
| Payouts | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U32U128>","keys_id":0,"value_id":575}} | |
| Strikes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| Votes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","AccountId"],"value":"pallet_society:Vote","keys_id":577,"value_id":578}} | |
| Defender | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| DefenderVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_society:Vote","keys_id":0,"value_id":578}} | |
| MaxMembers | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 70792f736f636965 | |
| CandidateDeposit | U128 | 084cd2c2070000000000000000000000 | |
| WrongSideDeduction | U128 | 68425d8d010000000000000000000000 | |
| MaxStrikes | U32 | 0a000000 | |
| PeriodSpend | U128 | 90d9120d840100000000000000000000 | |
| RotationPeriod | U32 | c0890100 | |
| MaxLockDuration | U32 | 004eed00 | |
| ChallengePeriod | U32 | c0890100 | |
| MaxCandidateIntake | U32 | 01000000 |
Name | Docs |
|---|---|
| BadPosition | An incorrect position was provided. |
| 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. |
| NotVouching | 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. |