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","Hash"] | |
Voted | 0b01 | ["IdentityId","ProposalIndex","Hash","bool","MemberCount","MemberCount","MemberCount"] | |
VoteRetracted | 0b02 | ["IdentityId","ProposalIndex","Hash","bool"] | |
FinalVotes | 0b03 | ["IdentityId","ProposalIndex","Hash","Vec<IdentityId>","Vec<IdentityId>"] | |
Approved | 0b04 | ["IdentityId","Hash","MemberCount","MemberCount","MemberCount"] | |
Rejected | 0b05 | ["IdentityId","Hash","MemberCount","MemberCount","MemberCount"] | |
Executed | 0b06 | ["IdentityId","Hash","DispatchResult"] | |
ReleaseCoordinatorUpdated | 0b07 | ["IdentityId","Option<IdentityId>"] | |
ExpiresAfterUpdated | 0b08 | ["IdentityId","MaybeBlock<BlockNumber>"] | |
VoteThresholdUpdated | 0b09 | ["IdentityId","u32","u32"] |
Name | Type | |
---|---|---|
Proposals | {"origin":"PlainType","plain_type":"Vec<H256>","PlainTypeValue":302} | |
ProposalOf | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Call","keys_id":11,"value_id":385}} | |
Voting | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_committee:PolymeshVotes","keys_id":11,"value_id":563}} | |
ProposalCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Members | {"origin":"PlainType","plain_type":"Vec<[U8; 32]>","PlainTypeValue":77} | |
VoteThreshold | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":243} | |
ReleaseCoordinator | {"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":32} | |
ExpiresAfter | {"origin":"PlainType","plain_type":"polymesh_common_utilities:MaybeBlock","PlainTypeValue":82} | |
StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":564} |
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. |