Name | Lookup | Parameters | |
|---|---|---|---|
| set_vote_threshold | 0b00 | 2 | |
| set_release_coordinator | 0b01 | 1 | |
| set_expires_after | 0b02 | 1 | |
| vote_or_propose | 0b03 | 2 | |
| vote | 0b04 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 0b00 | ["IdentityId","ProposalIndex","<T as frame_system::Config>::Hash"] | |
| Voted | 0b01 | ["IdentityId","ProposalIndex","<T as frame_system::Config>::Hash","bool","MemberCount","MemberCount","MemberCount"] | |
| VoteRetracted | 0b02 | ["IdentityId","ProposalIndex","<T as frame_system::Config>::Hash","bool"] | |
| FinalVotes | 0b03 | ["Option<IdentityId>","ProposalIndex","<T as frame_system::Config>::Hash","Vec<IdentityId>","Vec<IdentityId>"] | |
| Approved | 0b04 | ["Option<IdentityId>","<T as frame_system::Config>::Hash","MemberCount","MemberCount","MemberCount"] | |
| Rejected | 0b05 | ["Option<IdentityId>","<T as frame_system::Config>::Hash","MemberCount","MemberCount","MemberCount"] | |
| Executed | 0b06 | ["Option<IdentityId>","<T as frame_system::Config>::Hash","DispatchResult"] | |
| ReleaseCoordinatorUpdated | 0b07 | ["Option<IdentityId>"] | |
| ExpiresAfterUpdated | 0b08 | ["IdentityId","MaybeBlock<<T as frame_system::Config>::BlockNumber>"] | |
| VoteThresholdUpdated | 0b09 | ["IdentityId","u32","u32"] |
Name | Type | |
|---|---|---|
| Proposals | {"origin":"PlainType","plain_type":"Vec<H256>","PlainTypeValue":293} | |
| ProposalOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Call","keys_id":11,"value_id":377}} | |
| Voting | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_committee:pallet:PolymeshVotes","keys_id":11,"value_id":558}} | |
| ProposalCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| Members | {"origin":"PlainType","plain_type":"Vec<[U8; 32]>","PlainTypeValue":80} | |
| VoteThreshold | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":235} | |
| ReleaseCoordinator | {"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":32} | |
| ExpiresAfter | {"origin":"PlainType","plain_type":"polymesh_primitives:MaybeBlock","PlainTypeValue":84} |
Name | Docs |
|---|---|
| DuplicateVote | Duplicate votes are not allowed. |
| NotAMember | A DID isn't part of the committee.The DID may either be a caller or some other context. |
| NoSuchProposal | No such proposal. |
| ProposalExpired | Proposal exists, but it has expired. |
| DuplicateProposal | Duplicate proposal. |
| MismatchedVotingIndex | Mismatched voting index. |
| InvalidProportion | Proportion must be a rational number. |
| FirstVoteReject | First vote on a proposal creates it, so it must be an approval.All proposals are motions to execute something as "GC majority".To reject e.g., a PIP, a motion to reject should be *approved*. |
| ProposalsLimitReached | Maximum number of proposals has been reached. |