mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
28 lines
926 B
Protocol Buffer
28 lines
926 B
Protocol Buffer
syntax = "proto3";
|
|
package zgc.committee.v1beta1;
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/any.proto";
|
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/committee/types";
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
// CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
|
message CommitteeChangeProposal {
|
|
option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
|
|
|
|
string title = 1;
|
|
string description = 2;
|
|
google.protobuf.Any new_committee = 3 [(cosmos_proto.accepts_interface) = "Committee"];
|
|
}
|
|
|
|
// CommitteeDeleteProposal is a gov proposal for removing a committee.
|
|
message CommitteeDeleteProposal {
|
|
option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
|
|
|
|
string title = 1;
|
|
string description = 2;
|
|
uint64 committee_id = 3 [(gogoproto.customname) = "CommitteeID"];
|
|
}
|