cosmos-sdk/proto/cosmos/group/v1beta1/events.proto

59 lines
1.4 KiB
Protocol Buffer

syntax = "proto3";
package cosmos.group.v1beta1;
import "cosmos_proto/cosmos.proto";
option go_package = "github.com/cosmos/cosmos-sdk/x/group";
// EventCreateGroup is an event emitted when a group is created.
message EventCreateGroup {
// group_id is the unique ID of the group.
uint64 group_id = 1;
}
// EventUpdateGroup is an event emitted when a group is updated.
message EventUpdateGroup {
// group_id is the unique ID of the group.
uint64 group_id = 1;
}
// EventCreateGroupPolicy is an event emitted when a group policy is created.
message EventCreateGroupPolicy {
// address is the account address of the group policy.
string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
;
}
// EventUpdateGroupPolicy is an event emitted when a group policy is updated.
message EventUpdateGroupPolicy {
// address is the account address of the group policy.
string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
;
}
// EventCreateProposal is an event emitted when a proposal is created.
message EventCreateProposal {
// proposal_id is the unique ID of the proposal.
uint64 proposal_id = 1;
}
// EventVote is an event emitted when a voter votes on a proposal.
message EventVote {
// proposal_id is the unique ID of the proposal.
uint64 proposal_id = 1;
}
// EventExec is an event emitted when a proposal is executed.
message EventExec {
// proposal_id is the unique ID of the proposal.
uint64 proposal_id = 1;
}