Commit 4345b5e3 authored by QM's avatar QM

merge

parent 2ab57c79
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: autonomy.proto // source: autonomy.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// message for execs.Autonomy // message for execs.Autonomy
type AutonomyAction struct { type AutonomyAction struct {
state protoimpl.MessageState // Types that are valid to be assigned to Value:
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
// *AutonomyAction_PropBoard // *AutonomyAction_PropBoard
// *AutonomyAction_RvkPropBoard // *AutonomyAction_RvkPropBoard
// *AutonomyAction_VotePropBoard // *AutonomyAction_VotePropBoard
...@@ -53,193 +44,41 @@ type AutonomyAction struct { ...@@ -53,193 +44,41 @@ type AutonomyAction struct {
// *AutonomyAction_TmintPropChange // *AutonomyAction_TmintPropChange
Value isAutonomyAction_Value `protobuf_oneof:"value"` Value isAutonomyAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,20,opt,name=ty,proto3" json:"ty,omitempty"` Ty int32 `protobuf:"varint,20,opt,name=ty,proto3" json:"ty,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *AutonomyAction) Reset() { func (m *AutonomyAction) Reset() { *m = AutonomyAction{} }
*x = AutonomyAction{} func (m *AutonomyAction) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled {
mi := &file_autonomy_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AutonomyAction) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AutonomyAction) ProtoMessage() {} func (*AutonomyAction) ProtoMessage() {}
func (x *AutonomyAction) ProtoReflect() protoreflect.Message {
mi := &file_autonomy_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AutonomyAction.ProtoReflect.Descriptor instead.
func (*AutonomyAction) Descriptor() ([]byte, []int) { func (*AutonomyAction) Descriptor() ([]byte, []int) {
return file_autonomy_proto_rawDescGZIP(), []int{0} return fileDescriptor_0246b47df8434d60, []int{0}
} }
func (m *AutonomyAction) GetValue() isAutonomyAction_Value { func (m *AutonomyAction) XXX_Unmarshal(b []byte) error {
if m != nil { return xxx_messageInfo_AutonomyAction.Unmarshal(m, b)
return m.Value
}
return nil
} }
func (m *AutonomyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (x *AutonomyAction) GetPropBoard() *ProposalBoard { return xxx_messageInfo_AutonomyAction.Marshal(b, m, deterministic)
if x, ok := x.GetValue().(*AutonomyAction_PropBoard); ok {
return x.PropBoard
}
return nil
} }
func (m *AutonomyAction) XXX_Merge(src proto.Message) {
func (x *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard { xxx_messageInfo_AutonomyAction.Merge(m, src)
if x, ok := x.GetValue().(*AutonomyAction_RvkPropBoard); ok {
return x.RvkPropBoard
}
return nil
} }
func (m *AutonomyAction) XXX_Size() int {
func (x *AutonomyAction) GetVotePropBoard() *VoteProposalBoard { return xxx_messageInfo_AutonomyAction.Size(m)
if x, ok := x.GetValue().(*AutonomyAction_VotePropBoard); ok {
return x.VotePropBoard
}
return nil
}
func (x *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard {
if x, ok := x.GetValue().(*AutonomyAction_TmintPropBoard); ok {
return x.TmintPropBoard
}
return nil
}
func (x *AutonomyAction) GetPropProject() *ProposalProject {
if x, ok := x.GetValue().(*AutonomyAction_PropProject); ok {
return x.PropProject
}
return nil
} }
func (m *AutonomyAction) XXX_DiscardUnknown() {
func (x *AutonomyAction) GetRvkPropProject() *RevokeProposalProject { xxx_messageInfo_AutonomyAction.DiscardUnknown(m)
if x, ok := x.GetValue().(*AutonomyAction_RvkPropProject); ok {
return x.RvkPropProject
}
return nil
}
func (x *AutonomyAction) GetVotePropProject() *VoteProposalProject {
if x, ok := x.GetValue().(*AutonomyAction_VotePropProject); ok {
return x.VotePropProject
}
return nil
}
func (x *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject {
if x, ok := x.GetValue().(*AutonomyAction_PubVotePropProject); ok {
return x.PubVotePropProject
}
return nil
}
func (x *AutonomyAction) GetTmintPropProject() *TerminateProposalProject {
if x, ok := x.GetValue().(*AutonomyAction_TmintPropProject); ok {
return x.TmintPropProject
}
return nil
}
func (x *AutonomyAction) GetPropRule() *ProposalRule {
if x, ok := x.GetValue().(*AutonomyAction_PropRule); ok {
return x.PropRule
}
return nil
}
func (x *AutonomyAction) GetRvkPropRule() *RevokeProposalRule {
if x, ok := x.GetValue().(*AutonomyAction_RvkPropRule); ok {
return x.RvkPropRule
}
return nil
}
func (x *AutonomyAction) GetVotePropRule() *VoteProposalRule {
if x, ok := x.GetValue().(*AutonomyAction_VotePropRule); ok {
return x.VotePropRule
}
return nil
}
func (x *AutonomyAction) GetTmintPropRule() *TerminateProposalRule {
if x, ok := x.GetValue().(*AutonomyAction_TmintPropRule); ok {
return x.TmintPropRule
}
return nil
}
func (x *AutonomyAction) GetTransfer() *TransferFund {
if x, ok := x.GetValue().(*AutonomyAction_Transfer); ok {
return x.Transfer
}
return nil
}
func (x *AutonomyAction) GetCommentProp() *Comment {
if x, ok := x.GetValue().(*AutonomyAction_CommentProp); ok {
return x.CommentProp
}
return nil
}
func (x *AutonomyAction) GetPropChange() *ProposalChange {
if x, ok := x.GetValue().(*AutonomyAction_PropChange); ok {
return x.PropChange
}
return nil
}
func (x *AutonomyAction) GetRvkPropChange() *RevokeProposalChange {
if x, ok := x.GetValue().(*AutonomyAction_RvkPropChange); ok {
return x.RvkPropChange
}
return nil
}
func (x *AutonomyAction) GetVotePropChange() *VoteProposalChange {
if x, ok := x.GetValue().(*AutonomyAction_VotePropChange); ok {
return x.VotePropChange
}
return nil
}
func (x *AutonomyAction) GetTmintPropChange() *TerminateProposalChange {
if x, ok := x.GetValue().(*AutonomyAction_TmintPropChange); ok {
return x.TmintPropChange
}
return nil
} }
func (x *AutonomyAction) GetTy() int32 { var xxx_messageInfo_AutonomyAction proto.InternalMessageInfo
if x != nil {
return x.Ty
}
return 0
}
type isAutonomyAction_Value interface { type isAutonomyAction_Value interface {
isAutonomyAction_Value() isAutonomyAction_Value()
} }
type AutonomyAction_PropBoard struct { type AutonomyAction_PropBoard struct {
// 提案董事会相关
PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3,oneof"` PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3,oneof"`
} }
...@@ -256,7 +95,6 @@ type AutonomyAction_TmintPropBoard struct { ...@@ -256,7 +95,6 @@ type AutonomyAction_TmintPropBoard struct {
} }
type AutonomyAction_PropProject struct { type AutonomyAction_PropProject struct {
// 提案项目相关
PropProject *ProposalProject `protobuf:"bytes,5,opt,name=propProject,proto3,oneof"` PropProject *ProposalProject `protobuf:"bytes,5,opt,name=propProject,proto3,oneof"`
} }
...@@ -277,7 +115,6 @@ type AutonomyAction_TmintPropProject struct { ...@@ -277,7 +115,6 @@ type AutonomyAction_TmintPropProject struct {
} }
type AutonomyAction_PropRule struct { type AutonomyAction_PropRule struct {
// 提案规则修改相关
PropRule *ProposalRule `protobuf:"bytes,10,opt,name=propRule,proto3,oneof"` PropRule *ProposalRule `protobuf:"bytes,10,opt,name=propRule,proto3,oneof"`
} }
...@@ -294,7 +131,6 @@ type AutonomyAction_TmintPropRule struct { ...@@ -294,7 +131,6 @@ type AutonomyAction_TmintPropRule struct {
} }
type AutonomyAction_Transfer struct { type AutonomyAction_Transfer struct {
// 发展基金转自治系统合约
Transfer *TransferFund `protobuf:"bytes,14,opt,name=transfer,proto3,oneof"` Transfer *TransferFund `protobuf:"bytes,14,opt,name=transfer,proto3,oneof"`
} }
...@@ -303,7 +139,6 @@ type AutonomyAction_CommentProp struct { ...@@ -303,7 +139,6 @@ type AutonomyAction_CommentProp struct {
} }
type AutonomyAction_PropChange struct { type AutonomyAction_PropChange struct {
// 提案改变董事会成员
PropChange *ProposalChange `protobuf:"bytes,16,opt,name=propChange,proto3,oneof"` PropChange *ProposalChange `protobuf:"bytes,16,opt,name=propChange,proto3,oneof"`
} }
...@@ -357,184 +192,156 @@ func (*AutonomyAction_VotePropChange) isAutonomyAction_Value() {} ...@@ -357,184 +192,156 @@ func (*AutonomyAction_VotePropChange) isAutonomyAction_Value() {}
func (*AutonomyAction_TmintPropChange) isAutonomyAction_Value() {} func (*AutonomyAction_TmintPropChange) isAutonomyAction_Value() {}
var File_autonomy_proto protoreflect.FileDescriptor func (m *AutonomyAction) GetValue() isAutonomyAction_Value {
if m != nil {
var file_autonomy_proto_rawDesc = []byte{ return m.Value
0x0a, 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, }
0x12, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, return nil
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, }
0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x0a,
0x0a, 0x0e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x12, 0x34, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f,
0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x0c, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f,
0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x76, 0x6b, 0x50,
0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x40, 0x0a, 0x0d, 0x76, 0x6f, 0x74, 0x65,
0x50, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x18, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0d, 0x76, 0x6f, 0x74,
0x65, 0x50, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x47, 0x0a, 0x0e, 0x74, 0x6d,
0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69,
0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72,
0x64, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x42, 0x6f,
0x61, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65,
0x63, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
0x46, 0x0a, 0x0e, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f, 0x70,
0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x0f, 0x76, 0x6f, 0x74, 0x65, 0x50,
0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1a, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0f,
0x76, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
0x4f, 0x0a, 0x12, 0x70, 0x75, 0x62, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x50, 0x75, 0x62, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x12, 0x70, 0x75,
0x62, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
0x12, 0x4d, 0x0a, 0x10, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f,
0x6a, 0x65, 0x63, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x79, 0x70,
0x65, 0x73, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x10, 0x74,
0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
0x31, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75,
0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c,
0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75,
0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c,
0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c,
0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65,
0x48, 0x00, 0x52, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65,
0x12, 0x44, 0x0a, 0x0d, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c,
0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72,
0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x48, 0x00, 0x52,
0x08, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x0b, 0x63, 0x6f, 0x6d,
0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00,
0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x12, 0x37, 0x0a,
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x15, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x43, 0x0a, 0x0d, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f,
0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x76,
0x6b, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x76,
0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x12, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00,
0x52, 0x0e, 0x76, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x12, 0x4a, 0x0a, 0x0f, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6d, 0x69,
0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02,
0x74, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x79, 0x42, 0x07, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x74, 0x79, 0x70, 0x65,
0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_autonomy_proto_rawDescOnce sync.Once
file_autonomy_proto_rawDescData = file_autonomy_proto_rawDesc
)
func file_autonomy_proto_rawDescGZIP() []byte { func (m *AutonomyAction) GetPropBoard() *ProposalBoard {
file_autonomy_proto_rawDescOnce.Do(func() { if x, ok := m.GetValue().(*AutonomyAction_PropBoard); ok {
file_autonomy_proto_rawDescData = protoimpl.X.CompressGZIP(file_autonomy_proto_rawDescData) return x.PropBoard
})
return file_autonomy_proto_rawDescData
}
var file_autonomy_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_autonomy_proto_goTypes = []interface{}{
(*AutonomyAction)(nil), // 0: types.AutonomyAction
(*ProposalBoard)(nil), // 1: types.ProposalBoard
(*RevokeProposalBoard)(nil), // 2: types.RevokeProposalBoard
(*VoteProposalBoard)(nil), // 3: types.VoteProposalBoard
(*TerminateProposalBoard)(nil), // 4: types.TerminateProposalBoard
(*ProposalProject)(nil), // 5: types.ProposalProject
(*RevokeProposalProject)(nil), // 6: types.RevokeProposalProject
(*VoteProposalProject)(nil), // 7: types.VoteProposalProject
(*PubVoteProposalProject)(nil), // 8: types.PubVoteProposalProject
(*TerminateProposalProject)(nil), // 9: types.TerminateProposalProject
(*ProposalRule)(nil), // 10: types.ProposalRule
(*RevokeProposalRule)(nil), // 11: types.RevokeProposalRule
(*VoteProposalRule)(nil), // 12: types.VoteProposalRule
(*TerminateProposalRule)(nil), // 13: types.TerminateProposalRule
(*TransferFund)(nil), // 14: types.TransferFund
(*Comment)(nil), // 15: types.Comment
(*ProposalChange)(nil), // 16: types.ProposalChange
(*RevokeProposalChange)(nil), // 17: types.RevokeProposalChange
(*VoteProposalChange)(nil), // 18: types.VoteProposalChange
(*TerminateProposalChange)(nil), // 19: types.TerminateProposalChange
}
var file_autonomy_proto_depIdxs = []int32{
1, // 0: types.AutonomyAction.propBoard:type_name -> types.ProposalBoard
2, // 1: types.AutonomyAction.rvkPropBoard:type_name -> types.RevokeProposalBoard
3, // 2: types.AutonomyAction.votePropBoard:type_name -> types.VoteProposalBoard
4, // 3: types.AutonomyAction.tmintPropBoard:type_name -> types.TerminateProposalBoard
5, // 4: types.AutonomyAction.propProject:type_name -> types.ProposalProject
6, // 5: types.AutonomyAction.rvkPropProject:type_name -> types.RevokeProposalProject
7, // 6: types.AutonomyAction.votePropProject:type_name -> types.VoteProposalProject
8, // 7: types.AutonomyAction.pubVotePropProject:type_name -> types.PubVoteProposalProject
9, // 8: types.AutonomyAction.tmintPropProject:type_name -> types.TerminateProposalProject
10, // 9: types.AutonomyAction.propRule:type_name -> types.ProposalRule
11, // 10: types.AutonomyAction.rvkPropRule:type_name -> types.RevokeProposalRule
12, // 11: types.AutonomyAction.votePropRule:type_name -> types.VoteProposalRule
13, // 12: types.AutonomyAction.tmintPropRule:type_name -> types.TerminateProposalRule
14, // 13: types.AutonomyAction.transfer:type_name -> types.TransferFund
15, // 14: types.AutonomyAction.commentProp:type_name -> types.Comment
16, // 15: types.AutonomyAction.propChange:type_name -> types.ProposalChange
17, // 16: types.AutonomyAction.rvkPropChange:type_name -> types.RevokeProposalChange
18, // 17: types.AutonomyAction.votePropChange:type_name -> types.VoteProposalChange
19, // 18: types.AutonomyAction.tmintPropChange:type_name -> types.TerminateProposalChange
19, // [19:19] is the sub-list for method output_type
19, // [19:19] is the sub-list for method input_type
19, // [19:19] is the sub-list for extension type_name
19, // [19:19] is the sub-list for extension extendee
0, // [0:19] is the sub-list for field type_name
}
func init() { file_autonomy_proto_init() }
func file_autonomy_proto_init() {
if File_autonomy_proto != nil {
return
} }
file_board_proto_init()
file_project_proto_init()
file_rule_proto_init()
file_change_proto_init()
if !protoimpl.UnsafeEnabled {
file_autonomy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutonomyAction); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil return nil
}
func (m *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard {
if x, ok := m.GetValue().(*AutonomyAction_RvkPropBoard); ok {
return x.RvkPropBoard
} }
return nil
}
func (m *AutonomyAction) GetVotePropBoard() *VoteProposalBoard {
if x, ok := m.GetValue().(*AutonomyAction_VotePropBoard); ok {
return x.VotePropBoard
} }
return nil
}
func (m *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard {
if x, ok := m.GetValue().(*AutonomyAction_TmintPropBoard); ok {
return x.TmintPropBoard
} }
file_autonomy_proto_msgTypes[0].OneofWrappers = []interface{}{ return nil
}
func (m *AutonomyAction) GetPropProject() *ProposalProject {
if x, ok := m.GetValue().(*AutonomyAction_PropProject); ok {
return x.PropProject
}
return nil
}
func (m *AutonomyAction) GetRvkPropProject() *RevokeProposalProject {
if x, ok := m.GetValue().(*AutonomyAction_RvkPropProject); ok {
return x.RvkPropProject
}
return nil
}
func (m *AutonomyAction) GetVotePropProject() *VoteProposalProject {
if x, ok := m.GetValue().(*AutonomyAction_VotePropProject); ok {
return x.VotePropProject
}
return nil
}
func (m *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject {
if x, ok := m.GetValue().(*AutonomyAction_PubVotePropProject); ok {
return x.PubVotePropProject
}
return nil
}
func (m *AutonomyAction) GetTmintPropProject() *TerminateProposalProject {
if x, ok := m.GetValue().(*AutonomyAction_TmintPropProject); ok {
return x.TmintPropProject
}
return nil
}
func (m *AutonomyAction) GetPropRule() *ProposalRule {
if x, ok := m.GetValue().(*AutonomyAction_PropRule); ok {
return x.PropRule
}
return nil
}
func (m *AutonomyAction) GetRvkPropRule() *RevokeProposalRule {
if x, ok := m.GetValue().(*AutonomyAction_RvkPropRule); ok {
return x.RvkPropRule
}
return nil
}
func (m *AutonomyAction) GetVotePropRule() *VoteProposalRule {
if x, ok := m.GetValue().(*AutonomyAction_VotePropRule); ok {
return x.VotePropRule
}
return nil
}
func (m *AutonomyAction) GetTmintPropRule() *TerminateProposalRule {
if x, ok := m.GetValue().(*AutonomyAction_TmintPropRule); ok {
return x.TmintPropRule
}
return nil
}
func (m *AutonomyAction) GetTransfer() *TransferFund {
if x, ok := m.GetValue().(*AutonomyAction_Transfer); ok {
return x.Transfer
}
return nil
}
func (m *AutonomyAction) GetCommentProp() *Comment {
if x, ok := m.GetValue().(*AutonomyAction_CommentProp); ok {
return x.CommentProp
}
return nil
}
func (m *AutonomyAction) GetPropChange() *ProposalChange {
if x, ok := m.GetValue().(*AutonomyAction_PropChange); ok {
return x.PropChange
}
return nil
}
func (m *AutonomyAction) GetRvkPropChange() *RevokeProposalChange {
if x, ok := m.GetValue().(*AutonomyAction_RvkPropChange); ok {
return x.RvkPropChange
}
return nil
}
func (m *AutonomyAction) GetVotePropChange() *VoteProposalChange {
if x, ok := m.GetValue().(*AutonomyAction_VotePropChange); ok {
return x.VotePropChange
}
return nil
}
func (m *AutonomyAction) GetTmintPropChange() *TerminateProposalChange {
if x, ok := m.GetValue().(*AutonomyAction_TmintPropChange); ok {
return x.TmintPropChange
}
return nil
}
func (m *AutonomyAction) GetTy() int32 {
if m != nil {
return m.Ty
}
return 0
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AutonomyAction) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AutonomyAction_PropBoard)(nil), (*AutonomyAction_PropBoard)(nil),
(*AutonomyAction_RvkPropBoard)(nil), (*AutonomyAction_RvkPropBoard)(nil),
(*AutonomyAction_VotePropBoard)(nil), (*AutonomyAction_VotePropBoard)(nil),
...@@ -555,22 +362,46 @@ func file_autonomy_proto_init() { ...@@ -555,22 +362,46 @@ func file_autonomy_proto_init() {
(*AutonomyAction_VotePropChange)(nil), (*AutonomyAction_VotePropChange)(nil),
(*AutonomyAction_TmintPropChange)(nil), (*AutonomyAction_TmintPropChange)(nil),
} }
type x struct{} }
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ func init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), proto.RegisterType((*AutonomyAction)(nil), "types.AutonomyAction")
RawDescriptor: file_autonomy_proto_rawDesc, }
NumEnums: 0,
NumMessages: 1, func init() { proto.RegisterFile("autonomy.proto", fileDescriptor_0246b47df8434d60) }
NumExtensions: 0,
NumServices: 0, var fileDescriptor_0246b47df8434d60 = []byte{
}, // 512 bytes of a gzipped FileDescriptorProto
GoTypes: file_autonomy_proto_goTypes, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0xdf, 0x6f, 0xd2, 0x50,
DependencyIndexes: file_autonomy_proto_depIdxs, 0x14, 0x80, 0x01, 0x65, 0x63, 0xa7, 0x50, 0xe6, 0xd9, 0xd4, 0x8a, 0xbf, 0x16, 0x9f, 0xf6, 0x54,
MessageInfos: file_autonomy_proto_msgTypes, 0xe3, 0x34, 0x31, 0x31, 0x59, 0xb2, 0x81, 0x41, 0x62, 0x62, 0x24, 0xcd, 0xb2, 0x07, 0xdf, 0x0a,
}.Build() 0x5e, 0x15, 0x47, 0x7b, 0x9b, 0xcb, 0x2d, 0x09, 0x7f, 0x80, 0xff, 0xb7, 0xe9, 0xe9, 0xe9, 0x8f,
File_autonomy_proto = out.File 0x7b, 0xe9, 0xde, 0x68, 0xef, 0xf9, 0x3e, 0x72, 0xbe, 0x42, 0xc1, 0x0d, 0x53, 0x2d, 0x63, 0x19,
file_autonomy_proto_rawDesc = nil 0xed, 0xfc, 0x44, 0x49, 0x2d, 0xb1, 0xab, 0x77, 0x89, 0xd8, 0x8c, 0x9c, 0x85, 0x0c, 0xd5, 0xcf,
file_autonomy_proto_goTypes = nil 0xfc, 0xde, 0x68, 0x90, 0x28, 0xf9, 0x57, 0x2c, 0x35, 0x5f, 0x82, 0x4a, 0xd7, 0x82, 0x3f, 0xf7,
file_autonomy_proto_depIdxs = nil 0x97, 0x7f, 0xc2, 0xf8, 0x37, 0x5f, 0xbd, 0xf9, 0x07, 0xe0, 0x5e, 0xb3, 0xef, 0x7a, 0xa9, 0x57,
0x32, 0xc6, 0x0f, 0x70, 0x94, 0x28, 0x99, 0x8c, 0x33, 0x9d, 0xd7, 0x3e, 0x6b, 0x9f, 0x3b, 0x17,
0xa7, 0x3e, 0x7d, 0x87, 0x3f, 0x57, 0x32, 0x91, 0x9b, 0x70, 0x4d, 0x67, 0xb3, 0x56, 0x50, 0x0d,
0xe2, 0x15, 0xf4, 0xd5, 0xf6, 0x6e, 0x5e, 0x82, 0x1d, 0x02, 0x47, 0x0c, 0x06, 0x62, 0x2b, 0xef,
0x84, 0x8d, 0x1b, 0x04, 0x5e, 0xc1, 0x60, 0x2b, 0xb5, 0xa8, 0x14, 0x0f, 0x48, 0xe1, 0xb1, 0xe2,
0x96, 0xcf, 0xea, 0x02, 0x13, 0xc0, 0x2f, 0xe0, 0xea, 0x68, 0x15, 0xeb, 0x4a, 0xf1, 0x90, 0x14,
0x2f, 0x59, 0x71, 0x23, 0x54, 0xb4, 0x8a, 0xc3, 0x7d, 0x8f, 0x85, 0xe1, 0x27, 0x70, 0xb2, 0xcd,
0xe6, 0x79, 0x44, 0xaf, 0x4b, 0x96, 0x27, 0x56, 0x04, 0x3e, 0x9d, 0xb5, 0x82, 0xfa, 0x30, 0x4e,
0xc1, 0xe5, 0xb5, 0x0a, 0xfc, 0x80, 0xf0, 0x17, 0x8d, 0x29, 0x2a, 0x89, 0x45, 0xe1, 0x14, 0x86,
0xc5, 0x76, 0x85, 0xe8, 0xd0, 0x68, 0x5a, 0x0f, 0x52, 0x69, 0x6c, 0x08, 0xbf, 0x03, 0x26, 0xe9,
0xe2, 0xd6, 0x52, 0xf5, 0x8c, 0x30, 0xf3, 0x6a, 0xc0, 0xb4, 0x35, 0xa0, 0xf8, 0x0d, 0x8e, 0xcb,
0x5c, 0x85, 0xee, 0x88, 0x74, 0xaf, 0xef, 0xeb, 0x5c, 0x09, 0xf7, 0x50, 0x7c, 0x07, 0xbd, 0x2c,
0x5f, 0x90, 0xae, 0x85, 0x07, 0xa4, 0x39, 0xb1, 0x42, 0x67, 0x47, 0xb3, 0x56, 0x50, 0x8e, 0xe1,
0x25, 0x38, 0x1c, 0x8b, 0x28, 0x87, 0xa8, 0x67, 0x8d, 0x7d, 0x99, 0xad, 0xcf, 0xe3, 0x25, 0xf4,
0x8b, 0x48, 0xc4, 0xf7, 0x89, 0x7f, 0xda, 0x90, 0x95, 0x69, 0x63, 0x1c, 0x3f, 0xc3, 0xa0, 0x5c,
0x82, 0xf8, 0x81, 0xf1, 0x7c, 0xf7, 0x96, 0x67, 0x89, 0x09, 0x65, 0x6b, 0x6b, 0x15, 0xc6, 0x9b,
0x5f, 0x42, 0x79, 0xae, 0xb1, 0xf6, 0x0d, 0xdf, 0x9e, 0xa6, 0x71, 0xf6, 0xdb, 0x2c, 0xc7, 0xf0,
0x02, 0x9c, 0xa5, 0x8c, 0x22, 0x91, 0x5b, 0xbc, 0x21, 0x51, 0x2e, 0x53, 0x93, 0xfc, 0x24, 0xdb,
0xb5, 0x36, 0x84, 0x1f, 0x01, 0xb2, 0x6c, 0x13, 0xfa, 0xcf, 0x7b, 0xc7, 0x84, 0x3c, 0xb6, 0xfa,
0xe6, 0x87, 0xb3, 0x56, 0x50, 0x1b, 0xc5, 0x09, 0x0c, 0xb8, 0x19, 0xb3, 0x8f, 0x88, 0x7d, 0xde,
0x58, 0xb9, 0x34, 0x98, 0x0c, 0x4e, 0xc0, 0x2d, 0xd2, 0xb1, 0x05, 0x8d, 0x67, 0x55, 0x6f, 0x5d,
0x3a, 0x2c, 0x04, 0xbf, 0xc2, 0xb0, 0x4c, 0xc7, 0x96, 0x13, 0xb2, 0xbc, 0xba, 0xaf, 0x78, 0xa9,
0xb2, 0x41, 0x74, 0xa1, 0xa3, 0x77, 0xde, 0xe9, 0x59, 0xfb, 0xbc, 0x1b, 0x74, 0xf4, 0x6e, 0x7c,
0x08, 0xdd, 0x6d, 0xb8, 0x4e, 0xc5, 0x18, 0x7e, 0xf4, 0x7c, 0xff, 0x2d, 0xf9, 0x16, 0x07, 0xf4,
0x6a, 0x7c, 0xff, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x55, 0x88, 0x76, 0xee, 0x69, 0x05, 0x00, 0x00,
} }
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: board.proto // source: board.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type BoardUpdate int32 type BoardUpdate int32
...@@ -37,54 +32,29 @@ const ( ...@@ -37,54 +32,29 @@ const (
BoardUpdate_REPLACEALL BoardUpdate = 3 BoardUpdate_REPLACEALL BoardUpdate = 3
) )
// Enum value maps for BoardUpdate. var BoardUpdate_name = map[int32]string{
var (
BoardUpdate_name = map[int32]string{
0: "INV", 0: "INV",
1: "ADDBoard", 1: "ADDBoard",
2: "DELBoard", 2: "DELBoard",
3: "REPLACEALL", 3: "REPLACEALL",
} }
BoardUpdate_value = map[string]int32{
var BoardUpdate_value = map[string]int32{
"INV": 0, "INV": 0,
"ADDBoard": 1, "ADDBoard": 1,
"DELBoard": 2, "DELBoard": 2,
"REPLACEALL": 3, "REPLACEALL": 3,
}
)
func (x BoardUpdate) Enum() *BoardUpdate {
p := new(BoardUpdate)
*p = x
return p
} }
func (x BoardUpdate) String() string { func (x BoardUpdate) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) return proto.EnumName(BoardUpdate_name, int32(x))
} }
func (BoardUpdate) Descriptor() protoreflect.EnumDescriptor {
return file_board_proto_enumTypes[0].Descriptor()
}
func (BoardUpdate) Type() protoreflect.EnumType {
return &file_board_proto_enumTypes[0]
}
func (x BoardUpdate) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use BoardUpdate.Descriptor instead.
func (BoardUpdate) EnumDescriptor() ([]byte, []int) { func (BoardUpdate) EnumDescriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{0} return fileDescriptor_937f74b042f92c0f, []int{0}
} }
type AutonomyProposalBoard struct { type AutonomyProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3" json:"propBoard,omitempty"` PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard,proto3" json:"propBoard,omitempty"`
// 投票该提案的规则 // 投票该提案的规则
CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"`
...@@ -98,109 +68,101 @@ type AutonomyProposalBoard struct { ...@@ -98,109 +68,101 @@ type AutonomyProposalBoard struct {
Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *AutonomyProposalBoard) Reset() { func (m *AutonomyProposalBoard) Reset() { *m = AutonomyProposalBoard{} }
*x = AutonomyProposalBoard{} func (m *AutonomyProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*AutonomyProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[0] func (*AutonomyProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (x *AutonomyProposalBoard) String() string { func (m *AutonomyProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_AutonomyProposalBoard.Unmarshal(m, b)
} }
func (m *AutonomyProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*AutonomyProposalBoard) ProtoMessage() {} return xxx_messageInfo_AutonomyProposalBoard.Marshal(b, m, deterministic)
func (x *AutonomyProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *AutonomyProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use AutonomyProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_AutonomyProposalBoard.Merge(m, src)
func (*AutonomyProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{0}
} }
func (m *AutonomyProposalBoard) XXX_Size() int {
return xxx_messageInfo_AutonomyProposalBoard.Size(m)
}
func (m *AutonomyProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_AutonomyProposalBoard.DiscardUnknown(m)
}
var xxx_messageInfo_AutonomyProposalBoard proto.InternalMessageInfo
func (x *AutonomyProposalBoard) GetPropBoard() *ProposalBoard { func (m *AutonomyProposalBoard) GetPropBoard() *ProposalBoard {
if x != nil { if m != nil {
return x.PropBoard return m.PropBoard
} }
return nil return nil
} }
func (x *AutonomyProposalBoard) GetCurRule() *RuleConfig { func (m *AutonomyProposalBoard) GetCurRule() *RuleConfig {
if x != nil { if m != nil {
return x.CurRule return m.CurRule
} }
return nil return nil
} }
func (x *AutonomyProposalBoard) GetBoard() *ActiveBoard { func (m *AutonomyProposalBoard) GetBoard() *ActiveBoard {
if x != nil { if m != nil {
return x.Board return m.Board
} }
return nil return nil
} }
func (x *AutonomyProposalBoard) GetVoteResult() *VoteResult { func (m *AutonomyProposalBoard) GetVoteResult() *VoteResult {
if x != nil { if m != nil {
return x.VoteResult return m.VoteResult
} }
return nil return nil
} }
func (x *AutonomyProposalBoard) GetStatus() int32 { func (m *AutonomyProposalBoard) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *AutonomyProposalBoard) GetAddress() string { func (m *AutonomyProposalBoard) GetAddress() string {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return "" return ""
} }
func (x *AutonomyProposalBoard) GetHeight() int64 { func (m *AutonomyProposalBoard) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *AutonomyProposalBoard) GetIndex() int32 { func (m *AutonomyProposalBoard) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *AutonomyProposalBoard) GetProposalID() string { func (m *AutonomyProposalBoard) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
// action // action
type ProposalBoard struct { type ProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 提案时间 // 提案时间
Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
...@@ -210,805 +172,519 @@ type ProposalBoard struct { ...@@ -210,805 +172,519 @@ type ProposalBoard struct {
// 提案董事会成员 // 提案董事会成员
Boards []string `protobuf:"bytes,5,rep,name=boards,proto3" json:"boards,omitempty"` Boards []string `protobuf:"bytes,5,rep,name=boards,proto3" json:"boards,omitempty"`
// 投票相关 // 投票相关
StartBlockHeight int64 `protobuf:"varint,6,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 StartBlockHeight int64 `protobuf:"varint,6,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"`
EndBlockHeight int64 `protobuf:"varint,7,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 EndBlockHeight int64 `protobuf:"varint,7,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"`
RealEndBlockHeight int64 `protobuf:"varint,8,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,8,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"`
//代替update,并扩展 //代替update,并扩展
BoardUpdate BoardUpdate `protobuf:"varint,9,opt,name=boardUpdate,proto3,enum=types.BoardUpdate" json:"boardUpdate,omitempty"` BoardUpdate BoardUpdate `protobuf:"varint,9,opt,name=boardUpdate,proto3,enum=types.BoardUpdate" json:"boardUpdate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ProposalBoard) Reset() { func (m *ProposalBoard) Reset() { *m = ProposalBoard{} }
*x = ProposalBoard{} func (m *ProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[1] func (*ProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{1}
ms.StoreMessageInfo(mi)
}
} }
func (x *ProposalBoard) String() string { func (m *ProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ProposalBoard.Unmarshal(m, b)
} }
func (m *ProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ProposalBoard) ProtoMessage() {} return xxx_messageInfo_ProposalBoard.Marshal(b, m, deterministic)
func (x *ProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use ProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_ProposalBoard.Merge(m, src)
func (*ProposalBoard) Descriptor() ([]byte, []int) { }
return file_board_proto_rawDescGZIP(), []int{1} func (m *ProposalBoard) XXX_Size() int {
return xxx_messageInfo_ProposalBoard.Size(m)
}
func (m *ProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalBoard.DiscardUnknown(m)
} }
func (x *ProposalBoard) GetYear() int32 { var xxx_messageInfo_ProposalBoard proto.InternalMessageInfo
if x != nil {
return x.Year func (m *ProposalBoard) GetYear() int32 {
if m != nil {
return m.Year
} }
return 0 return 0
} }
func (x *ProposalBoard) GetMonth() int32 { func (m *ProposalBoard) GetMonth() int32 {
if x != nil { if m != nil {
return x.Month return m.Month
} }
return 0 return 0
} }
func (x *ProposalBoard) GetDay() int32 { func (m *ProposalBoard) GetDay() int32 {
if x != nil { if m != nil {
return x.Day return m.Day
} }
return 0 return 0
} }
func (x *ProposalBoard) GetUpdate() bool { func (m *ProposalBoard) GetUpdate() bool {
if x != nil { if m != nil {
return x.Update return m.Update
} }
return false return false
} }
func (x *ProposalBoard) GetBoards() []string { func (m *ProposalBoard) GetBoards() []string {
if x != nil { if m != nil {
return x.Boards return m.Boards
} }
return nil return nil
} }
func (x *ProposalBoard) GetStartBlockHeight() int64 { func (m *ProposalBoard) GetStartBlockHeight() int64 {
if x != nil { if m != nil {
return x.StartBlockHeight return m.StartBlockHeight
} }
return 0 return 0
} }
func (x *ProposalBoard) GetEndBlockHeight() int64 { func (m *ProposalBoard) GetEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.EndBlockHeight return m.EndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalBoard) GetRealEndBlockHeight() int64 { func (m *ProposalBoard) GetRealEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.RealEndBlockHeight return m.RealEndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalBoard) GetBoardUpdate() BoardUpdate { func (m *ProposalBoard) GetBoardUpdate() BoardUpdate {
if x != nil { if m != nil {
return x.BoardUpdate return m.BoardUpdate
} }
return BoardUpdate_INV return BoardUpdate_INV
} }
type RevokeProposalBoard struct { type RevokeProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RevokeProposalBoard) Reset() { func (m *RevokeProposalBoard) Reset() { *m = RevokeProposalBoard{} }
*x = RevokeProposalBoard{} func (m *RevokeProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RevokeProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[2] func (*RevokeProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{2}
ms.StoreMessageInfo(mi)
}
} }
func (x *RevokeProposalBoard) String() string { func (m *RevokeProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RevokeProposalBoard.Unmarshal(m, b)
} }
func (m *RevokeProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RevokeProposalBoard) ProtoMessage() {} return xxx_messageInfo_RevokeProposalBoard.Marshal(b, m, deterministic)
func (x *RevokeProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RevokeProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use RevokeProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_RevokeProposalBoard.Merge(m, src)
func (*RevokeProposalBoard) Descriptor() ([]byte, []int) { }
return file_board_proto_rawDescGZIP(), []int{2} func (m *RevokeProposalBoard) XXX_Size() int {
return xxx_messageInfo_RevokeProposalBoard.Size(m)
}
func (m *RevokeProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_RevokeProposalBoard.DiscardUnknown(m)
} }
func (x *RevokeProposalBoard) GetProposalID() string { var xxx_messageInfo_RevokeProposalBoard proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *RevokeProposalBoard) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
type VoteProposalBoard struct { type VoteProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"`
//真正投票地址 //真正投票地址
OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"`
//代替approve,并增加了弃权选项 //代替approve,并增加了弃权选项
VoteOption AutonomyVoteOption `protobuf:"varint,4,opt,name=voteOption,proto3,enum=types.AutonomyVoteOption" json:"voteOption,omitempty"` VoteOption AutonomyVoteOption `protobuf:"varint,4,opt,name=voteOption,proto3,enum=types.AutonomyVoteOption" json:"voteOption,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VoteProposalBoard) Reset() { func (m *VoteProposalBoard) Reset() { *m = VoteProposalBoard{} }
*x = VoteProposalBoard{} func (m *VoteProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VoteProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[3] func (*VoteProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *VoteProposalBoard) String() string { func (m *VoteProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VoteProposalBoard.Unmarshal(m, b)
} }
func (m *VoteProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VoteProposalBoard) ProtoMessage() {} return xxx_messageInfo_VoteProposalBoard.Marshal(b, m, deterministic)
func (x *VoteProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VoteProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use VoteProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_VoteProposalBoard.Merge(m, src)
func (*VoteProposalBoard) Descriptor() ([]byte, []int) { }
return file_board_proto_rawDescGZIP(), []int{3} func (m *VoteProposalBoard) XXX_Size() int {
return xxx_messageInfo_VoteProposalBoard.Size(m)
}
func (m *VoteProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalBoard.DiscardUnknown(m)
} }
func (x *VoteProposalBoard) GetProposalID() string { var xxx_messageInfo_VoteProposalBoard proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *VoteProposalBoard) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
func (x *VoteProposalBoard) GetApprove() bool { func (m *VoteProposalBoard) GetApprove() bool {
if x != nil { if m != nil {
return x.Approve return m.Approve
} }
return false return false
} }
func (x *VoteProposalBoard) GetOriginAddr() []string { func (m *VoteProposalBoard) GetOriginAddr() []string {
if x != nil { if m != nil {
return x.OriginAddr return m.OriginAddr
} }
return nil return nil
} }
func (x *VoteProposalBoard) GetVoteOption() AutonomyVoteOption { func (m *VoteProposalBoard) GetVoteOption() AutonomyVoteOption {
if x != nil { if m != nil {
return x.VoteOption return m.VoteOption
} }
return AutonomyVoteOption_NOJOIN return AutonomyVoteOption_NOJOIN
} }
type TerminateProposalBoard struct { type TerminateProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *TerminateProposalBoard) Reset() { func (m *TerminateProposalBoard) Reset() { *m = TerminateProposalBoard{} }
*x = TerminateProposalBoard{} func (m *TerminateProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TerminateProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[4] func (*TerminateProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *TerminateProposalBoard) String() string { func (m *TerminateProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_TerminateProposalBoard.Unmarshal(m, b)
} }
func (m *TerminateProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*TerminateProposalBoard) ProtoMessage() {} return xxx_messageInfo_TerminateProposalBoard.Marshal(b, m, deterministic)
func (x *TerminateProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *TerminateProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use TerminateProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_TerminateProposalBoard.Merge(m, src)
func (*TerminateProposalBoard) Descriptor() ([]byte, []int) { }
return file_board_proto_rawDescGZIP(), []int{4} func (m *TerminateProposalBoard) XXX_Size() int {
return xxx_messageInfo_TerminateProposalBoard.Size(m)
} }
func (m *TerminateProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_TerminateProposalBoard.DiscardUnknown(m)
}
var xxx_messageInfo_TerminateProposalBoard proto.InternalMessageInfo
func (x *TerminateProposalBoard) GetProposalID() string { func (m *TerminateProposalBoard) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
// receipt // receipt
type ReceiptProposalBoard struct { type ReceiptProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prev *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Prev *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
Current *AutonomyProposalBoard `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Current *AutonomyProposalBoard `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReceiptProposalBoard) Reset() { func (m *ReceiptProposalBoard) Reset() { *m = ReceiptProposalBoard{} }
*x = ReceiptProposalBoard{} func (m *ReceiptProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[5] func (*ReceiptProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{5}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptProposalBoard) String() string { func (m *ReceiptProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptProposalBoard.Unmarshal(m, b)
} }
func (m *ReceiptProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptProposalBoard) ProtoMessage() {} return xxx_messageInfo_ReceiptProposalBoard.Marshal(b, m, deterministic)
func (x *ReceiptProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReceiptProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use ReceiptProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptProposalBoard.Merge(m, src)
func (*ReceiptProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{5}
} }
func (m *ReceiptProposalBoard) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalBoard.Size(m)
}
func (m *ReceiptProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalBoard.DiscardUnknown(m)
}
var xxx_messageInfo_ReceiptProposalBoard proto.InternalMessageInfo
func (x *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard { func (m *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard {
if x != nil { if m != nil {
return x.Prev return m.Prev
} }
return nil return nil
} }
func (x *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard { func (m *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard {
if x != nil { if m != nil {
return x.Current return m.Current
} }
return nil return nil
} }
type LocalProposalBoard struct { type LocalProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropBd *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"` PropBd *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"`
Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *LocalProposalBoard) Reset() { func (m *LocalProposalBoard) Reset() { *m = LocalProposalBoard{} }
*x = LocalProposalBoard{} func (m *LocalProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*LocalProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[6] func (*LocalProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{6}
ms.StoreMessageInfo(mi)
}
} }
func (x *LocalProposalBoard) String() string { func (m *LocalProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_LocalProposalBoard.Unmarshal(m, b)
} }
func (m *LocalProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*LocalProposalBoard) ProtoMessage() {} return xxx_messageInfo_LocalProposalBoard.Marshal(b, m, deterministic)
func (x *LocalProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *LocalProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use LocalProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_LocalProposalBoard.Merge(m, src)
func (*LocalProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{6}
} }
func (m *LocalProposalBoard) XXX_Size() int {
return xxx_messageInfo_LocalProposalBoard.Size(m)
}
func (m *LocalProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_LocalProposalBoard.DiscardUnknown(m)
}
var xxx_messageInfo_LocalProposalBoard proto.InternalMessageInfo
func (x *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard { func (m *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard {
if x != nil { if m != nil {
return x.PropBd return m.PropBd
} }
return nil return nil
} }
func (x *LocalProposalBoard) GetComments() []string { func (m *LocalProposalBoard) GetComments() []string {
if x != nil { if m != nil {
return x.Comments return m.Comments
} }
return nil return nil
} }
// query // query
type ReqQueryProposalBoard struct { type ReqQueryProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReqQueryProposalBoard) Reset() { func (m *ReqQueryProposalBoard) Reset() { *m = ReqQueryProposalBoard{} }
*x = ReqQueryProposalBoard{} func (m *ReqQueryProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReqQueryProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[7] func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{7}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReqQueryProposalBoard) String() string { func (m *ReqQueryProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReqQueryProposalBoard.Unmarshal(m, b)
} }
func (m *ReqQueryProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReqQueryProposalBoard) ProtoMessage() {} return xxx_messageInfo_ReqQueryProposalBoard.Marshal(b, m, deterministic)
func (x *ReqQueryProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReqQueryProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use ReqQueryProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_ReqQueryProposalBoard.Merge(m, src)
func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int) { }
return file_board_proto_rawDescGZIP(), []int{7} func (m *ReqQueryProposalBoard) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalBoard.Size(m)
}
func (m *ReqQueryProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalBoard.DiscardUnknown(m)
} }
func (x *ReqQueryProposalBoard) GetStatus() int32 { var xxx_messageInfo_ReqQueryProposalBoard proto.InternalMessageInfo
if x != nil {
return x.Status func (m *ReqQueryProposalBoard) GetStatus() int32 {
if m != nil {
return m.Status
} }
return 0 return 0
} }
func (x *ReqQueryProposalBoard) GetAddr() string { func (m *ReqQueryProposalBoard) GetAddr() string {
if x != nil { if m != nil {
return x.Addr return m.Addr
} }
return "" return ""
} }
func (x *ReqQueryProposalBoard) GetCount() int32 { func (m *ReqQueryProposalBoard) GetCount() int32 {
if x != nil { if m != nil {
return x.Count return m.Count
} }
return 0 return 0
} }
func (x *ReqQueryProposalBoard) GetDirection() int32 { func (m *ReqQueryProposalBoard) GetDirection() int32 {
if x != nil { if m != nil {
return x.Direction return m.Direction
} }
return 0 return 0
} }
func (x *ReqQueryProposalBoard) GetHeight() int64 { func (m *ReqQueryProposalBoard) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReqQueryProposalBoard) GetIndex() int32 { func (m *ReqQueryProposalBoard) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
type ReplyQueryProposalBoard struct { type ReplyQueryProposalBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropBoards []*AutonomyProposalBoard `protobuf:"bytes,1,rep,name=propBoards,proto3" json:"propBoards,omitempty"` PropBoards []*AutonomyProposalBoard `protobuf:"bytes,1,rep,name=propBoards,proto3" json:"propBoards,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReplyQueryProposalBoard) Reset() { func (m *ReplyQueryProposalBoard) Reset() { *m = ReplyQueryProposalBoard{} }
*x = ReplyQueryProposalBoard{} func (m *ReplyQueryProposalBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReplyQueryProposalBoard) ProtoMessage() {}
mi := &file_board_proto_msgTypes[8] func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_937f74b042f92c0f, []int{8}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReplyQueryProposalBoard) String() string { func (m *ReplyQueryProposalBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReplyQueryProposalBoard.Unmarshal(m, b)
} }
func (m *ReplyQueryProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReplyQueryProposalBoard) ProtoMessage() {} return xxx_messageInfo_ReplyQueryProposalBoard.Marshal(b, m, deterministic)
func (x *ReplyQueryProposalBoard) ProtoReflect() protoreflect.Message {
mi := &file_board_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReplyQueryProposalBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use ReplyQueryProposalBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_ReplyQueryProposalBoard.Merge(m, src)
func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{8}
} }
func (m *ReplyQueryProposalBoard) XXX_Size() int {
func (x *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard { return xxx_messageInfo_ReplyQueryProposalBoard.Size(m)
if x != nil { }
return x.PropBoards func (m *ReplyQueryProposalBoard) XXX_DiscardUnknown() {
} xxx_messageInfo_ReplyQueryProposalBoard.DiscardUnknown(m)
return nil
} }
var File_board_proto protoreflect.FileDescriptor var xxx_messageInfo_ReplyQueryProposalBoard proto.InternalMessageInfo
var file_board_proto_rawDesc = []byte{
0x0a, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x74,
0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x32, 0x0a,
0x09, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x14, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72,
0x64, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x28,
0x0a, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x61, 0x72,
0x64, 0x52, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,
0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a,
0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68,
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x70,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xb5, 0x02, 0x0a, 0x0d,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a,
0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61,
0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x64,
0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74,
0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
0x09, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61,
0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20,
0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48,
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63,
0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65,
0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a,
0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69,
0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45,
0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a,
0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64,
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x22, 0x35, 0x0a, 0x13, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x56,
0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64,
0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72,
0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a,
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x6f,
0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56,
0x6f, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x4f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x38, 0x0a, 0x16, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61,
0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12,
0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22,
0x80, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41,
0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42,
0x6f, 0x61, 0x72, 0x64, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x36, 0x0a, 0x07, 0x63, 0x75,
0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65,
0x6e, 0x74, 0x22, 0x66, 0x0a, 0x12, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x70,
0x42, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x64, 0x12, 0x1a,
0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x15, 0x52,
0x65, 0x71, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42,
0x6f, 0x61, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04,
0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72,
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05,
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64,
0x65, 0x78, 0x22, 0x57, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x3c, 0x0a,
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f,
0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52,
0x0a, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x2a, 0x42, 0x0a, 0x0b, 0x42,
0x6f, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x49, 0x4e,
0x56, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x44, 0x44, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x10,
0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x10, 0x02, 0x12,
0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x41, 0x4c, 0x4c, 0x10, 0x03, 0x42,
0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_board_proto_rawDescOnce sync.Once
file_board_proto_rawDescData = file_board_proto_rawDesc
)
func file_board_proto_rawDescGZIP() []byte { func (m *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard {
file_board_proto_rawDescOnce.Do(func() { if m != nil {
file_board_proto_rawDescData = protoimpl.X.CompressGZIP(file_board_proto_rawDescData) return m.PropBoards
})
return file_board_proto_rawDescData
}
var file_board_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_board_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_board_proto_goTypes = []interface{}{
(BoardUpdate)(0), // 0: types.BoardUpdate
(*AutonomyProposalBoard)(nil), // 1: types.AutonomyProposalBoard
(*ProposalBoard)(nil), // 2: types.ProposalBoard
(*RevokeProposalBoard)(nil), // 3: types.RevokeProposalBoard
(*VoteProposalBoard)(nil), // 4: types.VoteProposalBoard
(*TerminateProposalBoard)(nil), // 5: types.TerminateProposalBoard
(*ReceiptProposalBoard)(nil), // 6: types.ReceiptProposalBoard
(*LocalProposalBoard)(nil), // 7: types.LocalProposalBoard
(*ReqQueryProposalBoard)(nil), // 8: types.ReqQueryProposalBoard
(*ReplyQueryProposalBoard)(nil), // 9: types.ReplyQueryProposalBoard
(*RuleConfig)(nil), // 10: types.RuleConfig
(*ActiveBoard)(nil), // 11: types.ActiveBoard
(*VoteResult)(nil), // 12: types.VoteResult
(AutonomyVoteOption)(0), // 13: types.AutonomyVoteOption
}
var file_board_proto_depIdxs = []int32{
2, // 0: types.AutonomyProposalBoard.propBoard:type_name -> types.ProposalBoard
10, // 1: types.AutonomyProposalBoard.curRule:type_name -> types.RuleConfig
11, // 2: types.AutonomyProposalBoard.board:type_name -> types.ActiveBoard
12, // 3: types.AutonomyProposalBoard.voteResult:type_name -> types.VoteResult
0, // 4: types.ProposalBoard.boardUpdate:type_name -> types.BoardUpdate
13, // 5: types.VoteProposalBoard.voteOption:type_name -> types.AutonomyVoteOption
1, // 6: types.ReceiptProposalBoard.prev:type_name -> types.AutonomyProposalBoard
1, // 7: types.ReceiptProposalBoard.current:type_name -> types.AutonomyProposalBoard
1, // 8: types.LocalProposalBoard.propBd:type_name -> types.AutonomyProposalBoard
1, // 9: types.ReplyQueryProposalBoard.propBoards:type_name -> types.AutonomyProposalBoard
10, // [10:10] is the sub-list for method output_type
10, // [10:10] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_board_proto_init() }
func file_board_proto_init() {
if File_board_proto != nil {
return
}
file_lcommon_proto_init()
if !protoimpl.UnsafeEnabled {
file_board_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutonomyProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
} }
file_board_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil return nil
} }
}
file_board_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { func init() {
switch v := v.(*RevokeProposalBoard); i { proto.RegisterEnum("types.BoardUpdate", BoardUpdate_name, BoardUpdate_value)
case 0: proto.RegisterType((*AutonomyProposalBoard)(nil), "types.AutonomyProposalBoard")
return &v.state proto.RegisterType((*ProposalBoard)(nil), "types.ProposalBoard")
case 1: proto.RegisterType((*RevokeProposalBoard)(nil), "types.RevokeProposalBoard")
return &v.sizeCache proto.RegisterType((*VoteProposalBoard)(nil), "types.VoteProposalBoard")
case 2: proto.RegisterType((*TerminateProposalBoard)(nil), "types.TerminateProposalBoard")
return &v.unknownFields proto.RegisterType((*ReceiptProposalBoard)(nil), "types.ReceiptProposalBoard")
default: proto.RegisterType((*LocalProposalBoard)(nil), "types.LocalProposalBoard")
return nil proto.RegisterType((*ReqQueryProposalBoard)(nil), "types.ReqQueryProposalBoard")
} proto.RegisterType((*ReplyQueryProposalBoard)(nil), "types.ReplyQueryProposalBoard")
} }
file_board_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteProposalBoard); i { func init() { proto.RegisterFile("board.proto", fileDescriptor_937f74b042f92c0f) }
case 0:
return &v.state var fileDescriptor_937f74b042f92c0f = []byte{
case 1: // 683 bytes of a gzipped FileDescriptorProto
return &v.sizeCache 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
case 2: 0x10, 0xc5, 0x71, 0x9c, 0x38, 0x53, 0x1a, 0xa5, 0x4b, 0x5b, 0x4c, 0x55, 0xa1, 0xc8, 0x07, 0x14,
return &v.unknownFields 0x15, 0x29, 0x40, 0x29, 0x08, 0x24, 0x2e, 0x49, 0x13, 0x89, 0x4a, 0x11, 0x94, 0x15, 0x14, 0x89,
default: 0x9b, 0x6b, 0x6f, 0x5b, 0xab, 0x8e, 0xd7, 0xac, 0xd7, 0x11, 0xb9, 0xf1, 0x33, 0x48, 0xfc, 0x00,
return nil 0x9f, 0xc2, 0xff, 0xa0, 0x9d, 0xdd, 0x24, 0x76, 0x5b, 0x01, 0xbd, 0xf9, 0xcd, 0xbe, 0x59, 0xcf,
} 0xbc, 0x9d, 0x37, 0xb0, 0x76, 0xca, 0x03, 0x11, 0xf5, 0x33, 0xc1, 0x25, 0x27, 0x8e, 0x9c, 0x67,
} 0x2c, 0xdf, 0x59, 0x4f, 0x42, 0x3e, 0x9d, 0xf2, 0x54, 0x47, 0xfd, 0xdf, 0x35, 0xd8, 0x1a, 0x14,
file_board_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 0x92, 0xa7, 0x7c, 0x3a, 0x3f, 0x16, 0x3c, 0xe3, 0x79, 0x90, 0x0c, 0x55, 0x16, 0xd9, 0x87, 0x56,
switch v := v.(*TerminateProposalBoard); i { 0x26, 0x78, 0x86, 0xc0, 0xb3, 0xba, 0x56, 0x6f, 0x6d, 0x7f, 0xb3, 0x8f, 0x77, 0xf4, 0x2b, 0x44,
case 0: 0xba, 0xa2, 0x91, 0xc7, 0xd0, 0x0c, 0x0b, 0x41, 0x8b, 0x84, 0x79, 0x35, 0xcc, 0xd8, 0x30, 0x19,
return &v.state 0x2a, 0x74, 0xc8, 0xd3, 0xb3, 0xf8, 0x9c, 0x2e, 0x18, 0xa4, 0x07, 0x0e, 0xd6, 0xe7, 0xd9, 0x48,
case 1: 0x25, 0x86, 0x3a, 0x08, 0x65, 0x3c, 0x63, 0xfa, 0x6a, 0x4d, 0x20, 0xcf, 0x00, 0x66, 0x5c, 0x32,
return &v.sizeCache 0xca, 0xf2, 0x22, 0x91, 0x5e, 0xbd, 0x72, 0xf3, 0xc9, 0xf2, 0x80, 0x96, 0x48, 0x64, 0x1b, 0x1a,
case 2: 0xb9, 0x0c, 0x64, 0x91, 0x7b, 0x4e, 0xd7, 0xea, 0x39, 0xd4, 0x20, 0xe2, 0x41, 0x33, 0x88, 0x22,
return &v.unknownFields 0xc1, 0xf2, 0xdc, 0x6b, 0x74, 0xad, 0x5e, 0x8b, 0x2e, 0xa0, 0xca, 0xb8, 0x60, 0xf1, 0xf9, 0x85,
default: 0xf4, 0x9a, 0x5d, 0xab, 0x67, 0x53, 0x83, 0xc8, 0x26, 0x38, 0x71, 0x1a, 0xb1, 0x6f, 0x9e, 0x8b,
return nil 0x17, 0x69, 0x40, 0x1e, 0x02, 0x64, 0x46, 0x85, 0xa3, 0x91, 0xd7, 0xc2, 0xab, 0x4a, 0x11, 0xff,
} 0x57, 0x0d, 0xd6, 0xab, 0x7a, 0x12, 0xa8, 0xcf, 0x59, 0x20, 0x50, 0x4a, 0x87, 0xe2, 0xb7, 0xba,
} 0x7b, 0xca, 0x53, 0x79, 0x81, 0x6a, 0x39, 0x54, 0x03, 0xd2, 0x01, 0x3b, 0x0a, 0xe6, 0x28, 0x8b,
file_board_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 0x43, 0xd5, 0xa7, 0xaa, 0xad, 0xc8, 0xa2, 0x40, 0x32, 0x6c, 0xde, 0xa5, 0x06, 0xa9, 0x38, 0x2a,
switch v := v.(*ReceiptProposalBoard); i { 0xa4, 0xba, 0xb4, 0x7b, 0x2d, 0x6a, 0x10, 0xd9, 0x83, 0x4e, 0x2e, 0x03, 0x21, 0x87, 0x09, 0x0f,
case 0: 0x2f, 0xdf, 0xea, 0xae, 0x1a, 0xd8, 0xd5, 0xb5, 0x38, 0x79, 0x04, 0x6d, 0x96, 0x46, 0x65, 0xa6,
return &v.state 0xee, 0xff, 0x4a, 0x94, 0xf4, 0x81, 0x08, 0x16, 0x24, 0xe3, 0x2a, 0xd7, 0x45, 0xee, 0x0d, 0x27,
case 1: 0xe4, 0xc0, 0x8c, 0xdf, 0x27, 0x5d, 0xb8, 0x92, 0xa8, 0xbd, 0x7c, 0xe4, 0xe1, 0xea, 0x84, 0x96,
return &v.sizeCache 0x69, 0xfe, 0x0b, 0xb8, 0x47, 0xd9, 0x8c, 0x5f, 0xb2, 0xaa, 0x78, 0x55, 0xb9, 0xad, 0x6b, 0x72,
case 2: 0xff, 0xb4, 0x60, 0x43, 0x4d, 0xc2, 0xad, 0xb2, 0x70, 0x18, 0xb2, 0x4c, 0xf0, 0x99, 0x1e, 0x57,
return &v.unknownFields 0x97, 0x2e, 0xa0, 0xca, 0xe4, 0x22, 0x3e, 0x8f, 0xd3, 0x41, 0x14, 0x09, 0xcf, 0x46, 0x71, 0x4b,
default: 0x11, 0xf2, 0x5a, 0x4f, 0xe4, 0xfb, 0x4c, 0xc6, 0x3c, 0xc5, 0x47, 0x69, 0xef, 0x3f, 0x58, 0x0c,
return nil 0xb0, 0xb1, 0xd3, 0xc9, 0x92, 0x40, 0x4b, 0x64, 0xff, 0x15, 0x6c, 0x7f, 0x64, 0x62, 0x1a, 0xa7,
} 0xc1, 0x2d, 0xcb, 0xf5, 0xbf, 0x5b, 0xb0, 0x49, 0x59, 0xc8, 0xe2, 0x4c, 0x56, 0x13, 0x9f, 0x42,
} 0x3d, 0x13, 0x6c, 0x66, 0x5c, 0xba, 0x7b, 0xa5, 0x8e, 0xaa, 0x5b, 0x91, 0x49, 0x5e, 0xa2, 0x51,
file_board_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 0x05, 0x4b, 0xa5, 0x31, 0xea, 0xdf, 0x93, 0x16, 0x64, 0xff, 0x0c, 0xc8, 0x84, 0x87, 0x41, 0x52,
switch v := v.(*LocalProposalBoard); i { 0xfd, 0xff, 0x01, 0x34, 0x70, 0x07, 0x44, 0xff, 0x55, 0x81, 0xe1, 0x92, 0x1d, 0x70, 0xd5, 0x2a,
case 0: 0x62, 0xa9, 0xcc, 0xbd, 0x1a, 0x2a, 0xbc, 0xc4, 0xfe, 0x0f, 0x0b, 0xb6, 0x28, 0xfb, 0xfa, 0xa1,
return &v.state 0x60, 0xe2, 0xca, 0x5a, 0x5a, 0x19, 0xdb, 0xaa, 0x18, 0x9b, 0x40, 0x5d, 0x39, 0x19, 0xdb, 0x69,
case 1: 0x51, 0xfc, 0x56, 0xf6, 0x0a, 0x79, 0x91, 0x4a, 0x63, 0x25, 0x0d, 0xc8, 0x2e, 0xb4, 0xa2, 0x58,
return &v.sizeCache 0xb0, 0x70, 0xf9, 0x74, 0x0e, 0x5d, 0x05, 0x4a, 0x6b, 0xc0, 0xb9, 0x79, 0x0d, 0x34, 0x4a, 0x6b,
case 2: 0xc0, 0xff, 0x0c, 0xf7, 0x29, 0xcb, 0x92, 0xf9, 0x0d, 0x85, 0xbe, 0xd1, 0xaf, 0x39, 0xd4, 0xfe,
return &v.unknownFields 0xb4, 0xba, 0xf6, 0x3f, 0x85, 0x29, 0xf1, 0xf7, 0x86, 0xb0, 0x56, 0xf2, 0x08, 0x69, 0x82, 0x7d,
default: 0xf4, 0xee, 0xa4, 0x73, 0x87, 0xdc, 0x05, 0x77, 0x30, 0x1a, 0xe1, 0x51, 0xc7, 0x52, 0x68, 0x34,
return nil 0x9e, 0x68, 0x54, 0x23, 0x6d, 0x00, 0x3a, 0x3e, 0x9e, 0x0c, 0x0e, 0xc7, 0x83, 0xc9, 0xa4, 0x63,
} 0x0f, 0xe1, 0x8b, 0xdb, 0xef, 0x3f, 0xc1, 0x3f, 0x9e, 0x36, 0x70, 0xdd, 0x3f, 0xff, 0x13, 0x00,
} 0x00, 0xff, 0xff, 0xbc, 0x39, 0x74, 0x01, 0x13, 0x06, 0x00, 0x00,
file_board_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReqQueryProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_board_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_board_proto_rawDesc,
NumEnums: 1,
NumMessages: 9,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_board_proto_goTypes,
DependencyIndexes: file_board_proto_depIdxs,
EnumInfos: file_board_proto_enumTypes,
MessageInfos: file_board_proto_msgTypes,
}.Build()
File_board_proto = out.File
file_board_proto_rawDesc = nil
file_board_proto_goTypes = nil
file_board_proto_depIdxs = nil
} }
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: change.proto // source: change.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalChange struct { // This is a compile-time assertion to ensure that this generated file
state protoimpl.MessageState // is compatible with the proto package it is being compiled against.
sizeCache protoimpl.SizeCache // A compilation error at this line likely means your copy of the
unknownFields protoimpl.UnknownFields // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AutonomyProposalChange struct {
PropChange *ProposalChange `protobuf:"bytes,1,opt,name=propChange,proto3" json:"propChange,omitempty"` PropChange *ProposalChange `protobuf:"bytes,1,opt,name=propChange,proto3" json:"propChange,omitempty"`
// 投票该提案的规则 // 投票该提案的规则
CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"`
...@@ -43,109 +34,101 @@ type AutonomyProposalChange struct { ...@@ -43,109 +34,101 @@ type AutonomyProposalChange struct {
Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,7,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,9,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *AutonomyProposalChange) Reset() { func (m *AutonomyProposalChange) Reset() { *m = AutonomyProposalChange{} }
*x = AutonomyProposalChange{} func (m *AutonomyProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*AutonomyProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[0] func (*AutonomyProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (x *AutonomyProposalChange) String() string { func (m *AutonomyProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_AutonomyProposalChange.Unmarshal(m, b)
} }
func (m *AutonomyProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*AutonomyProposalChange) ProtoMessage() {} return xxx_messageInfo_AutonomyProposalChange.Marshal(b, m, deterministic)
func (x *AutonomyProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *AutonomyProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use AutonomyProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_AutonomyProposalChange.Merge(m, src)
func (*AutonomyProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{0}
} }
func (m *AutonomyProposalChange) XXX_Size() int {
return xxx_messageInfo_AutonomyProposalChange.Size(m)
}
func (m *AutonomyProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_AutonomyProposalChange.DiscardUnknown(m)
}
var xxx_messageInfo_AutonomyProposalChange proto.InternalMessageInfo
func (x *AutonomyProposalChange) GetPropChange() *ProposalChange { func (m *AutonomyProposalChange) GetPropChange() *ProposalChange {
if x != nil { if m != nil {
return x.PropChange return m.PropChange
} }
return nil return nil
} }
func (x *AutonomyProposalChange) GetCurRule() *RuleConfig { func (m *AutonomyProposalChange) GetCurRule() *RuleConfig {
if x != nil { if m != nil {
return x.CurRule return m.CurRule
} }
return nil return nil
} }
func (x *AutonomyProposalChange) GetBoard() *ActiveBoard { func (m *AutonomyProposalChange) GetBoard() *ActiveBoard {
if x != nil { if m != nil {
return x.Board return m.Board
} }
return nil return nil
} }
func (x *AutonomyProposalChange) GetVoteResult() *VoteResult { func (m *AutonomyProposalChange) GetVoteResult() *VoteResult {
if x != nil { if m != nil {
return x.VoteResult return m.VoteResult
} }
return nil return nil
} }
func (x *AutonomyProposalChange) GetStatus() int32 { func (m *AutonomyProposalChange) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *AutonomyProposalChange) GetAddress() string { func (m *AutonomyProposalChange) GetAddress() string {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return "" return ""
} }
func (x *AutonomyProposalChange) GetHeight() int64 { func (m *AutonomyProposalChange) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *AutonomyProposalChange) GetIndex() int32 { func (m *AutonomyProposalChange) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *AutonomyProposalChange) GetProposalID() string { func (m *AutonomyProposalChange) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
// action // action
type ProposalChange struct { type ProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 提案时间 // 提案时间
Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
...@@ -153,838 +136,538 @@ type ProposalChange struct { ...@@ -153,838 +136,538 @@ type ProposalChange struct {
// 修改董事会成员 // 修改董事会成员
Changes []*Change `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` Changes []*Change `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"`
// 投票相关 // 投票相关
StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"`
EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"`
RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ProposalChange) Reset() { func (m *ProposalChange) Reset() { *m = ProposalChange{} }
*x = ProposalChange{} func (m *ProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[1] func (*ProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{1}
ms.StoreMessageInfo(mi)
}
} }
func (x *ProposalChange) String() string { func (m *ProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ProposalChange.Unmarshal(m, b)
} }
func (m *ProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ProposalChange) ProtoMessage() {} return xxx_messageInfo_ProposalChange.Marshal(b, m, deterministic)
func (x *ProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use ProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_ProposalChange.Merge(m, src)
func (*ProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{1}
} }
func (m *ProposalChange) XXX_Size() int {
return xxx_messageInfo_ProposalChange.Size(m)
}
func (m *ProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalChange.DiscardUnknown(m)
}
var xxx_messageInfo_ProposalChange proto.InternalMessageInfo
func (x *ProposalChange) GetYear() int32 { func (m *ProposalChange) GetYear() int32 {
if x != nil { if m != nil {
return x.Year return m.Year
} }
return 0 return 0
} }
func (x *ProposalChange) GetMonth() int32 { func (m *ProposalChange) GetMonth() int32 {
if x != nil { if m != nil {
return x.Month return m.Month
} }
return 0 return 0
} }
func (x *ProposalChange) GetDay() int32 { func (m *ProposalChange) GetDay() int32 {
if x != nil { if m != nil {
return x.Day return m.Day
} }
return 0 return 0
} }
func (x *ProposalChange) GetChanges() []*Change { func (m *ProposalChange) GetChanges() []*Change {
if x != nil { if m != nil {
return x.Changes return m.Changes
} }
return nil return nil
} }
func (x *ProposalChange) GetStartBlockHeight() int64 { func (m *ProposalChange) GetStartBlockHeight() int64 {
if x != nil { if m != nil {
return x.StartBlockHeight return m.StartBlockHeight
} }
return 0 return 0
} }
func (x *ProposalChange) GetEndBlockHeight() int64 { func (m *ProposalChange) GetEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.EndBlockHeight return m.EndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalChange) GetRealEndBlockHeight() int64 { func (m *ProposalChange) GetRealEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.RealEndBlockHeight return m.RealEndBlockHeight
} }
return 0 return 0
} }
type Change struct { type Change struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 1 取消 0 恢复 // 1 取消 0 恢复
Cancel bool `protobuf:"varint,1,opt,name=cancel,proto3" json:"cancel,omitempty"` Cancel bool `protobuf:"varint,1,opt,name=cancel,proto3" json:"cancel,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *Change) Reset() { func (m *Change) Reset() { *m = Change{} }
*x = Change{} func (m *Change) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*Change) ProtoMessage() {}
mi := &file_change_proto_msgTypes[2] func (*Change) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{2}
ms.StoreMessageInfo(mi)
}
} }
func (x *Change) String() string { func (m *Change) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_Change.Unmarshal(m, b)
} }
func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*Change) ProtoMessage() {} return xxx_messageInfo_Change.Marshal(b, m, deterministic)
func (x *Change) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *Change) XXX_Merge(src proto.Message) {
// Deprecated: Use Change.ProtoReflect.Descriptor instead. xxx_messageInfo_Change.Merge(m, src)
func (*Change) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{2} func (m *Change) XXX_Size() int {
return xxx_messageInfo_Change.Size(m)
}
func (m *Change) XXX_DiscardUnknown() {
xxx_messageInfo_Change.DiscardUnknown(m)
} }
func (x *Change) GetCancel() bool { var xxx_messageInfo_Change proto.InternalMessageInfo
if x != nil {
return x.Cancel func (m *Change) GetCancel() bool {
if m != nil {
return m.Cancel
} }
return false return false
} }
func (x *Change) GetAddr() string { func (m *Change) GetAddr() string {
if x != nil { if m != nil {
return x.Addr return m.Addr
} }
return "" return ""
} }
type RevokeProposalChange struct { type RevokeProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RevokeProposalChange) Reset() { func (m *RevokeProposalChange) Reset() { *m = RevokeProposalChange{} }
*x = RevokeProposalChange{} func (m *RevokeProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RevokeProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[3] func (*RevokeProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *RevokeProposalChange) String() string { func (m *RevokeProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RevokeProposalChange.Unmarshal(m, b)
} }
func (m *RevokeProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RevokeProposalChange) ProtoMessage() {} return xxx_messageInfo_RevokeProposalChange.Marshal(b, m, deterministic)
func (x *RevokeProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RevokeProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use RevokeProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_RevokeProposalChange.Merge(m, src)
func (*RevokeProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{3} func (m *RevokeProposalChange) XXX_Size() int {
return xxx_messageInfo_RevokeProposalChange.Size(m)
}
func (m *RevokeProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_RevokeProposalChange.DiscardUnknown(m)
} }
func (x *RevokeProposalChange) GetProposalID() string { var xxx_messageInfo_RevokeProposalChange proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *RevokeProposalChange) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
type VoteProposalChange struct { type VoteProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"`
Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VoteProposalChange) Reset() { func (m *VoteProposalChange) Reset() { *m = VoteProposalChange{} }
*x = VoteProposalChange{} func (m *VoteProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VoteProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[4] func (*VoteProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *VoteProposalChange) String() string { func (m *VoteProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VoteProposalChange.Unmarshal(m, b)
} }
func (m *VoteProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VoteProposalChange) ProtoMessage() {} return xxx_messageInfo_VoteProposalChange.Marshal(b, m, deterministic)
func (x *VoteProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VoteProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use VoteProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_VoteProposalChange.Merge(m, src)
func (*VoteProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{4} func (m *VoteProposalChange) XXX_Size() int {
return xxx_messageInfo_VoteProposalChange.Size(m)
}
func (m *VoteProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalChange.DiscardUnknown(m)
} }
func (x *VoteProposalChange) GetProposalID() string { var xxx_messageInfo_VoteProposalChange proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *VoteProposalChange) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
func (x *VoteProposalChange) GetApprove() bool { func (m *VoteProposalChange) GetApprove() bool {
if x != nil { if m != nil {
return x.Approve return m.Approve
} }
return false return false
} }
func (x *VoteProposalChange) GetVote() AutonomyVoteOption { func (m *VoteProposalChange) GetVote() AutonomyVoteOption {
if x != nil { if m != nil {
return x.Vote return m.Vote
} }
return AutonomyVoteOption_NOJOIN return AutonomyVoteOption_NOJOIN
} }
type TerminateProposalChange struct { type TerminateProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *TerminateProposalChange) Reset() { func (m *TerminateProposalChange) Reset() { *m = TerminateProposalChange{} }
*x = TerminateProposalChange{} func (m *TerminateProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TerminateProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[5] func (*TerminateProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{5}
ms.StoreMessageInfo(mi)
}
} }
func (x *TerminateProposalChange) String() string { func (m *TerminateProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_TerminateProposalChange.Unmarshal(m, b)
} }
func (m *TerminateProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*TerminateProposalChange) ProtoMessage() {} return xxx_messageInfo_TerminateProposalChange.Marshal(b, m, deterministic)
func (x *TerminateProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *TerminateProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use TerminateProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_TerminateProposalChange.Merge(m, src)
func (*TerminateProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{5} func (m *TerminateProposalChange) XXX_Size() int {
return xxx_messageInfo_TerminateProposalChange.Size(m)
}
func (m *TerminateProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_TerminateProposalChange.DiscardUnknown(m)
} }
func (x *TerminateProposalChange) GetProposalID() string { var xxx_messageInfo_TerminateProposalChange proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *TerminateProposalChange) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
// receipt // receipt
type ReceiptProposalChange struct { type ReceiptProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prev *AutonomyProposalChange `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Prev *AutonomyProposalChange `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
Current *AutonomyProposalChange `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Current *AutonomyProposalChange `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReceiptProposalChange) Reset() { func (m *ReceiptProposalChange) Reset() { *m = ReceiptProposalChange{} }
*x = ReceiptProposalChange{} func (m *ReceiptProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[6] func (*ReceiptProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{6}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptProposalChange) String() string { func (m *ReceiptProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptProposalChange.Unmarshal(m, b)
} }
func (m *ReceiptProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptProposalChange) ProtoMessage() {} return xxx_messageInfo_ReceiptProposalChange.Marshal(b, m, deterministic)
func (x *ReceiptProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReceiptProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use ReceiptProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptProposalChange.Merge(m, src)
func (*ReceiptProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{6} func (m *ReceiptProposalChange) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalChange.Size(m)
} }
func (m *ReceiptProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalChange.DiscardUnknown(m)
}
var xxx_messageInfo_ReceiptProposalChange proto.InternalMessageInfo
func (x *ReceiptProposalChange) GetPrev() *AutonomyProposalChange { func (m *ReceiptProposalChange) GetPrev() *AutonomyProposalChange {
if x != nil { if m != nil {
return x.Prev return m.Prev
} }
return nil return nil
} }
func (x *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange { func (m *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange {
if x != nil { if m != nil {
return x.Current return m.Current
} }
return nil return nil
} }
type LocalProposalChange struct { type LocalProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropBd *AutonomyProposalChange `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"` PropBd *AutonomyProposalChange `protobuf:"bytes,1,opt,name=propBd,proto3" json:"propBd,omitempty"`
Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *LocalProposalChange) Reset() { func (m *LocalProposalChange) Reset() { *m = LocalProposalChange{} }
*x = LocalProposalChange{} func (m *LocalProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*LocalProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[7] func (*LocalProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{7}
ms.StoreMessageInfo(mi)
}
} }
func (x *LocalProposalChange) String() string { func (m *LocalProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_LocalProposalChange.Unmarshal(m, b)
} }
func (m *LocalProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*LocalProposalChange) ProtoMessage() {} return xxx_messageInfo_LocalProposalChange.Marshal(b, m, deterministic)
func (x *LocalProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *LocalProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use LocalProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_LocalProposalChange.Merge(m, src)
func (*LocalProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{7} func (m *LocalProposalChange) XXX_Size() int {
return xxx_messageInfo_LocalProposalChange.Size(m)
} }
func (m *LocalProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_LocalProposalChange.DiscardUnknown(m)
}
var xxx_messageInfo_LocalProposalChange proto.InternalMessageInfo
func (x *LocalProposalChange) GetPropBd() *AutonomyProposalChange { func (m *LocalProposalChange) GetPropBd() *AutonomyProposalChange {
if x != nil { if m != nil {
return x.PropBd return m.PropBd
} }
return nil return nil
} }
func (x *LocalProposalChange) GetComments() []string { func (m *LocalProposalChange) GetComments() []string {
if x != nil { if m != nil {
return x.Comments return m.Comments
} }
return nil return nil
} }
// query // query
type ReqQueryProposalChange struct { type ReqQueryProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReqQueryProposalChange) Reset() { func (m *ReqQueryProposalChange) Reset() { *m = ReqQueryProposalChange{} }
*x = ReqQueryProposalChange{} func (m *ReqQueryProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReqQueryProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[8] func (*ReqQueryProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{8}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReqQueryProposalChange) String() string { func (m *ReqQueryProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReqQueryProposalChange.Unmarshal(m, b)
} }
func (m *ReqQueryProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReqQueryProposalChange) ProtoMessage() {} return xxx_messageInfo_ReqQueryProposalChange.Marshal(b, m, deterministic)
func (x *ReqQueryProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReqQueryProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use ReqQueryProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_ReqQueryProposalChange.Merge(m, src)
func (*ReqQueryProposalChange) Descriptor() ([]byte, []int) { }
return file_change_proto_rawDescGZIP(), []int{8} func (m *ReqQueryProposalChange) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalChange.Size(m)
} }
func (m *ReqQueryProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalChange.DiscardUnknown(m)
}
var xxx_messageInfo_ReqQueryProposalChange proto.InternalMessageInfo
func (x *ReqQueryProposalChange) GetStatus() int32 { func (m *ReqQueryProposalChange) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *ReqQueryProposalChange) GetAddr() string { func (m *ReqQueryProposalChange) GetAddr() string {
if x != nil { if m != nil {
return x.Addr return m.Addr
} }
return "" return ""
} }
func (x *ReqQueryProposalChange) GetCount() int32 { func (m *ReqQueryProposalChange) GetCount() int32 {
if x != nil { if m != nil {
return x.Count return m.Count
} }
return 0 return 0
} }
func (x *ReqQueryProposalChange) GetDirection() int32 { func (m *ReqQueryProposalChange) GetDirection() int32 {
if x != nil { if m != nil {
return x.Direction return m.Direction
} }
return 0 return 0
} }
func (x *ReqQueryProposalChange) GetHeight() int64 { func (m *ReqQueryProposalChange) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReqQueryProposalChange) GetIndex() int32 { func (m *ReqQueryProposalChange) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
type ReplyQueryProposalChange struct { type ReplyQueryProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropChanges []*AutonomyProposalChange `protobuf:"bytes,1,rep,name=propChanges,proto3" json:"propChanges,omitempty"` PropChanges []*AutonomyProposalChange `protobuf:"bytes,1,rep,name=propChanges,proto3" json:"propChanges,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReplyQueryProposalChange) Reset() { func (m *ReplyQueryProposalChange) Reset() { *m = ReplyQueryProposalChange{} }
*x = ReplyQueryProposalChange{} func (m *ReplyQueryProposalChange) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReplyQueryProposalChange) ProtoMessage() {}
mi := &file_change_proto_msgTypes[9] func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_4c013f0fbf0b6ffb, []int{9}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReplyQueryProposalChange) String() string { func (m *ReplyQueryProposalChange) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReplyQueryProposalChange.Unmarshal(m, b)
} }
func (m *ReplyQueryProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReplyQueryProposalChange) ProtoMessage() {} return xxx_messageInfo_ReplyQueryProposalChange.Marshal(b, m, deterministic)
func (x *ReplyQueryProposalChange) ProtoReflect() protoreflect.Message {
mi := &file_change_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReplyQueryProposalChange) XXX_Merge(src proto.Message) {
// Deprecated: Use ReplyQueryProposalChange.ProtoReflect.Descriptor instead. xxx_messageInfo_ReplyQueryProposalChange.Merge(m, src)
func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{9}
} }
func (m *ReplyQueryProposalChange) XXX_Size() int {
func (x *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange { return xxx_messageInfo_ReplyQueryProposalChange.Size(m)
if x != nil { }
return x.PropChanges func (m *ReplyQueryProposalChange) XXX_DiscardUnknown() {
} xxx_messageInfo_ReplyQueryProposalChange.DiscardUnknown(m)
return nil
} }
var File_change_proto protoreflect.FileDescriptor var xxx_messageInfo_ReplyQueryProposalChange proto.InternalMessageInfo
var file_change_proto_rawDesc = []byte{
0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05,
0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x02, 0x0a, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d,
0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
0x35, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x63, 0x75, 0x72, 0x52,
0x75, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76,
0x65, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a,
0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01,
0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e,
0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78,
0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x09,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x22, 0xf9, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a,
0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12,
0x27, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x0d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72,
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e,
0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12,
0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e,
0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x34, 0x0a, 0x06,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x12,
0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64,
0x64, 0x72, 0x22, 0x36, 0x0a, 0x14, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x7d, 0x0a, 0x12, 0x56, 0x6f,
0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x76, 0x6f,
0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x22, 0x39, 0x0a, 0x17, 0x54, 0x65, 0x72,
0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x49, 0x44, 0x22, 0x83, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74,
0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x31,
0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x04, 0x70, 0x72, 0x65,
0x76, 0x12, 0x37, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e,
0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67,
0x65, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x68, 0x0a, 0x13, 0x4c, 0x6f,
0x63, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67,
0x65, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f,
0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x52, 0x06, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d,
0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d,
0x65, 0x6e, 0x74, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x71, 0x51, 0x75, 0x65, 0x72,
0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78,
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x5b, 0x0a,
0x18, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x70, 0x72, 0x6f,
0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x70,
0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e,
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_change_proto_rawDescOnce sync.Once
file_change_proto_rawDescData = file_change_proto_rawDesc
)
func file_change_proto_rawDescGZIP() []byte { func (m *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange {
file_change_proto_rawDescOnce.Do(func() { if m != nil {
file_change_proto_rawDescData = protoimpl.X.CompressGZIP(file_change_proto_rawDescData) return m.PropChanges
})
return file_change_proto_rawDescData
}
var file_change_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_change_proto_goTypes = []interface{}{
(*AutonomyProposalChange)(nil), // 0: types.AutonomyProposalChange
(*ProposalChange)(nil), // 1: types.ProposalChange
(*Change)(nil), // 2: types.Change
(*RevokeProposalChange)(nil), // 3: types.RevokeProposalChange
(*VoteProposalChange)(nil), // 4: types.VoteProposalChange
(*TerminateProposalChange)(nil), // 5: types.TerminateProposalChange
(*ReceiptProposalChange)(nil), // 6: types.ReceiptProposalChange
(*LocalProposalChange)(nil), // 7: types.LocalProposalChange
(*ReqQueryProposalChange)(nil), // 8: types.ReqQueryProposalChange
(*ReplyQueryProposalChange)(nil), // 9: types.ReplyQueryProposalChange
(*RuleConfig)(nil), // 10: types.RuleConfig
(*ActiveBoard)(nil), // 11: types.ActiveBoard
(*VoteResult)(nil), // 12: types.VoteResult
(AutonomyVoteOption)(0), // 13: types.AutonomyVoteOption
}
var file_change_proto_depIdxs = []int32{
1, // 0: types.AutonomyProposalChange.propChange:type_name -> types.ProposalChange
10, // 1: types.AutonomyProposalChange.curRule:type_name -> types.RuleConfig
11, // 2: types.AutonomyProposalChange.board:type_name -> types.ActiveBoard
12, // 3: types.AutonomyProposalChange.voteResult:type_name -> types.VoteResult
2, // 4: types.ProposalChange.changes:type_name -> types.Change
13, // 5: types.VoteProposalChange.vote:type_name -> types.AutonomyVoteOption
0, // 6: types.ReceiptProposalChange.prev:type_name -> types.AutonomyProposalChange
0, // 7: types.ReceiptProposalChange.current:type_name -> types.AutonomyProposalChange
0, // 8: types.LocalProposalChange.propBd:type_name -> types.AutonomyProposalChange
0, // 9: types.ReplyQueryProposalChange.propChanges:type_name -> types.AutonomyProposalChange
10, // [10:10] is the sub-list for method output_type
10, // [10:10] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_change_proto_init() }
func file_change_proto_init() {
if File_change_proto != nil {
return
}
file_lcommon_proto_init()
if !protoimpl.UnsafeEnabled {
file_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutonomyProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Change); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RevokeProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TerminateProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
} }
file_change_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocalProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil return nil
} }
}
file_change_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { func init() {
switch v := v.(*ReqQueryProposalChange); i { proto.RegisterType((*AutonomyProposalChange)(nil), "types.AutonomyProposalChange")
case 0: proto.RegisterType((*ProposalChange)(nil), "types.ProposalChange")
return &v.state proto.RegisterType((*Change)(nil), "types.Change")
case 1: proto.RegisterType((*RevokeProposalChange)(nil), "types.RevokeProposalChange")
return &v.sizeCache proto.RegisterType((*VoteProposalChange)(nil), "types.VoteProposalChange")
case 2: proto.RegisterType((*TerminateProposalChange)(nil), "types.TerminateProposalChange")
return &v.unknownFields proto.RegisterType((*ReceiptProposalChange)(nil), "types.ReceiptProposalChange")
default: proto.RegisterType((*LocalProposalChange)(nil), "types.LocalProposalChange")
return nil proto.RegisterType((*ReqQueryProposalChange)(nil), "types.ReqQueryProposalChange")
} proto.RegisterType((*ReplyQueryProposalChange)(nil), "types.ReplyQueryProposalChange")
} }
file_change_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalChange); i { func init() { proto.RegisterFile("change.proto", fileDescriptor_4c013f0fbf0b6ffb) }
case 0:
return &v.state var fileDescriptor_4c013f0fbf0b6ffb = []byte{
case 1: // 631 bytes of a gzipped FileDescriptorProto
return &v.sizeCache 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4f, 0x6f, 0xd3, 0x4e,
case 2: 0x10, 0x95, 0x9b, 0xd8, 0x49, 0xa6, 0xbf, 0x56, 0xfd, 0x2d, 0x6d, 0x58, 0x2a, 0x40, 0x91, 0x0f,
return &v.unknownFields 0x60, 0x81, 0x08, 0x6a, 0xf9, 0x27, 0x4e, 0xa8, 0x29, 0x48, 0x20, 0x21, 0x01, 0x2b, 0xc4, 0x01,
default: 0x4e, 0x5b, 0x7b, 0x68, 0xac, 0x3a, 0xbb, 0x66, 0xbd, 0x8e, 0xc8, 0x81, 0x13, 0xdf, 0x85, 0xef,
return nil 0xc4, 0x47, 0xe1, 0x86, 0x76, 0xbd, 0x6e, 0x1d, 0x27, 0x52, 0xe9, 0xcd, 0x6f, 0xf6, 0xcd, 0x7a,
} 0xe6, 0xed, 0xbc, 0x81, 0xff, 0xe2, 0x29, 0x17, 0xa7, 0x38, 0xce, 0x95, 0xd4, 0x92, 0xf8, 0x7a,
} 0x91, 0x63, 0xb1, 0xbf, 0x95, 0xc5, 0x72, 0x36, 0x93, 0xa2, 0x8a, 0x86, 0xbf, 0x37, 0x60, 0x78,
} 0x54, 0x6a, 0x29, 0xe4, 0x6c, 0xf1, 0x5e, 0xc9, 0x5c, 0x16, 0x3c, 0x3b, 0xb6, 0x69, 0xe4, 0x09,
type x struct{} 0x40, 0xae, 0x64, 0x5e, 0x21, 0xea, 0x8d, 0xbc, 0x68, 0xf3, 0x70, 0x6f, 0x6c, 0x6f, 0x19, 0x2f,
out := protoimpl.TypeBuilder{ 0x53, 0x59, 0x83, 0x48, 0xee, 0x43, 0x2f, 0x2e, 0x15, 0x2b, 0x33, 0xa4, 0x1b, 0x36, 0xe7, 0x7f,
File: protoimpl.DescBuilder{ 0x97, 0x63, 0x42, 0xc7, 0x52, 0x7c, 0x4d, 0x4f, 0x59, 0xcd, 0x20, 0x11, 0xf8, 0x27, 0x92, 0xab,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x84, 0x76, 0x2c, 0x95, 0x38, 0xea, 0x51, 0xac, 0xd3, 0x39, 0x4e, 0xcc, 0x09, 0xab, 0x08, 0xe4,
RawDescriptor: file_change_proto_rawDesc, 0x00, 0x60, 0x2e, 0x35, 0x32, 0x2c, 0xca, 0x4c, 0xd3, 0xee, 0xd2, 0xcd, 0x9f, 0xce, 0x0f, 0x58,
NumEnums: 0, 0x83, 0x44, 0x86, 0x10, 0x14, 0x9a, 0xeb, 0xb2, 0xa0, 0xfe, 0xc8, 0x8b, 0x7c, 0xe6, 0x10, 0xa1,
NumMessages: 10, 0xd0, 0xe3, 0x49, 0xa2, 0xb0, 0x28, 0x68, 0x30, 0xf2, 0xa2, 0x01, 0xab, 0xa1, 0xc9, 0x98, 0x62,
NumExtensions: 0, 0x7a, 0x3a, 0xd5, 0xb4, 0x37, 0xf2, 0xa2, 0x0e, 0x73, 0x88, 0xec, 0x82, 0x9f, 0x8a, 0x04, 0xbf,
NumServices: 0, 0xd3, 0xbe, 0xbd, 0xa8, 0x02, 0xe4, 0x76, 0x25, 0x90, 0xd1, 0xe1, 0xcd, 0x4b, 0x3a, 0xb0, 0x57,
}, 0x35, 0x22, 0xe1, 0x1f, 0x0f, 0xb6, 0x5b, 0x9a, 0x12, 0xe8, 0x2e, 0x90, 0x2b, 0xab, 0xa6, 0xcf,
GoTypes: file_change_proto_goTypes, 0xec, 0xb7, 0xb9, 0x7c, 0x26, 0x85, 0x9e, 0x5a, 0xb9, 0x7c, 0x56, 0x01, 0xb2, 0x03, 0x9d, 0x84,
DependencyIndexes: file_change_proto_depIdxs, 0x2f, 0xac, 0x2e, 0x3e, 0x33, 0x9f, 0xe4, 0x2e, 0xf4, 0xaa, 0x07, 0x2d, 0x68, 0x77, 0xd4, 0x89,
MessageInfos: file_change_proto_msgTypes, 0x36, 0x0f, 0xb7, 0x5c, 0xfb, 0xee, 0x11, 0xea, 0x53, 0x72, 0x0f, 0x76, 0x0a, 0xcd, 0x95, 0x9e,
}.Build() 0x64, 0x32, 0x3e, 0x7b, 0x5d, 0xf5, 0xe3, 0xdb, 0x7e, 0x56, 0xe2, 0xe4, 0x0e, 0x6c, 0xa3, 0x48,
File_change_proto = out.File 0x9a, 0xcc, 0xc0, 0x32, 0x5b, 0x51, 0x32, 0x06, 0xa2, 0x90, 0x67, 0xaf, 0x96, 0xb9, 0x95, 0x4a,
file_change_proto_rawDesc = nil 0x6b, 0x4e, 0xc2, 0xc7, 0x10, 0xb8, 0x96, 0x87, 0x10, 0xc4, 0x5c, 0xc4, 0x98, 0xd9, 0xa6, 0xfb,
file_change_proto_goTypes = nil 0xcc, 0x21, 0x23, 0x85, 0x91, 0xdd, 0x76, 0x3d, 0x60, 0xf6, 0x3b, 0x7c, 0x0a, 0xbb, 0x0c, 0xe7,
file_change_proto_depIdxs = nil 0xf2, 0x0c, 0x5b, 0xb2, 0x2d, 0x2b, 0xed, 0xad, 0x28, 0xfd, 0x03, 0x88, 0x99, 0x81, 0xab, 0x65,
0xd9, 0x39, 0xc8, 0x73, 0x25, 0xe7, 0xd5, 0xa4, 0xf6, 0x59, 0x0d, 0xc9, 0x03, 0xe8, 0x9a, 0x39,
0xb2, 0xea, 0x6f, 0x1f, 0xde, 0xa8, 0xa7, 0xd2, 0xf9, 0xc4, 0xfc, 0xea, 0x5d, 0xae, 0x53, 0x29,
0x98, 0xa5, 0x85, 0xcf, 0xe1, 0xfa, 0x47, 0x54, 0xb3, 0x54, 0xf0, 0xab, 0xd6, 0x10, 0xfe, 0xf4,
0x60, 0x8f, 0x61, 0x8c, 0x69, 0xae, 0x5b, 0x99, 0x07, 0xd0, 0xcd, 0x15, 0xce, 0x9d, 0xf1, 0x6e,
0xb5, 0x6a, 0x68, 0x19, 0xd0, 0x52, 0xc9, 0x33, 0x6b, 0x3d, 0x85, 0x42, 0x3b, 0xeb, 0x5d, 0x92,
0x55, 0xb3, 0xc3, 0x29, 0x5c, 0x7b, 0x2b, 0x63, 0x9e, 0xad, 0x6c, 0x80, 0xc0, 0x94, 0x3a, 0x49,
0xfe, 0xad, 0x08, 0x47, 0x26, 0xfb, 0xd0, 0x37, 0x3b, 0x06, 0x85, 0x2e, 0xe8, 0xc6, 0xa8, 0x13,
0x0d, 0xd8, 0x39, 0x0e, 0x7f, 0x79, 0x30, 0x64, 0xf8, 0xed, 0x43, 0x89, 0xaa, 0xbd, 0x6f, 0x2e,
0xec, 0xea, 0x2d, 0xd9, 0x75, 0xcd, 0xa0, 0x18, 0xcf, 0xc4, 0xb2, 0x14, 0xda, 0xf9, 0xa3, 0x02,
0xe4, 0x26, 0x0c, 0x92, 0x54, 0x61, 0x6c, 0x9e, 0xc6, 0xae, 0x08, 0x9f, 0x5d, 0x04, 0x1a, 0xe6,
0xf6, 0xd7, 0x9b, 0x3b, 0x68, 0x98, 0x3b, 0xfc, 0x02, 0x94, 0x61, 0x9e, 0x2d, 0xd6, 0x55, 0xfa,
0x02, 0x36, 0x2f, 0x16, 0x9e, 0x29, 0xb7, 0x73, 0xb9, 0x38, 0xcd, 0x8c, 0x09, 0x7c, 0xee, 0x8f,
0xc7, 0x0f, 0x2d, 0xff, 0x24, 0xb0, 0x8b, 0xf8, 0xd1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30,
0xf2, 0x58, 0x7f, 0xae, 0x05, 0x00, 0x00,
} }
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: lcommon.proto // source: lcommon.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
//三种投票选项 //三种投票选项
type AutonomyVoteOption int32 type AutonomyVoteOption int32
...@@ -38,54 +33,29 @@ const ( ...@@ -38,54 +33,29 @@ const (
AutonomyVoteOption_QUIT AutonomyVoteOption = 3 AutonomyVoteOption_QUIT AutonomyVoteOption = 3
) )
// Enum value maps for AutonomyVoteOption. var AutonomyVoteOption_name = map[int32]string{
var (
AutonomyVoteOption_name = map[int32]string{
0: "NOJOIN", 0: "NOJOIN",
1: "APPROVE", 1: "APPROVE",
2: "OPPOSE", 2: "OPPOSE",
3: "QUIT", 3: "QUIT",
} }
AutonomyVoteOption_value = map[string]int32{
var AutonomyVoteOption_value = map[string]int32{
"NOJOIN": 0, "NOJOIN": 0,
"APPROVE": 1, "APPROVE": 1,
"OPPOSE": 2, "OPPOSE": 2,
"QUIT": 3, "QUIT": 3,
}
)
func (x AutonomyVoteOption) Enum() *AutonomyVoteOption {
p := new(AutonomyVoteOption)
*p = x
return p
} }
func (x AutonomyVoteOption) String() string { func (x AutonomyVoteOption) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) return proto.EnumName(AutonomyVoteOption_name, int32(x))
} }
func (AutonomyVoteOption) Descriptor() protoreflect.EnumDescriptor {
return file_lcommon_proto_enumTypes[0].Descriptor()
}
func (AutonomyVoteOption) Type() protoreflect.EnumType {
return &file_lcommon_proto_enumTypes[0]
}
func (x AutonomyVoteOption) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AutonomyVoteOption.Descriptor instead.
func (AutonomyVoteOption) EnumDescriptor() ([]byte, []int) { func (AutonomyVoteOption) EnumDescriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{0} return fileDescriptor_d916a933dd8220ff, []int{0}
} }
type VoteResult struct { type VoteResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 总票数 // 总票数
TotalVotes int32 `protobuf:"varint,1,opt,name=totalVotes,proto3" json:"totalVotes,omitempty"` TotalVotes int32 `protobuf:"varint,1,opt,name=totalVotes,proto3" json:"totalVotes,omitempty"`
// 赞成票 // 赞成票
...@@ -96,80 +66,72 @@ type VoteResult struct { ...@@ -96,80 +66,72 @@ type VoteResult struct {
Pass bool `protobuf:"varint,4,opt,name=pass,proto3" json:"pass,omitempty"` Pass bool `protobuf:"varint,4,opt,name=pass,proto3" json:"pass,omitempty"`
//弃权票 //弃权票
QuitVotes int32 `protobuf:"varint,5,opt,name=quitVotes,proto3" json:"quitVotes,omitempty"` QuitVotes int32 `protobuf:"varint,5,opt,name=quitVotes,proto3" json:"quitVotes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VoteResult) Reset() { func (m *VoteResult) Reset() { *m = VoteResult{} }
*x = VoteResult{} func (m *VoteResult) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VoteResult) ProtoMessage() {}
mi := &file_lcommon_proto_msgTypes[0] func (*VoteResult) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_d916a933dd8220ff, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (x *VoteResult) String() string { func (m *VoteResult) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VoteResult.Unmarshal(m, b)
} }
func (m *VoteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VoteResult) ProtoMessage() {} return xxx_messageInfo_VoteResult.Marshal(b, m, deterministic)
func (x *VoteResult) ProtoReflect() protoreflect.Message {
mi := &file_lcommon_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VoteResult) XXX_Merge(src proto.Message) {
// Deprecated: Use VoteResult.ProtoReflect.Descriptor instead. xxx_messageInfo_VoteResult.Merge(m, src)
func (*VoteResult) Descriptor() ([]byte, []int) { }
return file_lcommon_proto_rawDescGZIP(), []int{0} func (m *VoteResult) XXX_Size() int {
return xxx_messageInfo_VoteResult.Size(m)
} }
func (m *VoteResult) XXX_DiscardUnknown() {
xxx_messageInfo_VoteResult.DiscardUnknown(m)
}
var xxx_messageInfo_VoteResult proto.InternalMessageInfo
func (x *VoteResult) GetTotalVotes() int32 { func (m *VoteResult) GetTotalVotes() int32 {
if x != nil { if m != nil {
return x.TotalVotes return m.TotalVotes
} }
return 0 return 0
} }
func (x *VoteResult) GetApproveVotes() int32 { func (m *VoteResult) GetApproveVotes() int32 {
if x != nil { if m != nil {
return x.ApproveVotes return m.ApproveVotes
} }
return 0 return 0
} }
func (x *VoteResult) GetOpposeVotes() int32 { func (m *VoteResult) GetOpposeVotes() int32 {
if x != nil { if m != nil {
return x.OpposeVotes return m.OpposeVotes
} }
return 0 return 0
} }
func (x *VoteResult) GetPass() bool { func (m *VoteResult) GetPass() bool {
if x != nil { if m != nil {
return x.Pass return m.Pass
} }
return false return false
} }
func (x *VoteResult) GetQuitVotes() int32 { func (m *VoteResult) GetQuitVotes() int32 {
if x != nil { if m != nil {
return x.QuitVotes return m.QuitVotes
} }
return 0 return 0
} }
type PublicVote struct { type PublicVote struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 是否需要公示 // 是否需要公示
Publicity bool `protobuf:"varint,1,opt,name=publicity,proto3" json:"publicity,omitempty"` Publicity bool `protobuf:"varint,1,opt,name=publicity,proto3" json:"publicity,omitempty"`
// 总票数 // 总票数
...@@ -178,120 +140,104 @@ type PublicVote struct { ...@@ -178,120 +140,104 @@ type PublicVote struct {
OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes,proto3" json:"opposeVotes,omitempty"` OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes,proto3" json:"opposeVotes,omitempty"`
// 是否通过 // 是否通过
PubPass bool `protobuf:"varint,4,opt,name=pubPass,proto3" json:"pubPass,omitempty"` PubPass bool `protobuf:"varint,4,opt,name=pubPass,proto3" json:"pubPass,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *PublicVote) Reset() { func (m *PublicVote) Reset() { *m = PublicVote{} }
*x = PublicVote{} func (m *PublicVote) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*PublicVote) ProtoMessage() {}
mi := &file_lcommon_proto_msgTypes[1] func (*PublicVote) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_d916a933dd8220ff, []int{1}
ms.StoreMessageInfo(mi)
}
} }
func (x *PublicVote) String() string { func (m *PublicVote) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_PublicVote.Unmarshal(m, b)
} }
func (m *PublicVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*PublicVote) ProtoMessage() {} return xxx_messageInfo_PublicVote.Marshal(b, m, deterministic)
func (x *PublicVote) ProtoReflect() protoreflect.Message {
mi := &file_lcommon_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *PublicVote) XXX_Merge(src proto.Message) {
// Deprecated: Use PublicVote.ProtoReflect.Descriptor instead. xxx_messageInfo_PublicVote.Merge(m, src)
func (*PublicVote) Descriptor() ([]byte, []int) { }
return file_lcommon_proto_rawDescGZIP(), []int{1} func (m *PublicVote) XXX_Size() int {
return xxx_messageInfo_PublicVote.Size(m)
}
func (m *PublicVote) XXX_DiscardUnknown() {
xxx_messageInfo_PublicVote.DiscardUnknown(m)
} }
func (x *PublicVote) GetPublicity() bool { var xxx_messageInfo_PublicVote proto.InternalMessageInfo
if x != nil {
return x.Publicity func (m *PublicVote) GetPublicity() bool {
if m != nil {
return m.Publicity
} }
return false return false
} }
func (x *PublicVote) GetTotalVotes() int32 { func (m *PublicVote) GetTotalVotes() int32 {
if x != nil { if m != nil {
return x.TotalVotes return m.TotalVotes
} }
return 0 return 0
} }
func (x *PublicVote) GetOpposeVotes() int32 { func (m *PublicVote) GetOpposeVotes() int32 {
if x != nil { if m != nil {
return x.OpposeVotes return m.OpposeVotes
} }
return 0 return 0
} }
func (x *PublicVote) GetPubPass() bool { func (m *PublicVote) GetPubPass() bool {
if x != nil { if m != nil {
return x.PubPass return m.PubPass
} }
return false return false
} }
type VotesRecord struct { type VotesRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VotesRecord) Reset() { func (m *VotesRecord) Reset() { *m = VotesRecord{} }
*x = VotesRecord{} func (m *VotesRecord) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VotesRecord) ProtoMessage() {}
mi := &file_lcommon_proto_msgTypes[2] func (*VotesRecord) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_d916a933dd8220ff, []int{2}
ms.StoreMessageInfo(mi)
}
} }
func (x *VotesRecord) String() string { func (m *VotesRecord) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VotesRecord.Unmarshal(m, b)
} }
func (m *VotesRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VotesRecord) ProtoMessage() {} return xxx_messageInfo_VotesRecord.Marshal(b, m, deterministic)
func (x *VotesRecord) ProtoReflect() protoreflect.Message {
mi := &file_lcommon_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VotesRecord) XXX_Merge(src proto.Message) {
// Deprecated: Use VotesRecord.ProtoReflect.Descriptor instead. xxx_messageInfo_VotesRecord.Merge(m, src)
func (*VotesRecord) Descriptor() ([]byte, []int) { }
return file_lcommon_proto_rawDescGZIP(), []int{2} func (m *VotesRecord) XXX_Size() int {
return xxx_messageInfo_VotesRecord.Size(m)
} }
func (m *VotesRecord) XXX_DiscardUnknown() {
xxx_messageInfo_VotesRecord.DiscardUnknown(m)
}
var xxx_messageInfo_VotesRecord proto.InternalMessageInfo
func (x *VotesRecord) GetAddress() []string { func (m *VotesRecord) GetAddress() []string {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return nil return nil
} }
type RuleConfig struct { type RuleConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 董事会成员赞成率,以%为单位,只保留整数部分 // 董事会成员赞成率,以%为单位,只保留整数部分
BoardApproveRatio int32 `protobuf:"varint,1,opt,name=boardApproveRatio,proto3" json:"boardApproveRatio,omitempty"` BoardApproveRatio int32 `protobuf:"varint,1,opt,name=boardApproveRatio,proto3" json:"boardApproveRatio,omitempty"`
// 全体持票人否决率 // 全体持票人否决率
...@@ -306,335 +252,188 @@ type RuleConfig struct { ...@@ -306,335 +252,188 @@ type RuleConfig struct {
PubAttendRatio int32 `protobuf:"varint,6,opt,name=pubAttendRatio,proto3" json:"pubAttendRatio,omitempty"` PubAttendRatio int32 `protobuf:"varint,6,opt,name=pubAttendRatio,proto3" json:"pubAttendRatio,omitempty"`
// 全体持票人赞成率 // 全体持票人赞成率
PubApproveRatio int32 `protobuf:"varint,7,opt,name=pubApproveRatio,proto3" json:"pubApproveRatio,omitempty"` PubApproveRatio int32 `protobuf:"varint,7,opt,name=pubApproveRatio,proto3" json:"pubApproveRatio,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RuleConfig) Reset() { func (m *RuleConfig) Reset() { *m = RuleConfig{} }
*x = RuleConfig{} func (m *RuleConfig) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RuleConfig) ProtoMessage() {}
mi := &file_lcommon_proto_msgTypes[3] func (*RuleConfig) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_d916a933dd8220ff, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *RuleConfig) String() string { func (m *RuleConfig) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RuleConfig.Unmarshal(m, b)
} }
func (m *RuleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RuleConfig) ProtoMessage() {} return xxx_messageInfo_RuleConfig.Marshal(b, m, deterministic)
func (x *RuleConfig) ProtoReflect() protoreflect.Message {
mi := &file_lcommon_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RuleConfig) XXX_Merge(src proto.Message) {
// Deprecated: Use RuleConfig.ProtoReflect.Descriptor instead. xxx_messageInfo_RuleConfig.Merge(m, src)
func (*RuleConfig) Descriptor() ([]byte, []int) { }
return file_lcommon_proto_rawDescGZIP(), []int{3} func (m *RuleConfig) XXX_Size() int {
return xxx_messageInfo_RuleConfig.Size(m)
} }
func (m *RuleConfig) XXX_DiscardUnknown() {
xxx_messageInfo_RuleConfig.DiscardUnknown(m)
}
var xxx_messageInfo_RuleConfig proto.InternalMessageInfo
func (x *RuleConfig) GetBoardApproveRatio() int32 { func (m *RuleConfig) GetBoardApproveRatio() int32 {
if x != nil { if m != nil {
return x.BoardApproveRatio return m.BoardApproveRatio
} }
return 0 return 0
} }
func (x *RuleConfig) GetPubOpposeRatio() int32 { func (m *RuleConfig) GetPubOpposeRatio() int32 {
if x != nil { if m != nil {
return x.PubOpposeRatio return m.PubOpposeRatio
} }
return 0 return 0
} }
func (x *RuleConfig) GetProposalAmount() int64 { func (m *RuleConfig) GetProposalAmount() int64 {
if x != nil { if m != nil {
return x.ProposalAmount return m.ProposalAmount
} }
return 0 return 0
} }
func (x *RuleConfig) GetLargeProjectAmount() int64 { func (m *RuleConfig) GetLargeProjectAmount() int64 {
if x != nil { if m != nil {
return x.LargeProjectAmount return m.LargeProjectAmount
} }
return 0 return 0
} }
func (x *RuleConfig) GetPublicPeriod() int32 { func (m *RuleConfig) GetPublicPeriod() int32 {
if x != nil { if m != nil {
return x.PublicPeriod return m.PublicPeriod
} }
return 0 return 0
} }
func (x *RuleConfig) GetPubAttendRatio() int32 { func (m *RuleConfig) GetPubAttendRatio() int32 {
if x != nil { if m != nil {
return x.PubAttendRatio return m.PubAttendRatio
} }
return 0 return 0
} }
func (x *RuleConfig) GetPubApproveRatio() int32 { func (m *RuleConfig) GetPubApproveRatio() int32 {
if x != nil { if m != nil {
return x.PubApproveRatio return m.PubApproveRatio
} }
return 0 return 0
} }
type ActiveBoard struct { type ActiveBoard struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Boards []string `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"` Boards []string `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"`
Revboards []string `protobuf:"bytes,2,rep,name=revboards,proto3" json:"revboards,omitempty"` Revboards []string `protobuf:"bytes,2,rep,name=revboards,proto3" json:"revboards,omitempty"`
Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
StartHeight int64 `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"` StartHeight int64 `protobuf:"varint,4,opt,name=startHeight,proto3" json:"startHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ActiveBoard) Reset() { func (m *ActiveBoard) Reset() { *m = ActiveBoard{} }
*x = ActiveBoard{} func (m *ActiveBoard) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ActiveBoard) ProtoMessage() {}
mi := &file_lcommon_proto_msgTypes[4] func (*ActiveBoard) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_d916a933dd8220ff, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *ActiveBoard) String() string { func (m *ActiveBoard) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ActiveBoard.Unmarshal(m, b)
} }
func (m *ActiveBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ActiveBoard) ProtoMessage() {} return xxx_messageInfo_ActiveBoard.Marshal(b, m, deterministic)
func (x *ActiveBoard) ProtoReflect() protoreflect.Message {
mi := &file_lcommon_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ActiveBoard) XXX_Merge(src proto.Message) {
// Deprecated: Use ActiveBoard.ProtoReflect.Descriptor instead. xxx_messageInfo_ActiveBoard.Merge(m, src)
func (*ActiveBoard) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{4}
} }
func (m *ActiveBoard) XXX_Size() int {
return xxx_messageInfo_ActiveBoard.Size(m)
}
func (m *ActiveBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ActiveBoard.DiscardUnknown(m)
}
var xxx_messageInfo_ActiveBoard proto.InternalMessageInfo
func (x *ActiveBoard) GetBoards() []string { func (m *ActiveBoard) GetBoards() []string {
if x != nil { if m != nil {
return x.Boards return m.Boards
} }
return nil return nil
} }
func (x *ActiveBoard) GetRevboards() []string { func (m *ActiveBoard) GetRevboards() []string {
if x != nil { if m != nil {
return x.Revboards return m.Revboards
} }
return nil return nil
} }
func (x *ActiveBoard) GetAmount() int64 { func (m *ActiveBoard) GetAmount() int64 {
if x != nil { if m != nil {
return x.Amount return m.Amount
} }
return 0 return 0
} }
func (x *ActiveBoard) GetStartHeight() int64 { func (m *ActiveBoard) GetStartHeight() int64 {
if x != nil { if m != nil {
return x.StartHeight return m.StartHeight
} }
return 0 return 0
} }
var File_lcommon_proto protoreflect.FileDescriptor func init() {
proto.RegisterEnum("types.AutonomyVoteOption", AutonomyVoteOption_name, AutonomyVoteOption_value)
var file_lcommon_proto_rawDesc = []byte{ proto.RegisterType((*VoteResult)(nil), "types.VoteResult")
0x0a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, proto.RegisterType((*PublicVote)(nil), "types.PublicVote")
0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0a, 0x56, 0x6f, 0x74, 0x65, 0x52, proto.RegisterType((*VotesRecord)(nil), "types.VotesRecord")
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x6f, proto.RegisterType((*RuleConfig)(nil), "types.RuleConfig")
0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, proto.RegisterType((*ActiveBoard)(nil), "types.ActiveBoard")
0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, }
0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x70, 0x70,
0x72, 0x6f, 0x76, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x70, func init() { proto.RegisterFile("lcommon.proto", fileDescriptor_d916a933dd8220ff) }
0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, var fileDescriptor_d916a933dd8220ff = []byte{
0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, // 456 bytes of a gzipped FileDescriptorProto
0x1c, 0x0a, 0x09, 0x71, 0x75, 0x69, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x8e, 0xd3, 0x40,
0x28, 0x05, 0x52, 0x09, 0x71, 0x75, 0x69, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x86, 0x01, 0x10, 0x85, 0xb1, 0xf3, 0x3b, 0x15, 0x7e, 0x42, 0x2d, 0x50, 0x16, 0x08, 0x45, 0x5e, 0x40, 0x84,
0x0a, 0x0a, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x58, 0x70, 0x02, 0xcf, 0x68, 0x24, 0x86, 0xc5, 0xd8, 0x34, 0x30, 0x0b, 0x76, 0x6d, 0xbb,
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x46, 0x8e, 0xab, 0xe9, 0x2e, 0x47, 0xca, 0x82, 0x2d, 0x27, 0xe1, 0x00, 0x1c, 0x11, 0x75,
0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0xdb, 0x21, 0x9e, 0x0c, 0x12, 0x3b, 0xd7, 0x57, 0xaf, 0xa5, 0xf7, 0x5e, 0xc9, 0xf0, 0xa0, 0xca,
0x74, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x69, 0xbb, 0xa5, 0x7a, 0xad, 0x0d, 0x31, 0xe1, 0x88, 0xf7, 0x5a, 0xd9, 0xe8, 0x57, 0x00, 0x70,
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x43, 0xac, 0x84, 0xb2, 0x4d, 0xc5, 0xf8, 0x0c, 0x80, 0x89, 0x65, 0xe5, 0x90, 0x5d, 0x04, 0xcb,
0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x60, 0x35, 0x12, 0x3d, 0x82, 0x11, 0xdc, 0x97, 0x5a, 0x1b, 0xda, 0xa9, 0x56, 0x11, 0x7a, 0xc5,
0x0b, 0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x2d, 0x86, 0x4b, 0x98, 0x91, 0xd6, 0x64, 0x3b, 0xc9, 0xc0, 0x4b, 0xfa, 0x08, 0x11, 0x86, 0x5a,
0x70, 0x75, 0x62, 0x50, 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x5a, 0xbb, 0x18, 0x2e, 0x83, 0xd5, 0x54, 0xf8, 0x6f, 0x7c, 0x0a, 0x67, 0xdf, 0x9b, 0x92, 0xdb,
0x75, 0x62, 0x50, 0x61, 0x73, 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x37, 0x23, 0xff, 0xe6, 0x08, 0xa2, 0x9f, 0x01, 0x40, 0xda, 0x64, 0x55, 0x99, 0xbb, 0xd9, 0x89,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0xb5, 0x9f, 0x4a, 0xde, 0x7b, 0x97, 0x53, 0x71, 0x04, 0x27, 0x21, 0xc2, 0x3b, 0x21, 0xfe, 0x6f,
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x70, 0x01, 0x13, 0xdd, 0x64, 0xe9, 0xd1, 0xe3, 0x61, 0x8c, 0x5e, 0xc0, 0xcc, 0x4b, 0x84, 0xca,
0xb0, 0x02, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0xc9, 0x14, 0x4e, 0x28, 0x8b, 0xc2, 0x28, 0xeb, 0xca, 0x1a, 0xac, 0xce, 0xc4, 0x61, 0x8c, 0x7e,
0x0a, 0x11, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x87, 0x00, 0xa2, 0xa9, 0xd4, 0x05, 0xd5, 0x5f, 0xca, 0x0d, 0xbe, 0x82, 0xc7, 0x19, 0x49, 0x53,
0x74, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x62, 0x6f, 0x61, 0x72, 0x64, 0xc4, 0x6d, 0x53, 0x42, 0x72, 0x49, 0x5d, 0xbf, 0x77, 0x17, 0xf8, 0x1c, 0x1e, 0xea, 0x26, 0x4b,
0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0xbc, 0xa3, 0x56, 0xda, 0xa6, 0x38, 0xa1, 0x5e, 0x67, 0x48, 0x93, 0x95, 0x55, 0xbc, 0xa5, 0xa6,
0x70, 0x75, 0x62, 0x4f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x02, 0x66, 0x1f, 0x66, 0x20, 0x4e, 0x28, 0xae, 0x01, 0x2b, 0x69, 0x36, 0x2a, 0x35, 0xf4, 0x4d, 0xe5,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x4f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x52, 0xdc, 0x69, 0x87, 0x5e, 0xfb, 0x8f, 0x8d, 0x3b, 0x73, 0x5b, 0x67, 0xaa, 0x4c, 0x49, 0x45, 0x77,
0x61, 0x74, 0x69, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x8f, 0x5b, 0xac, 0xf3, 0x18, 0x33, 0xab, 0xba, 0x68, 0x3d, 0x8e, 0xff, 0x7a, 0xec, 0x51, 0x5c,
0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72, 0xc1, 0x23, 0x47, 0xfa, 0xb9, 0x27, 0x5e, 0x78, 0x8a, 0xa3, 0x1f, 0x30, 0x8b, 0x73, 0x2e, 0x77,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0xea, 0xdc, 0x15, 0x82, 0x4f, 0x60, 0xec, 0x9b, 0x39, 0x54, 0xdb, 0x4d, 0xee, 0xf8, 0x46, 0xed,
0x6c, 0x61, 0x72, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0xba, 0x55, 0xe8, 0x57, 0x47, 0xe0, 0x5e, 0xc9, 0x7e, 0x15, 0xdd, 0xe4, 0x8e, 0x6e, 0x59, 0x1a,
0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x50, 0x7e, 0xab, 0xca, 0xcd, 0xd7, 0x43, 0xf6, 0x3e, 0x7a, 0x79, 0x01, 0x18, 0x37, 0x4c, 0x35, 0x6d,
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0xf7, 0xee, 0xc4, 0x89, 0xe6, 0x92, 0x6a, 0x04, 0x18, 0x5f, 0x27, 0xef, 0x92, 0xab, 0xeb, 0xf9,
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01, 0x3d, 0x9c, 0xc1, 0x24, 0x4e, 0x53, 0x91, 0xdc, 0x5c, 0xce, 0x03, 0xb7, 0x48, 0xd2, 0x34, 0xf9,
0x28, 0x05, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x70, 0x39, 0x0f, 0x71, 0x0a, 0xc3, 0xf7, 0x9f, 0xae, 0x3e, 0xce, 0x07, 0xe7, 0xf0, 0x79, 0xba,
0x12, 0x26, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x41, 0x74, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x74, 0x5e, 0xbf, 0xf6, 0xff, 0x56, 0x36, 0xf6, 0x7f, 0xda, 0x9b, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff,
0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x41, 0x74, 0x74, 0x45, 0x4b, 0xaa, 0xe7, 0x7a, 0x03, 0x00, 0x00,
0x65, 0x6e, 0x64, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x75, 0x62, 0x41,
0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28,
0x05, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x74,
0x69, 0x6f, 0x22, 0x7d, 0x0a, 0x0b, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0x6f, 0x61, 0x72,
0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x09, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76,
0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65,
0x76, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68,
0x74, 0x2a, 0x43, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56, 0x6f, 0x74,
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x4a, 0x4f, 0x49,
0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x50, 0x50, 0x52, 0x4f, 0x56, 0x45, 0x10, 0x01,
0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x50, 0x4f, 0x53, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
0x51, 0x55, 0x49, 0x54, 0x10, 0x03, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x74, 0x79, 0x70,
0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_lcommon_proto_rawDescOnce sync.Once
file_lcommon_proto_rawDescData = file_lcommon_proto_rawDesc
)
func file_lcommon_proto_rawDescGZIP() []byte {
file_lcommon_proto_rawDescOnce.Do(func() {
file_lcommon_proto_rawDescData = protoimpl.X.CompressGZIP(file_lcommon_proto_rawDescData)
})
return file_lcommon_proto_rawDescData
}
var file_lcommon_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_lcommon_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_lcommon_proto_goTypes = []interface{}{
(AutonomyVoteOption)(0), // 0: types.AutonomyVoteOption
(*VoteResult)(nil), // 1: types.VoteResult
(*PublicVote)(nil), // 2: types.PublicVote
(*VotesRecord)(nil), // 3: types.VotesRecord
(*RuleConfig)(nil), // 4: types.RuleConfig
(*ActiveBoard)(nil), // 5: types.ActiveBoard
}
var file_lcommon_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_lcommon_proto_init() }
func file_lcommon_proto_init() {
if File_lcommon_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_lcommon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteResult); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lcommon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PublicVote); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lcommon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VotesRecord); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lcommon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RuleConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lcommon_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ActiveBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_lcommon_proto_rawDesc,
NumEnums: 1,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_lcommon_proto_goTypes,
DependencyIndexes: file_lcommon_proto_depIdxs,
EnumInfos: file_lcommon_proto_enumTypes,
MessageInfos: file_lcommon_proto_msgTypes,
}.Build()
File_lcommon_proto = out.File
file_lcommon_proto_rawDesc = nil
file_lcommon_proto_goTypes = nil
file_lcommon_proto_depIdxs = nil
} }
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: project.proto // source: project.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalProject struct { // This is a compile-time assertion to ensure that this generated file
state protoimpl.MessageState // is compatible with the proto package it is being compiled against.
sizeCache protoimpl.SizeCache // A compilation error at this line likely means your copy of the
unknownFields protoimpl.UnknownFields // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AutonomyProposalProject struct {
PropProject *ProposalProject `protobuf:"bytes,1,opt,name=propProject,proto3" json:"propProject,omitempty"` PropProject *ProposalProject `protobuf:"bytes,1,opt,name=propProject,proto3" json:"propProject,omitempty"`
// 投票该提案的规则 // 投票该提案的规则
CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"`
...@@ -45,1048 +36,725 @@ type AutonomyProposalProject struct { ...@@ -45,1048 +36,725 @@ type AutonomyProposalProject struct {
Height int64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,8,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"`
ProposalID string `protobuf:"bytes,10,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,10,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *AutonomyProposalProject) Reset() { func (m *AutonomyProposalProject) Reset() { *m = AutonomyProposalProject{} }
*x = AutonomyProposalProject{} func (m *AutonomyProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*AutonomyProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[0] func (*AutonomyProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (x *AutonomyProposalProject) String() string { func (m *AutonomyProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_AutonomyProposalProject.Unmarshal(m, b)
} }
func (m *AutonomyProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*AutonomyProposalProject) ProtoMessage() {} return xxx_messageInfo_AutonomyProposalProject.Marshal(b, m, deterministic)
func (x *AutonomyProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *AutonomyProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use AutonomyProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_AutonomyProposalProject.Merge(m, src)
func (*AutonomyProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{0}
} }
func (m *AutonomyProposalProject) XXX_Size() int {
return xxx_messageInfo_AutonomyProposalProject.Size(m)
}
func (m *AutonomyProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_AutonomyProposalProject.DiscardUnknown(m)
}
var xxx_messageInfo_AutonomyProposalProject proto.InternalMessageInfo
func (x *AutonomyProposalProject) GetPropProject() *ProposalProject { func (m *AutonomyProposalProject) GetPropProject() *ProposalProject {
if x != nil { if m != nil {
return x.PropProject return m.PropProject
} }
return nil return nil
} }
func (x *AutonomyProposalProject) GetCurRule() *RuleConfig { func (m *AutonomyProposalProject) GetCurRule() *RuleConfig {
if x != nil { if m != nil {
return x.CurRule return m.CurRule
} }
return nil return nil
} }
func (x *AutonomyProposalProject) GetBoards() []string { func (m *AutonomyProposalProject) GetBoards() []string {
if x != nil { if m != nil {
return x.Boards return m.Boards
} }
return nil return nil
} }
func (x *AutonomyProposalProject) GetBoardVoteRes() *VoteResult { func (m *AutonomyProposalProject) GetBoardVoteRes() *VoteResult {
if x != nil { if m != nil {
return x.BoardVoteRes return m.BoardVoteRes
} }
return nil return nil
} }
func (x *AutonomyProposalProject) GetPubVote() *PublicVote { func (m *AutonomyProposalProject) GetPubVote() *PublicVote {
if x != nil { if m != nil {
return x.PubVote return m.PubVote
} }
return nil return nil
} }
func (x *AutonomyProposalProject) GetStatus() int32 { func (m *AutonomyProposalProject) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *AutonomyProposalProject) GetAddress() string { func (m *AutonomyProposalProject) GetAddress() string {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return "" return ""
} }
func (x *AutonomyProposalProject) GetHeight() int64 { func (m *AutonomyProposalProject) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *AutonomyProposalProject) GetIndex() int32 { func (m *AutonomyProposalProject) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *AutonomyProposalProject) GetProposalID() string { func (m *AutonomyProposalProject) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
type ProposalProject struct { type ProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 提案时间 // 提案时间
Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"`
// 项目相关 // 项目相关
FirstStage string `protobuf:"bytes,4,opt,name=firstStage,proto3" json:"firstStage,omitempty"` // 第一阶段提案项目hash FirstStage string `protobuf:"bytes,4,opt,name=firstStage,proto3" json:"firstStage,omitempty"`
LastStage string `protobuf:"bytes,5,opt,name=lastStage,proto3" json:"lastStage,omitempty"` // 上一阶段提案项目hash LastStage string `protobuf:"bytes,5,opt,name=lastStage,proto3" json:"lastStage,omitempty"`
Production string `protobuf:"bytes,6,opt,name=production,proto3" json:"production,omitempty"` // 项目地址 Production string `protobuf:"bytes,6,opt,name=production,proto3" json:"production,omitempty"`
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 项目阶段性简述 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
Contractor string `protobuf:"bytes,8,opt,name=contractor,proto3" json:"contractor,omitempty"` // 承包人 Contractor string `protobuf:"bytes,8,opt,name=contractor,proto3" json:"contractor,omitempty"`
Amount int64 `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"` // 项目经费 Amount int64 `protobuf:"varint,9,opt,name=amount,proto3" json:"amount,omitempty"`
AmountDetail string `protobuf:"bytes,10,opt,name=amountDetail,proto3" json:"amountDetail,omitempty"` // 经费细则 AmountDetail string `protobuf:"bytes,10,opt,name=amountDetail,proto3" json:"amountDetail,omitempty"`
// 支付相关 // 支付相关
ToAddr string `protobuf:"bytes,11,opt,name=toAddr,proto3" json:"toAddr,omitempty"` // 收款地址 ToAddr string `protobuf:"bytes,11,opt,name=toAddr,proto3" json:"toAddr,omitempty"`
// 投票相关 // 投票相关
StartBlockHeight int64 `protobuf:"varint,12,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 StartBlockHeight int64 `protobuf:"varint,12,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"`
EndBlockHeight int64 `protobuf:"varint,13,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 EndBlockHeight int64 `protobuf:"varint,13,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"`
RealEndBlockHeight int64 `protobuf:"varint,14,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,14,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"`
ProjectNeedBlockNum int32 `protobuf:"varint,15,opt,name=projectNeedBlockNum,proto3" json:"projectNeedBlockNum,omitempty"` // 以提案结束投票高度为准,需要项目需要消耗的区块数目所对应的时间 ProjectNeedBlockNum int32 `protobuf:"varint,15,opt,name=projectNeedBlockNum,proto3" json:"projectNeedBlockNum,omitempty"`
} XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
func (x *ProposalProject) Reset() { XXX_sizecache int32 `json:"-"`
*x = ProposalProject{}
if protoimpl.UnsafeEnabled {
mi := &file_project_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ProposalProject) String() string {
return protoimpl.X.MessageStringOf(x)
} }
func (m *ProposalProject) Reset() { *m = ProposalProject{} }
func (m *ProposalProject) String() string { return proto.CompactTextString(m) }
func (*ProposalProject) ProtoMessage() {} func (*ProposalProject) ProtoMessage() {}
func (*ProposalProject) Descriptor() ([]byte, []int) {
func (x *ProposalProject) ProtoReflect() protoreflect.Message { return fileDescriptor_8340e6318dfdfac2, []int{1}
mi := &file_project_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
// Deprecated: Use ProposalProject.ProtoReflect.Descriptor instead. func (m *ProposalProject) XXX_Unmarshal(b []byte) error {
func (*ProposalProject) Descriptor() ([]byte, []int) { return xxx_messageInfo_ProposalProject.Unmarshal(m, b)
return file_project_proto_rawDescGZIP(), []int{1} }
func (m *ProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProposalProject.Marshal(b, m, deterministic)
}
func (m *ProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProposalProject.Merge(m, src)
} }
func (m *ProposalProject) XXX_Size() int {
return xxx_messageInfo_ProposalProject.Size(m)
}
func (m *ProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalProject.DiscardUnknown(m)
}
var xxx_messageInfo_ProposalProject proto.InternalMessageInfo
func (x *ProposalProject) GetYear() int32 { func (m *ProposalProject) GetYear() int32 {
if x != nil { if m != nil {
return x.Year return m.Year
} }
return 0 return 0
} }
func (x *ProposalProject) GetMonth() int32 { func (m *ProposalProject) GetMonth() int32 {
if x != nil { if m != nil {
return x.Month return m.Month
} }
return 0 return 0
} }
func (x *ProposalProject) GetDay() int32 { func (m *ProposalProject) GetDay() int32 {
if x != nil { if m != nil {
return x.Day return m.Day
} }
return 0 return 0
} }
func (x *ProposalProject) GetFirstStage() string { func (m *ProposalProject) GetFirstStage() string {
if x != nil { if m != nil {
return x.FirstStage return m.FirstStage
} }
return "" return ""
} }
func (x *ProposalProject) GetLastStage() string { func (m *ProposalProject) GetLastStage() string {
if x != nil { if m != nil {
return x.LastStage return m.LastStage
} }
return "" return ""
} }
func (x *ProposalProject) GetProduction() string { func (m *ProposalProject) GetProduction() string {
if x != nil { if m != nil {
return x.Production return m.Production
} }
return "" return ""
} }
func (x *ProposalProject) GetDescription() string { func (m *ProposalProject) GetDescription() string {
if x != nil { if m != nil {
return x.Description return m.Description
} }
return "" return ""
} }
func (x *ProposalProject) GetContractor() string { func (m *ProposalProject) GetContractor() string {
if x != nil { if m != nil {
return x.Contractor return m.Contractor
} }
return "" return ""
} }
func (x *ProposalProject) GetAmount() int64 { func (m *ProposalProject) GetAmount() int64 {
if x != nil { if m != nil {
return x.Amount return m.Amount
} }
return 0 return 0
} }
func (x *ProposalProject) GetAmountDetail() string { func (m *ProposalProject) GetAmountDetail() string {
if x != nil { if m != nil {
return x.AmountDetail return m.AmountDetail
} }
return "" return ""
} }
func (x *ProposalProject) GetToAddr() string { func (m *ProposalProject) GetToAddr() string {
if x != nil { if m != nil {
return x.ToAddr return m.ToAddr
} }
return "" return ""
} }
func (x *ProposalProject) GetStartBlockHeight() int64 { func (m *ProposalProject) GetStartBlockHeight() int64 {
if x != nil { if m != nil {
return x.StartBlockHeight return m.StartBlockHeight
} }
return 0 return 0
} }
func (x *ProposalProject) GetEndBlockHeight() int64 { func (m *ProposalProject) GetEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.EndBlockHeight return m.EndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalProject) GetRealEndBlockHeight() int64 { func (m *ProposalProject) GetRealEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.RealEndBlockHeight return m.RealEndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalProject) GetProjectNeedBlockNum() int32 { func (m *ProposalProject) GetProjectNeedBlockNum() int32 {
if x != nil { if m != nil {
return x.ProjectNeedBlockNum return m.ProjectNeedBlockNum
} }
return 0 return 0
} }
type RevokeProposalProject struct { type RevokeProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RevokeProposalProject) Reset() { func (m *RevokeProposalProject) Reset() { *m = RevokeProposalProject{} }
*x = RevokeProposalProject{} func (m *RevokeProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RevokeProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[2] func (*RevokeProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{2}
ms.StoreMessageInfo(mi)
}
} }
func (x *RevokeProposalProject) String() string { func (m *RevokeProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RevokeProposalProject.Unmarshal(m, b)
} }
func (m *RevokeProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RevokeProposalProject) ProtoMessage() {} return xxx_messageInfo_RevokeProposalProject.Marshal(b, m, deterministic)
func (x *RevokeProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RevokeProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use RevokeProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_RevokeProposalProject.Merge(m, src)
func (*RevokeProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{2} func (m *RevokeProposalProject) XXX_Size() int {
return xxx_messageInfo_RevokeProposalProject.Size(m)
}
func (m *RevokeProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_RevokeProposalProject.DiscardUnknown(m)
} }
func (x *RevokeProposalProject) GetProposalID() string { var xxx_messageInfo_RevokeProposalProject proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *RevokeProposalProject) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
type VoteProposalProject struct { type VoteProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"`
Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,3,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VoteProposalProject) Reset() { func (m *VoteProposalProject) Reset() { *m = VoteProposalProject{} }
*x = VoteProposalProject{} func (m *VoteProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VoteProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[3] func (*VoteProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *VoteProposalProject) String() string { func (m *VoteProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VoteProposalProject.Unmarshal(m, b)
} }
func (m *VoteProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VoteProposalProject) ProtoMessage() {} return xxx_messageInfo_VoteProposalProject.Marshal(b, m, deterministic)
func (x *VoteProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VoteProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use VoteProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_VoteProposalProject.Merge(m, src)
func (*VoteProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{3} func (m *VoteProposalProject) XXX_Size() int {
return xxx_messageInfo_VoteProposalProject.Size(m)
}
func (m *VoteProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalProject.DiscardUnknown(m)
} }
func (x *VoteProposalProject) GetProposalID() string { var xxx_messageInfo_VoteProposalProject proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *VoteProposalProject) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
func (x *VoteProposalProject) GetApprove() bool { func (m *VoteProposalProject) GetApprove() bool {
if x != nil { if m != nil {
return x.Approve return m.Approve
} }
return false return false
} }
func (x *VoteProposalProject) GetVote() AutonomyVoteOption { func (m *VoteProposalProject) GetVote() AutonomyVoteOption {
if x != nil { if m != nil {
return x.Vote return m.Vote
} }
return AutonomyVoteOption_NOJOIN return AutonomyVoteOption_NOJOIN
} }
type PubVoteProposalProject struct { type PubVoteProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Oppose bool `protobuf:"varint,2,opt,name=oppose,proto3" json:"oppose,omitempty"` Oppose bool `protobuf:"varint,2,opt,name=oppose,proto3" json:"oppose,omitempty"`
OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *PubVoteProposalProject) Reset() { func (m *PubVoteProposalProject) Reset() { *m = PubVoteProposalProject{} }
*x = PubVoteProposalProject{} func (m *PubVoteProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*PubVoteProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[4] func (*PubVoteProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *PubVoteProposalProject) String() string { func (m *PubVoteProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_PubVoteProposalProject.Unmarshal(m, b)
} }
func (m *PubVoteProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*PubVoteProposalProject) ProtoMessage() {} return xxx_messageInfo_PubVoteProposalProject.Marshal(b, m, deterministic)
func (x *PubVoteProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *PubVoteProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use PubVoteProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_PubVoteProposalProject.Merge(m, src)
func (*PubVoteProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{4} func (m *PubVoteProposalProject) XXX_Size() int {
return xxx_messageInfo_PubVoteProposalProject.Size(m)
}
func (m *PubVoteProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_PubVoteProposalProject.DiscardUnknown(m)
} }
func (x *PubVoteProposalProject) GetProposalID() string { var xxx_messageInfo_PubVoteProposalProject proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *PubVoteProposalProject) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
func (x *PubVoteProposalProject) GetOppose() bool { func (m *PubVoteProposalProject) GetOppose() bool {
if x != nil { if m != nil {
return x.Oppose return m.Oppose
} }
return false return false
} }
func (x *PubVoteProposalProject) GetOriginAddr() []string { func (m *PubVoteProposalProject) GetOriginAddr() []string {
if x != nil { if m != nil {
return x.OriginAddr return m.OriginAddr
} }
return nil return nil
} }
type TerminateProposalProject struct { type TerminateProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *TerminateProposalProject) Reset() { func (m *TerminateProposalProject) Reset() { *m = TerminateProposalProject{} }
*x = TerminateProposalProject{} func (m *TerminateProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TerminateProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[5] func (*TerminateProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{5}
ms.StoreMessageInfo(mi)
}
} }
func (x *TerminateProposalProject) String() string { func (m *TerminateProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_TerminateProposalProject.Unmarshal(m, b)
} }
func (m *TerminateProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*TerminateProposalProject) ProtoMessage() {} return xxx_messageInfo_TerminateProposalProject.Marshal(b, m, deterministic)
func (x *TerminateProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *TerminateProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use TerminateProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_TerminateProposalProject.Merge(m, src)
func (*TerminateProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{5} func (m *TerminateProposalProject) XXX_Size() int {
return xxx_messageInfo_TerminateProposalProject.Size(m)
}
func (m *TerminateProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_TerminateProposalProject.DiscardUnknown(m)
} }
func (x *TerminateProposalProject) GetProposalID() string { var xxx_messageInfo_TerminateProposalProject proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *TerminateProposalProject) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
// receipt // receipt
type ReceiptProposalProject struct { type ReceiptProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prev *AutonomyProposalProject `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Prev *AutonomyProposalProject `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
Current *AutonomyProposalProject `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Current *AutonomyProposalProject `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReceiptProposalProject) Reset() { func (m *ReceiptProposalProject) Reset() { *m = ReceiptProposalProject{} }
*x = ReceiptProposalProject{} func (m *ReceiptProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[6] func (*ReceiptProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{6}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptProposalProject) String() string { func (m *ReceiptProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptProposalProject.Unmarshal(m, b)
} }
func (m *ReceiptProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptProposalProject) ProtoMessage() {} return xxx_messageInfo_ReceiptProposalProject.Marshal(b, m, deterministic)
func (x *ReceiptProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReceiptProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use ReceiptProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptProposalProject.Merge(m, src)
func (*ReceiptProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{6} func (m *ReceiptProposalProject) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalProject.Size(m)
}
func (m *ReceiptProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalProject.DiscardUnknown(m)
} }
func (x *ReceiptProposalProject) GetPrev() *AutonomyProposalProject { var xxx_messageInfo_ReceiptProposalProject proto.InternalMessageInfo
if x != nil {
return x.Prev func (m *ReceiptProposalProject) GetPrev() *AutonomyProposalProject {
if m != nil {
return m.Prev
} }
return nil return nil
} }
func (x *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject { func (m *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject {
if x != nil { if m != nil {
return x.Current return m.Current
} }
return nil return nil
} }
type LocalProposalProject struct { type LocalProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropPrj *AutonomyProposalProject `protobuf:"bytes,1,opt,name=propPrj,proto3" json:"propPrj,omitempty"` PropPrj *AutonomyProposalProject `protobuf:"bytes,1,opt,name=propPrj,proto3" json:"propPrj,omitempty"`
Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *LocalProposalProject) Reset() { func (m *LocalProposalProject) Reset() { *m = LocalProposalProject{} }
*x = LocalProposalProject{} func (m *LocalProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*LocalProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[7] func (*LocalProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{7}
ms.StoreMessageInfo(mi)
}
} }
func (x *LocalProposalProject) String() string { func (m *LocalProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_LocalProposalProject.Unmarshal(m, b)
} }
func (m *LocalProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*LocalProposalProject) ProtoMessage() {} return xxx_messageInfo_LocalProposalProject.Marshal(b, m, deterministic)
func (x *LocalProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *LocalProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use LocalProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_LocalProposalProject.Merge(m, src)
func (*LocalProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{7} func (m *LocalProposalProject) XXX_Size() int {
return xxx_messageInfo_LocalProposalProject.Size(m)
}
func (m *LocalProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_LocalProposalProject.DiscardUnknown(m)
} }
func (x *LocalProposalProject) GetPropPrj() *AutonomyProposalProject { var xxx_messageInfo_LocalProposalProject proto.InternalMessageInfo
if x != nil {
return x.PropPrj func (m *LocalProposalProject) GetPropPrj() *AutonomyProposalProject {
if m != nil {
return m.PropPrj
} }
return nil return nil
} }
func (x *LocalProposalProject) GetComments() []string { func (m *LocalProposalProject) GetComments() []string {
if x != nil { if m != nil {
return x.Comments return m.Comments
} }
return nil return nil
} }
// query // query
type ReqQueryProposalProject struct { type ReqQueryProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReqQueryProposalProject) Reset() { func (m *ReqQueryProposalProject) Reset() { *m = ReqQueryProposalProject{} }
*x = ReqQueryProposalProject{} func (m *ReqQueryProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReqQueryProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[8] func (*ReqQueryProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{8}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReqQueryProposalProject) String() string { func (m *ReqQueryProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReqQueryProposalProject.Unmarshal(m, b)
} }
func (m *ReqQueryProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReqQueryProposalProject) ProtoMessage() {} return xxx_messageInfo_ReqQueryProposalProject.Marshal(b, m, deterministic)
func (x *ReqQueryProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReqQueryProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use ReqQueryProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_ReqQueryProposalProject.Merge(m, src)
func (*ReqQueryProposalProject) Descriptor() ([]byte, []int) { }
return file_project_proto_rawDescGZIP(), []int{8} func (m *ReqQueryProposalProject) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalProject.Size(m)
}
func (m *ReqQueryProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalProject.DiscardUnknown(m)
} }
func (x *ReqQueryProposalProject) GetStatus() int32 { var xxx_messageInfo_ReqQueryProposalProject proto.InternalMessageInfo
if x != nil {
return x.Status func (m *ReqQueryProposalProject) GetStatus() int32 {
if m != nil {
return m.Status
} }
return 0 return 0
} }
func (x *ReqQueryProposalProject) GetAddr() string { func (m *ReqQueryProposalProject) GetAddr() string {
if x != nil { if m != nil {
return x.Addr return m.Addr
} }
return "" return ""
} }
func (x *ReqQueryProposalProject) GetCount() int32 { func (m *ReqQueryProposalProject) GetCount() int32 {
if x != nil { if m != nil {
return x.Count return m.Count
} }
return 0 return 0
} }
func (x *ReqQueryProposalProject) GetDirection() int32 { func (m *ReqQueryProposalProject) GetDirection() int32 {
if x != nil { if m != nil {
return x.Direction return m.Direction
} }
return 0 return 0
} }
func (x *ReqQueryProposalProject) GetHeight() int64 { func (m *ReqQueryProposalProject) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReqQueryProposalProject) GetIndex() int32 { func (m *ReqQueryProposalProject) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
type ReplyQueryProposalProject struct { type ReplyQueryProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropProjects []*AutonomyProposalProject `protobuf:"bytes,1,rep,name=propProjects,proto3" json:"propProjects,omitempty"` PropProjects []*AutonomyProposalProject `protobuf:"bytes,1,rep,name=propProjects,proto3" json:"propProjects,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReplyQueryProposalProject) Reset() { func (m *ReplyQueryProposalProject) Reset() { *m = ReplyQueryProposalProject{} }
*x = ReplyQueryProposalProject{} func (m *ReplyQueryProposalProject) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReplyQueryProposalProject) ProtoMessage() {}
mi := &file_project_proto_msgTypes[9] func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_8340e6318dfdfac2, []int{9}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReplyQueryProposalProject) String() string { func (m *ReplyQueryProposalProject) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReplyQueryProposalProject.Unmarshal(m, b)
} }
func (m *ReplyQueryProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReplyQueryProposalProject) ProtoMessage() {} return xxx_messageInfo_ReplyQueryProposalProject.Marshal(b, m, deterministic)
func (x *ReplyQueryProposalProject) ProtoReflect() protoreflect.Message {
mi := &file_project_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReplyQueryProposalProject) XXX_Merge(src proto.Message) {
// Deprecated: Use ReplyQueryProposalProject.ProtoReflect.Descriptor instead. xxx_messageInfo_ReplyQueryProposalProject.Merge(m, src)
func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{9}
} }
func (m *ReplyQueryProposalProject) XXX_Size() int {
func (x *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject { return xxx_messageInfo_ReplyQueryProposalProject.Size(m)
if x != nil { }
return x.PropProjects func (m *ReplyQueryProposalProject) XXX_DiscardUnknown() {
} xxx_messageInfo_ReplyQueryProposalProject.DiscardUnknown(m)
return nil
} }
var File_project_proto protoreflect.FileDescriptor var xxx_messageInfo_ReplyQueryProposalProject proto.InternalMessageInfo
var file_project_proto_rawDesc = []byte{
0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f,
0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
0x74, 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0b,
0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2b, 0x0a, 0x07, 0x63,
0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72,
0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73,
0x12, 0x35, 0x0a, 0x0c, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73,
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56,
0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x62, 0x6f, 0x61, 0x72, 0x64,
0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x56, 0x6f,
0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x07, 0x70, 0x75, 0x62,
0x56, 0x6f, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07,
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14,
0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69,
0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x49, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x49, 0x44, 0x22, 0xf7, 0x03, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05,
0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e,
0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x64, 0x61, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x74, 0x61,
0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53,
0x74, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x67,
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61,
0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69,
0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61,
0x63, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09,
0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c,
0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72,
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e,
0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12,
0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0x68, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e,
0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x13,
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x4e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65,
0x63, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x37,
0x0a, 0x15, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x7e, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e,
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x18,
0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x76, 0x6f, 0x74, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41,
0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56, 0x6f, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x22, 0x70, 0x0a, 0x16, 0x50, 0x75, 0x62, 0x56, 0x6f,
0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49,
0x44, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x08, 0x52, 0x06, 0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x69,
0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f,
0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x22, 0x3a, 0x0a, 0x18, 0x54, 0x65, 0x72,
0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70,
0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
0x12, 0x32, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x04,
0x70, 0x72, 0x65, 0x76, 0x12, 0x38, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75,
0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72,
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x6c,
0x0a, 0x14, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50,
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72,
0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6a,
0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xa7, 0x01, 0x0a,
0x17, 0x52, 0x65, 0x71, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
0x61, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67,
0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x5f, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x51,
0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a,
0x65, 0x63, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65,
0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x50,
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x74, 0x79,
0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_project_proto_rawDescOnce sync.Once
file_project_proto_rawDescData = file_project_proto_rawDesc
)
func file_project_proto_rawDescGZIP() []byte { func (m *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject {
file_project_proto_rawDescOnce.Do(func() { if m != nil {
file_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_project_proto_rawDescData) return m.PropProjects
})
return file_project_proto_rawDescData
}
var file_project_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_project_proto_goTypes = []interface{}{
(*AutonomyProposalProject)(nil), // 0: types.AutonomyProposalProject
(*ProposalProject)(nil), // 1: types.ProposalProject
(*RevokeProposalProject)(nil), // 2: types.RevokeProposalProject
(*VoteProposalProject)(nil), // 3: types.VoteProposalProject
(*PubVoteProposalProject)(nil), // 4: types.PubVoteProposalProject
(*TerminateProposalProject)(nil), // 5: types.TerminateProposalProject
(*ReceiptProposalProject)(nil), // 6: types.ReceiptProposalProject
(*LocalProposalProject)(nil), // 7: types.LocalProposalProject
(*ReqQueryProposalProject)(nil), // 8: types.ReqQueryProposalProject
(*ReplyQueryProposalProject)(nil), // 9: types.ReplyQueryProposalProject
(*RuleConfig)(nil), // 10: types.RuleConfig
(*VoteResult)(nil), // 11: types.VoteResult
(*PublicVote)(nil), // 12: types.PublicVote
(AutonomyVoteOption)(0), // 13: types.AutonomyVoteOption
}
var file_project_proto_depIdxs = []int32{
1, // 0: types.AutonomyProposalProject.propProject:type_name -> types.ProposalProject
10, // 1: types.AutonomyProposalProject.curRule:type_name -> types.RuleConfig
11, // 2: types.AutonomyProposalProject.boardVoteRes:type_name -> types.VoteResult
12, // 3: types.AutonomyProposalProject.pubVote:type_name -> types.PublicVote
13, // 4: types.VoteProposalProject.vote:type_name -> types.AutonomyVoteOption
0, // 5: types.ReceiptProposalProject.prev:type_name -> types.AutonomyProposalProject
0, // 6: types.ReceiptProposalProject.current:type_name -> types.AutonomyProposalProject
0, // 7: types.LocalProposalProject.propPrj:type_name -> types.AutonomyProposalProject
0, // 8: types.ReplyQueryProposalProject.propProjects:type_name -> types.AutonomyProposalProject
9, // [9:9] is the sub-list for method output_type
9, // [9:9] is the sub-list for method input_type
9, // [9:9] is the sub-list for extension type_name
9, // [9:9] is the sub-list for extension extendee
0, // [0:9] is the sub-list for field type_name
}
func init() { file_project_proto_init() }
func file_project_proto_init() {
if File_project_proto != nil {
return
}
file_lcommon_proto_init()
if !protoimpl.UnsafeEnabled {
file_project_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutonomyProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RevokeProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PubVoteProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TerminateProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
} }
file_project_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocalProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil return nil
} }
}
file_project_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { func init() {
switch v := v.(*ReqQueryProposalProject); i { proto.RegisterType((*AutonomyProposalProject)(nil), "types.AutonomyProposalProject")
case 0: proto.RegisterType((*ProposalProject)(nil), "types.ProposalProject")
return &v.state proto.RegisterType((*RevokeProposalProject)(nil), "types.RevokeProposalProject")
case 1: proto.RegisterType((*VoteProposalProject)(nil), "types.VoteProposalProject")
return &v.sizeCache proto.RegisterType((*PubVoteProposalProject)(nil), "types.PubVoteProposalProject")
case 2: proto.RegisterType((*TerminateProposalProject)(nil), "types.TerminateProposalProject")
return &v.unknownFields proto.RegisterType((*ReceiptProposalProject)(nil), "types.ReceiptProposalProject")
default: proto.RegisterType((*LocalProposalProject)(nil), "types.LocalProposalProject")
return nil proto.RegisterType((*ReqQueryProposalProject)(nil), "types.ReqQueryProposalProject")
} proto.RegisterType((*ReplyQueryProposalProject)(nil), "types.ReplyQueryProposalProject")
} }
file_project_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalProject); i { func init() { proto.RegisterFile("project.proto", fileDescriptor_8340e6318dfdfac2) }
case 0:
return &v.state var fileDescriptor_8340e6318dfdfac2 = []byte{
case 1: // 748 bytes of a gzipped FileDescriptorProto
return &v.sizeCache 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4d, 0x6f, 0xe3, 0x36,
case 2: 0x10, 0x85, 0x22, 0xcb, 0x1f, 0x63, 0xe7, 0xa3, 0x4c, 0xea, 0x30, 0x41, 0x11, 0x18, 0x3a, 0x14,
return &v.unknownFields 0x46, 0x8b, 0xba, 0x45, 0x8a, 0xa2, 0x41, 0x6f, 0x49, 0x53, 0xa0, 0x05, 0x8a, 0xd4, 0x65, 0x8b,
default: 0x1e, 0x7a, 0x29, 0x64, 0x89, 0x71, 0x94, 0xc8, 0x22, 0x4b, 0x51, 0xc6, 0xfa, 0xb2, 0xc7, 0xfd,
return nil 0x2b, 0xfb, 0x13, 0xf7, 0xb2, 0x87, 0x05, 0x87, 0xd4, 0x46, 0x52, 0x0c, 0x6c, 0x72, 0xe3, 0x7b,
} 0xf3, 0x66, 0x38, 0x1a, 0x92, 0x4f, 0xb0, 0x2b, 0x95, 0xb8, 0xe7, 0xb1, 0x9e, 0x49, 0x25, 0xb4,
} 0x20, 0x81, 0xde, 0x48, 0x5e, 0x9c, 0xee, 0x66, 0xb1, 0x58, 0xad, 0x44, 0x6e, 0xd9, 0xf0, 0xfd,
} 0x0e, 0x1c, 0x5f, 0x96, 0x5a, 0xe4, 0x62, 0xb5, 0x99, 0x2b, 0x21, 0x45, 0x11, 0x65, 0x73, 0x9b,
type x struct{} 0x47, 0x2e, 0x60, 0x28, 0x95, 0x90, 0x0e, 0x52, 0x6f, 0xe2, 0x4d, 0x87, 0xe7, 0xe3, 0x19, 0xd6,
out := protoimpl.TypeBuilder{ 0x99, 0xb5, 0xc4, 0xac, 0x2e, 0x25, 0x5f, 0x43, 0x2f, 0x2e, 0x15, 0x2b, 0x33, 0x4e, 0x77, 0x30,
File: protoimpl.DescBuilder{ 0xeb, 0x33, 0x97, 0x65, 0xa8, 0x9f, 0x45, 0x7e, 0x9b, 0x2e, 0x59, 0xa5, 0x20, 0x63, 0xe8, 0x2e,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x44, 0xa4, 0x92, 0x82, 0xfa, 0x13, 0x7f, 0x3a, 0x60, 0x0e, 0x91, 0x1f, 0x60, 0x84, 0xab, 0x7f,
RawDescriptor: file_project_proto_rawDesc, 0x84, 0xe6, 0x8c, 0x17, 0xb4, 0xd3, 0xa8, 0xe4, 0xd8, 0x32, 0xd3, 0xac, 0x21, 0x33, 0x7b, 0xcb,
NumEnums: 0, 0x72, 0x61, 0x10, 0x0d, 0x1a, 0x19, 0xf3, 0x72, 0x91, 0xa5, 0x31, 0xca, 0x2a, 0x85, 0xd9, 0xbb,
NumMessages: 10, 0xd0, 0x91, 0x2e, 0x0b, 0xda, 0x9d, 0x78, 0xd3, 0x80, 0x39, 0x44, 0x28, 0xf4, 0xa2, 0x24, 0x51,
NumExtensions: 0, 0xbc, 0x28, 0x68, 0x6f, 0xe2, 0x4d, 0x07, 0xac, 0x82, 0x26, 0xe3, 0x8e, 0xa7, 0xcb, 0x3b, 0x4d,
NumServices: 0, 0xfb, 0x13, 0x6f, 0xea, 0x33, 0x87, 0xc8, 0x11, 0x04, 0x69, 0x9e, 0xf0, 0x57, 0x74, 0x80, 0x85,
}, 0x2c, 0x20, 0x67, 0x00, 0xd2, 0x0d, 0xea, 0xb7, 0x6b, 0x0a, 0x58, 0xaa, 0xc6, 0x84, 0xef, 0x7c,
GoTypes: file_project_proto_goTypes, 0xd8, 0x6f, 0x8f, 0x9d, 0x40, 0x67, 0xc3, 0x23, 0x85, 0xf3, 0x0e, 0x18, 0xae, 0x4d, 0xf5, 0x95,
DependencyIndexes: file_project_proto_depIdxs, 0xc8, 0xf5, 0x1d, 0x8e, 0x33, 0x60, 0x16, 0x90, 0x03, 0xf0, 0x93, 0x68, 0x43, 0x7d, 0xe4, 0xcc,
MessageInfos: file_project_proto_msgTypes, 0xd2, 0xec, 0x77, 0x9b, 0xaa, 0x42, 0xff, 0xa5, 0xa3, 0x25, 0xc7, 0x89, 0x0d, 0x58, 0x8d, 0x21,
}.Build() 0x5f, 0xc0, 0x20, 0x8b, 0xaa, 0x70, 0x80, 0xe1, 0x47, 0xc2, 0x75, 0x9b, 0x94, 0xb1, 0x4e, 0x45,
File_project_proto = out.File 0x8e, 0x13, 0xb1, 0xdd, 0x3a, 0x86, 0x4c, 0x60, 0x98, 0xf0, 0x22, 0x56, 0xa9, 0x44, 0x81, 0x9d,
file_project_proto_rawDesc = nil 0x4c, 0x9d, 0x32, 0x15, 0x62, 0x91, 0x6b, 0x15, 0xc5, 0x5a, 0x28, 0x9c, 0xd0, 0x80, 0xd5, 0x18,
file_project_proto_goTypes = nil 0x33, 0xbd, 0x68, 0x25, 0xca, 0x5c, 0xe3, 0x98, 0x7c, 0xe6, 0x10, 0x09, 0x61, 0x64, 0x57, 0xd7,
file_project_proto_depIdxs = nil 0x5c, 0x47, 0x69, 0xe6, 0x26, 0xd5, 0xe0, 0x4c, 0xae, 0x16, 0x97, 0x49, 0xa2, 0xe8, 0x10, 0xa3,
0x0e, 0x91, 0xaf, 0xe0, 0xa0, 0xd0, 0x91, 0xd2, 0x57, 0x99, 0x88, 0x1f, 0x7e, 0xb5, 0x67, 0x33,
0xc2, 0xea, 0x4f, 0x78, 0xf2, 0x25, 0xec, 0xf1, 0x3c, 0xa9, 0x2b, 0x77, 0x51, 0xd9, 0x62, 0xc9,
0x0c, 0x88, 0xe2, 0x51, 0xf6, 0x4b, 0x53, 0xbb, 0x87, 0xda, 0x2d, 0x11, 0xf2, 0x1d, 0x1c, 0xba,
0xd7, 0x76, 0xc3, 0xb9, 0x8d, 0xdc, 0x94, 0x2b, 0xba, 0x8f, 0x27, 0xb3, 0x2d, 0x14, 0xfe, 0x08,
0x9f, 0x33, 0xbe, 0x16, 0x0f, 0xbc, 0x7d, 0xfc, 0xcd, 0x2b, 0xe3, 0x3d, 0xb9, 0x32, 0xaf, 0xe1,
0xd0, 0x5c, 0xdd, 0x17, 0xa6, 0xe1, 0x8d, 0x96, 0x52, 0x89, 0xb5, 0x7d, 0x92, 0x7d, 0x56, 0x41,
0xf2, 0x0d, 0x74, 0xd6, 0xe6, 0xb5, 0x98, 0x6b, 0xb4, 0x77, 0x7e, 0xe2, 0x5e, 0x4b, 0x65, 0x0a,
0x66, 0xaf, 0x3f, 0xf0, 0x70, 0x19, 0xca, 0x42, 0x09, 0xe3, 0xb9, 0x7d, 0x3d, 0x2f, 0x6d, 0x61,
0x0c, 0x5d, 0x21, 0xa5, 0x28, 0xaa, 0x0e, 0x1c, 0x32, 0x79, 0x42, 0xa5, 0xcb, 0x34, 0xc7, 0xc3,
0xb5, 0x26, 0x50, 0x63, 0xc2, 0x9f, 0x80, 0xfe, 0xcd, 0xd5, 0x2a, 0xcd, 0xa3, 0x17, 0xef, 0x19,
0xbe, 0xf1, 0x60, 0xcc, 0x78, 0xcc, 0x53, 0xa9, 0xdb, 0xa9, 0xe7, 0xd0, 0x91, 0x8a, 0xaf, 0x9d,
0xaf, 0x9d, 0xb5, 0xbe, 0xbb, 0xed, 0x6f, 0xa8, 0x25, 0x17, 0x68, 0x6c, 0x8a, 0xe7, 0xda, 0x19,
0xdb, 0xa7, 0xd2, 0x2a, 0x79, 0x98, 0xc1, 0xd1, 0xef, 0x22, 0xc6, 0x40, 0xcb, 0x64, 0x7b, 0xd6,
0x39, 0xef, 0x9f, 0xd9, 0x48, 0x25, 0x27, 0xa7, 0xd0, 0x37, 0x56, 0xce, 0x73, 0x5d, 0xd0, 0x1d,
0x1c, 0xda, 0x47, 0x1c, 0xbe, 0xf5, 0xe0, 0x98, 0xf1, 0xff, 0xff, 0x2c, 0xb9, 0x7a, 0x62, 0xeb,
0x8f, 0x9e, 0xe7, 0x35, 0x3c, 0x8f, 0x40, 0xc7, 0x98, 0x1c, 0x7e, 0xd8, 0x80, 0xe1, 0xda, 0xf8,
0x4e, 0x8c, 0xcf, 0xd5, 0x7a, 0x8c, 0x05, 0xc6, 0x45, 0x92, 0x54, 0x71, 0x6b, 0x13, 0x1d, 0x8c,
0x3c, 0x12, 0x35, 0x87, 0x0c, 0xb6, 0x3b, 0x64, 0xb7, 0xe6, 0x90, 0xe1, 0x7f, 0x70, 0xc2, 0xb8,
0xcc, 0x36, 0x5b, 0x5b, 0xbd, 0x82, 0x51, 0xed, 0xb7, 0x62, 0x1a, 0xf6, 0x9f, 0x31, 0xa1, 0x46,
0xce, 0x15, 0xfc, 0xdb, 0x9f, 0xcd, 0xbe, 0xc5, 0x8c, 0x45, 0x17, 0x7f, 0x7a, 0xdf, 0x7f, 0x08,
0x00, 0x00, 0xff, 0xff, 0x1a, 0x0c, 0x1d, 0xfe, 0x1b, 0x07, 0x00, 0x00,
} }
// Copyright Fuzamei Corp. 2018 All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: rule.proto // source: rule.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync" proto "github.com/golang/protobuf/proto"
math "math"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalRule struct { // This is a compile-time assertion to ensure that this generated file
state protoimpl.MessageState // is compatible with the proto package it is being compiled against.
sizeCache protoimpl.SizeCache // A compilation error at this line likely means your copy of the
unknownFields protoimpl.UnknownFields // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type AutonomyProposalRule struct {
PropRule *ProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"` PropRule *ProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"`
CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"` CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule,proto3" json:"curRule,omitempty"`
// 全体持票人投票结果 // 全体持票人投票结果
...@@ -40,101 +31,93 @@ type AutonomyProposalRule struct { ...@@ -40,101 +31,93 @@ type AutonomyProposalRule struct {
Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"`
ProposalID string `protobuf:"bytes,8,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,8,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *AutonomyProposalRule) Reset() { func (m *AutonomyProposalRule) Reset() { *m = AutonomyProposalRule{} }
*x = AutonomyProposalRule{} func (m *AutonomyProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*AutonomyProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[0] func (*AutonomyProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (x *AutonomyProposalRule) String() string { func (m *AutonomyProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_AutonomyProposalRule.Unmarshal(m, b)
} }
func (m *AutonomyProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*AutonomyProposalRule) ProtoMessage() {} return xxx_messageInfo_AutonomyProposalRule.Marshal(b, m, deterministic)
func (x *AutonomyProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *AutonomyProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use AutonomyProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_AutonomyProposalRule.Merge(m, src)
func (*AutonomyProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{0} func (m *AutonomyProposalRule) XXX_Size() int {
return xxx_messageInfo_AutonomyProposalRule.Size(m)
}
func (m *AutonomyProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_AutonomyProposalRule.DiscardUnknown(m)
} }
func (x *AutonomyProposalRule) GetPropRule() *ProposalRule { var xxx_messageInfo_AutonomyProposalRule proto.InternalMessageInfo
if x != nil {
return x.PropRule func (m *AutonomyProposalRule) GetPropRule() *ProposalRule {
if m != nil {
return m.PropRule
} }
return nil return nil
} }
func (x *AutonomyProposalRule) GetCurRule() *RuleConfig { func (m *AutonomyProposalRule) GetCurRule() *RuleConfig {
if x != nil { if m != nil {
return x.CurRule return m.CurRule
} }
return nil return nil
} }
func (x *AutonomyProposalRule) GetVoteResult() *VoteResult { func (m *AutonomyProposalRule) GetVoteResult() *VoteResult {
if x != nil { if m != nil {
return x.VoteResult return m.VoteResult
} }
return nil return nil
} }
func (x *AutonomyProposalRule) GetStatus() int32 { func (m *AutonomyProposalRule) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *AutonomyProposalRule) GetAddress() string { func (m *AutonomyProposalRule) GetAddress() string {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return "" return ""
} }
func (x *AutonomyProposalRule) GetHeight() int64 { func (m *AutonomyProposalRule) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *AutonomyProposalRule) GetIndex() int32 { func (m *AutonomyProposalRule) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *AutonomyProposalRule) GetProposalID() string { func (m *AutonomyProposalRule) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
type ProposalRule struct { type ProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 提案时间 // 提案时间
Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"`
Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"`
...@@ -142,1287 +125,860 @@ type ProposalRule struct { ...@@ -142,1287 +125,860 @@ type ProposalRule struct {
// 规则可修改项,如果某项不修改则置为-1 // 规则可修改项,如果某项不修改则置为-1
RuleCfg *RuleConfig `protobuf:"bytes,4,opt,name=ruleCfg,proto3" json:"ruleCfg,omitempty"` RuleCfg *RuleConfig `protobuf:"bytes,4,opt,name=ruleCfg,proto3" json:"ruleCfg,omitempty"`
// 投票相关 // 投票相关
StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"` // 提案开始投票高度 StartBlockHeight int64 `protobuf:"varint,5,opt,name=startBlockHeight,proto3" json:"startBlockHeight,omitempty"`
EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"` // 提案结束投票高度 EndBlockHeight int64 `protobuf:"varint,6,opt,name=endBlockHeight,proto3" json:"endBlockHeight,omitempty"`
RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"` // 实际提案结束投票高度 RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight,proto3" json:"realEndBlockHeight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ProposalRule) Reset() { func (m *ProposalRule) Reset() { *m = ProposalRule{} }
*x = ProposalRule{} func (m *ProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[1] func (*ProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{1}
ms.StoreMessageInfo(mi)
}
} }
func (x *ProposalRule) String() string { func (m *ProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ProposalRule.Unmarshal(m, b)
} }
func (m *ProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ProposalRule) ProtoMessage() {} return xxx_messageInfo_ProposalRule.Marshal(b, m, deterministic)
func (x *ProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use ProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_ProposalRule.Merge(m, src)
func (*ProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{1} func (m *ProposalRule) XXX_Size() int {
return xxx_messageInfo_ProposalRule.Size(m)
}
func (m *ProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalRule.DiscardUnknown(m)
} }
func (x *ProposalRule) GetYear() int32 { var xxx_messageInfo_ProposalRule proto.InternalMessageInfo
if x != nil {
return x.Year func (m *ProposalRule) GetYear() int32 {
if m != nil {
return m.Year
} }
return 0 return 0
} }
func (x *ProposalRule) GetMonth() int32 { func (m *ProposalRule) GetMonth() int32 {
if x != nil { if m != nil {
return x.Month return m.Month
} }
return 0 return 0
} }
func (x *ProposalRule) GetDay() int32 { func (m *ProposalRule) GetDay() int32 {
if x != nil { if m != nil {
return x.Day return m.Day
} }
return 0 return 0
} }
func (x *ProposalRule) GetRuleCfg() *RuleConfig { func (m *ProposalRule) GetRuleCfg() *RuleConfig {
if x != nil { if m != nil {
return x.RuleCfg return m.RuleCfg
} }
return nil return nil
} }
func (x *ProposalRule) GetStartBlockHeight() int64 { func (m *ProposalRule) GetStartBlockHeight() int64 {
if x != nil { if m != nil {
return x.StartBlockHeight return m.StartBlockHeight
} }
return 0 return 0
} }
func (x *ProposalRule) GetEndBlockHeight() int64 { func (m *ProposalRule) GetEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.EndBlockHeight return m.EndBlockHeight
} }
return 0 return 0
} }
func (x *ProposalRule) GetRealEndBlockHeight() int64 { func (m *ProposalRule) GetRealEndBlockHeight() int64 {
if x != nil { if m != nil {
return x.RealEndBlockHeight return m.RealEndBlockHeight
} }
return 0 return 0
} }
type RevokeProposalRule struct { type RevokeProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RevokeProposalRule) Reset() { func (m *RevokeProposalRule) Reset() { *m = RevokeProposalRule{} }
*x = RevokeProposalRule{} func (m *RevokeProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RevokeProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[2] func (*RevokeProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{2}
ms.StoreMessageInfo(mi)
}
} }
func (x *RevokeProposalRule) String() string { func (m *RevokeProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RevokeProposalRule.Unmarshal(m, b)
} }
func (m *RevokeProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RevokeProposalRule) ProtoMessage() {} return xxx_messageInfo_RevokeProposalRule.Marshal(b, m, deterministic)
func (x *RevokeProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RevokeProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use RevokeProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_RevokeProposalRule.Merge(m, src)
func (*RevokeProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{2} func (m *RevokeProposalRule) XXX_Size() int {
return xxx_messageInfo_RevokeProposalRule.Size(m)
} }
func (m *RevokeProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_RevokeProposalRule.DiscardUnknown(m)
}
var xxx_messageInfo_RevokeProposalRule proto.InternalMessageInfo
func (x *RevokeProposalRule) GetProposalID() string { func (m *RevokeProposalRule) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
type VoteProposalRule struct { type VoteProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"` Approve bool `protobuf:"varint,2,opt,name=approve,proto3" json:"approve,omitempty"`
OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"` OriginAddr []string `protobuf:"bytes,3,rep,name=originAddr,proto3" json:"originAddr,omitempty"`
Vote AutonomyVoteOption `protobuf:"varint,4,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"` Vote AutonomyVoteOption `protobuf:"varint,4,opt,name=vote,proto3,enum=types.AutonomyVoteOption" json:"vote,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *VoteProposalRule) Reset() { func (m *VoteProposalRule) Reset() { *m = VoteProposalRule{} }
*x = VoteProposalRule{} func (m *VoteProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*VoteProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[3] func (*VoteProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *VoteProposalRule) String() string { func (m *VoteProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_VoteProposalRule.Unmarshal(m, b)
} }
func (m *VoteProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*VoteProposalRule) ProtoMessage() {} return xxx_messageInfo_VoteProposalRule.Marshal(b, m, deterministic)
func (x *VoteProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *VoteProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use VoteProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_VoteProposalRule.Merge(m, src)
func (*VoteProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{3} func (m *VoteProposalRule) XXX_Size() int {
return xxx_messageInfo_VoteProposalRule.Size(m)
} }
func (m *VoteProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalRule.DiscardUnknown(m)
}
var xxx_messageInfo_VoteProposalRule proto.InternalMessageInfo
func (x *VoteProposalRule) GetProposalID() string { func (m *VoteProposalRule) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
func (x *VoteProposalRule) GetApprove() bool { func (m *VoteProposalRule) GetApprove() bool {
if x != nil { if m != nil {
return x.Approve return m.Approve
} }
return false return false
} }
func (x *VoteProposalRule) GetOriginAddr() []string { func (m *VoteProposalRule) GetOriginAddr() []string {
if x != nil { if m != nil {
return x.OriginAddr return m.OriginAddr
} }
return nil return nil
} }
func (x *VoteProposalRule) GetVote() AutonomyVoteOption { func (m *VoteProposalRule) GetVote() AutonomyVoteOption {
if x != nil { if m != nil {
return x.Vote return m.Vote
} }
return AutonomyVoteOption_NOJOIN return AutonomyVoteOption_NOJOIN
} }
type TerminateProposalRule struct { type TerminateProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *TerminateProposalRule) Reset() { func (m *TerminateProposalRule) Reset() { *m = TerminateProposalRule{} }
*x = TerminateProposalRule{} func (m *TerminateProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TerminateProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[4] func (*TerminateProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *TerminateProposalRule) String() string { func (m *TerminateProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_TerminateProposalRule.Unmarshal(m, b)
} }
func (m *TerminateProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*TerminateProposalRule) ProtoMessage() {} return xxx_messageInfo_TerminateProposalRule.Marshal(b, m, deterministic)
func (x *TerminateProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *TerminateProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use TerminateProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_TerminateProposalRule.Merge(m, src)
func (*TerminateProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{4} func (m *TerminateProposalRule) XXX_Size() int {
return xxx_messageInfo_TerminateProposalRule.Size(m)
}
func (m *TerminateProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_TerminateProposalRule.DiscardUnknown(m)
} }
func (x *TerminateProposalRule) GetProposalID() string { var xxx_messageInfo_TerminateProposalRule proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *TerminateProposalRule) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
// receipt // receipt
type ReceiptProposalRule struct { type ReceiptProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prev *AutonomyProposalRule `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Prev *AutonomyProposalRule `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"`
Current *AutonomyProposalRule `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Current *AutonomyProposalRule `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReceiptProposalRule) Reset() { func (m *ReceiptProposalRule) Reset() { *m = ReceiptProposalRule{} }
*x = ReceiptProposalRule{} func (m *ReceiptProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[5] func (*ReceiptProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{5}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptProposalRule) String() string { func (m *ReceiptProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptProposalRule.Unmarshal(m, b)
} }
func (m *ReceiptProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptProposalRule) ProtoMessage() {} return xxx_messageInfo_ReceiptProposalRule.Marshal(b, m, deterministic)
func (x *ReceiptProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReceiptProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use ReceiptProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptProposalRule.Merge(m, src)
func (*ReceiptProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{5} func (m *ReceiptProposalRule) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalRule.Size(m)
}
func (m *ReceiptProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalRule.DiscardUnknown(m)
} }
func (x *ReceiptProposalRule) GetPrev() *AutonomyProposalRule { var xxx_messageInfo_ReceiptProposalRule proto.InternalMessageInfo
if x != nil {
return x.Prev func (m *ReceiptProposalRule) GetPrev() *AutonomyProposalRule {
if m != nil {
return m.Prev
} }
return nil return nil
} }
func (x *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule { func (m *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule {
if x != nil { if m != nil {
return x.Current return m.Current
} }
return nil return nil
} }
type LocalProposalRule struct { type LocalProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropRule *AutonomyProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"` PropRule *AutonomyProposalRule `protobuf:"bytes,1,opt,name=propRule,proto3" json:"propRule,omitempty"`
Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments,proto3" json:"comments,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *LocalProposalRule) Reset() { func (m *LocalProposalRule) Reset() { *m = LocalProposalRule{} }
*x = LocalProposalRule{} func (m *LocalProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*LocalProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[6] func (*LocalProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{6}
ms.StoreMessageInfo(mi)
}
} }
func (x *LocalProposalRule) String() string { func (m *LocalProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_LocalProposalRule.Unmarshal(m, b)
} }
func (m *LocalProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*LocalProposalRule) ProtoMessage() {} return xxx_messageInfo_LocalProposalRule.Marshal(b, m, deterministic)
func (x *LocalProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *LocalProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use LocalProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_LocalProposalRule.Merge(m, src)
func (*LocalProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{6}
} }
func (m *LocalProposalRule) XXX_Size() int {
return xxx_messageInfo_LocalProposalRule.Size(m)
}
func (m *LocalProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_LocalProposalRule.DiscardUnknown(m)
}
var xxx_messageInfo_LocalProposalRule proto.InternalMessageInfo
func (x *LocalProposalRule) GetPropRule() *AutonomyProposalRule { func (m *LocalProposalRule) GetPropRule() *AutonomyProposalRule {
if x != nil { if m != nil {
return x.PropRule return m.PropRule
} }
return nil return nil
} }
func (x *LocalProposalRule) GetComments() []string { func (m *LocalProposalRule) GetComments() []string {
if x != nil { if m != nil {
return x.Comments return m.Comments
} }
return nil return nil
} }
// query // query
type ReqQueryProposalRule struct { type ReqQueryProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"` Direction int32 `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReqQueryProposalRule) Reset() { func (m *ReqQueryProposalRule) Reset() { *m = ReqQueryProposalRule{} }
*x = ReqQueryProposalRule{} func (m *ReqQueryProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReqQueryProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[7] func (*ReqQueryProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{7}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReqQueryProposalRule) String() string { func (m *ReqQueryProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReqQueryProposalRule.Unmarshal(m, b)
} }
func (m *ReqQueryProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReqQueryProposalRule) ProtoMessage() {} return xxx_messageInfo_ReqQueryProposalRule.Marshal(b, m, deterministic)
func (x *ReqQueryProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReqQueryProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use ReqQueryProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_ReqQueryProposalRule.Merge(m, src)
func (*ReqQueryProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{7} func (m *ReqQueryProposalRule) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalRule.Size(m)
} }
func (m *ReqQueryProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalRule.DiscardUnknown(m)
}
var xxx_messageInfo_ReqQueryProposalRule proto.InternalMessageInfo
func (x *ReqQueryProposalRule) GetStatus() int32 { func (m *ReqQueryProposalRule) GetStatus() int32 {
if x != nil { if m != nil {
return x.Status return m.Status
} }
return 0 return 0
} }
func (x *ReqQueryProposalRule) GetAddr() string { func (m *ReqQueryProposalRule) GetAddr() string {
if x != nil { if m != nil {
return x.Addr return m.Addr
} }
return "" return ""
} }
func (x *ReqQueryProposalRule) GetCount() int32 { func (m *ReqQueryProposalRule) GetCount() int32 {
if x != nil { if m != nil {
return x.Count return m.Count
} }
return 0 return 0
} }
func (x *ReqQueryProposalRule) GetDirection() int32 { func (m *ReqQueryProposalRule) GetDirection() int32 {
if x != nil { if m != nil {
return x.Direction return m.Direction
} }
return 0 return 0
} }
func (x *ReqQueryProposalRule) GetHeight() int64 { func (m *ReqQueryProposalRule) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReqQueryProposalRule) GetIndex() int32 { func (m *ReqQueryProposalRule) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
type ReplyQueryProposalRule struct { type ReplyQueryProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PropRules []*AutonomyProposalRule `protobuf:"bytes,1,rep,name=propRules,proto3" json:"propRules,omitempty"` PropRules []*AutonomyProposalRule `protobuf:"bytes,1,rep,name=propRules,proto3" json:"propRules,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReplyQueryProposalRule) Reset() { func (m *ReplyQueryProposalRule) Reset() { *m = ReplyQueryProposalRule{} }
*x = ReplyQueryProposalRule{} func (m *ReplyQueryProposalRule) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReplyQueryProposalRule) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[8] func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{8}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReplyQueryProposalRule) String() string { func (m *ReplyQueryProposalRule) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReplyQueryProposalRule.Unmarshal(m, b)
} }
func (m *ReplyQueryProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReplyQueryProposalRule) ProtoMessage() {} return xxx_messageInfo_ReplyQueryProposalRule.Marshal(b, m, deterministic)
func (x *ReplyQueryProposalRule) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReplyQueryProposalRule) XXX_Merge(src proto.Message) {
// Deprecated: Use ReplyQueryProposalRule.ProtoReflect.Descriptor instead. xxx_messageInfo_ReplyQueryProposalRule.Merge(m, src)
func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{8} func (m *ReplyQueryProposalRule) XXX_Size() int {
return xxx_messageInfo_ReplyQueryProposalRule.Size(m)
} }
func (m *ReplyQueryProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyQueryProposalRule.DiscardUnknown(m)
}
var xxx_messageInfo_ReplyQueryProposalRule proto.InternalMessageInfo
func (x *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule { func (m *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule {
if x != nil { if m != nil {
return x.PropRules return m.PropRules
} }
return nil return nil
} }
// TransferFund action // TransferFund action
type TransferFund struct { type TransferFund struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *TransferFund) Reset() { func (m *TransferFund) Reset() { *m = TransferFund{} }
*x = TransferFund{} func (m *TransferFund) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TransferFund) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[9] func (*TransferFund) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{9}
ms.StoreMessageInfo(mi)
}
} }
func (x *TransferFund) String() string { func (m *TransferFund) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_TransferFund.Unmarshal(m, b)
} }
func (m *TransferFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*TransferFund) ProtoMessage() {} return xxx_messageInfo_TransferFund.Marshal(b, m, deterministic)
func (x *TransferFund) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *TransferFund) XXX_Merge(src proto.Message) {
// Deprecated: Use TransferFund.ProtoReflect.Descriptor instead. xxx_messageInfo_TransferFund.Merge(m, src)
func (*TransferFund) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{9} func (m *TransferFund) XXX_Size() int {
return xxx_messageInfo_TransferFund.Size(m)
}
func (m *TransferFund) XXX_DiscardUnknown() {
xxx_messageInfo_TransferFund.DiscardUnknown(m)
} }
func (x *TransferFund) GetAmount() int64 { var xxx_messageInfo_TransferFund proto.InternalMessageInfo
if x != nil {
return x.Amount func (m *TransferFund) GetAmount() int64 {
if m != nil {
return m.Amount
} }
return 0 return 0
} }
func (x *TransferFund) GetNote() string { func (m *TransferFund) GetNote() string {
if x != nil { if m != nil {
return x.Note return m.Note
} }
return "" return ""
} }
// Comment action // Comment action
type Comment struct { type Comment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
RepHash string `protobuf:"bytes,2,opt,name=repHash,proto3" json:"repHash,omitempty"` RepHash string `protobuf:"bytes,2,opt,name=repHash,proto3" json:"repHash,omitempty"`
Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *Comment) Reset() { func (m *Comment) Reset() { *m = Comment{} }
*x = Comment{} func (m *Comment) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*Comment) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[10] func (*Comment) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{10}
ms.StoreMessageInfo(mi)
}
} }
func (x *Comment) String() string { func (m *Comment) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_Comment.Unmarshal(m, b)
} }
func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*Comment) ProtoMessage() {} return xxx_messageInfo_Comment.Marshal(b, m, deterministic)
func (x *Comment) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *Comment) XXX_Merge(src proto.Message) {
// Deprecated: Use Comment.ProtoReflect.Descriptor instead. xxx_messageInfo_Comment.Merge(m, src)
func (*Comment) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{10} func (m *Comment) XXX_Size() int {
return xxx_messageInfo_Comment.Size(m)
}
func (m *Comment) XXX_DiscardUnknown() {
xxx_messageInfo_Comment.DiscardUnknown(m)
} }
func (x *Comment) GetProposalID() string { var xxx_messageInfo_Comment proto.InternalMessageInfo
if x != nil {
return x.ProposalID func (m *Comment) GetProposalID() string {
if m != nil {
return m.ProposalID
} }
return "" return ""
} }
func (x *Comment) GetRepHash() string { func (m *Comment) GetRepHash() string {
if x != nil { if m != nil {
return x.RepHash return m.RepHash
} }
return "" return ""
} }
func (x *Comment) GetComment() string { func (m *Comment) GetComment() string {
if x != nil { if m != nil {
return x.Comment return m.Comment
} }
return "" return ""
} }
type ReceiptProposalComment struct { type ReceiptProposalComment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cmt *Comment `protobuf:"bytes,1,opt,name=cmt,proto3" json:"cmt,omitempty"` Cmt *Comment `protobuf:"bytes,1,opt,name=cmt,proto3" json:"cmt,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReceiptProposalComment) Reset() { func (m *ReceiptProposalComment) Reset() { *m = ReceiptProposalComment{} }
*x = ReceiptProposalComment{} func (m *ReceiptProposalComment) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptProposalComment) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[11] func (*ReceiptProposalComment) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{11}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptProposalComment) String() string { func (m *ReceiptProposalComment) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptProposalComment.Unmarshal(m, b)
} }
func (m *ReceiptProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptProposalComment) ProtoMessage() {} return xxx_messageInfo_ReceiptProposalComment.Marshal(b, m, deterministic)
func (x *ReceiptProposalComment) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReceiptProposalComment) XXX_Merge(src proto.Message) {
// Deprecated: Use ReceiptProposalComment.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptProposalComment.Merge(m, src)
func (*ReceiptProposalComment) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{11} func (m *ReceiptProposalComment) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalComment.Size(m)
} }
func (m *ReceiptProposalComment) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalComment.DiscardUnknown(m)
}
var xxx_messageInfo_ReceiptProposalComment proto.InternalMessageInfo
func (x *ReceiptProposalComment) GetCmt() *Comment { func (m *ReceiptProposalComment) GetCmt() *Comment {
if x != nil { if m != nil {
return x.Cmt return m.Cmt
} }
return nil return nil
} }
func (x *ReceiptProposalComment) GetHeight() int64 { func (m *ReceiptProposalComment) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReceiptProposalComment) GetIndex() int32 { func (m *ReceiptProposalComment) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *ReceiptProposalComment) GetHash() string { func (m *ReceiptProposalComment) GetHash() string {
if x != nil { if m != nil {
return x.Hash return m.Hash
} }
return "" return ""
} }
// query // query
type ReqQueryProposalComment struct { type ReqQueryProposalComment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"` ProposalID string `protobuf:"bytes,1,opt,name=proposalID,proto3" json:"proposalID,omitempty"`
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"` Direction int32 `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"`
Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReqQueryProposalComment) Reset() { func (m *ReqQueryProposalComment) Reset() { *m = ReqQueryProposalComment{} }
*x = ReqQueryProposalComment{} func (m *ReqQueryProposalComment) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReqQueryProposalComment) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[12] func (*ReqQueryProposalComment) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{12}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReqQueryProposalComment) String() string { func (m *ReqQueryProposalComment) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReqQueryProposalComment.Unmarshal(m, b)
} }
func (m *ReqQueryProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReqQueryProposalComment) ProtoMessage() {} return xxx_messageInfo_ReqQueryProposalComment.Marshal(b, m, deterministic)
func (x *ReqQueryProposalComment) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReqQueryProposalComment) XXX_Merge(src proto.Message) {
// Deprecated: Use ReqQueryProposalComment.ProtoReflect.Descriptor instead. xxx_messageInfo_ReqQueryProposalComment.Merge(m, src)
func (*ReqQueryProposalComment) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{12} func (m *ReqQueryProposalComment) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalComment.Size(m)
} }
func (m *ReqQueryProposalComment) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalComment.DiscardUnknown(m)
}
var xxx_messageInfo_ReqQueryProposalComment proto.InternalMessageInfo
func (x *ReqQueryProposalComment) GetProposalID() string { func (m *ReqQueryProposalComment) GetProposalID() string {
if x != nil { if m != nil {
return x.ProposalID return m.ProposalID
} }
return "" return ""
} }
func (x *ReqQueryProposalComment) GetCount() int32 { func (m *ReqQueryProposalComment) GetCount() int32 {
if x != nil { if m != nil {
return x.Count return m.Count
} }
return 0 return 0
} }
func (x *ReqQueryProposalComment) GetDirection() int32 { func (m *ReqQueryProposalComment) GetDirection() int32 {
if x != nil { if m != nil {
return x.Direction return m.Direction
} }
return 0 return 0
} }
func (x *ReqQueryProposalComment) GetHeight() int64 { func (m *ReqQueryProposalComment) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *ReqQueryProposalComment) GetIndex() int32 { func (m *ReqQueryProposalComment) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
type RelationCmt struct { type RelationCmt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RepHash string `protobuf:"bytes,1,opt,name=repHash,proto3" json:"repHash,omitempty"` RepHash string `protobuf:"bytes,1,opt,name=repHash,proto3" json:"repHash,omitempty"`
Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *RelationCmt) Reset() { func (m *RelationCmt) Reset() { *m = RelationCmt{} }
*x = RelationCmt{} func (m *RelationCmt) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*RelationCmt) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[13] func (*RelationCmt) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{13}
ms.StoreMessageInfo(mi)
}
} }
func (x *RelationCmt) String() string { func (m *RelationCmt) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_RelationCmt.Unmarshal(m, b)
} }
func (m *RelationCmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*RelationCmt) ProtoMessage() {} return xxx_messageInfo_RelationCmt.Marshal(b, m, deterministic)
func (x *RelationCmt) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *RelationCmt) XXX_Merge(src proto.Message) {
// Deprecated: Use RelationCmt.ProtoReflect.Descriptor instead. xxx_messageInfo_RelationCmt.Merge(m, src)
func (*RelationCmt) Descriptor() ([]byte, []int) { }
return file_rule_proto_rawDescGZIP(), []int{13} func (m *RelationCmt) XXX_Size() int {
return xxx_messageInfo_RelationCmt.Size(m)
} }
func (m *RelationCmt) XXX_DiscardUnknown() {
xxx_messageInfo_RelationCmt.DiscardUnknown(m)
}
var xxx_messageInfo_RelationCmt proto.InternalMessageInfo
func (x *RelationCmt) GetRepHash() string { func (m *RelationCmt) GetRepHash() string {
if x != nil { if m != nil {
return x.RepHash return m.RepHash
} }
return "" return ""
} }
func (x *RelationCmt) GetComment() string { func (m *RelationCmt) GetComment() string {
if x != nil { if m != nil {
return x.Comment return m.Comment
} }
return "" return ""
} }
func (x *RelationCmt) GetHeight() int64 { func (m *RelationCmt) GetHeight() int64 {
if x != nil { if m != nil {
return x.Height return m.Height
} }
return 0 return 0
} }
func (x *RelationCmt) GetIndex() int32 { func (m *RelationCmt) GetIndex() int32 {
if x != nil { if m != nil {
return x.Index return m.Index
} }
return 0 return 0
} }
func (x *RelationCmt) GetHash() string { func (m *RelationCmt) GetHash() string {
if x != nil { if m != nil {
return x.Hash return m.Hash
} }
return "" return ""
} }
type ReplyQueryProposalComment struct { type ReplyQueryProposalComment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RltCmt []*RelationCmt `protobuf:"bytes,1,rep,name=rltCmt,proto3" json:"rltCmt,omitempty"` RltCmt []*RelationCmt `protobuf:"bytes,1,rep,name=rltCmt,proto3" json:"rltCmt,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *ReplyQueryProposalComment) Reset() { func (m *ReplyQueryProposalComment) Reset() { *m = ReplyQueryProposalComment{} }
*x = ReplyQueryProposalComment{} func (m *ReplyQueryProposalComment) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReplyQueryProposalComment) ProtoMessage() {}
mi := &file_rule_proto_msgTypes[14] func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_07e8e0fa338d4596, []int{14}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReplyQueryProposalComment) String() string { func (m *ReplyQueryProposalComment) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReplyQueryProposalComment.Unmarshal(m, b)
} }
func (m *ReplyQueryProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReplyQueryProposalComment) ProtoMessage() {} return xxx_messageInfo_ReplyQueryProposalComment.Marshal(b, m, deterministic)
func (x *ReplyQueryProposalComment) ProtoReflect() protoreflect.Message {
mi := &file_rule_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *ReplyQueryProposalComment) XXX_Merge(src proto.Message) {
// Deprecated: Use ReplyQueryProposalComment.ProtoReflect.Descriptor instead. xxx_messageInfo_ReplyQueryProposalComment.Merge(m, src)
func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{14}
} }
func (m *ReplyQueryProposalComment) XXX_Size() int {
func (x *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt { return xxx_messageInfo_ReplyQueryProposalComment.Size(m)
if x != nil { }
return x.RltCmt func (m *ReplyQueryProposalComment) XXX_DiscardUnknown() {
} xxx_messageInfo_ReplyQueryProposalComment.DiscardUnknown(m)
return nil
} }
var File_rule_proto protoreflect.FileDescriptor var xxx_messageInfo_ReplyQueryProposalComment proto.InternalMessageInfo
var file_rule_proto_rawDesc = []byte{
0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x74, 0x79,
0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70,
0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75,
0x6c, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2b, 0x0a, 0x07,
0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x52, 0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x76, 0x6f, 0x74,
0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16,
0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a,
0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xfb, 0x01, 0x0a,
0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61,
0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03,
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x75, 0x6c,
0x65, 0x43, 0x66, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70,
0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x72,
0x75, 0x6c, 0x65, 0x43, 0x66, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65,
0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74,
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42,
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x34, 0x0a, 0x12, 0x52, 0x65,
0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65,
0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x22, 0x9b, 0x01, 0x0a, 0x10, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12,
0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20,
0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12,
0x2d, 0x0a, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56, 0x6f,
0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x22, 0x37,
0x0a, 0x15, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x7d, 0x0a, 0x13, 0x52, 0x65, 0x63, 0x65, 0x69,
0x70, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2f,
0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12,
0x35, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d,
0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x63,
0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x68, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50,
0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x70,
0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70,
0x52, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
0x22, 0xa4, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x71, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64,
0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69,
0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x53, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6c, 0x79,
0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c,
0x65, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74,
0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c,
0x65, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x3a, 0x0a, 0x0c,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06,
0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d,
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x5d, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x6d,
0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49,
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x7c, 0x0a, 0x16, 0x52, 0x65, 0x63, 0x65, 0x69,
0x70, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
0x74, 0x12, 0x20, 0x0a, 0x03, 0x63, 0x6d, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x03,
0x63, 0x6d, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69,
0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65,
0x78, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x9b, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x71, 0x51, 0x75, 0x65,
0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49,
0x44, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a,
0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e,
0x64, 0x65, 0x78, 0x22, 0x83, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x43, 0x6d, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x70, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x47, 0x0a, 0x19, 0x52, 0x65, 0x70,
0x6c, 0x79, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6c, 0x74, 0x43, 0x6d, 0x74,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52,
0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6d, 0x74, 0x52, 0x06, 0x72, 0x6c, 0x74, 0x43,
0x6d, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_rule_proto_rawDescOnce sync.Once
file_rule_proto_rawDescData = file_rule_proto_rawDesc
)
func file_rule_proto_rawDescGZIP() []byte { func (m *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt {
file_rule_proto_rawDescOnce.Do(func() { if m != nil {
file_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_rule_proto_rawDescData) return m.RltCmt
})
return file_rule_proto_rawDescData
}
var file_rule_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_rule_proto_goTypes = []interface{}{
(*AutonomyProposalRule)(nil), // 0: types.AutonomyProposalRule
(*ProposalRule)(nil), // 1: types.ProposalRule
(*RevokeProposalRule)(nil), // 2: types.RevokeProposalRule
(*VoteProposalRule)(nil), // 3: types.VoteProposalRule
(*TerminateProposalRule)(nil), // 4: types.TerminateProposalRule
(*ReceiptProposalRule)(nil), // 5: types.ReceiptProposalRule
(*LocalProposalRule)(nil), // 6: types.LocalProposalRule
(*ReqQueryProposalRule)(nil), // 7: types.ReqQueryProposalRule
(*ReplyQueryProposalRule)(nil), // 8: types.ReplyQueryProposalRule
(*TransferFund)(nil), // 9: types.TransferFund
(*Comment)(nil), // 10: types.Comment
(*ReceiptProposalComment)(nil), // 11: types.ReceiptProposalComment
(*ReqQueryProposalComment)(nil), // 12: types.ReqQueryProposalComment
(*RelationCmt)(nil), // 13: types.RelationCmt
(*ReplyQueryProposalComment)(nil), // 14: types.ReplyQueryProposalComment
(*RuleConfig)(nil), // 15: types.RuleConfig
(*VoteResult)(nil), // 16: types.VoteResult
(AutonomyVoteOption)(0), // 17: types.AutonomyVoteOption
}
var file_rule_proto_depIdxs = []int32{
1, // 0: types.AutonomyProposalRule.propRule:type_name -> types.ProposalRule
15, // 1: types.AutonomyProposalRule.curRule:type_name -> types.RuleConfig
16, // 2: types.AutonomyProposalRule.voteResult:type_name -> types.VoteResult
15, // 3: types.ProposalRule.ruleCfg:type_name -> types.RuleConfig
17, // 4: types.VoteProposalRule.vote:type_name -> types.AutonomyVoteOption
0, // 5: types.ReceiptProposalRule.prev:type_name -> types.AutonomyProposalRule
0, // 6: types.ReceiptProposalRule.current:type_name -> types.AutonomyProposalRule
0, // 7: types.LocalProposalRule.propRule:type_name -> types.AutonomyProposalRule
0, // 8: types.ReplyQueryProposalRule.propRules:type_name -> types.AutonomyProposalRule
10, // 9: types.ReceiptProposalComment.cmt:type_name -> types.Comment
13, // 10: types.ReplyQueryProposalComment.rltCmt:type_name -> types.RelationCmt
11, // [11:11] is the sub-list for method output_type
11, // [11:11] is the sub-list for method input_type
11, // [11:11] is the sub-list for extension type_name
11, // [11:11] is the sub-list for extension extendee
0, // [0:11] is the sub-list for field type_name
}
func init() { file_rule_proto_init() }
func file_rule_proto_init() {
if File_rule_proto != nil {
return
}
file_lcommon_proto_init()
if !protoimpl.UnsafeEnabled {
file_rule_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AutonomyProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RevokeProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TerminateProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
} }
file_rule_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil return nil
} }
}
file_rule_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { func init() {
switch v := v.(*LocalProposalRule); i { proto.RegisterType((*AutonomyProposalRule)(nil), "types.AutonomyProposalRule")
case 0: proto.RegisterType((*ProposalRule)(nil), "types.ProposalRule")
return &v.state proto.RegisterType((*RevokeProposalRule)(nil), "types.RevokeProposalRule")
case 1: proto.RegisterType((*VoteProposalRule)(nil), "types.VoteProposalRule")
return &v.sizeCache proto.RegisterType((*TerminateProposalRule)(nil), "types.TerminateProposalRule")
case 2: proto.RegisterType((*ReceiptProposalRule)(nil), "types.ReceiptProposalRule")
return &v.unknownFields proto.RegisterType((*LocalProposalRule)(nil), "types.LocalProposalRule")
default: proto.RegisterType((*ReqQueryProposalRule)(nil), "types.ReqQueryProposalRule")
return nil proto.RegisterType((*ReplyQueryProposalRule)(nil), "types.ReplyQueryProposalRule")
} proto.RegisterType((*TransferFund)(nil), "types.TransferFund")
} proto.RegisterType((*Comment)(nil), "types.Comment")
file_rule_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { proto.RegisterType((*ReceiptProposalComment)(nil), "types.ReceiptProposalComment")
switch v := v.(*ReqQueryProposalRule); i { proto.RegisterType((*ReqQueryProposalComment)(nil), "types.ReqQueryProposalComment")
case 0: proto.RegisterType((*RelationCmt)(nil), "types.RelationCmt")
return &v.state proto.RegisterType((*ReplyQueryProposalComment)(nil), "types.ReplyQueryProposalComment")
case 1: }
return &v.sizeCache
case 2: func init() { proto.RegisterFile("rule.proto", fileDescriptor_07e8e0fa338d4596) }
return &v.unknownFields
default: var fileDescriptor_07e8e0fa338d4596 = []byte{
return nil // 763 bytes of a gzipped FileDescriptorProto
} 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcf, 0x6f, 0xd3, 0x30,
} 0x18, 0x55, 0x9a, 0xa4, 0x3f, 0xbe, 0x8d, 0x69, 0xf3, 0xc6, 0xc8, 0x06, 0x42, 0x55, 0x0e, 0xa8,
file_rule_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 0x1a, 0xa2, 0x13, 0x03, 0x34, 0xc1, 0x6d, 0x2b, 0x3f, 0x86, 0x84, 0x04, 0x98, 0x89, 0x03, 0x12,
switch v := v.(*ReplyQueryProposalRule); i { 0x87, 0x90, 0x78, 0x6d, 0xb4, 0x24, 0x0e, 0x8e, 0x53, 0x51, 0x09, 0x4e, 0xfc, 0x19, 0x5c, 0x91,
case 0: 0xf8, 0x23, 0xb9, 0xa0, 0xcf, 0x71, 0xda, 0xa4, 0xed, 0xc6, 0x76, 0xf3, 0x67, 0x3f, 0xdb, 0xdf,
return &v.state 0x7b, 0x7e, 0x2f, 0x01, 0x10, 0x79, 0xc4, 0xfa, 0xa9, 0xe0, 0x92, 0x13, 0x5b, 0x4e, 0x52, 0x96,
case 1: 0xed, 0xde, 0x88, 0x7c, 0x1e, 0xc7, 0x3c, 0x29, 0x66, 0xdd, 0x3f, 0x0d, 0xd8, 0x3a, 0xca, 0x25,
return &v.sizeCache 0x4f, 0x78, 0x3c, 0x79, 0x27, 0x78, 0xca, 0x33, 0x2f, 0xa2, 0x79, 0xc4, 0xc8, 0x3e, 0xb4, 0x53,
case 2: 0xc1, 0x53, 0x1c, 0x3b, 0x46, 0xd7, 0xe8, 0xad, 0x1c, 0x6c, 0xf6, 0xd5, 0x09, 0xfd, 0x2a, 0x8c,
return &v.unknownFields 0x4e, 0x41, 0xe4, 0x3e, 0xb4, 0xfc, 0x5c, 0x28, 0x7c, 0x43, 0xe1, 0x37, 0x34, 0x1e, 0xa7, 0x06,
default: 0x3c, 0x39, 0x0b, 0x87, 0xb4, 0x44, 0x90, 0x87, 0x00, 0x63, 0x2e, 0x19, 0x65, 0x59, 0x1e, 0x49,
return nil 0xc7, 0xac, 0xe1, 0x3f, 0x4e, 0x17, 0x68, 0x05, 0x44, 0xb6, 0xa1, 0x99, 0x49, 0x4f, 0xe6, 0x99,
} 0x63, 0x75, 0x8d, 0x9e, 0x4d, 0x75, 0x45, 0x1c, 0x68, 0x79, 0x41, 0x20, 0x58, 0x96, 0x39, 0x76,
} 0xd7, 0xe8, 0x75, 0x68, 0x59, 0xe2, 0x8e, 0x11, 0x0b, 0x87, 0x23, 0xe9, 0x34, 0xbb, 0x46, 0xcf,
file_rule_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 0xa4, 0xba, 0x22, 0x5b, 0x60, 0x87, 0x49, 0xc0, 0xbe, 0x39, 0x2d, 0x75, 0x50, 0x51, 0x90, 0xbb,
switch v := v.(*TransferFund); i { 0x00, 0xa9, 0x66, 0xf6, 0xfa, 0xb9, 0xd3, 0x56, 0x47, 0x55, 0x66, 0xdc, 0xbf, 0x06, 0xac, 0xd6,
case 0: 0x14, 0x22, 0x60, 0x4d, 0x98, 0x27, 0x94, 0x3a, 0x36, 0x55, 0x63, 0x3c, 0x3a, 0xe6, 0x89, 0x1c,
return &v.state 0x29, 0x09, 0x6c, 0x5a, 0x14, 0x64, 0x1d, 0xcc, 0xc0, 0x9b, 0x28, 0x9a, 0x36, 0xc5, 0x21, 0x8a,
case 1: 0x85, 0x4f, 0x33, 0x38, 0x1b, 0x2a, 0x36, 0xcb, 0xc5, 0xd2, 0x08, 0xb2, 0x07, 0xeb, 0x99, 0xf4,
return &v.sizeCache 0x84, 0x3c, 0x8e, 0xb8, 0x7f, 0x7e, 0x52, 0x30, 0xb2, 0x15, 0xa3, 0x85, 0x79, 0x72, 0x0f, 0xd6,
case 2: 0x58, 0x12, 0x54, 0x91, 0x05, 0xf7, 0xb9, 0x59, 0xd2, 0x07, 0x22, 0x98, 0x17, 0xbd, 0xa8, 0x63,
return &v.unknownFields 0x5b, 0x0a, 0xbb, 0x64, 0xc5, 0x7d, 0x0c, 0x84, 0xb2, 0x31, 0x3f, 0x67, 0x35, 0x09, 0xea, 0x9a,
default: 0x19, 0x0b, 0x9a, 0xfd, 0x32, 0x60, 0x1d, 0x9f, 0xf3, 0x3a, 0x9b, 0xd4, 0x83, 0xa6, 0xa9, 0xe0,
return nil 0xe3, 0xc2, 0x48, 0x6d, 0x5a, 0x96, 0xb8, 0x93, 0x8b, 0x70, 0x18, 0x26, 0x47, 0x41, 0x20, 0x1c,
} 0xb3, 0x6b, 0xe2, 0xce, 0xd9, 0x0c, 0x79, 0x00, 0x16, 0x1a, 0x46, 0x49, 0xba, 0x76, 0xb0, 0xa3,
} 0x25, 0x2d, 0xed, 0x8d, 0x8d, 0xbc, 0x4d, 0x65, 0xc8, 0x13, 0xaa, 0x60, 0xee, 0x21, 0xdc, 0x3c,
file_rule_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 0x65, 0x22, 0x0e, 0x13, 0xef, 0x7a, 0x1d, 0xba, 0x3f, 0x60, 0x93, 0x32, 0x9f, 0x85, 0xa9, 0x9c,
switch v := v.(*Comment); i { 0x8b, 0x8c, 0x95, 0x0a, 0x36, 0xd6, 0x71, 0xb9, 0x3d, 0x77, 0x7d, 0x2d, 0x36, 0x0a, 0x48, 0x9e,
case 0: 0xa8, 0xc8, 0x08, 0x96, 0x48, 0x1d, 0x99, 0x4b, 0xf7, 0x94, 0x58, 0x77, 0x04, 0x1b, 0x6f, 0xb8,
return &v.state 0xef, 0x45, 0xb5, 0xcb, 0x0f, 0x17, 0xf2, 0x7a, 0xe9, 0x61, 0xb3, 0xdc, 0xee, 0x42, 0x1b, 0xbf,
case 1: 0x08, 0x2c, 0x91, 0x99, 0xd3, 0x50, 0x92, 0x4e, 0x6b, 0xf7, 0xb7, 0x01, 0x5b, 0x94, 0x7d, 0x7d,
return &v.sizeCache 0x9f, 0x33, 0x51, 0xff, 0x3a, 0xcc, 0xc2, 0x68, 0xd4, 0xc2, 0x48, 0xc0, 0xc2, 0xf4, 0x29, 0x3a,
case 2: 0x1d, 0xaa, 0xc6, 0x98, 0x09, 0x9f, 0xe7, 0x89, 0xd4, 0xfe, 0x2f, 0x0a, 0x72, 0x07, 0x3a, 0x41,
return &v.unknownFields 0x28, 0x98, 0x8f, 0xef, 0xa1, 0x13, 0x3d, 0x9b, 0xa8, 0x44, 0xd7, 0x5e, 0x1e, 0xdd, 0x66, 0x25,
default: 0xba, 0xee, 0x07, 0xd8, 0xa6, 0x2c, 0x8d, 0x26, 0x8b, 0x7d, 0x3e, 0x85, 0x4e, 0x49, 0x14, 0x5b,
return nil 0x35, 0xff, 0x27, 0xcb, 0x0c, 0xed, 0x3e, 0x83, 0xd5, 0x53, 0xe1, 0x25, 0xd9, 0x19, 0x13, 0x2f,
} 0xf3, 0x24, 0xc0, 0x96, 0xbc, 0x58, 0xf1, 0x30, 0x8a, 0x96, 0x8a, 0x0a, 0x29, 0x27, 0x68, 0x3a,
} 0x4d, 0x19, 0xc7, 0xee, 0x67, 0x68, 0x0d, 0x0a, 0x0d, 0xaf, 0xe2, 0x76, 0xc1, 0xd2, 0x13, 0x2f,
file_rule_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 0x1b, 0xe9, 0x13, 0xca, 0x12, 0x57, 0xf4, 0x43, 0x28, 0xe5, 0x3a, 0xb4, 0x2c, 0xdd, 0xef, 0xc8,
switch v := v.(*ReceiptProposalComment); i { 0xb7, 0xe6, 0xbf, 0xf2, 0xb6, 0x2e, 0x98, 0x7e, 0x2c, 0xb5, 0x01, 0xd6, 0x34, 0x53, 0xbd, 0x48,
case 0: 0x71, 0xa9, 0xa2, 0x6c, 0x63, 0xb9, 0xb2, 0x66, 0xf5, 0xa3, 0x48, 0xc0, 0x1a, 0x61, 0x6b, 0x56,
return &v.state 0x41, 0x0e, 0xc7, 0x18, 0xea, 0x5b, 0xf3, 0xa6, 0xb8, 0x2a, 0xdb, 0xa9, 0x17, 0x1a, 0x17, 0x7a,
case 1: 0xc1, 0xbc, 0xd8, 0x0b, 0xd6, 0xf2, 0x8e, 0xed, 0xaa, 0x17, 0x7e, 0x1a, 0xb0, 0x42, 0x59, 0xe4,
return &v.sizeCache 0xe1, 0xd6, 0x41, 0x2c, 0xab, 0xfa, 0x1a, 0x17, 0xea, 0xdb, 0xa8, 0xe9, 0x5b, 0xb9, 0xd1, 0x5c,
case 2: 0x7e, 0xa3, 0xb5, 0x4c, 0x23, 0xbb, 0xa2, 0xd1, 0x2b, 0xd8, 0x59, 0x74, 0x64, 0x29, 0xd2, 0x1e,
return &v.unknownFields 0x34, 0x45, 0x24, 0x07, 0xea, 0x9d, 0xd0, 0x91, 0xa4, 0xfc, 0xf6, 0xcf, 0xda, 0xa6, 0x1a, 0x71,
default: 0x0c, 0x9f, 0xda, 0xfd, 0xfe, 0xbe, 0x5a, 0xff, 0xd2, 0x54, 0xbf, 0xec, 0x47, 0xff, 0x02, 0x00,
return nil 0x00, 0xff, 0xff, 0x03, 0x4c, 0x1c, 0xce, 0xd6, 0x07, 0x00, 0x00,
}
}
file_rule_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReqQueryProposalComment); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RelationCmt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalComment); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_rule_proto_rawDesc,
NumEnums: 0,
NumMessages: 15,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_rule_proto_goTypes,
DependencyIndexes: file_rule_proto_depIdxs,
MessageInfos: file_rule_proto_msgTypes,
}.Build()
File_rule_proto = out.File
file_rule_proto_rawDesc = nil
file_rule_proto_goTypes = nil
file_rule_proto_depIdxs = nil
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment