Structs§
- Decision
Policy Windows - DecisionPolicyWindows defines the different windows for voting and execution.
- Event
Create Group - EventCreateGroup is an event emitted when a group is created.
- Event
Create Group Policy - EventCreateGroupPolicy is an event emitted when a group policy is created.
- Event
Exec - EventExec is an event emitted when a proposal is executed.
- Event
Leave Group - EventLeaveGroup is an event emitted when group member leaves the group.
- Event
Proposal Pruned - EventProposalPruned is an event emitted when a proposal is pruned.
- Event
Submit Proposal - EventSubmitProposal is an event emitted when a proposal is created.
- Event
Update Group - EventUpdateGroup is an event emitted when a group is updated.
- Event
Update Group Policy - EventUpdateGroupPolicy is an event emitted when a group policy is updated.
- Event
Vote - EventVote is an event emitted when a voter votes on a proposal.
- Event
Withdraw Proposal - EventWithdrawProposal is an event emitted when a proposal is withdrawn.
- Genesis
State - GenesisState defines the group module’s genesis state.
- Group
Info - GroupInfo represents the high-level on-chain information for a group.
- Group
Member - GroupMember represents the relationship between a group and a member.
- Group
Policy Info - GroupPolicyInfo represents the high-level on-chain information for a group policy.
- Member
- Member represents a group member with an account address, non-zero weight, metadata and added_at timestamp.
- Member
Request - MemberRequest represents a group member to be used in Msg server requests.
Contrary to
Member
, it doesn’t have anyadded_at
field since this field cannot be set as part of requests. - MsgCreate
Group - MsgCreateGroup is the Msg/CreateGroup request type.
- MsgCreate
Group Policy - MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
- MsgCreate
Group Policy Response - MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
- MsgCreate
Group Response - MsgCreateGroupResponse is the Msg/CreateGroup response type.
- MsgCreate
Group With Policy - MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.
- MsgCreate
Group With Policy Response - MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.
- MsgExec
- MsgExec is the Msg/Exec request type.
- MsgExec
Response - MsgExecResponse is the Msg/Exec request type.
- MsgLeave
Group - MsgLeaveGroup is the Msg/LeaveGroup request type.
- MsgLeave
Group Response - MsgLeaveGroupResponse is the Msg/LeaveGroup response type.
- MsgSubmit
Proposal - MsgSubmitProposal is the Msg/SubmitProposal request type.
- MsgSubmit
Proposal Response - MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
- MsgUpdate
Group Admin - MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
- MsgUpdate
Group Admin Response - MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
- MsgUpdate
Group Members - MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
- MsgUpdate
Group Members Response - MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
- MsgUpdate
Group Metadata - MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
- MsgUpdate
Group Metadata Response - MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
- MsgUpdate
Group Policy Admin - MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
- MsgUpdate
Group Policy Admin Response - MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
- MsgUpdate
Group Policy Decision Policy - MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
- MsgUpdate
Group Policy Decision Policy Response - MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
- MsgUpdate
Group Policy Metadata - MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
- MsgUpdate
Group Policy Metadata Response - MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
- MsgVote
- MsgVote is the Msg/Vote request type.
- MsgVote
Response - MsgVoteResponse is the Msg/Vote response type.
- MsgWithdraw
Proposal - MsgWithdrawProposal is the Msg/WithdrawProposal request type.
- MsgWithdraw
Proposal Response - MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
- Percentage
Decision Policy - PercentageDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions:
- Proposal
- Proposal defines a group proposal. Any member of a group can submit a proposal
for a group policy to decide upon.
A proposal consists of a set of
sdk.Msg
s that will be executed if the proposal passes as well as some optional metadata associated with the proposal. - Query
Group Info Request - QueryGroupInfoRequest is the Query/GroupInfo request type.
- Query
Group Info Response - QueryGroupInfoResponse is the Query/GroupInfo response type.
- Query
Group Members Request - QueryGroupMembersRequest is the Query/GroupMembers request type.
- Query
Group Members Response - QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
- Query
Group Policies ByAdmin Request - QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type.
- Query
Group Policies ByAdmin Response - QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.
- Query
Group Policies ByGroup Request - QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type.
- Query
Group Policies ByGroup Response - QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.
- Query
Group Policy Info Request - QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type.
- Query
Group Policy Info Response - QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
- Query
Groups ByAdmin Request - QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type.
- Query
Groups ByAdmin Response - QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.
- Query
Groups ByMember Request - QueryGroupsByMemberRequest is the Query/GroupsByMember request type.
- Query
Groups ByMember Response - QueryGroupsByMemberResponse is the Query/GroupsByMember response type.
- Query
Groups Request - QueryGroupsRequest is the Query/Groups request type.
- Query
Groups Response - QueryGroupsResponse is the Query/Groups response type.
- Query
Proposal Request - QueryProposalRequest is the Query/Proposal request type.
- Query
Proposal Response - QueryProposalResponse is the Query/Proposal response type.
- Query
Proposals ByGroup Policy Request - QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type.
- Query
Proposals ByGroup Policy Response - QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.
- Query
Tally Result Request - QueryTallyResultRequest is the Query/TallyResult request type.
- Query
Tally Result Response - QueryTallyResultResponse is the Query/TallyResult response type.
- Query
Vote ByProposal Voter Request - QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type.
- Query
Vote ByProposal Voter Response - QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.
- Query
Votes ByProposal Request - QueryVotesByProposalRequest is the Query/VotesByProposal request type.
- Query
Votes ByProposal Response - QueryVotesByProposalResponse is the Query/VotesByProposal response type.
- Query
Votes ByVoter Request - QueryVotesByVoterRequest is the Query/VotesByVoter request type.
- Query
Votes ByVoter Response - QueryVotesByVoterResponse is the Query/VotesByVoter response type.
- Tally
Result - TallyResult represents the sum of weighted votes for each vote option.
- Threshold
Decision Policy - ThresholdDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions:
- Vote
- Vote represents a vote for a proposal.
Enums§
- Exec
- Exec defines modes of execution of a proposal on creation or on new vote.
- Proposal
Executor Result - ProposalExecutorResult defines types of proposal executor results.
- Proposal
Status - ProposalStatus defines proposal statuses.
- Vote
Option - VoteOption enumerates the valid vote options for a given proposal.