Module v1

Source

Structs§

DecisionPolicyWindows
DecisionPolicyWindows defines the different windows for voting and execution.
EventCreateGroup
EventCreateGroup is an event emitted when a group is created.
EventCreateGroupPolicy
EventCreateGroupPolicy is an event emitted when a group policy is created.
EventExec
EventExec is an event emitted when a proposal is executed.
EventLeaveGroup
EventLeaveGroup is an event emitted when group member leaves the group.
EventProposalPruned
EventProposalPruned is an event emitted when a proposal is pruned.
EventSubmitProposal
EventSubmitProposal is an event emitted when a proposal is created.
EventUpdateGroup
EventUpdateGroup is an event emitted when a group is updated.
EventUpdateGroupPolicy
EventUpdateGroupPolicy is an event emitted when a group policy is updated.
EventVote
EventVote is an event emitted when a voter votes on a proposal.
EventWithdrawProposal
EventWithdrawProposal is an event emitted when a proposal is withdrawn.
GenesisState
GenesisState defines the group module’s genesis state.
GroupInfo
GroupInfo represents the high-level on-chain information for a group.
GroupMember
GroupMember represents the relationship between a group and a member.
GroupPolicyInfo
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.
MemberRequest
MemberRequest represents a group member to be used in Msg server requests. Contrary to Member, it doesn’t have any added_at field since this field cannot be set as part of requests.
MsgCreateGroup
MsgCreateGroup is the Msg/CreateGroup request type.
MsgCreateGroupPolicy
MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
MsgCreateGroupPolicyResponse
MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
MsgCreateGroupResponse
MsgCreateGroupResponse is the Msg/CreateGroup response type.
MsgCreateGroupWithPolicy
MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type.
MsgCreateGroupWithPolicyResponse
MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type.
MsgExec
MsgExec is the Msg/Exec request type.
MsgExecResponse
MsgExecResponse is the Msg/Exec request type.
MsgLeaveGroup
MsgLeaveGroup is the Msg/LeaveGroup request type.
MsgLeaveGroupResponse
MsgLeaveGroupResponse is the Msg/LeaveGroup response type.
MsgSubmitProposal
MsgSubmitProposal is the Msg/SubmitProposal request type.
MsgSubmitProposalResponse
MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
MsgUpdateGroupAdmin
MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
MsgUpdateGroupAdminResponse
MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
MsgUpdateGroupMembers
MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
MsgUpdateGroupMembersResponse
MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
MsgUpdateGroupMetadata
MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
MsgUpdateGroupMetadataResponse
MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
MsgUpdateGroupPolicyAdmin
MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
MsgUpdateGroupPolicyAdminResponse
MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
MsgUpdateGroupPolicyDecisionPolicy
MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
MsgUpdateGroupPolicyDecisionPolicyResponse
MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
MsgUpdateGroupPolicyMetadata
MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
MsgUpdateGroupPolicyMetadataResponse
MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
MsgVote
MsgVote is the Msg/Vote request type.
MsgVoteResponse
MsgVoteResponse is the Msg/Vote response type.
MsgWithdrawProposal
MsgWithdrawProposal is the Msg/WithdrawProposal request type.
MsgWithdrawProposalResponse
MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type.
PercentageDecisionPolicy
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.Msgs that will be executed if the proposal passes as well as some optional metadata associated with the proposal.
QueryGroupInfoRequest
QueryGroupInfoRequest is the Query/GroupInfo request type.
QueryGroupInfoResponse
QueryGroupInfoResponse is the Query/GroupInfo response type.
QueryGroupMembersRequest
QueryGroupMembersRequest is the Query/GroupMembers request type.
QueryGroupMembersResponse
QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
QueryGroupPoliciesByAdminRequest
QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type.
QueryGroupPoliciesByAdminResponse
QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.
QueryGroupPoliciesByGroupRequest
QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type.
QueryGroupPoliciesByGroupResponse
QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.
QueryGroupPolicyInfoRequest
QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type.
QueryGroupPolicyInfoResponse
QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
QueryGroupsByAdminRequest
QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type.
QueryGroupsByAdminResponse
QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.
QueryGroupsByMemberRequest
QueryGroupsByMemberRequest is the Query/GroupsByMember request type.
QueryGroupsByMemberResponse
QueryGroupsByMemberResponse is the Query/GroupsByMember response type.
QueryGroupsRequest
QueryGroupsRequest is the Query/Groups request type.
QueryGroupsResponse
QueryGroupsResponse is the Query/Groups response type.
QueryProposalRequest
QueryProposalRequest is the Query/Proposal request type.
QueryProposalResponse
QueryProposalResponse is the Query/Proposal response type.
QueryProposalsByGroupPolicyRequest
QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type.
QueryProposalsByGroupPolicyResponse
QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.
QueryTallyResultRequest
QueryTallyResultRequest is the Query/TallyResult request type.
QueryTallyResultResponse
QueryTallyResultResponse is the Query/TallyResult response type.
QueryVoteByProposalVoterRequest
QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type.
QueryVoteByProposalVoterResponse
QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.
QueryVotesByProposalRequest
QueryVotesByProposalRequest is the Query/VotesByProposal request type.
QueryVotesByProposalResponse
QueryVotesByProposalResponse is the Query/VotesByProposal response type.
QueryVotesByVoterRequest
QueryVotesByVoterRequest is the Query/VotesByVoter request type.
QueryVotesByVoterResponse
QueryVotesByVoterResponse is the Query/VotesByVoter response type.
TallyResult
TallyResult represents the sum of weighted votes for each vote option.
ThresholdDecisionPolicy
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.
ProposalExecutorResult
ProposalExecutorResult defines types of proposal executor results.
ProposalStatus
ProposalStatus defines proposal statuses.
VoteOption
VoteOption enumerates the valid vote options for a given proposal.