Name | Lookup | Parameters | |
|---|---|---|---|
| set_members | 0c00 | 3 | |
| execute | 0c01 | 2 | |
| propose | 0c02 | 3 | |
| vote | 0c03 | 3 | |
| close | 0c04 | 4 | |
| disapprove_proposal | 0c05 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 0c00 | ||
| Voted | 0c01 | ||
| Approved | 0c02 | ||
| Disapproved | 0c03 | ||
| Executed | 0c04 | ||
| MemberExecuted | 0c05 | ||
| Closed | 0c06 |
Name | Type | |
|---|---|---|
| Proposals | {"origin":"PlainType","plain_type":"Vec<Hash>"} | |
| ProposalOf | {"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"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. |