Name | Lookup | Parameters | |
|---|---|---|---|
| propose | 3200 | 3 | |
| vote | 3201 | 3 | |
| init_members | 3203 | 2 | |
| disband | 3204 | 1 | |
| set_rule | 3205 | 1 | |
| announce | 3206 | 1 | |
| remove_announcement | 3207 | 1 | |
| join_alliance | 3208 | - | |
| nominate_ally | 3209 | 1 | |
| elevate_ally | 320a | 1 | |
| give_retirement_notice | 320b | - | |
| retire | 320c | - | |
| kick_member | 320d | 1 | |
| add_unscrupulous_items | 320e | 1 | |
| remove_unscrupulous_items | 320f | 1 | |
| close | 3210 | 4 | |
| abdicate_fellow_status | 3211 | - |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewRuleSet | 3200 | ["Cid"] | |
| Announced | 3201 | ["Cid"] | |
| AnnouncementRemoved | 3202 | ["Cid"] | |
| MembersInitialized | 3203 | ["Vec<AccountId>","Vec<AccountId>"] | |
| NewAllyJoined | 3204 | ["AccountId","Option<AccountId>","Option<BalanceOf>"] | |
| AllyElevated | 3205 | ["AccountId"] | |
| MemberRetirementPeriodStarted | 3206 | ["AccountId"] | |
| MemberRetired | 3207 | ["AccountId","Option<BalanceOf>"] | |
| MemberKicked | 3208 | ["AccountId","Option<BalanceOf>"] | |
| UnscrupulousItemAdded | 3209 | ["Vec<UnscrupulousItemOf>"] | |
| UnscrupulousItemRemoved | 320a | ["Vec<UnscrupulousItemOf>"] | |
| AllianceDisbanded | 320b | ["u32","u32","u32"] | |
| FellowAbdicated | 320c | ["AccountId"] |
Name | Type | |
|---|---|---|
| Rule | {"origin":"PlainType","plain_type":"pallet_alliance:types:Cid","PlainTypeValue":161} | |
| Announcements | {"origin":"PlainType","plain_type":"Vec<pallet_alliance:types:Cid>","PlainTypeValue":480} | |
| DepositOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} | |
| Members | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["pallet_alliance:MemberRole"],"value":"Vec<AccountId>","keys_id":482,"value_id":452}} | |
| RetiringMembers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| UnscrupulousAccounts | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":452} | |
| UnscrupulousWebsites | {"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":483} |
Name | Type | Value | |
|---|---|---|---|
| MaxUnscrupulousItems | U32 | 64000000 | |
| MaxWebsiteUrlLength | U32 | ff000000 | |
| AllyDeposit | U128 | 00a0724e180900000000000000000000 | |
| MaxAnnouncementsCount | U32 | 64000000 | |
| MaxMembersCount | U32 | 64000000 |
Name | Docs |
|---|---|
| AllianceNotYetInitialized | The Alliance has not been initialized yet, therefore accounts cannot join it. |
| AllianceAlreadyInitialized | The Alliance has been initialized, therefore cannot be initialized again. |
| AlreadyMember | Account is already a member. |
| NotMember | Account is not a member. |
| NotAlly | Account is not an ally. |
| NoVotingRights | Account does not have voting rights. |
| AlreadyElevated | Account is already an elevated (fellow) member. |
| AlreadyUnscrupulous | Item is already listed as unscrupulous. |
| AccountNonGrata | Account has been deemed unscrupulous by the Alliance and is not welcome to join or benominated. |
| NotListedAsUnscrupulous | Item has not been deemed unscrupulous. |
| TooManyUnscrupulousItems | The number of unscrupulous items exceeds `MaxUnscrupulousItems`. |
| TooLongWebsiteUrl | Length of website URL exceeds `MaxWebsiteUrlLength`. |
| InsufficientFunds | Balance is insufficient for the required deposit. |
| WithoutRequiredIdentityFields | The account's identity does not have display field and website field. |
| WithoutGoodIdentityJudgement | The account's identity has no good judgement. |
| MissingProposalHash | The proposal hash is not found. |
| MissingAnnouncement | The announcement is not found. |
| TooManyMembers | Number of members exceeds `MaxMembersCount`. |
| TooManyAnnouncements | Number of announcements exceeds `MaxAnnouncementsCount`. |
| BadWitness | Invalid witness data given. |
| AlreadyRetiring | Account already gave retirement notice |
| RetirementNoticeNotGiven | Account did not give a retirement notice required to retire. |
| RetirementPeriodNotPassed | Retirement period has not passed. |
| FellowsMissing | Fellows must be provided to initialize the Alliance. |