collectives-polkadot
subscan
Collectives Polkadot
Runtime Modules / Alliance
Spec Version:
Events
Name
Lookup
Attributes
NewRuleSet3200["Cid"]
Announced3201["Cid"]
AnnouncementRemoved3202["Cid"]
MembersInitialized3203["Vec<AccountId>","Vec<AccountId>"]
NewAllyJoined3204["AccountId","Option<AccountId>","Option<BalanceOf>"]
AllyElevated3205["AccountId"]
MemberRetirementPeriodStarted3206["AccountId"]
MemberRetired3207["AccountId","Option<BalanceOf>"]
MemberKicked3208["AccountId","Option<BalanceOf>"]
UnscrupulousItemAdded3209["Vec<UnscrupulousItemOf>"]
UnscrupulousItemRemoved320a["Vec<UnscrupulousItemOf>"]
AllianceDisbanded320b["u32","u32","u32"]
FellowAbdicated320c["AccountId"]
Storage Functions
Name
Type
Rule{"origin":"PlainType","plain_type":"pallet_alliance:types:Cid","PlainTypeValue":135}
Announcements{"origin":"PlainType","plain_type":"Vec<pallet_alliance:types:Cid>","PlainTypeValue":415}
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":417,"value_id":388}}
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":388}
UnscrupulousWebsites{"origin":"PlainType","plain_type":"Vec<Vec<U8>>","PlainTypeValue":418}
Constants
Name
Type
Value
MaxUnscrupulousItemsU3264000000
MaxWebsiteUrlLengthU32ff000000
AllyDepositU12800a0724e180900000000000000000000
MaxAnnouncementsCountU3264000000
MaxMembersCountU3264000000
Error Types
Name
Docs
AllianceNotYetInitializedThe Alliance has not been initialized yet, therefore accounts cannot join it.
AllianceAlreadyInitializedThe Alliance has been initialized, therefore cannot be initialized again.
AlreadyMemberAccount is already a member.
NotMemberAccount is not a member.
NotAllyAccount is not an ally.
NoVotingRightsAccount does not have voting rights.
AlreadyElevatedAccount is already an elevated (fellow) member.
AlreadyUnscrupulousItem is already listed as unscrupulous.
AccountNonGrataAccount has been deemed unscrupulous by the Alliance and is not welcome to join or benominated.
NotListedAsUnscrupulousItem has not been deemed unscrupulous.
TooManyUnscrupulousItemsThe number of unscrupulous items exceeds `MaxUnscrupulousItems`.
TooLongWebsiteUrlLength of website URL exceeds `MaxWebsiteUrlLength`.
InsufficientFundsBalance is insufficient for the required deposit.
WithoutRequiredIdentityFieldsThe account's identity does not have display field and website field.
WithoutGoodIdentityJudgementThe account's identity has no good judgement.
MissingProposalHashThe proposal hash is not found.
MissingAnnouncementThe announcement is not found.
TooManyMembersNumber of members exceeds `MaxMembersCount`.
TooManyAnnouncementsNumber of announcements exceeds `MaxAnnouncementsCount`.
BadWitnessInvalid witness data given.
AlreadyRetiringAccount already gave retirement notice
RetirementNoticeNotGivenAccount did not give a retirement notice required to retire.
RetirementPeriodNotPassedRetirement period has not passed.
FellowsMissingFellows must be provided to initialize the Alliance.