package cosmos.group.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service Msg

tx.proto:16

Msg is the cosmos.group.v1 Msg service.

service Query

query.proto:16

Query is the cosmos.group.v1 Query service.

message DecisionPolicyWindows

types.proto:83

DecisionPolicyWindows defines the different windows for voting and execution.

Used in: PercentageDecisionPolicy, ThresholdDecisionPolicy

message EventCreateGroup

events.proto:12

EventCreateGroup is an event emitted when a group is created.

message EventCreateGroupPolicy

events.proto:26

EventCreateGroupPolicy is an event emitted when a group policy is created.

message EventExec

events.proto:61

EventExec is an event emitted when a proposal is executed.

message EventLeaveGroup

events.proto:74

EventLeaveGroup is an event emitted when group member leaves the group.

message EventProposalPruned

events.proto:84

EventProposalPruned is an event emitted when a proposal is pruned.

message EventSubmitProposal

events.proto:40

EventSubmitProposal is an event emitted when a proposal is created.

message EventUpdateGroup

events.proto:19

EventUpdateGroup is an event emitted when a group is updated.

message EventUpdateGroupPolicy

events.proto:33

EventUpdateGroupPolicy is an event emitted when a group policy is updated.

message EventVote

events.proto:54

EventVote is an event emitted when a voter votes on a proposal.

message EventWithdrawProposal

events.proto:47

EventWithdrawProposal is an event emitted when a proposal is withdrawn.

enum Exec

tx.proto:269

Exec defines modes of execution of a proposal on creation or on new vote.

Used in: MsgSubmitProposal, MsgVote

message GenesisState

genesis.proto:11

GenesisState defines the group module's genesis state.

message GroupInfo

types.proto:126

GroupInfo represents the high-level on-chain information for a group.

Used in: GenesisState, QueryGroupInfoResponse, QueryGroupsByAdminResponse, QueryGroupsByMemberResponse, QueryGroupsResponse

message GroupMember

types.proto:151

GroupMember represents the relationship between a group and a member.

Used in: GenesisState, QueryGroupMembersResponse

message GroupPolicyInfo

types.proto:160

GroupPolicyInfo represents the high-level on-chain information for a group policy.

Used in: GenesisState, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByGroupResponse, QueryGroupPolicyInfoResponse

message Member

types.proto:17

Member represents a group member with an account address, non-zero weight, metadata and added_at timestamp.

Used in: GroupMember

message MemberRequest

types.proto:35

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.

Used in: MsgCreateGroup, MsgCreateGroupWithPolicy, MsgUpdateGroupMembers

message PercentageDecisionPolicy

types.proto:70

PercentageDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions: 1. The percentage of all `YES` voters' weights out of the total group weight is greater or equal than the given `percentage`. 2. The voting and execution periods of the proposal respect the parameters given by `windows`.

message Proposal

types.proto:194

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.

Used in: GenesisState, QueryProposalResponse, QueryProposalsByGroupPolicyResponse

enum ProposalExecutorResult

types.proto:287

ProposalExecutorResult defines types of proposal executor results.

Used in: EventExec, MsgExecResponse, Proposal

enum ProposalStatus

types.proto:260

ProposalStatus defines proposal statuses.

Used in: EventProposalPruned, Proposal

message TallyResult

types.proto:304

TallyResult represents the sum of weighted votes for each vote option.

Used in: EventProposalPruned, Proposal, QueryTallyResultResponse

message ThresholdDecisionPolicy

types.proto:52

ThresholdDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions: 1. The sum of all `YES` voter's weights is greater or equal than the defined `threshold`. 2. The voting and execution periods of the proposal respect the parameters given by `windows`.

message Vote

types.proto:321

Vote represents a vote for a proposal.

Used in: GenesisState, QueryVoteByProposalVoterResponse, QueryVotesByProposalResponse, QueryVotesByVoterResponse

enum VoteOption

types.proto:105

VoteOption enumerates the valid vote options for a given proposal.

Used in: MsgVote, Vote