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 | 1300 | ||
| Bid | 1301 | ||
| Vouch | 1302 | ||
| AutoUnbid | 1303 | ||
| Unbid | 1304 | ||
| Unvouch | 1305 | ||
| Inducted | 1306 | ||
| SuspendedMemberJudgement | 1307 | ||
| CandidateSuspended | 1308 | ||
| MemberSuspended | 1309 | ||
| Challenged | 130a | ||
| Vote | 130b | ||
| DefenderVote | 130c | ||
| NewMaxMembers | 130d | ||
| Unfounded | 130e |
Name | Type | |
|---|---|---|
| Founder | {"origin":"PlainType","plain_type":"AccountId"} | |
| Rules | {"origin":"PlainType","plain_type":"Hash"} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<Bid<AccountId, BalanceOf>>"} | |
| SuspendedCandidates | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"(BalanceOf, BidKind<AccountId, BalanceOf>)","isLinked":false}} | |
| Pot | {"origin":"PlainType","plain_type":"BalanceOf"} | |
| Head | {"origin":"PlainType","plain_type":"AccountId"} | |
| Members | {"origin":"PlainType","plain_type":"Vec<AccountId>"} | |
| SuspendedMembers | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"bool","isLinked":false}} | |
| Bids | {"origin":"PlainType","plain_type":"Vec<Bid<AccountId, BalanceOf>>"} | |
| Vouching | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"VouchingStatus","isLinked":false}} | |
| Payouts | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Vec<(BlockNumber, BalanceOf)>","isLinked":false}} | |
| Strikes | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"StrikeCount","isLinked":false}} | |
| Votes | {"origin":"DoubleMapType","double_map_type":{"key":"AccountId","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Vote","isLinked":false}} | |
| Defender | {"origin":"PlainType","plain_type":"AccountId"} | |
| DefenderVotes | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Vote","isLinked":false}} | |
| MaxMembers | {"origin":"PlainType","plain_type":"u32"} |
Name | Type | Value | |
|---|---|---|---|
| CandidateDeposit | BalanceOf | 0x00a0724e180900000000000000000000 | |
| WrongSideDeduction | BalanceOf | 0x00204aa9d10100000000000000000000 | |
| MaxStrikes | u32 | 0x0a000000 | |
| PeriodSpend | BalanceOf | 0x00406352bfc601000000000000000000 | |
| RotationPeriod | BlockNumber | 0x80bb0000 | |
| ChallengePeriod | BlockNumber | 0xc0890100 |
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. |