Some checks failed
Build SimApp / build (amd64) (push) Waiting to run
Build SimApp / build (arm64) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Build & Push / build (push) Waiting to run
Run Gosec / Gosec (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Checks dependencies and mocks generation / Check go mod tidy (push) Waiting to run
Checks dependencies and mocks generation / Check up to date mocks (push) Waiting to run
System Tests / setup (push) Waiting to run
System Tests / test-system (push) Blocked by required conditions
System Tests / test-system-legacy (push) Blocked by required conditions
Tests / Code Coverage / split-test-files (push) Waiting to run
Tests / Code Coverage / tests (00) (push) Blocked by required conditions
Tests / Code Coverage / tests (01) (push) Blocked by required conditions
Tests / Code Coverage / tests (02) (push) Blocked by required conditions
Tests / Code Coverage / tests (03) (push) Blocked by required conditions
Tests / Code Coverage / test-integration (push) Waiting to run
Tests / Code Coverage / test-e2e (push) Waiting to run
Tests / Code Coverage / repo-analysis (push) Blocked by required conditions
Tests / Code Coverage / test-sim-nondeterminism (push) Waiting to run
Tests / Code Coverage / test-clientv2 (push) Waiting to run
Tests / Code Coverage / test-core (push) Waiting to run
Tests / Code Coverage / test-depinject (push) Waiting to run
Tests / Code Coverage / test-errors (push) Waiting to run
Tests / Code Coverage / test-math (push) Waiting to run
Tests / Code Coverage / test-schema (push) Waiting to run
Tests / Code Coverage / test-collections (push) Waiting to run
Tests / Code Coverage / test-cosmovisor (push) Waiting to run
Tests / Code Coverage / test-confix (push) Waiting to run
Tests / Code Coverage / test-store (push) Waiting to run
Tests / Code Coverage / test-log (push) Waiting to run
Tests / Code Coverage / test-x-tx (push) Waiting to run
Tests / Code Coverage / test-x-nft (push) Waiting to run
Tests / Code Coverage / test-x-circuit (push) Waiting to run
Tests / Code Coverage / test-x-feegrant (push) Waiting to run
Tests / Code Coverage / test-x-evidence (push) Waiting to run
Tests / Code Coverage / test-x-upgrade (push) Waiting to run
Tests / Code Coverage / test-tools-benchmark (push) Waiting to run
Build & Push SDK Proto Builder / build (push) Has been cancelled
103 lines
2.8 KiB
Protocol Buffer
103 lines
2.8 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cosmos.group.v1;
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "cosmos/group/v1/types.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"];
|
|
}
|
|
|
|
// EventSubmitProposal is an event emitted when a proposal is created.
|
|
message EventSubmitProposal {
|
|
|
|
// proposal_id is the unique ID of the proposal.
|
|
uint64 proposal_id = 1;
|
|
}
|
|
|
|
// EventWithdrawProposal is an event emitted when a proposal is withdrawn.
|
|
message EventWithdrawProposal {
|
|
|
|
// 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;
|
|
|
|
// result is the proposal execution result.
|
|
ProposalExecutorResult result = 2;
|
|
|
|
// logs contains error logs in case the execution result is FAILURE.
|
|
string logs = 3;
|
|
}
|
|
|
|
// EventLeaveGroup is an event emitted when group member leaves the group.
|
|
message EventLeaveGroup {
|
|
|
|
// group_id is the unique ID of the group.
|
|
uint64 group_id = 1;
|
|
|
|
// address is the account address of the group member.
|
|
string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
}
|
|
|
|
// EventProposalPruned is an event emitted when a proposal is pruned.
|
|
message EventProposalPruned {
|
|
|
|
// proposal_id is the unique ID of the proposal.
|
|
uint64 proposal_id = 1;
|
|
|
|
// status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN).
|
|
ProposalStatus status = 2;
|
|
|
|
// tally_result is the proposal tally result (when applicable).
|
|
TallyResult tally_result = 3;
|
|
}
|
|
|
|
// EventTallyError is an event emitted when a proposal tally failed with an error.
|
|
message EventTallyError {
|
|
|
|
// proposal_id is the unique ID of the proposal.
|
|
uint64 proposal_id = 1;
|
|
|
|
// error_message is the raw error output
|
|
string error_message = 2;
|
|
}
|