Name | Lookup | Parameters | |
|---|---|---|---|
| set_members | 1200 | 3 | |
| execute | 1201 | 2 | |
| propose | 1202 | 3 | |
| vote | 1203 | 3 | |
| close | 1204 | 4 | |
| disapprove_proposal | 1205 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 1200 | ||
| Voted | 1201 | ||
| Approved | 1202 | ||
| Disapproved | 1203 | ||
| Executed | 1204 | ||
| MemberExecuted | 1205 | ||
| Closed | 1206 |
Name | Type | |
|---|---|---|
| Proposals | {"origin":"PlainType","plain_type":"Vec<Hash>"} | |
| ProposalOf | {"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"<T as Config<I>>::Proposal","isLinked":false}} | |
| Voting | {"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"Votes<AccountId, BlockNumber>","isLinked":false}} | |
| ProposalCount | {"origin":"PlainType","plain_type":"u32"} | |
| Members | {"origin":"PlainType","plain_type":"Vec<AccountId>"} | |
| Prime | {"origin":"PlainType","plain_type":"AccountId"} |
Name | Docs |
|---|---|
| NotMember | Account is not a member |
| DuplicateProposal | Duplicate proposals not allowed |
| ProposalMissing | Proposal must exist |
| WrongIndex | Mismatched index |
| DuplicateVote | Duplicate vote ignored |
| AlreadyInitialized | Members are already initialized! |
| TooEarly | The close call was made too early, before the end of the voting. |
| TooManyProposals | There can only be a maximum of `MaxProposals` active proposals. |
| WrongProposalWeight | The given weight bound for the proposal was too low. |
| WrongProposalLength | The given length bound for the proposal was too low. |