Commit 4b52e19c authored by vipwzw's avatar vipwzw

auto ci

parent 4345b5e3
// 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 (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// message for execs.Autonomy // message for execs.Autonomy
type AutonomyAction struct { type AutonomyAction struct {
// Types that are valid to be assigned to Value: state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
// *AutonomyAction_PropBoard // *AutonomyAction_PropBoard
// *AutonomyAction_RvkPropBoard // *AutonomyAction_RvkPropBoard
// *AutonomyAction_VotePropBoard // *AutonomyAction_VotePropBoard
...@@ -44,41 +53,193 @@ type AutonomyAction struct { ...@@ -44,41 +53,193 @@ 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 (m *AutonomyAction) Reset() { *m = AutonomyAction{} } func (x *AutonomyAction) Reset() {
func (m *AutonomyAction) String() string { return proto.CompactTextString(m) } *x = AutonomyAction{}
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 fileDescriptor_0246b47df8434d60, []int{0} return file_autonomy_proto_rawDescGZIP(), []int{0}
} }
func (m *AutonomyAction) XXX_Unmarshal(b []byte) error { func (m *AutonomyAction) GetValue() isAutonomyAction_Value {
return xxx_messageInfo_AutonomyAction.Unmarshal(m, b) if m != nil {
return m.Value
}
return nil
} }
func (m *AutonomyAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutonomyAction.Marshal(b, m, deterministic) func (x *AutonomyAction) GetPropBoard() *ProposalBoard {
if x, ok := x.GetValue().(*AutonomyAction_PropBoard); ok {
return x.PropBoard
}
return nil
} }
func (m *AutonomyAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutonomyAction.Merge(m, src) func (x *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard {
if x, ok := x.GetValue().(*AutonomyAction_RvkPropBoard); ok {
return x.RvkPropBoard
}
return nil
} }
func (m *AutonomyAction) XXX_Size() int {
return xxx_messageInfo_AutonomyAction.Size(m) func (x *AutonomyAction) GetVotePropBoard() *VoteProposalBoard {
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() {
xxx_messageInfo_AutonomyAction.DiscardUnknown(m) func (x *AutonomyAction) GetRvkPropProject() *RevokeProposalProject {
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
} }
var xxx_messageInfo_AutonomyAction proto.InternalMessageInfo func (x *AutonomyAction) GetTy() int32 {
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"`
} }
...@@ -95,6 +256,7 @@ type AutonomyAction_TmintPropBoard struct { ...@@ -95,6 +256,7 @@ 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"`
} }
...@@ -115,6 +277,7 @@ type AutonomyAction_TmintPropProject struct { ...@@ -115,6 +277,7 @@ 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"`
} }
...@@ -131,6 +294,7 @@ type AutonomyAction_TmintPropRule struct { ...@@ -131,6 +294,7 @@ 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"`
} }
...@@ -139,6 +303,7 @@ type AutonomyAction_CommentProp struct { ...@@ -139,6 +303,7 @@ 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"`
} }
...@@ -192,156 +357,184 @@ func (*AutonomyAction_VotePropChange) isAutonomyAction_Value() {} ...@@ -192,156 +357,184 @@ func (*AutonomyAction_VotePropChange) isAutonomyAction_Value() {}
func (*AutonomyAction_TmintPropChange) isAutonomyAction_Value() {} func (*AutonomyAction_TmintPropChange) isAutonomyAction_Value() {}
func (m *AutonomyAction) GetValue() isAutonomyAction_Value { var File_autonomy_proto protoreflect.FileDescriptor
if m != nil {
return m.Value var file_autonomy_proto_rawDesc = []byte{
} 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
return nil 0x12, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70,
} 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,
func (m *AutonomyAction) GetPropBoard() *ProposalBoard { 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x85, 0x0a,
if x, ok := m.GetValue().(*AutonomyAction_PropBoard); ok { 0x0a, 0x0e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
return x.PropBoard 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,
return nil 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,
func (m *AutonomyAction) GetRvkPropBoard() *RevokeProposalBoard { 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
if x, ok := m.GetValue().(*AutonomyAction_RvkPropBoard); ok { 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x76, 0x6b, 0x50,
return x.RvkPropBoard 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,
return nil 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,
func (m *AutonomyAction) GetVotePropBoard() *VoteProposalBoard { 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01,
if x, ok := m.GetValue().(*AutonomyAction_VotePropBoard); ok { 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69,
return x.VotePropBoard 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,
return nil 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,
func (m *AutonomyAction) GetTmintPropBoard() *TerminateProposalBoard { 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12,
if x, ok := m.GetValue().(*AutonomyAction_TmintPropBoard); ok { 0x46, 0x0a, 0x0e, 0x72, 0x76, 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
return x.TmintPropBoard 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,
return nil 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,
func (m *AutonomyAction) GetPropProject() *ProposalProject { 0x32, 0x1a, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f,
if x, ok := m.GetValue().(*AutonomyAction_PropProject); ok { 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0f,
return x.PropProject 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,
return nil 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,
func (m *AutonomyAction) GetRvkPropProject() *RevokeProposalProject { 0x62, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
if x, ok := m.GetValue().(*AutonomyAction_RvkPropProject); ok { 0x12, 0x4d, 0x0a, 0x10, 0x74, 0x6d, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f,
return x.RvkPropProject 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,
return nil 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,
func (m *AutonomyAction) GetVotePropProject() *VoteProposalProject { 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73,
if x, ok := m.GetValue().(*AutonomyAction_VotePropProject); ok { 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75,
return x.VotePropProject 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,
return nil 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,
func (m *AutonomyAction) GetPubVotePropProject() *PubVoteProposalProject { 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
if x, ok := m.GetValue().(*AutonomyAction_PubVotePropProject); ok { 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65,
return x.PubVotePropProject 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,
return nil 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,
func (m *AutonomyAction) GetTmintPropProject() *TerminateProposalProject { 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
if x, ok := m.GetValue().(*AutonomyAction_TmintPropProject); ok { 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
return x.TmintPropProject 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,
return nil 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,
func (m *AutonomyAction) GetPropRule() *ProposalRule { 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
if x, ok := m.GetValue().(*AutonomyAction_PropRule); ok { 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73,
return x.PropRule 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,
return nil 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,
func (m *AutonomyAction) GetRvkPropRule() *RevokeProposalRule { 0x6b, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x76,
if x, ok := m.GetValue().(*AutonomyAction_RvkPropRule); ok { 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x12, 0x20,
return x.RvkPropRule 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,
return nil 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,
func (m *AutonomyAction) GetVotePropRule() *VoteProposalRule { 0x73, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
if x, ok := m.GetValue().(*AutonomyAction_VotePropRule); ok { 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x74, 0x6d, 0x69,
return x.VotePropRule 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,
return nil 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,
}
func (m *AutonomyAction) GetTmintPropRule() *TerminateProposalRule {
if x, ok := m.GetValue().(*AutonomyAction_TmintPropRule); ok { var (
return x.TmintPropRule file_autonomy_proto_rawDescOnce sync.Once
} file_autonomy_proto_rawDescData = file_autonomy_proto_rawDesc
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 { func file_autonomy_proto_rawDescGZIP() []byte {
if x, ok := m.GetValue().(*AutonomyAction_PropChange); ok { file_autonomy_proto_rawDescOnce.Do(func() {
return x.PropChange file_autonomy_proto_rawDescData = protoimpl.X.CompressGZIP(file_autonomy_proto_rawDescData)
})
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) 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 file_autonomy_proto_msgTypes[0].OneofWrappers = []interface{}{
}
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),
...@@ -362,46 +555,22 @@ func (*AutonomyAction) XXX_OneofWrappers() []interface{} { ...@@ -362,46 +555,22 @@ func (*AutonomyAction) XXX_OneofWrappers() []interface{} {
(*AutonomyAction_VotePropChange)(nil), (*AutonomyAction_VotePropChange)(nil),
(*AutonomyAction_TmintPropChange)(nil), (*AutonomyAction_TmintPropChange)(nil),
} }
} type x struct{}
out := protoimpl.TypeBuilder{
func init() { File: protoimpl.DescBuilder{
proto.RegisterType((*AutonomyAction)(nil), "types.AutonomyAction") GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
} RawDescriptor: file_autonomy_proto_rawDesc,
NumEnums: 0,
func init() { proto.RegisterFile("autonomy.proto", fileDescriptor_0246b47df8434d60) } NumMessages: 1,
NumExtensions: 0,
var fileDescriptor_0246b47df8434d60 = []byte{ NumServices: 0,
// 512 bytes of a gzipped FileDescriptorProto },
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0xdf, 0x6f, 0xd2, 0x50, GoTypes: file_autonomy_proto_goTypes,
0x14, 0x80, 0x01, 0x65, 0x63, 0xa7, 0x50, 0xe6, 0xd9, 0xd4, 0x8a, 0xbf, 0x16, 0x9f, 0xf6, 0x54, DependencyIndexes: file_autonomy_proto_depIdxs,
0xe3, 0x34, 0x31, 0x31, 0x59, 0xb2, 0x81, 0x41, 0x62, 0x62, 0x24, 0xcd, 0xb2, 0x07, 0xdf, 0x0a, MessageInfos: file_autonomy_proto_msgTypes,
0x5e, 0x15, 0x47, 0x7b, 0x9b, 0xcb, 0x2d, 0x09, 0x7f, 0x80, 0xff, 0xb7, 0xe9, 0xe9, 0xe9, 0x8f, }.Build()
0x7b, 0xe9, 0xde, 0x68, 0xef, 0xf9, 0x3e, 0x72, 0xbe, 0x42, 0xc1, 0x0d, 0x53, 0x2d, 0x63, 0x19, File_autonomy_proto = out.File
0xed, 0xfc, 0x44, 0x49, 0x2d, 0xb1, 0xab, 0x77, 0x89, 0xd8, 0x8c, 0x9c, 0x85, 0x0c, 0xd5, 0xcf, file_autonomy_proto_rawDesc = nil
0xfc, 0xde, 0x68, 0x90, 0x28, 0xf9, 0x57, 0x2c, 0x35, 0x5f, 0x82, 0x4a, 0xd7, 0x82, 0x3f, 0xf7, file_autonomy_proto_goTypes = nil
0x97, 0x7f, 0xc2, 0xf8, 0x37, 0x5f, 0xbd, 0xf9, 0x07, 0xe0, 0x5e, 0xb3, 0xef, 0x7a, 0xa9, 0x57, file_autonomy_proto_depIdxs = nil
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 (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type BoardUpdate int32 type BoardUpdate int32
...@@ -32,29 +37,54 @@ const ( ...@@ -32,29 +37,54 @@ const (
BoardUpdate_REPLACEALL BoardUpdate = 3 BoardUpdate_REPLACEALL BoardUpdate = 3
) )
var BoardUpdate_name = map[int32]string{ // Enum value maps for BoardUpdate.
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 proto.EnumName(BoardUpdate_name, int32(x)) return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(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 fileDescriptor_937f74b042f92c0f, []int{0} return file_board_proto_rawDescGZIP(), []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"`
...@@ -68,101 +98,109 @@ type AutonomyProposalBoard struct { ...@@ -68,101 +98,109 @@ 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 (m *AutonomyProposalBoard) Reset() { *m = AutonomyProposalBoard{} } func (x *AutonomyProposalBoard) Reset() {
func (m *AutonomyProposalBoard) String() string { return proto.CompactTextString(m) } *x = AutonomyProposalBoard{}
func (*AutonomyProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*AutonomyProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[0]
return fileDescriptor_937f74b042f92c0f, []int{0} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *AutonomyProposalBoard) XXX_Unmarshal(b []byte) error { func (x *AutonomyProposalBoard) String() string {
return xxx_messageInfo_AutonomyProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *AutonomyProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutonomyProposalBoard.Marshal(b, m, deterministic)
} }
func (m *AutonomyProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutonomyProposalBoard.Merge(m, src) func (*AutonomyProposalBoard) ProtoMessage() {}
}
func (m *AutonomyProposalBoard) XXX_Size() int { func (x *AutonomyProposalBoard) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_AutonomyProposalBoard.Size(m) mi := &file_board_proto_msgTypes[0]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *AutonomyProposalBoard) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_AutonomyProposalBoard.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_AutonomyProposalBoard proto.InternalMessageInfo // Deprecated: Use AutonomyProposalBoard.ProtoReflect.Descriptor instead.
func (*AutonomyProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{0}
}
func (m *AutonomyProposalBoard) GetPropBoard() *ProposalBoard { func (x *AutonomyProposalBoard) GetPropBoard() *ProposalBoard {
if m != nil { if x != nil {
return m.PropBoard return x.PropBoard
} }
return nil return nil
} }
func (m *AutonomyProposalBoard) GetCurRule() *RuleConfig { func (x *AutonomyProposalBoard) GetCurRule() *RuleConfig {
if m != nil { if x != nil {
return m.CurRule return x.CurRule
} }
return nil return nil
} }
func (m *AutonomyProposalBoard) GetBoard() *ActiveBoard { func (x *AutonomyProposalBoard) GetBoard() *ActiveBoard {
if m != nil { if x != nil {
return m.Board return x.Board
} }
return nil return nil
} }
func (m *AutonomyProposalBoard) GetVoteResult() *VoteResult { func (x *AutonomyProposalBoard) GetVoteResult() *VoteResult {
if m != nil { if x != nil {
return m.VoteResult return x.VoteResult
} }
return nil return nil
} }
func (m *AutonomyProposalBoard) GetStatus() int32 { func (x *AutonomyProposalBoard) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *AutonomyProposalBoard) GetAddress() string { func (x *AutonomyProposalBoard) GetAddress() string {
if m != nil { if x != nil {
return m.Address return x.Address
} }
return "" return ""
} }
func (m *AutonomyProposalBoard) GetHeight() int64 { func (x *AutonomyProposalBoard) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *AutonomyProposalBoard) GetIndex() int32 { func (x *AutonomyProposalBoard) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *AutonomyProposalBoard) GetProposalID() string { func (x *AutonomyProposalBoard) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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"`
...@@ -172,519 +210,805 @@ type ProposalBoard struct { ...@@ -172,519 +210,805 @@ 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 (m *ProposalBoard) Reset() { *m = ProposalBoard{} } func (x *ProposalBoard) Reset() {
func (m *ProposalBoard) String() string { return proto.CompactTextString(m) } *x = ProposalBoard{}
func (*ProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[1]
return fileDescriptor_937f74b042f92c0f, []int{1} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ProposalBoard) XXX_Unmarshal(b []byte) error { func (x *ProposalBoard) String() string {
return xxx_messageInfo_ProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProposalBoard.Marshal(b, m, deterministic)
} }
func (m *ProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProposalBoard.Merge(m, src) func (*ProposalBoard) ProtoMessage() {}
}
func (m *ProposalBoard) XXX_Size() int { func (x *ProposalBoard) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_ProposalBoard.Size(m) mi := &file_board_proto_msgTypes[1]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ProposalBoard) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_ProposalBoard.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ProposalBoard proto.InternalMessageInfo // Deprecated: Use ProposalBoard.ProtoReflect.Descriptor instead.
func (*ProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{1}
}
func (m *ProposalBoard) GetYear() int32 { func (x *ProposalBoard) GetYear() int32 {
if m != nil { if x != nil {
return m.Year return x.Year
} }
return 0 return 0
} }
func (m *ProposalBoard) GetMonth() int32 { func (x *ProposalBoard) GetMonth() int32 {
if m != nil { if x != nil {
return m.Month return x.Month
} }
return 0 return 0
} }
func (m *ProposalBoard) GetDay() int32 { func (x *ProposalBoard) GetDay() int32 {
if m != nil { if x != nil {
return m.Day return x.Day
} }
return 0 return 0
} }
func (m *ProposalBoard) GetUpdate() bool { func (x *ProposalBoard) GetUpdate() bool {
if m != nil { if x != nil {
return m.Update return x.Update
} }
return false return false
} }
func (m *ProposalBoard) GetBoards() []string { func (x *ProposalBoard) GetBoards() []string {
if m != nil { if x != nil {
return m.Boards return x.Boards
} }
return nil return nil
} }
func (m *ProposalBoard) GetStartBlockHeight() int64 { func (x *ProposalBoard) GetStartBlockHeight() int64 {
if m != nil { if x != nil {
return m.StartBlockHeight return x.StartBlockHeight
} }
return 0 return 0
} }
func (m *ProposalBoard) GetEndBlockHeight() int64 { func (x *ProposalBoard) GetEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.EndBlockHeight return x.EndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalBoard) GetRealEndBlockHeight() int64 { func (x *ProposalBoard) GetRealEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.RealEndBlockHeight return x.RealEndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalBoard) GetBoardUpdate() BoardUpdate { func (x *ProposalBoard) GetBoardUpdate() BoardUpdate {
if m != nil { if x != nil {
return m.BoardUpdate return x.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 (m *RevokeProposalBoard) Reset() { *m = RevokeProposalBoard{} } func (x *RevokeProposalBoard) Reset() {
func (m *RevokeProposalBoard) String() string { return proto.CompactTextString(m) } *x = RevokeProposalBoard{}
func (*RevokeProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RevokeProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[2]
return fileDescriptor_937f74b042f92c0f, []int{2} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RevokeProposalBoard) XXX_Unmarshal(b []byte) error { func (x *RevokeProposalBoard) String() string {
return xxx_messageInfo_RevokeProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *RevokeProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevokeProposalBoard.Marshal(b, m, deterministic)
} }
func (m *RevokeProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevokeProposalBoard.Merge(m, src) func (*RevokeProposalBoard) ProtoMessage() {}
}
func (m *RevokeProposalBoard) XXX_Size() int { func (x *RevokeProposalBoard) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_RevokeProposalBoard.Size(m) mi := &file_board_proto_msgTypes[2]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *RevokeProposalBoard) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_RevokeProposalBoard.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_RevokeProposalBoard proto.InternalMessageInfo // Deprecated: Use RevokeProposalBoard.ProtoReflect.Descriptor instead.
func (*RevokeProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{2}
}
func (m *RevokeProposalBoard) GetProposalID() string { func (x *RevokeProposalBoard) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *VoteProposalBoard) Reset() { *m = VoteProposalBoard{} } func (x *VoteProposalBoard) Reset() {
func (m *VoteProposalBoard) String() string { return proto.CompactTextString(m) } *x = VoteProposalBoard{}
func (*VoteProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VoteProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[3]
return fileDescriptor_937f74b042f92c0f, []int{3} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VoteProposalBoard) XXX_Unmarshal(b []byte) error { func (x *VoteProposalBoard) String() string {
return xxx_messageInfo_VoteProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *VoteProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteProposalBoard.Marshal(b, m, deterministic)
}
func (m *VoteProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_VoteProposalBoard.Merge(m, src)
}
func (m *VoteProposalBoard) XXX_Size() int {
return xxx_messageInfo_VoteProposalBoard.Size(m)
} }
func (m *VoteProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalBoard.DiscardUnknown(m) func (*VoteProposalBoard) ProtoMessage() {}
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)
} }
var xxx_messageInfo_VoteProposalBoard proto.InternalMessageInfo // Deprecated: Use VoteProposalBoard.ProtoReflect.Descriptor instead.
func (*VoteProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{3}
}
func (m *VoteProposalBoard) GetProposalID() string { func (x *VoteProposalBoard) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *VoteProposalBoard) GetApprove() bool { func (x *VoteProposalBoard) GetApprove() bool {
if m != nil { if x != nil {
return m.Approve return x.Approve
} }
return false return false
} }
func (m *VoteProposalBoard) GetOriginAddr() []string { func (x *VoteProposalBoard) GetOriginAddr() []string {
if m != nil { if x != nil {
return m.OriginAddr return x.OriginAddr
} }
return nil return nil
} }
func (m *VoteProposalBoard) GetVoteOption() AutonomyVoteOption { func (x *VoteProposalBoard) GetVoteOption() AutonomyVoteOption {
if m != nil { if x != nil {
return m.VoteOption return x.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 (m *TerminateProposalBoard) Reset() { *m = TerminateProposalBoard{} } func (x *TerminateProposalBoard) Reset() {
func (m *TerminateProposalBoard) String() string { return proto.CompactTextString(m) } *x = TerminateProposalBoard{}
func (*TerminateProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*TerminateProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[4]
return fileDescriptor_937f74b042f92c0f, []int{4} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *TerminateProposalBoard) XXX_Unmarshal(b []byte) error { func (x *TerminateProposalBoard) String() string {
return xxx_messageInfo_TerminateProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *TerminateProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminateProposalBoard.Marshal(b, m, deterministic) func (*TerminateProposalBoard) ProtoMessage() {}
}
func (m *TerminateProposalBoard) XXX_Merge(src proto.Message) { func (x *TerminateProposalBoard) ProtoReflect() protoreflect.Message {
xxx_messageInfo_TerminateProposalBoard.Merge(m, src) mi := &file_board_proto_msgTypes[4]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *TerminateProposalBoard) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_TerminateProposalBoard.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *TerminateProposalBoard) XXX_DiscardUnknown() { }
xxx_messageInfo_TerminateProposalBoard.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_TerminateProposalBoard proto.InternalMessageInfo // Deprecated: Use TerminateProposalBoard.ProtoReflect.Descriptor instead.
func (*TerminateProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{4}
}
func (m *TerminateProposalBoard) GetProposalID() string { func (x *TerminateProposalBoard) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *ReceiptProposalBoard) Reset() { *m = ReceiptProposalBoard{} } func (x *ReceiptProposalBoard) Reset() {
func (m *ReceiptProposalBoard) String() string { return proto.CompactTextString(m) } *x = ReceiptProposalBoard{}
func (*ReceiptProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReceiptProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[5]
return fileDescriptor_937f74b042f92c0f, []int{5} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReceiptProposalBoard) XXX_Unmarshal(b []byte) error { func (x *ReceiptProposalBoard) String() string {
return xxx_messageInfo_ReceiptProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReceiptProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptProposalBoard.Marshal(b, m, deterministic)
}
func (m *ReceiptProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptProposalBoard.Merge(m, src)
} }
func (m *ReceiptProposalBoard) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalBoard.Size(m) func (*ReceiptProposalBoard) ProtoMessage() {}
}
func (m *ReceiptProposalBoard) XXX_DiscardUnknown() { func (x *ReceiptProposalBoard) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReceiptProposalBoard.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_ReceiptProposalBoard proto.InternalMessageInfo // Deprecated: Use ReceiptProposalBoard.ProtoReflect.Descriptor instead.
func (*ReceiptProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{5}
}
func (m *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard { func (x *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard {
if m != nil { if x != nil {
return m.Prev return x.Prev
} }
return nil return nil
} }
func (m *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard { func (x *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard {
if m != nil { if x != nil {
return m.Current return x.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 (m *LocalProposalBoard) Reset() { *m = LocalProposalBoard{} } func (x *LocalProposalBoard) Reset() {
func (m *LocalProposalBoard) String() string { return proto.CompactTextString(m) } *x = LocalProposalBoard{}
func (*LocalProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*LocalProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[6]
return fileDescriptor_937f74b042f92c0f, []int{6} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *LocalProposalBoard) XXX_Unmarshal(b []byte) error { func (x *LocalProposalBoard) String() string {
return xxx_messageInfo_LocalProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *LocalProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalProposalBoard.Marshal(b, m, deterministic)
}
func (m *LocalProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocalProposalBoard.Merge(m, src)
} }
func (m *LocalProposalBoard) XXX_Size() int {
return xxx_messageInfo_LocalProposalBoard.Size(m) func (*LocalProposalBoard) ProtoMessage() {}
}
func (m *LocalProposalBoard) XXX_DiscardUnknown() { func (x *LocalProposalBoard) ProtoReflect() protoreflect.Message {
xxx_messageInfo_LocalProposalBoard.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_LocalProposalBoard proto.InternalMessageInfo // Deprecated: Use LocalProposalBoard.ProtoReflect.Descriptor instead.
func (*LocalProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{6}
}
func (m *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard { func (x *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard {
if m != nil { if x != nil {
return m.PropBd return x.PropBd
} }
return nil return nil
} }
func (m *LocalProposalBoard) GetComments() []string { func (x *LocalProposalBoard) GetComments() []string {
if m != nil { if x != nil {
return m.Comments return x.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 (m *ReqQueryProposalBoard) Reset() { *m = ReqQueryProposalBoard{} } func (x *ReqQueryProposalBoard) Reset() {
func (m *ReqQueryProposalBoard) String() string { return proto.CompactTextString(m) } *x = ReqQueryProposalBoard{}
func (*ReqQueryProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[7]
return fileDescriptor_937f74b042f92c0f, []int{7} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReqQueryProposalBoard) XXX_Unmarshal(b []byte) error { func (x *ReqQueryProposalBoard) String() string {
return xxx_messageInfo_ReqQueryProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReqQueryProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqQueryProposalBoard.Marshal(b, m, deterministic)
} }
func (m *ReqQueryProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqQueryProposalBoard.Merge(m, src) func (*ReqQueryProposalBoard) ProtoMessage() {}
}
func (m *ReqQueryProposalBoard) XXX_Size() int { func (x *ReqQueryProposalBoard) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_ReqQueryProposalBoard.Size(m) mi := &file_board_proto_msgTypes[7]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ReqQueryProposalBoard) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_ReqQueryProposalBoard.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ReqQueryProposalBoard proto.InternalMessageInfo // Deprecated: Use ReqQueryProposalBoard.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{7}
}
func (m *ReqQueryProposalBoard) GetStatus() int32 { func (x *ReqQueryProposalBoard) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *ReqQueryProposalBoard) GetAddr() string { func (x *ReqQueryProposalBoard) GetAddr() string {
if m != nil { if x != nil {
return m.Addr return x.Addr
} }
return "" return ""
} }
func (m *ReqQueryProposalBoard) GetCount() int32 { func (x *ReqQueryProposalBoard) GetCount() int32 {
if m != nil { if x != nil {
return m.Count return x.Count
} }
return 0 return 0
} }
func (m *ReqQueryProposalBoard) GetDirection() int32 { func (x *ReqQueryProposalBoard) GetDirection() int32 {
if m != nil { if x != nil {
return m.Direction return x.Direction
} }
return 0 return 0
} }
func (m *ReqQueryProposalBoard) GetHeight() int64 { func (x *ReqQueryProposalBoard) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReqQueryProposalBoard) GetIndex() int32 { func (x *ReqQueryProposalBoard) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.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 (m *ReplyQueryProposalBoard) Reset() { *m = ReplyQueryProposalBoard{} } func (x *ReplyQueryProposalBoard) Reset() {
func (m *ReplyQueryProposalBoard) String() string { return proto.CompactTextString(m) } *x = ReplyQueryProposalBoard{}
func (*ReplyQueryProposalBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int) { mi := &file_board_proto_msgTypes[8]
return fileDescriptor_937f74b042f92c0f, []int{8} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReplyQueryProposalBoard) XXX_Unmarshal(b []byte) error { func (x *ReplyQueryProposalBoard) String() string {
return xxx_messageInfo_ReplyQueryProposalBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReplyQueryProposalBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryProposalBoard.Marshal(b, m, deterministic)
}
func (m *ReplyQueryProposalBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyQueryProposalBoard.Merge(m, src)
}
func (m *ReplyQueryProposalBoard) XXX_Size() int {
return xxx_messageInfo_ReplyQueryProposalBoard.Size(m)
} }
func (m *ReplyQueryProposalBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyQueryProposalBoard.DiscardUnknown(m) func (*ReplyQueryProposalBoard) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReplyQueryProposalBoard proto.InternalMessageInfo // Deprecated: Use ReplyQueryProposalBoard.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int) {
return file_board_proto_rawDescGZIP(), []int{8}
}
func (m *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard { func (x *ReplyQueryProposalBoard) GetPropBoards() []*AutonomyProposalBoard {
if m != nil { if x != nil {
return m.PropBoards return x.PropBoards
} }
return nil return nil
} }
func init() { var File_board_proto protoreflect.FileDescriptor
proto.RegisterEnum("types.BoardUpdate", BoardUpdate_name, BoardUpdate_value)
proto.RegisterType((*AutonomyProposalBoard)(nil), "types.AutonomyProposalBoard") var file_board_proto_rawDesc = []byte{
proto.RegisterType((*ProposalBoard)(nil), "types.ProposalBoard") 0x0a, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x74,
proto.RegisterType((*RevokeProposalBoard)(nil), "types.RevokeProposalBoard") 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
proto.RegisterType((*VoteProposalBoard)(nil), "types.VoteProposalBoard") 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x02, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79,
proto.RegisterType((*TerminateProposalBoard)(nil), "types.TerminateProposalBoard") 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x32, 0x0a,
proto.RegisterType((*ReceiptProposalBoard)(nil), "types.ReceiptProposalBoard") 0x09, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
proto.RegisterType((*LocalProposalBoard)(nil), "types.LocalProposalBoard") 0x32, 0x14, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
proto.RegisterType((*ReqQueryProposalBoard)(nil), "types.ReqQueryProposalBoard") 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x42, 0x6f, 0x61, 0x72,
proto.RegisterType((*ReplyQueryProposalBoard)(nil), "types.ReplyQueryProposalBoard") 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,
func init() { proto.RegisterFile("board.proto", fileDescriptor_937f74b042f92c0f) } 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,
var fileDescriptor_937f74b042f92c0f = []byte{ 0x64, 0x52, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65,
// 683 bytes of a gzipped FileDescriptorProto 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x40, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,
0x10, 0xc5, 0x71, 0x9c, 0x38, 0x53, 0x1a, 0xa5, 0x4b, 0x5b, 0x4c, 0x55, 0xa1, 0xc8, 0x07, 0x14, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73,
0x15, 0x29, 0x40, 0x29, 0x08, 0x24, 0x2e, 0x49, 0x13, 0x89, 0x4a, 0x11, 0x94, 0x15, 0x14, 0x89, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
0x9b, 0x6b, 0x6f, 0x5b, 0xab, 0x8e, 0xd7, 0xac, 0xd7, 0x11, 0xb9, 0xf1, 0x33, 0x48, 0xfc, 0x00, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06,
0x9f, 0xc2, 0xff, 0xa0, 0x9d, 0xdd, 0x24, 0x76, 0x5b, 0x01, 0xbd, 0xf9, 0xcd, 0xbe, 0x59, 0xcf, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a,
0xbc, 0x9d, 0x37, 0xb0, 0x76, 0xca, 0x03, 0x11, 0xf5, 0x33, 0xc1, 0x25, 0x27, 0x8e, 0x9c, 0x67, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68,
0x2c, 0xdf, 0x59, 0x4f, 0x42, 0x3e, 0x9d, 0xf2, 0x54, 0x47, 0xfd, 0xdf, 0x35, 0xd8, 0x1a, 0x14, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08,
0x92, 0xa7, 0x7c, 0x3a, 0x3f, 0x16, 0x3c, 0xe3, 0x79, 0x90, 0x0c, 0x55, 0x16, 0xd9, 0x87, 0x56, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x70,
0x26, 0x78, 0x86, 0xc0, 0xb3, 0xba, 0x56, 0x6f, 0x6d, 0x7f, 0xb3, 0x8f, 0x77, 0xf4, 0x2b, 0x44, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
0xba, 0xa2, 0x91, 0xc7, 0xd0, 0x0c, 0x0b, 0x41, 0x8b, 0x84, 0x79, 0x35, 0xcc, 0xd8, 0x30, 0x19, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xb5, 0x02, 0x0a, 0x0d,
0x2a, 0x74, 0xc8, 0xd3, 0xb3, 0xf8, 0x9c, 0x2e, 0x18, 0xa4, 0x07, 0x0e, 0xd6, 0xe7, 0xd9, 0x48, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a,
0x25, 0x86, 0x3a, 0x08, 0x65, 0x3c, 0x63, 0xfa, 0x6a, 0x4d, 0x20, 0xcf, 0x00, 0x66, 0x5c, 0x32, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61,
0xca, 0xf2, 0x22, 0x91, 0x5e, 0xbd, 0x72, 0xf3, 0xc9, 0xf2, 0x80, 0x96, 0x48, 0x64, 0x1b, 0x1a, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0xb9, 0x0c, 0x64, 0x91, 0x7b, 0x4e, 0xd7, 0xea, 0x39, 0xd4, 0x20, 0xe2, 0x41, 0x33, 0x88, 0x22, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03,
0xc1, 0xf2, 0xdc, 0x6b, 0x74, 0xad, 0x5e, 0x8b, 0x2e, 0xa0, 0xca, 0xb8, 0x60, 0xf1, 0xf9, 0x85, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x64,
0xf4, 0x9a, 0x5d, 0xab, 0x67, 0x53, 0x83, 0xc8, 0x26, 0x38, 0x71, 0x1a, 0xb1, 0x6f, 0x9e, 0x8b, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74,
0x17, 0x69, 0x40, 0x1e, 0x02, 0x64, 0x46, 0x85, 0xa3, 0x91, 0xd7, 0xc2, 0xab, 0x4a, 0x11, 0xff, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
0x57, 0x0d, 0xd6, 0xab, 0x7a, 0x12, 0xa8, 0xcf, 0x59, 0x20, 0x50, 0x4a, 0x87, 0xe2, 0xb7, 0xba, 0x09, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61,
0x7b, 0xca, 0x53, 0x79, 0x81, 0x6a, 0x39, 0x54, 0x03, 0xd2, 0x01, 0x3b, 0x0a, 0xe6, 0x28, 0x8b, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20,
0x43, 0xd5, 0xa7, 0xaa, 0xad, 0xc8, 0xa2, 0x40, 0x32, 0x6c, 0xde, 0xa5, 0x06, 0xa9, 0x38, 0x2a, 0x01, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48,
0xa4, 0xba, 0xb4, 0x7b, 0x2d, 0x6a, 0x10, 0xd9, 0x83, 0x4e, 0x2e, 0x03, 0x21, 0x87, 0x09, 0x0f, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63,
0x2f, 0xdf, 0xea, 0xae, 0x1a, 0xd8, 0xd5, 0xb5, 0x38, 0x79, 0x04, 0x6d, 0x96, 0x46, 0x65, 0xa6, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65,
0xee, 0xff, 0x4a, 0x94, 0xf4, 0x81, 0x08, 0x16, 0x24, 0xe3, 0x2a, 0xd7, 0x45, 0xee, 0x0d, 0x27, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a,
0xe4, 0xc0, 0x8c, 0xdf, 0x27, 0x5d, 0xb8, 0x92, 0xa8, 0xbd, 0x7c, 0xe4, 0xe1, 0xea, 0x84, 0x96, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69,
0x69, 0xfe, 0x0b, 0xb8, 0x47, 0xd9, 0x8c, 0x5f, 0xb2, 0xaa, 0x78, 0x55, 0xb9, 0xad, 0x6b, 0x72, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45,
0xff, 0xb4, 0x60, 0x43, 0x4d, 0xc2, 0xad, 0xb2, 0x70, 0x18, 0xb2, 0x4c, 0xf0, 0x99, 0x1e, 0x57, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a,
0x97, 0x2e, 0xa0, 0xca, 0xe4, 0x22, 0x3e, 0x8f, 0xd3, 0x41, 0x14, 0x09, 0xcf, 0x46, 0x71, 0x4b, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01,
0x11, 0xf2, 0x5a, 0x4f, 0xe4, 0xfb, 0x4c, 0xc6, 0x3c, 0xc5, 0x47, 0x69, 0xef, 0x3f, 0x58, 0x0c, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x42, 0x6f, 0x61, 0x72, 0x64,
0xb0, 0xb1, 0xd3, 0xc9, 0x92, 0x40, 0x4b, 0x64, 0xff, 0x15, 0x6c, 0x7f, 0x64, 0x62, 0x1a, 0xa7, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x70, 0x64,
0xc1, 0x2d, 0xcb, 0xf5, 0xbf, 0x5b, 0xb0, 0x49, 0x59, 0xc8, 0xe2, 0x4c, 0x56, 0x13, 0x9f, 0x42, 0x61, 0x74, 0x65, 0x22, 0x35, 0x0a, 0x13, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f,
0x3d, 0x13, 0x6c, 0x66, 0x5c, 0xba, 0x7b, 0xa5, 0x8e, 0xaa, 0x5b, 0x91, 0x49, 0x5e, 0xa2, 0x51, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72,
0x05, 0x4b, 0xa5, 0x31, 0xea, 0xdf, 0x93, 0x16, 0x64, 0xff, 0x0c, 0xc8, 0x84, 0x87, 0x41, 0x52, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0xfd, 0xff, 0x01, 0x34, 0x70, 0x07, 0x44, 0xff, 0x55, 0x81, 0xe1, 0x92, 0x1d, 0x70, 0xd5, 0x2a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xa8, 0x01, 0x0a, 0x11, 0x56,
0x62, 0xa9, 0xcc, 0xbd, 0x1a, 0x2a, 0xbc, 0xc4, 0xfe, 0x0f, 0x0b, 0xb6, 0x28, 0xfb, 0xfa, 0xa1, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x6f, 0x61, 0x72, 0x64,
0x60, 0xe2, 0xca, 0x5a, 0x5a, 0x19, 0xdb, 0xaa, 0x18, 0x9b, 0x40, 0x5d, 0x39, 0x19, 0xdb, 0x69, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0x51, 0xfc, 0x56, 0xf6, 0x0a, 0x79, 0x91, 0x4a, 0x63, 0x25, 0x0d, 0xc8, 0x2e, 0xb4, 0xa2, 0x58, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0xb0, 0x70, 0xf9, 0x74, 0x0e, 0x5d, 0x05, 0x4a, 0x6b, 0xc0, 0xb9, 0x79, 0x0d, 0x34, 0x4a, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0xc0, 0xff, 0x0c, 0xf7, 0x29, 0xcb, 0x92, 0xf9, 0x0d, 0x85, 0xbe, 0xd1, 0xaf, 0x39, 0xd4, 0xfe, 0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x72,
0xb4, 0xba, 0xf6, 0x3f, 0x85, 0x29, 0xf1, 0xf7, 0x86, 0xb0, 0x56, 0xf2, 0x08, 0x69, 0x82, 0x7d, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a,
0xf4, 0xee, 0xa4, 0x73, 0x87, 0xdc, 0x05, 0x77, 0x30, 0x1a, 0xe1, 0x51, 0xc7, 0x52, 0x68, 0x34, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12, 0x39, 0x0a, 0x0a, 0x76, 0x6f,
0x9e, 0x68, 0x54, 0x23, 0x6d, 0x00, 0x3a, 0x3e, 0x9e, 0x0c, 0x0e, 0xc7, 0x83, 0xc9, 0xa4, 0x63, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19,
0x0f, 0xe1, 0x8b, 0xdb, 0xef, 0x3f, 0xc1, 0x3f, 0x9e, 0x36, 0x70, 0xdd, 0x3f, 0xff, 0x13, 0x00, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56,
0x00, 0xff, 0xff, 0xbc, 0x39, 0x74, 0x01, 0x13, 0x06, 0x00, 0x00, 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 {
file_board_proto_rawDescOnce.Do(func() {
file_board_proto_rawDescData = protoimpl.X.CompressGZIP(file_board_proto_rawDescData)
})
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
}
}
file_board_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RevokeProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_board_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VoteProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_board_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TerminateProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_board_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_board_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocalProposalBoard); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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 (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalChange struct { type AutonomyProposalChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
...@@ -34,101 +43,109 @@ type AutonomyProposalChange struct { ...@@ -34,101 +43,109 @@ 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 (m *AutonomyProposalChange) Reset() { *m = AutonomyProposalChange{} } func (x *AutonomyProposalChange) Reset() {
func (m *AutonomyProposalChange) String() string { return proto.CompactTextString(m) } *x = AutonomyProposalChange{}
func (*AutonomyProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*AutonomyProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[0]
return fileDescriptor_4c013f0fbf0b6ffb, []int{0} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *AutonomyProposalChange) XXX_Unmarshal(b []byte) error { func (x *AutonomyProposalChange) String() string {
return xxx_messageInfo_AutonomyProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *AutonomyProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutonomyProposalChange.Marshal(b, m, deterministic)
} }
func (m *AutonomyProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutonomyProposalChange.Merge(m, src) func (*AutonomyProposalChange) ProtoMessage() {}
}
func (m *AutonomyProposalChange) XXX_Size() int { func (x *AutonomyProposalChange) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_AutonomyProposalChange.Size(m) mi := &file_change_proto_msgTypes[0]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *AutonomyProposalChange) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_AutonomyProposalChange.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_AutonomyProposalChange proto.InternalMessageInfo // Deprecated: Use AutonomyProposalChange.ProtoReflect.Descriptor instead.
func (*AutonomyProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{0}
}
func (m *AutonomyProposalChange) GetPropChange() *ProposalChange { func (x *AutonomyProposalChange) GetPropChange() *ProposalChange {
if m != nil { if x != nil {
return m.PropChange return x.PropChange
} }
return nil return nil
} }
func (m *AutonomyProposalChange) GetCurRule() *RuleConfig { func (x *AutonomyProposalChange) GetCurRule() *RuleConfig {
if m != nil { if x != nil {
return m.CurRule return x.CurRule
} }
return nil return nil
} }
func (m *AutonomyProposalChange) GetBoard() *ActiveBoard { func (x *AutonomyProposalChange) GetBoard() *ActiveBoard {
if m != nil { if x != nil {
return m.Board return x.Board
} }
return nil return nil
} }
func (m *AutonomyProposalChange) GetVoteResult() *VoteResult { func (x *AutonomyProposalChange) GetVoteResult() *VoteResult {
if m != nil { if x != nil {
return m.VoteResult return x.VoteResult
} }
return nil return nil
} }
func (m *AutonomyProposalChange) GetStatus() int32 { func (x *AutonomyProposalChange) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *AutonomyProposalChange) GetAddress() string { func (x *AutonomyProposalChange) GetAddress() string {
if m != nil { if x != nil {
return m.Address return x.Address
} }
return "" return ""
} }
func (m *AutonomyProposalChange) GetHeight() int64 { func (x *AutonomyProposalChange) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *AutonomyProposalChange) GetIndex() int32 { func (x *AutonomyProposalChange) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *AutonomyProposalChange) GetProposalID() string { func (x *AutonomyProposalChange) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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"`
...@@ -136,538 +153,838 @@ type ProposalChange struct { ...@@ -136,538 +153,838 @@ 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 (m *ProposalChange) Reset() { *m = ProposalChange{} } func (x *ProposalChange) Reset() {
func (m *ProposalChange) String() string { return proto.CompactTextString(m) } *x = ProposalChange{}
func (*ProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[1]
return fileDescriptor_4c013f0fbf0b6ffb, []int{1} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ProposalChange) XXX_Unmarshal(b []byte) error { func (x *ProposalChange) String() string {
return xxx_messageInfo_ProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProposalChange.Marshal(b, m, deterministic)
} }
func (m *ProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProposalChange.Merge(m, src) func (*ProposalChange) ProtoMessage() {}
}
func (m *ProposalChange) XXX_Size() int { func (x *ProposalChange) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_ProposalChange.Size(m) mi := &file_change_proto_msgTypes[1]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ProposalChange) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_ProposalChange.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ProposalChange proto.InternalMessageInfo // Deprecated: Use ProposalChange.ProtoReflect.Descriptor instead.
func (*ProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{1}
}
func (m *ProposalChange) GetYear() int32 { func (x *ProposalChange) GetYear() int32 {
if m != nil { if x != nil {
return m.Year return x.Year
} }
return 0 return 0
} }
func (m *ProposalChange) GetMonth() int32 { func (x *ProposalChange) GetMonth() int32 {
if m != nil { if x != nil {
return m.Month return x.Month
} }
return 0 return 0
} }
func (m *ProposalChange) GetDay() int32 { func (x *ProposalChange) GetDay() int32 {
if m != nil { if x != nil {
return m.Day return x.Day
} }
return 0 return 0
} }
func (m *ProposalChange) GetChanges() []*Change { func (x *ProposalChange) GetChanges() []*Change {
if m != nil { if x != nil {
return m.Changes return x.Changes
} }
return nil return nil
} }
func (m *ProposalChange) GetStartBlockHeight() int64 { func (x *ProposalChange) GetStartBlockHeight() int64 {
if m != nil { if x != nil {
return m.StartBlockHeight return x.StartBlockHeight
} }
return 0 return 0
} }
func (m *ProposalChange) GetEndBlockHeight() int64 { func (x *ProposalChange) GetEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.EndBlockHeight return x.EndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalChange) GetRealEndBlockHeight() int64 { func (x *ProposalChange) GetRealEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.RealEndBlockHeight return x.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 (m *Change) Reset() { *m = Change{} } func (x *Change) Reset() {
func (m *Change) String() string { return proto.CompactTextString(m) } *x = Change{}
func (*Change) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*Change) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[2]
return fileDescriptor_4c013f0fbf0b6ffb, []int{2} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *Change) XXX_Unmarshal(b []byte) error { func (x *Change) String() string {
return xxx_messageInfo_Change.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *Change) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Change.Marshal(b, m, deterministic)
} }
func (m *Change) XXX_Merge(src proto.Message) {
xxx_messageInfo_Change.Merge(m, src) func (*Change) ProtoMessage() {}
}
func (m *Change) XXX_Size() int { func (x *Change) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_Change.Size(m) mi := &file_change_proto_msgTypes[2]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *Change) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_Change.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_Change proto.InternalMessageInfo // Deprecated: Use Change.ProtoReflect.Descriptor instead.
func (*Change) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{2}
}
func (m *Change) GetCancel() bool { func (x *Change) GetCancel() bool {
if m != nil { if x != nil {
return m.Cancel return x.Cancel
} }
return false return false
} }
func (m *Change) GetAddr() string { func (x *Change) GetAddr() string {
if m != nil { if x != nil {
return m.Addr return x.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 (m *RevokeProposalChange) Reset() { *m = RevokeProposalChange{} } func (x *RevokeProposalChange) Reset() {
func (m *RevokeProposalChange) String() string { return proto.CompactTextString(m) } *x = RevokeProposalChange{}
func (*RevokeProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RevokeProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[3]
return fileDescriptor_4c013f0fbf0b6ffb, []int{3} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RevokeProposalChange) XXX_Unmarshal(b []byte) error { func (x *RevokeProposalChange) String() string {
return xxx_messageInfo_RevokeProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *RevokeProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevokeProposalChange.Marshal(b, m, deterministic)
} }
func (m *RevokeProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevokeProposalChange.Merge(m, src) func (*RevokeProposalChange) ProtoMessage() {}
}
func (m *RevokeProposalChange) XXX_Size() int { func (x *RevokeProposalChange) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_RevokeProposalChange.Size(m) mi := &file_change_proto_msgTypes[3]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *RevokeProposalChange) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_RevokeProposalChange.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_RevokeProposalChange proto.InternalMessageInfo // Deprecated: Use RevokeProposalChange.ProtoReflect.Descriptor instead.
func (*RevokeProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{3}
}
func (m *RevokeProposalChange) GetProposalID() string { func (x *RevokeProposalChange) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *VoteProposalChange) Reset() { *m = VoteProposalChange{} } func (x *VoteProposalChange) Reset() {
func (m *VoteProposalChange) String() string { return proto.CompactTextString(m) } *x = VoteProposalChange{}
func (*VoteProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VoteProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[4]
return fileDescriptor_4c013f0fbf0b6ffb, []int{4} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VoteProposalChange) XXX_Unmarshal(b []byte) error { func (x *VoteProposalChange) String() string {
return xxx_messageInfo_VoteProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *VoteProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteProposalChange.Marshal(b, m, deterministic)
}
func (m *VoteProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_VoteProposalChange.Merge(m, src)
}
func (m *VoteProposalChange) XXX_Size() int {
return xxx_messageInfo_VoteProposalChange.Size(m)
} }
func (m *VoteProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_VoteProposalChange.DiscardUnknown(m) func (*VoteProposalChange) ProtoMessage() {}
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)
} }
var xxx_messageInfo_VoteProposalChange proto.InternalMessageInfo // Deprecated: Use VoteProposalChange.ProtoReflect.Descriptor instead.
func (*VoteProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{4}
}
func (m *VoteProposalChange) GetProposalID() string { func (x *VoteProposalChange) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *VoteProposalChange) GetApprove() bool { func (x *VoteProposalChange) GetApprove() bool {
if m != nil { if x != nil {
return m.Approve return x.Approve
} }
return false return false
} }
func (m *VoteProposalChange) GetVote() AutonomyVoteOption { func (x *VoteProposalChange) GetVote() AutonomyVoteOption {
if m != nil { if x != nil {
return m.Vote return x.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 (m *TerminateProposalChange) Reset() { *m = TerminateProposalChange{} } func (x *TerminateProposalChange) Reset() {
func (m *TerminateProposalChange) String() string { return proto.CompactTextString(m) } *x = TerminateProposalChange{}
func (*TerminateProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*TerminateProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[5]
return fileDescriptor_4c013f0fbf0b6ffb, []int{5} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *TerminateProposalChange) XXX_Unmarshal(b []byte) error { func (x *TerminateProposalChange) String() string {
return xxx_messageInfo_TerminateProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *TerminateProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminateProposalChange.Marshal(b, m, deterministic) func (*TerminateProposalChange) ProtoMessage() {}
}
func (m *TerminateProposalChange) XXX_Merge(src proto.Message) { func (x *TerminateProposalChange) ProtoReflect() protoreflect.Message {
xxx_messageInfo_TerminateProposalChange.Merge(m, src) mi := &file_change_proto_msgTypes[5]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *TerminateProposalChange) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_TerminateProposalChange.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *TerminateProposalChange) XXX_DiscardUnknown() { }
xxx_messageInfo_TerminateProposalChange.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_TerminateProposalChange proto.InternalMessageInfo // Deprecated: Use TerminateProposalChange.ProtoReflect.Descriptor instead.
func (*TerminateProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{5}
}
func (m *TerminateProposalChange) GetProposalID() string { func (x *TerminateProposalChange) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *ReceiptProposalChange) Reset() { *m = ReceiptProposalChange{} } func (x *ReceiptProposalChange) Reset() {
func (m *ReceiptProposalChange) String() string { return proto.CompactTextString(m) } *x = ReceiptProposalChange{}
func (*ReceiptProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReceiptProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[6]
return fileDescriptor_4c013f0fbf0b6ffb, []int{6} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReceiptProposalChange) XXX_Unmarshal(b []byte) error { func (x *ReceiptProposalChange) String() string {
return xxx_messageInfo_ReceiptProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReceiptProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptProposalChange.Marshal(b, m, deterministic)
}
func (m *ReceiptProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptProposalChange.Merge(m, src)
}
func (m *ReceiptProposalChange) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalChange.Size(m)
} }
func (m *ReceiptProposalChange) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalChange.DiscardUnknown(m) func (*ReceiptProposalChange) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReceiptProposalChange proto.InternalMessageInfo // Deprecated: Use ReceiptProposalChange.ProtoReflect.Descriptor instead.
func (*ReceiptProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{6}
}
func (m *ReceiptProposalChange) GetPrev() *AutonomyProposalChange { func (x *ReceiptProposalChange) GetPrev() *AutonomyProposalChange {
if m != nil { if x != nil {
return m.Prev return x.Prev
} }
return nil return nil
} }
func (m *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange { func (x *ReceiptProposalChange) GetCurrent() *AutonomyProposalChange {
if m != nil { if x != nil {
return m.Current return x.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 (m *LocalProposalChange) Reset() { *m = LocalProposalChange{} } func (x *LocalProposalChange) Reset() {
func (m *LocalProposalChange) String() string { return proto.CompactTextString(m) } *x = LocalProposalChange{}
func (*LocalProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*LocalProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[7]
return fileDescriptor_4c013f0fbf0b6ffb, []int{7} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *LocalProposalChange) XXX_Unmarshal(b []byte) error { func (x *LocalProposalChange) String() string {
return xxx_messageInfo_LocalProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *LocalProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalProposalChange.Marshal(b, m, deterministic) func (*LocalProposalChange) ProtoMessage() {}
}
func (m *LocalProposalChange) XXX_Merge(src proto.Message) { func (x *LocalProposalChange) ProtoReflect() protoreflect.Message {
xxx_messageInfo_LocalProposalChange.Merge(m, src) mi := &file_change_proto_msgTypes[7]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *LocalProposalChange) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_LocalProposalChange.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *LocalProposalChange) XXX_DiscardUnknown() { }
xxx_messageInfo_LocalProposalChange.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_LocalProposalChange proto.InternalMessageInfo // Deprecated: Use LocalProposalChange.ProtoReflect.Descriptor instead.
func (*LocalProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{7}
}
func (m *LocalProposalChange) GetPropBd() *AutonomyProposalChange { func (x *LocalProposalChange) GetPropBd() *AutonomyProposalChange {
if m != nil { if x != nil {
return m.PropBd return x.PropBd
} }
return nil return nil
} }
func (m *LocalProposalChange) GetComments() []string { func (x *LocalProposalChange) GetComments() []string {
if m != nil { if x != nil {
return m.Comments return x.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 (m *ReqQueryProposalChange) Reset() { *m = ReqQueryProposalChange{} } func (x *ReqQueryProposalChange) Reset() {
func (m *ReqQueryProposalChange) String() string { return proto.CompactTextString(m) } *x = ReqQueryProposalChange{}
func (*ReqQueryProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReqQueryProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[8]
return fileDescriptor_4c013f0fbf0b6ffb, []int{8} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReqQueryProposalChange) XXX_Unmarshal(b []byte) error { func (x *ReqQueryProposalChange) String() string {
return xxx_messageInfo_ReqQueryProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReqQueryProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqQueryProposalChange.Marshal(b, m, deterministic)
}
func (m *ReqQueryProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqQueryProposalChange.Merge(m, src)
} }
func (m *ReqQueryProposalChange) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalChange.Size(m) func (*ReqQueryProposalChange) ProtoMessage() {}
}
func (m *ReqQueryProposalChange) XXX_DiscardUnknown() { func (x *ReqQueryProposalChange) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReqQueryProposalChange.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_ReqQueryProposalChange proto.InternalMessageInfo // Deprecated: Use ReqQueryProposalChange.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{8}
}
func (m *ReqQueryProposalChange) GetStatus() int32 { func (x *ReqQueryProposalChange) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *ReqQueryProposalChange) GetAddr() string { func (x *ReqQueryProposalChange) GetAddr() string {
if m != nil { if x != nil {
return m.Addr return x.Addr
} }
return "" return ""
} }
func (m *ReqQueryProposalChange) GetCount() int32 { func (x *ReqQueryProposalChange) GetCount() int32 {
if m != nil { if x != nil {
return m.Count return x.Count
} }
return 0 return 0
} }
func (m *ReqQueryProposalChange) GetDirection() int32 { func (x *ReqQueryProposalChange) GetDirection() int32 {
if m != nil { if x != nil {
return m.Direction return x.Direction
} }
return 0 return 0
} }
func (m *ReqQueryProposalChange) GetHeight() int64 { func (x *ReqQueryProposalChange) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReqQueryProposalChange) GetIndex() int32 { func (x *ReqQueryProposalChange) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.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 (m *ReplyQueryProposalChange) Reset() { *m = ReplyQueryProposalChange{} } func (x *ReplyQueryProposalChange) Reset() {
func (m *ReplyQueryProposalChange) String() string { return proto.CompactTextString(m) } *x = ReplyQueryProposalChange{}
func (*ReplyQueryProposalChange) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int) { mi := &file_change_proto_msgTypes[9]
return fileDescriptor_4c013f0fbf0b6ffb, []int{9} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReplyQueryProposalChange) XXX_Unmarshal(b []byte) error { func (x *ReplyQueryProposalChange) String() string {
return xxx_messageInfo_ReplyQueryProposalChange.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReplyQueryProposalChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryProposalChange.Marshal(b, m, deterministic)
}
func (m *ReplyQueryProposalChange) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyQueryProposalChange.Merge(m, src)
} }
func (m *ReplyQueryProposalChange) XXX_Size() int {
return xxx_messageInfo_ReplyQueryProposalChange.Size(m) func (*ReplyQueryProposalChange) ProtoMessage() {}
}
func (m *ReplyQueryProposalChange) XXX_DiscardUnknown() { func (x *ReplyQueryProposalChange) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReplyQueryProposalChange.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_ReplyQueryProposalChange proto.InternalMessageInfo // Deprecated: Use ReplyQueryProposalChange.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalChange) Descriptor() ([]byte, []int) {
return file_change_proto_rawDescGZIP(), []int{9}
}
func (m *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange { func (x *ReplyQueryProposalChange) GetPropChanges() []*AutonomyProposalChange {
if m != nil { if x != nil {
return m.PropChanges return x.PropChanges
} }
return nil return nil
} }
func init() { var File_change_proto protoreflect.FileDescriptor
proto.RegisterType((*AutonomyProposalChange)(nil), "types.AutonomyProposalChange")
proto.RegisterType((*ProposalChange)(nil), "types.ProposalChange") var file_change_proto_rawDesc = []byte{
proto.RegisterType((*Change)(nil), "types.Change") 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05,
proto.RegisterType((*RevokeProposalChange)(nil), "types.RevokeProposalChange") 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
proto.RegisterType((*VoteProposalChange)(nil), "types.VoteProposalChange") 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd9, 0x02, 0x0a, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d,
proto.RegisterType((*TerminateProposalChange)(nil), "types.TerminateProposalChange") 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12,
proto.RegisterType((*ReceiptProposalChange)(nil), "types.ReceiptProposalChange") 0x35, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20,
proto.RegisterType((*LocalProposalChange)(nil), "types.LocalProposalChange") 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70,
proto.RegisterType((*ReqQueryProposalChange)(nil), "types.ReqQueryProposalChange") 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70,
proto.RegisterType((*ReplyQueryProposalChange)(nil), "types.ReplyQueryProposalChange") 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,
func init() { proto.RegisterFile("change.proto", fileDescriptor_4c013f0fbf0b6ffb) } 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,
var fileDescriptor_4c013f0fbf0b6ffb = []byte{ 0x65, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x05, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x31, 0x0a,
// 631 bytes of a gzipped FileDescriptorProto 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4f, 0x6f, 0xd3, 0x4e, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65,
0x10, 0x95, 0x9b, 0xd8, 0x49, 0xa6, 0xbf, 0x56, 0xfd, 0x2d, 0x6d, 0x58, 0x2a, 0x40, 0x91, 0x0f, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x60, 0x81, 0x08, 0x6a, 0xf9, 0x27, 0x4e, 0xa8, 0x29, 0x48, 0x20, 0x21, 0x01, 0x2b, 0xc4, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
0x4e, 0x5b, 0x7b, 0x68, 0xac, 0x3a, 0xbb, 0x66, 0xbd, 0x8e, 0xc8, 0x81, 0x13, 0xdf, 0x85, 0xef, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
0xc4, 0x47, 0xe1, 0x86, 0x76, 0xbd, 0x6e, 0x1d, 0x27, 0x52, 0xe9, 0xcd, 0x6f, 0xf6, 0xcd, 0x7a, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
0xe6, 0xed, 0xbc, 0x81, 0xff, 0xe2, 0x29, 0x17, 0xa7, 0x38, 0xce, 0x95, 0xd4, 0x92, 0xf8, 0x7a, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01,
0x91, 0x63, 0xb1, 0xbf, 0x95, 0xc5, 0x72, 0x36, 0x93, 0xa2, 0x8a, 0x86, 0xbf, 0x37, 0x60, 0x78, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e,
0x54, 0x6a, 0x29, 0xe4, 0x6c, 0xf1, 0x5e, 0xc9, 0x5c, 0x16, 0x3c, 0x3b, 0xb6, 0x69, 0xe4, 0x09, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78,
0x40, 0xae, 0x64, 0x5e, 0x21, 0xea, 0x8d, 0xbc, 0x68, 0xf3, 0x70, 0x6f, 0x6c, 0x6f, 0x19, 0x2f, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x09,
0x53, 0x59, 0x83, 0x48, 0xee, 0x43, 0x2f, 0x2e, 0x15, 0x2b, 0x33, 0xa4, 0x1b, 0x36, 0xe7, 0x7f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x97, 0x63, 0x42, 0xc7, 0x52, 0x7c, 0x4d, 0x4f, 0x59, 0xcd, 0x20, 0x11, 0xf8, 0x27, 0x92, 0xab, 0x22, 0xf9, 0x01, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61,
0x84, 0x76, 0x2c, 0x95, 0x38, 0xea, 0x51, 0xac, 0xd3, 0x39, 0x4e, 0xcc, 0x09, 0xab, 0x08, 0xe4, 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
0x00, 0x60, 0x2e, 0x35, 0x32, 0x2c, 0xca, 0x4c, 0xd3, 0xee, 0xd2, 0xcd, 0x9f, 0xce, 0x0f, 0x58, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68,
0x83, 0x44, 0x86, 0x10, 0x14, 0x9a, 0xeb, 0xb2, 0xa0, 0xfe, 0xc8, 0x8b, 0x7c, 0xe6, 0x10, 0xa1, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a,
0xd0, 0xe3, 0x49, 0xa2, 0xb0, 0x28, 0x68, 0x30, 0xf2, 0xa2, 0x01, 0xab, 0xa1, 0xc9, 0x98, 0x62, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12,
0x7a, 0x3a, 0xd5, 0xb4, 0x37, 0xf2, 0xa2, 0x0e, 0x73, 0x88, 0xec, 0x82, 0x9f, 0x8a, 0x04, 0xbf, 0x27, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
0xd3, 0xbe, 0xbd, 0xa8, 0x02, 0xe4, 0x76, 0x25, 0x90, 0xd1, 0xe1, 0xcd, 0x4b, 0x3a, 0xb0, 0x57, 0x32, 0x0d, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52,
0x35, 0x22, 0xe1, 0x1f, 0x0f, 0xb6, 0x5b, 0x9a, 0x12, 0xe8, 0x2e, 0x90, 0x2b, 0xab, 0xa6, 0xcf, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72,
0xec, 0xb7, 0xb9, 0x7c, 0x26, 0x85, 0x9e, 0x5a, 0xb9, 0x7c, 0x56, 0x01, 0xb2, 0x03, 0x9d, 0x84, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01,
0x2f, 0xac, 0x2e, 0x3e, 0x33, 0x9f, 0xe4, 0x2e, 0xf4, 0xaa, 0x07, 0x2d, 0x68, 0x77, 0xd4, 0x89, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0x36, 0x0f, 0xb7, 0x5c, 0xfb, 0xee, 0x11, 0xea, 0x53, 0x72, 0x0f, 0x76, 0x0a, 0xcd, 0x95, 0x9e, 0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x64, 0x32, 0x3e, 0x7b, 0x5d, 0xf5, 0xe3, 0xdb, 0x7e, 0x56, 0xe2, 0xe4, 0x0e, 0x6c, 0xa3, 0x48, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e,
0x9a, 0xcc, 0xc0, 0x32, 0x5b, 0x51, 0x32, 0x06, 0xa2, 0x90, 0x67, 0xaf, 0x96, 0xb9, 0x95, 0x4a, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12,
0x6b, 0x4e, 0xc2, 0xc7, 0x10, 0xb8, 0x96, 0x87, 0x10, 0xc4, 0x5c, 0xc4, 0x98, 0xd9, 0xa6, 0xfb, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0xcc, 0x21, 0x23, 0x85, 0x91, 0xdd, 0x76, 0x3d, 0x60, 0xf6, 0x3b, 0x7c, 0x0a, 0xbb, 0x0c, 0xe7, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e,
0xf2, 0x0c, 0x5b, 0xb2, 0x2d, 0x2b, 0xed, 0xad, 0x28, 0xfd, 0x03, 0x88, 0x99, 0x81, 0xab, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x34, 0x0a, 0x06,
0xd9, 0x39, 0xc8, 0x73, 0x25, 0xe7, 0xd5, 0xa4, 0xf6, 0x59, 0x0d, 0xc9, 0x03, 0xe8, 0x9a, 0x39, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c,
0xb2, 0xea, 0x6f, 0x1f, 0xde, 0xa8, 0xa7, 0xd2, 0xf9, 0xc4, 0xfc, 0xea, 0x5d, 0xae, 0x53, 0x29, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x12,
0x98, 0xa5, 0x85, 0xcf, 0xe1, 0xfa, 0x47, 0x54, 0xb3, 0x54, 0xf0, 0xab, 0xd6, 0x10, 0xfe, 0xf4, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x64,
0x60, 0x8f, 0x61, 0x8c, 0x69, 0xae, 0x5b, 0x99, 0x07, 0xd0, 0xcd, 0x15, 0xce, 0x9d, 0xf1, 0x6e, 0x64, 0x72, 0x22, 0x36, 0x0a, 0x14, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70,
0xb5, 0x6a, 0x68, 0x19, 0xd0, 0x52, 0xc9, 0x33, 0x6b, 0x3d, 0x85, 0x42, 0x3b, 0xeb, 0x5d, 0x92, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72,
0x55, 0xb3, 0xc3, 0x29, 0x5c, 0x7b, 0x2b, 0x63, 0x9e, 0xad, 0x6c, 0x80, 0xc0, 0x94, 0x3a, 0x49, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0xfe, 0xad, 0x08, 0x47, 0x26, 0xfb, 0xd0, 0x37, 0x3b, 0x06, 0x85, 0x2e, 0xe8, 0xc6, 0xa8, 0x13, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x7d, 0x0a, 0x12, 0x56, 0x6f,
0x0d, 0xd8, 0x39, 0x0e, 0x7f, 0x79, 0x30, 0x64, 0xf8, 0xed, 0x43, 0x89, 0xaa, 0xbd, 0x6f, 0x2e, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0xec, 0xea, 0x2d, 0xd9, 0x75, 0xcd, 0xa0, 0x18, 0xcf, 0xc4, 0xb2, 0x14, 0xda, 0xf9, 0xa3, 0x02, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0xe4, 0x26, 0x0c, 0x92, 0x54, 0x61, 0x6c, 0x9e, 0xc6, 0xae, 0x08, 0x9f, 0x5d, 0x04, 0x1a, 0xe6, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0xf6, 0xd7, 0x9b, 0x3b, 0x68, 0x98, 0x3b, 0xfc, 0x02, 0x94, 0x61, 0x9e, 0x2d, 0xd6, 0x55, 0xfa, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x02, 0x36, 0x2f, 0x16, 0x9e, 0x29, 0xb7, 0x73, 0xb9, 0x38, 0xcd, 0x8c, 0x09, 0x7c, 0xee, 0x8f, 0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x76, 0x6f,
0xc7, 0x0f, 0x2d, 0xff, 0x24, 0xb0, 0x8b, 0xf8, 0xd1, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0xf2, 0x58, 0x7f, 0xae, 0x05, 0x00, 0x00, 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 {
file_change_proto_rawDescOnce.Do(func() {
file_change_proto_rawDescData = protoimpl.X.CompressGZIP(file_change_proto_rawDescData)
})
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
}
}
file_change_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReqQueryProposalChange); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_change_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalChange); 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_change_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_change_proto_goTypes,
DependencyIndexes: file_change_proto_depIdxs,
MessageInfos: file_change_proto_msgTypes,
}.Build()
File_change_proto = out.File
file_change_proto_rawDesc = nil
file_change_proto_goTypes = nil
file_change_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: lcommon.proto // source: lcommon.proto
package types package types
import ( import (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//三种投票选项 //三种投票选项
type AutonomyVoteOption int32 type AutonomyVoteOption int32
...@@ -33,29 +38,54 @@ const ( ...@@ -33,29 +38,54 @@ const (
AutonomyVoteOption_QUIT AutonomyVoteOption = 3 AutonomyVoteOption_QUIT AutonomyVoteOption = 3
) )
var AutonomyVoteOption_name = map[int32]string{ // Enum value maps for AutonomyVoteOption.
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 proto.EnumName(AutonomyVoteOption_name, int32(x)) return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(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 fileDescriptor_d916a933dd8220ff, []int{0} return file_lcommon_proto_rawDescGZIP(), []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"`
// 赞成票 // 赞成票
...@@ -66,72 +96,80 @@ type VoteResult struct { ...@@ -66,72 +96,80 @@ 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 (m *VoteResult) Reset() { *m = VoteResult{} } func (x *VoteResult) Reset() {
func (m *VoteResult) String() string { return proto.CompactTextString(m) } *x = VoteResult{}
func (*VoteResult) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VoteResult) Descriptor() ([]byte, []int) { mi := &file_lcommon_proto_msgTypes[0]
return fileDescriptor_d916a933dd8220ff, []int{0} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VoteResult) XXX_Unmarshal(b []byte) error { func (x *VoteResult) String() string {
return xxx_messageInfo_VoteResult.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *VoteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteResult.Marshal(b, m, deterministic) func (*VoteResult) ProtoMessage() {}
}
func (m *VoteResult) XXX_Merge(src proto.Message) { func (x *VoteResult) ProtoReflect() protoreflect.Message {
xxx_messageInfo_VoteResult.Merge(m, src) mi := &file_lcommon_proto_msgTypes[0]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *VoteResult) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_VoteResult.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *VoteResult) XXX_DiscardUnknown() { }
xxx_messageInfo_VoteResult.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_VoteResult proto.InternalMessageInfo // Deprecated: Use VoteResult.ProtoReflect.Descriptor instead.
func (*VoteResult) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{0}
}
func (m *VoteResult) GetTotalVotes() int32 { func (x *VoteResult) GetTotalVotes() int32 {
if m != nil { if x != nil {
return m.TotalVotes return x.TotalVotes
} }
return 0 return 0
} }
func (m *VoteResult) GetApproveVotes() int32 { func (x *VoteResult) GetApproveVotes() int32 {
if m != nil { if x != nil {
return m.ApproveVotes return x.ApproveVotes
} }
return 0 return 0
} }
func (m *VoteResult) GetOpposeVotes() int32 { func (x *VoteResult) GetOpposeVotes() int32 {
if m != nil { if x != nil {
return m.OpposeVotes return x.OpposeVotes
} }
return 0 return 0
} }
func (m *VoteResult) GetPass() bool { func (x *VoteResult) GetPass() bool {
if m != nil { if x != nil {
return m.Pass return x.Pass
} }
return false return false
} }
func (m *VoteResult) GetQuitVotes() int32 { func (x *VoteResult) GetQuitVotes() int32 {
if m != nil { if x != nil {
return m.QuitVotes return x.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"`
// 总票数 // 总票数
...@@ -140,104 +178,120 @@ type PublicVote struct { ...@@ -140,104 +178,120 @@ 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 (m *PublicVote) Reset() { *m = PublicVote{} } func (x *PublicVote) Reset() {
func (m *PublicVote) String() string { return proto.CompactTextString(m) } *x = PublicVote{}
func (*PublicVote) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*PublicVote) Descriptor() ([]byte, []int) { mi := &file_lcommon_proto_msgTypes[1]
return fileDescriptor_d916a933dd8220ff, []int{1} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *PublicVote) XXX_Unmarshal(b []byte) error { func (x *PublicVote) String() string {
return xxx_messageInfo_PublicVote.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *PublicVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PublicVote.Marshal(b, m, deterministic)
}
func (m *PublicVote) XXX_Merge(src proto.Message) {
xxx_messageInfo_PublicVote.Merge(m, src)
} }
func (m *PublicVote) XXX_Size() int {
return xxx_messageInfo_PublicVote.Size(m) func (*PublicVote) ProtoMessage() {}
}
func (m *PublicVote) XXX_DiscardUnknown() { func (x *PublicVote) ProtoReflect() protoreflect.Message {
xxx_messageInfo_PublicVote.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_PublicVote proto.InternalMessageInfo // Deprecated: Use PublicVote.ProtoReflect.Descriptor instead.
func (*PublicVote) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{1}
}
func (m *PublicVote) GetPublicity() bool { func (x *PublicVote) GetPublicity() bool {
if m != nil { if x != nil {
return m.Publicity return x.Publicity
} }
return false return false
} }
func (m *PublicVote) GetTotalVotes() int32 { func (x *PublicVote) GetTotalVotes() int32 {
if m != nil { if x != nil {
return m.TotalVotes return x.TotalVotes
} }
return 0 return 0
} }
func (m *PublicVote) GetOpposeVotes() int32 { func (x *PublicVote) GetOpposeVotes() int32 {
if m != nil { if x != nil {
return m.OpposeVotes return x.OpposeVotes
} }
return 0 return 0
} }
func (m *PublicVote) GetPubPass() bool { func (x *PublicVote) GetPubPass() bool {
if m != nil { if x != nil {
return m.PubPass return x.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 (m *VotesRecord) Reset() { *m = VotesRecord{} } func (x *VotesRecord) Reset() {
func (m *VotesRecord) String() string { return proto.CompactTextString(m) } *x = VotesRecord{}
func (*VotesRecord) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VotesRecord) Descriptor() ([]byte, []int) { mi := &file_lcommon_proto_msgTypes[2]
return fileDescriptor_d916a933dd8220ff, []int{2} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VotesRecord) XXX_Unmarshal(b []byte) error { func (x *VotesRecord) String() string {
return xxx_messageInfo_VotesRecord.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *VotesRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VotesRecord.Marshal(b, m, deterministic)
} }
func (m *VotesRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_VotesRecord.Merge(m, src) func (*VotesRecord) ProtoMessage() {}
}
func (m *VotesRecord) XXX_Size() int { func (x *VotesRecord) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_VotesRecord.Size(m) mi := &file_lcommon_proto_msgTypes[2]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *VotesRecord) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_VotesRecord.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_VotesRecord proto.InternalMessageInfo // Deprecated: Use VotesRecord.ProtoReflect.Descriptor instead.
func (*VotesRecord) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{2}
}
func (m *VotesRecord) GetAddress() []string { func (x *VotesRecord) GetAddress() []string {
if m != nil { if x != nil {
return m.Address return x.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"`
// 全体持票人否决率 // 全体持票人否决率
...@@ -252,188 +306,335 @@ type RuleConfig struct { ...@@ -252,188 +306,335 @@ 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 (m *RuleConfig) Reset() { *m = RuleConfig{} } func (x *RuleConfig) Reset() {
func (m *RuleConfig) String() string { return proto.CompactTextString(m) } *x = RuleConfig{}
func (*RuleConfig) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RuleConfig) Descriptor() ([]byte, []int) { mi := &file_lcommon_proto_msgTypes[3]
return fileDescriptor_d916a933dd8220ff, []int{3} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RuleConfig) XXX_Unmarshal(b []byte) error { func (x *RuleConfig) String() string {
return xxx_messageInfo_RuleConfig.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *RuleConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RuleConfig.Marshal(b, m, deterministic)
} }
func (m *RuleConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_RuleConfig.Merge(m, src) func (*RuleConfig) ProtoMessage() {}
}
func (m *RuleConfig) XXX_Size() int { func (x *RuleConfig) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_RuleConfig.Size(m) mi := &file_lcommon_proto_msgTypes[3]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *RuleConfig) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_RuleConfig.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_RuleConfig proto.InternalMessageInfo // Deprecated: Use RuleConfig.ProtoReflect.Descriptor instead.
func (*RuleConfig) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{3}
}
func (m *RuleConfig) GetBoardApproveRatio() int32 { func (x *RuleConfig) GetBoardApproveRatio() int32 {
if m != nil { if x != nil {
return m.BoardApproveRatio return x.BoardApproveRatio
} }
return 0 return 0
} }
func (m *RuleConfig) GetPubOpposeRatio() int32 { func (x *RuleConfig) GetPubOpposeRatio() int32 {
if m != nil { if x != nil {
return m.PubOpposeRatio return x.PubOpposeRatio
} }
return 0 return 0
} }
func (m *RuleConfig) GetProposalAmount() int64 { func (x *RuleConfig) GetProposalAmount() int64 {
if m != nil { if x != nil {
return m.ProposalAmount return x.ProposalAmount
} }
return 0 return 0
} }
func (m *RuleConfig) GetLargeProjectAmount() int64 { func (x *RuleConfig) GetLargeProjectAmount() int64 {
if m != nil { if x != nil {
return m.LargeProjectAmount return x.LargeProjectAmount
} }
return 0 return 0
} }
func (m *RuleConfig) GetPublicPeriod() int32 { func (x *RuleConfig) GetPublicPeriod() int32 {
if m != nil { if x != nil {
return m.PublicPeriod return x.PublicPeriod
} }
return 0 return 0
} }
func (m *RuleConfig) GetPubAttendRatio() int32 { func (x *RuleConfig) GetPubAttendRatio() int32 {
if m != nil { if x != nil {
return m.PubAttendRatio return x.PubAttendRatio
} }
return 0 return 0
} }
func (m *RuleConfig) GetPubApproveRatio() int32 { func (x *RuleConfig) GetPubApproveRatio() int32 {
if m != nil { if x != nil {
return m.PubApproveRatio return x.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 (m *ActiveBoard) Reset() { *m = ActiveBoard{} } func (x *ActiveBoard) Reset() {
func (m *ActiveBoard) String() string { return proto.CompactTextString(m) } *x = ActiveBoard{}
func (*ActiveBoard) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ActiveBoard) Descriptor() ([]byte, []int) { mi := &file_lcommon_proto_msgTypes[4]
return fileDescriptor_d916a933dd8220ff, []int{4} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ActiveBoard) XXX_Unmarshal(b []byte) error { func (x *ActiveBoard) String() string {
return xxx_messageInfo_ActiveBoard.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ActiveBoard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActiveBoard.Marshal(b, m, deterministic)
}
func (m *ActiveBoard) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActiveBoard.Merge(m, src)
}
func (m *ActiveBoard) XXX_Size() int {
return xxx_messageInfo_ActiveBoard.Size(m)
} }
func (m *ActiveBoard) XXX_DiscardUnknown() {
xxx_messageInfo_ActiveBoard.DiscardUnknown(m) func (*ActiveBoard) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ActiveBoard proto.InternalMessageInfo // Deprecated: Use ActiveBoard.ProtoReflect.Descriptor instead.
func (*ActiveBoard) Descriptor() ([]byte, []int) {
return file_lcommon_proto_rawDescGZIP(), []int{4}
}
func (m *ActiveBoard) GetBoards() []string { func (x *ActiveBoard) GetBoards() []string {
if m != nil { if x != nil {
return m.Boards return x.Boards
} }
return nil return nil
} }
func (m *ActiveBoard) GetRevboards() []string { func (x *ActiveBoard) GetRevboards() []string {
if m != nil { if x != nil {
return m.Revboards return x.Revboards
} }
return nil return nil
} }
func (m *ActiveBoard) GetAmount() int64 { func (x *ActiveBoard) GetAmount() int64 {
if m != nil { if x != nil {
return m.Amount return x.Amount
} }
return 0 return 0
} }
func (m *ActiveBoard) GetStartHeight() int64 { func (x *ActiveBoard) GetStartHeight() int64 {
if m != nil { if x != nil {
return m.StartHeight return x.StartHeight
} }
return 0 return 0
} }
func init() { var File_lcommon_proto protoreflect.FileDescriptor
proto.RegisterEnum("types.AutonomyVoteOption", AutonomyVoteOption_name, AutonomyVoteOption_value)
proto.RegisterType((*VoteResult)(nil), "types.VoteResult") var file_lcommon_proto_rawDesc = []byte{
proto.RegisterType((*PublicVote)(nil), "types.PublicVote") 0x0a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
proto.RegisterType((*VotesRecord)(nil), "types.VotesRecord") 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0a, 0x56, 0x6f, 0x74, 0x65, 0x52,
proto.RegisterType((*RuleConfig)(nil), "types.RuleConfig") 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x6f,
proto.RegisterType((*ActiveBoard)(nil), "types.ActiveBoard") 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
} 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,
func init() { proto.RegisterFile("lcommon.proto", fileDescriptor_d916a933dd8220ff) } 0x72, 0x6f, 0x76, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x70,
0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b,
var fileDescriptor_d916a933dd8220ff = []byte{ 0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70,
// 456 bytes of a gzipped FileDescriptorProto 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4d, 0x8e, 0xd3, 0x40, 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x69, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01,
0x10, 0x85, 0xb1, 0xf3, 0x3b, 0x15, 0x7e, 0x42, 0x2d, 0x50, 0x16, 0x08, 0x45, 0x5e, 0x40, 0x84, 0x28, 0x05, 0x52, 0x09, 0x71, 0x75, 0x69, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x86, 0x01,
0x50, 0x58, 0x70, 0x02, 0xcf, 0x68, 0x24, 0x86, 0xc5, 0xd8, 0x34, 0x30, 0x0b, 0x76, 0x6d, 0xbb, 0x0a, 0x0a, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09,
0x09, 0x46, 0x8e, 0xab, 0xe9, 0x2e, 0x47, 0xca, 0x82, 0x2d, 0x27, 0xe1, 0x00, 0x1c, 0x11, 0x75, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0xdb, 0x21, 0x9e, 0x0c, 0x12, 0x3b, 0xd7, 0x57, 0xaf, 0xa5, 0xf7, 0x5e, 0xc9, 0xf0, 0xa0, 0xca, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f,
0x69, 0xbb, 0xa5, 0x7a, 0xad, 0x0d, 0x31, 0xe1, 0x88, 0xf7, 0x5a, 0xd9, 0xe8, 0x57, 0x00, 0x70, 0x74, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x43, 0xac, 0x84, 0xb2, 0x4d, 0xc5, 0xf8, 0x0c, 0x80, 0x89, 0x65, 0xe5, 0x90, 0x5d, 0x04, 0xcb, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70,
0x60, 0x35, 0x12, 0x3d, 0x82, 0x11, 0xdc, 0x97, 0x5a, 0x1b, 0xda, 0xa9, 0x56, 0x11, 0x7a, 0xc5, 0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x2d, 0x86, 0x4b, 0x98, 0x91, 0xd6, 0x64, 0x3b, 0xc9, 0xc0, 0x4b, 0xfa, 0x08, 0x11, 0x86, 0x5a, 0x0b, 0x6f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07,
0x5a, 0xbb, 0x18, 0x2e, 0x83, 0xd5, 0x54, 0xf8, 0x6f, 0x7c, 0x0a, 0x67, 0xdf, 0x9b, 0x92, 0xdb, 0x70, 0x75, 0x62, 0x50, 0x61, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70,
0x37, 0x23, 0xff, 0xe6, 0x08, 0xa2, 0x9f, 0x01, 0x40, 0xda, 0x64, 0x55, 0x99, 0xbb, 0xd9, 0x89, 0x75, 0x62, 0x50, 0x61, 0x73, 0x73, 0x22, 0x27, 0x0a, 0x0b, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52,
0xb5, 0x9f, 0x4a, 0xde, 0x7b, 0x97, 0x53, 0x71, 0x04, 0x27, 0x21, 0xc2, 0x3b, 0x21, 0xfe, 0x6f, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
0x70, 0x01, 0x13, 0xdd, 0x64, 0xe9, 0xd1, 0xe3, 0x61, 0x8c, 0x5e, 0xc0, 0xcc, 0x4b, 0x84, 0xca, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22,
0xc9, 0x14, 0x4e, 0x28, 0x8b, 0xc2, 0x28, 0xeb, 0xca, 0x1a, 0xac, 0xce, 0xc4, 0x61, 0x8c, 0x7e, 0xb0, 0x02, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c,
0x87, 0x00, 0xa2, 0xa9, 0xd4, 0x05, 0xd5, 0x5f, 0xca, 0x0d, 0xbe, 0x82, 0xc7, 0x19, 0x49, 0x53, 0x0a, 0x11, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61,
0xc4, 0x6d, 0x53, 0x42, 0x72, 0x49, 0x5d, 0xbf, 0x77, 0x17, 0xf8, 0x1c, 0x1e, 0xea, 0x26, 0x4b, 0x74, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x62, 0x6f, 0x61, 0x72, 0x64,
0xbc, 0xa3, 0x56, 0xda, 0xa6, 0x38, 0xa1, 0x5e, 0x67, 0x48, 0x93, 0x95, 0x55, 0xbc, 0xa5, 0xa6, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x26, 0x0a, 0x0e,
0x66, 0x1f, 0x66, 0x20, 0x4e, 0x28, 0xae, 0x01, 0x2b, 0x69, 0x36, 0x2a, 0x35, 0xf4, 0x4d, 0xe5, 0x70, 0x75, 0x62, 0x4f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x02,
0xdc, 0x69, 0x87, 0x5e, 0xfb, 0x8f, 0x8d, 0x3b, 0x73, 0x5b, 0x67, 0xaa, 0x4c, 0x49, 0x45, 0x77, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x4f, 0x70, 0x70, 0x6f, 0x73, 0x65, 0x52,
0x8f, 0x5b, 0xac, 0xf3, 0x18, 0x33, 0xab, 0xba, 0x68, 0x3d, 0x8e, 0xff, 0x7a, 0xec, 0x51, 0x5c, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0xc1, 0x23, 0x47, 0xfa, 0xb9, 0x27, 0x5e, 0x78, 0x8a, 0xa3, 0x1f, 0x30, 0x8b, 0x73, 0x2e, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x70, 0x72,
0xea, 0xdc, 0x15, 0x82, 0x4f, 0x60, 0xec, 0x9b, 0x39, 0x54, 0xdb, 0x4d, 0xee, 0xf8, 0x46, 0xed, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12,
0xba, 0x55, 0xe8, 0x57, 0x47, 0xe0, 0x5e, 0xc9, 0x7e, 0x15, 0xdd, 0xe4, 0x8e, 0x6e, 0x59, 0x1a, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75,
0x7e, 0xab, 0xca, 0xcd, 0xd7, 0x43, 0xf6, 0x3e, 0x7a, 0x79, 0x01, 0x18, 0x37, 0x4c, 0x35, 0x6d, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x50,
0xf7, 0xee, 0xc4, 0x89, 0xe6, 0x92, 0x6a, 0x04, 0x18, 0x5f, 0x27, 0xef, 0x92, 0xab, 0xeb, 0xf9, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c,
0x3d, 0x9c, 0xc1, 0x24, 0x4e, 0x53, 0x91, 0xdc, 0x5c, 0xce, 0x03, 0xb7, 0x48, 0xd2, 0x34, 0xf9, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x05, 0x20, 0x01,
0x70, 0x39, 0x0f, 0x71, 0x0a, 0xc3, 0xf7, 0x9f, 0xae, 0x3e, 0xce, 0x07, 0xe7, 0xf0, 0x79, 0xba, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64,
0x5e, 0xbf, 0xf6, 0xff, 0x56, 0x36, 0xf6, 0x7f, 0xda, 0x9b, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x75, 0x62, 0x41, 0x74, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x61, 0x74,
0x45, 0x4b, 0xaa, 0xe7, 0x7a, 0x03, 0x00, 0x00, 0x69, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x41, 0x74, 0x74,
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 (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalProject struct { type AutonomyProposalProject struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
...@@ -36,725 +45,1048 @@ type AutonomyProposalProject struct { ...@@ -36,725 +45,1048 @@ 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 (m *AutonomyProposalProject) Reset() { *m = AutonomyProposalProject{} } func (x *AutonomyProposalProject) Reset() {
func (m *AutonomyProposalProject) String() string { return proto.CompactTextString(m) } *x = AutonomyProposalProject{}
func (*AutonomyProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*AutonomyProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[0]
return fileDescriptor_8340e6318dfdfac2, []int{0} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *AutonomyProposalProject) XXX_Unmarshal(b []byte) error { func (x *AutonomyProposalProject) String() string {
return xxx_messageInfo_AutonomyProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *AutonomyProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutonomyProposalProject.Marshal(b, m, deterministic)
} }
func (m *AutonomyProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutonomyProposalProject.Merge(m, src) func (*AutonomyProposalProject) ProtoMessage() {}
}
func (m *AutonomyProposalProject) XXX_Size() int { func (x *AutonomyProposalProject) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_AutonomyProposalProject.Size(m) mi := &file_project_proto_msgTypes[0]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *AutonomyProposalProject) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_AutonomyProposalProject.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_AutonomyProposalProject proto.InternalMessageInfo // Deprecated: Use AutonomyProposalProject.ProtoReflect.Descriptor instead.
func (*AutonomyProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{0}
}
func (m *AutonomyProposalProject) GetPropProject() *ProposalProject { func (x *AutonomyProposalProject) GetPropProject() *ProposalProject {
if m != nil { if x != nil {
return m.PropProject return x.PropProject
} }
return nil return nil
} }
func (m *AutonomyProposalProject) GetCurRule() *RuleConfig { func (x *AutonomyProposalProject) GetCurRule() *RuleConfig {
if m != nil { if x != nil {
return m.CurRule return x.CurRule
} }
return nil return nil
} }
func (m *AutonomyProposalProject) GetBoards() []string { func (x *AutonomyProposalProject) GetBoards() []string {
if m != nil { if x != nil {
return m.Boards return x.Boards
} }
return nil return nil
} }
func (m *AutonomyProposalProject) GetBoardVoteRes() *VoteResult { func (x *AutonomyProposalProject) GetBoardVoteRes() *VoteResult {
if m != nil { if x != nil {
return m.BoardVoteRes return x.BoardVoteRes
} }
return nil return nil
} }
func (m *AutonomyProposalProject) GetPubVote() *PublicVote { func (x *AutonomyProposalProject) GetPubVote() *PublicVote {
if m != nil { if x != nil {
return m.PubVote return x.PubVote
} }
return nil return nil
} }
func (m *AutonomyProposalProject) GetStatus() int32 { func (x *AutonomyProposalProject) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *AutonomyProposalProject) GetAddress() string { func (x *AutonomyProposalProject) GetAddress() string {
if m != nil { if x != nil {
return m.Address return x.Address
} }
return "" return ""
} }
func (m *AutonomyProposalProject) GetHeight() int64 { func (x *AutonomyProposalProject) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *AutonomyProposalProject) GetIndex() int32 { func (x *AutonomyProposalProject) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *AutonomyProposalProject) GetProposalID() string { func (x *AutonomyProposalProject) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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"` FirstStage string `protobuf:"bytes,4,opt,name=firstStage,proto3" json:"firstStage,omitempty"` // 第一阶段提案项目hash
LastStage string `protobuf:"bytes,5,opt,name=lastStage,proto3" json:"lastStage,omitempty"` LastStage string `protobuf:"bytes,5,opt,name=lastStage,proto3" json:"lastStage,omitempty"` // 上一阶段提案项目hash
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:"-"`
XXX_sizecache int32 `json:"-"` func (x *ProposalProject) Reset() {
*x = ProposalProject{}
if protoimpl.UnsafeEnabled {
mi := &file_project_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ProposalProject) Reset() { *m = ProposalProject{} } func (x *ProposalProject) String() string {
func (m *ProposalProject) String() string { return proto.CompactTextString(m) } return protoimpl.X.MessageStringOf(x)
func (*ProposalProject) ProtoMessage() {}
func (*ProposalProject) Descriptor() ([]byte, []int) {
return fileDescriptor_8340e6318dfdfac2, []int{1}
} }
func (m *ProposalProject) XXX_Unmarshal(b []byte) error { func (*ProposalProject) ProtoMessage() {}
return xxx_messageInfo_ProposalProject.Unmarshal(m, b)
} func (x *ProposalProject) ProtoReflect() protoreflect.Message {
func (m *ProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { mi := &file_project_proto_msgTypes[1]
return xxx_messageInfo_ProposalProject.Marshal(b, m, deterministic) if protoimpl.UnsafeEnabled && x != nil {
} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
func (m *ProposalProject) XXX_Merge(src proto.Message) { if ms.LoadMessageInfo() == nil {
xxx_messageInfo_ProposalProject.Merge(m, src) ms.StoreMessageInfo(mi)
} }
func (m *ProposalProject) XXX_Size() int { return ms
return xxx_messageInfo_ProposalProject.Size(m) }
} return mi.MessageOf(x)
func (m *ProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalProject.DiscardUnknown(m)
} }
var xxx_messageInfo_ProposalProject proto.InternalMessageInfo // Deprecated: Use ProposalProject.ProtoReflect.Descriptor instead.
func (*ProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{1}
}
func (m *ProposalProject) GetYear() int32 { func (x *ProposalProject) GetYear() int32 {
if m != nil { if x != nil {
return m.Year return x.Year
} }
return 0 return 0
} }
func (m *ProposalProject) GetMonth() int32 { func (x *ProposalProject) GetMonth() int32 {
if m != nil { if x != nil {
return m.Month return x.Month
} }
return 0 return 0
} }
func (m *ProposalProject) GetDay() int32 { func (x *ProposalProject) GetDay() int32 {
if m != nil { if x != nil {
return m.Day return x.Day
} }
return 0 return 0
} }
func (m *ProposalProject) GetFirstStage() string { func (x *ProposalProject) GetFirstStage() string {
if m != nil { if x != nil {
return m.FirstStage return x.FirstStage
} }
return "" return ""
} }
func (m *ProposalProject) GetLastStage() string { func (x *ProposalProject) GetLastStage() string {
if m != nil { if x != nil {
return m.LastStage return x.LastStage
} }
return "" return ""
} }
func (m *ProposalProject) GetProduction() string { func (x *ProposalProject) GetProduction() string {
if m != nil { if x != nil {
return m.Production return x.Production
} }
return "" return ""
} }
func (m *ProposalProject) GetDescription() string { func (x *ProposalProject) GetDescription() string {
if m != nil { if x != nil {
return m.Description return x.Description
} }
return "" return ""
} }
func (m *ProposalProject) GetContractor() string { func (x *ProposalProject) GetContractor() string {
if m != nil { if x != nil {
return m.Contractor return x.Contractor
} }
return "" return ""
} }
func (m *ProposalProject) GetAmount() int64 { func (x *ProposalProject) GetAmount() int64 {
if m != nil { if x != nil {
return m.Amount return x.Amount
} }
return 0 return 0
} }
func (m *ProposalProject) GetAmountDetail() string { func (x *ProposalProject) GetAmountDetail() string {
if m != nil { if x != nil {
return m.AmountDetail return x.AmountDetail
} }
return "" return ""
} }
func (m *ProposalProject) GetToAddr() string { func (x *ProposalProject) GetToAddr() string {
if m != nil { if x != nil {
return m.ToAddr return x.ToAddr
} }
return "" return ""
} }
func (m *ProposalProject) GetStartBlockHeight() int64 { func (x *ProposalProject) GetStartBlockHeight() int64 {
if m != nil { if x != nil {
return m.StartBlockHeight return x.StartBlockHeight
} }
return 0 return 0
} }
func (m *ProposalProject) GetEndBlockHeight() int64 { func (x *ProposalProject) GetEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.EndBlockHeight return x.EndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalProject) GetRealEndBlockHeight() int64 { func (x *ProposalProject) GetRealEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.RealEndBlockHeight return x.RealEndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalProject) GetProjectNeedBlockNum() int32 { func (x *ProposalProject) GetProjectNeedBlockNum() int32 {
if m != nil { if x != nil {
return m.ProjectNeedBlockNum return x.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 (m *RevokeProposalProject) Reset() { *m = RevokeProposalProject{} } func (x *RevokeProposalProject) Reset() {
func (m *RevokeProposalProject) String() string { return proto.CompactTextString(m) } *x = RevokeProposalProject{}
func (*RevokeProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RevokeProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[2]
return fileDescriptor_8340e6318dfdfac2, []int{2} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RevokeProposalProject) XXX_Unmarshal(b []byte) error { func (x *RevokeProposalProject) String() string {
return xxx_messageInfo_RevokeProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *RevokeProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevokeProposalProject.Marshal(b, m, deterministic)
} }
func (m *RevokeProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevokeProposalProject.Merge(m, src) func (*RevokeProposalProject) ProtoMessage() {}
}
func (m *RevokeProposalProject) XXX_Size() int { func (x *RevokeProposalProject) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_RevokeProposalProject.Size(m) mi := &file_project_proto_msgTypes[2]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *RevokeProposalProject) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_RevokeProposalProject.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_RevokeProposalProject proto.InternalMessageInfo // Deprecated: Use RevokeProposalProject.ProtoReflect.Descriptor instead.
func (*RevokeProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{2}
}
func (m *RevokeProposalProject) GetProposalID() string { func (x *RevokeProposalProject) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *VoteProposalProject) Reset() { *m = VoteProposalProject{} } func (x *VoteProposalProject) Reset() {
func (m *VoteProposalProject) String() string { return proto.CompactTextString(m) } *x = VoteProposalProject{}
func (*VoteProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VoteProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[3]
return fileDescriptor_8340e6318dfdfac2, []int{3} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VoteProposalProject) XXX_Unmarshal(b []byte) error { func (x *VoteProposalProject) String() string {
return xxx_messageInfo_VoteProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *VoteProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteProposalProject.Marshal(b, m, deterministic)
} }
func (m *VoteProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_VoteProposalProject.Merge(m, src) func (*VoteProposalProject) ProtoMessage() {}
}
func (m *VoteProposalProject) XXX_Size() int { func (x *VoteProposalProject) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_VoteProposalProject.Size(m) mi := &file_project_proto_msgTypes[3]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *VoteProposalProject) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_VoteProposalProject.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_VoteProposalProject proto.InternalMessageInfo // Deprecated: Use VoteProposalProject.ProtoReflect.Descriptor instead.
func (*VoteProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{3}
}
func (m *VoteProposalProject) GetProposalID() string { func (x *VoteProposalProject) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *VoteProposalProject) GetApprove() bool { func (x *VoteProposalProject) GetApprove() bool {
if m != nil { if x != nil {
return m.Approve return x.Approve
} }
return false return false
} }
func (m *VoteProposalProject) GetVote() AutonomyVoteOption { func (x *VoteProposalProject) GetVote() AutonomyVoteOption {
if m != nil { if x != nil {
return m.Vote return x.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 (m *PubVoteProposalProject) Reset() { *m = PubVoteProposalProject{} } func (x *PubVoteProposalProject) Reset() {
func (m *PubVoteProposalProject) String() string { return proto.CompactTextString(m) } *x = PubVoteProposalProject{}
func (*PubVoteProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*PubVoteProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[4]
return fileDescriptor_8340e6318dfdfac2, []int{4} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *PubVoteProposalProject) XXX_Unmarshal(b []byte) error { func (x *PubVoteProposalProject) String() string {
return xxx_messageInfo_PubVoteProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *PubVoteProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PubVoteProposalProject.Marshal(b, m, deterministic)
}
func (m *PubVoteProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_PubVoteProposalProject.Merge(m, src)
}
func (m *PubVoteProposalProject) XXX_Size() int {
return xxx_messageInfo_PubVoteProposalProject.Size(m)
} }
func (m *PubVoteProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_PubVoteProposalProject.DiscardUnknown(m) func (*PubVoteProposalProject) ProtoMessage() {}
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)
} }
var xxx_messageInfo_PubVoteProposalProject proto.InternalMessageInfo // Deprecated: Use PubVoteProposalProject.ProtoReflect.Descriptor instead.
func (*PubVoteProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{4}
}
func (m *PubVoteProposalProject) GetProposalID() string { func (x *PubVoteProposalProject) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *PubVoteProposalProject) GetOppose() bool { func (x *PubVoteProposalProject) GetOppose() bool {
if m != nil { if x != nil {
return m.Oppose return x.Oppose
} }
return false return false
} }
func (m *PubVoteProposalProject) GetOriginAddr() []string { func (x *PubVoteProposalProject) GetOriginAddr() []string {
if m != nil { if x != nil {
return m.OriginAddr return x.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 (m *TerminateProposalProject) Reset() { *m = TerminateProposalProject{} } func (x *TerminateProposalProject) Reset() {
func (m *TerminateProposalProject) String() string { return proto.CompactTextString(m) } *x = TerminateProposalProject{}
func (*TerminateProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*TerminateProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[5]
return fileDescriptor_8340e6318dfdfac2, []int{5} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *TerminateProposalProject) XXX_Unmarshal(b []byte) error { func (x *TerminateProposalProject) String() string {
return xxx_messageInfo_TerminateProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *TerminateProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminateProposalProject.Marshal(b, m, deterministic) func (*TerminateProposalProject) ProtoMessage() {}
}
func (m *TerminateProposalProject) XXX_Merge(src proto.Message) { func (x *TerminateProposalProject) ProtoReflect() protoreflect.Message {
xxx_messageInfo_TerminateProposalProject.Merge(m, src) mi := &file_project_proto_msgTypes[5]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *TerminateProposalProject) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_TerminateProposalProject.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *TerminateProposalProject) XXX_DiscardUnknown() { }
xxx_messageInfo_TerminateProposalProject.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_TerminateProposalProject proto.InternalMessageInfo // Deprecated: Use TerminateProposalProject.ProtoReflect.Descriptor instead.
func (*TerminateProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{5}
}
func (m *TerminateProposalProject) GetProposalID() string { func (x *TerminateProposalProject) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *ReceiptProposalProject) Reset() { *m = ReceiptProposalProject{} } func (x *ReceiptProposalProject) Reset() {
func (m *ReceiptProposalProject) String() string { return proto.CompactTextString(m) } *x = ReceiptProposalProject{}
func (*ReceiptProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReceiptProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[6]
return fileDescriptor_8340e6318dfdfac2, []int{6} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReceiptProposalProject) XXX_Unmarshal(b []byte) error { func (x *ReceiptProposalProject) String() string {
return xxx_messageInfo_ReceiptProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReceiptProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptProposalProject.Marshal(b, m, deterministic)
}
func (m *ReceiptProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptProposalProject.Merge(m, src)
}
func (m *ReceiptProposalProject) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalProject.Size(m)
} }
func (m *ReceiptProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalProject.DiscardUnknown(m) func (*ReceiptProposalProject) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReceiptProposalProject proto.InternalMessageInfo // Deprecated: Use ReceiptProposalProject.ProtoReflect.Descriptor instead.
func (*ReceiptProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{6}
}
func (m *ReceiptProposalProject) GetPrev() *AutonomyProposalProject { func (x *ReceiptProposalProject) GetPrev() *AutonomyProposalProject {
if m != nil { if x != nil {
return m.Prev return x.Prev
} }
return nil return nil
} }
func (m *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject { func (x *ReceiptProposalProject) GetCurrent() *AutonomyProposalProject {
if m != nil { if x != nil {
return m.Current return x.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 (m *LocalProposalProject) Reset() { *m = LocalProposalProject{} } func (x *LocalProposalProject) Reset() {
func (m *LocalProposalProject) String() string { return proto.CompactTextString(m) } *x = LocalProposalProject{}
func (*LocalProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*LocalProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[7]
return fileDescriptor_8340e6318dfdfac2, []int{7} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *LocalProposalProject) XXX_Unmarshal(b []byte) error { func (x *LocalProposalProject) String() string {
return xxx_messageInfo_LocalProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *LocalProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalProposalProject.Marshal(b, m, deterministic)
} }
func (m *LocalProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocalProposalProject.Merge(m, src) func (*LocalProposalProject) ProtoMessage() {}
}
func (m *LocalProposalProject) XXX_Size() int { func (x *LocalProposalProject) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_LocalProposalProject.Size(m) mi := &file_project_proto_msgTypes[7]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *LocalProposalProject) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_LocalProposalProject.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_LocalProposalProject proto.InternalMessageInfo // Deprecated: Use LocalProposalProject.ProtoReflect.Descriptor instead.
func (*LocalProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{7}
}
func (m *LocalProposalProject) GetPropPrj() *AutonomyProposalProject { func (x *LocalProposalProject) GetPropPrj() *AutonomyProposalProject {
if m != nil { if x != nil {
return m.PropPrj return x.PropPrj
} }
return nil return nil
} }
func (m *LocalProposalProject) GetComments() []string { func (x *LocalProposalProject) GetComments() []string {
if m != nil { if x != nil {
return m.Comments return x.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 (m *ReqQueryProposalProject) Reset() { *m = ReqQueryProposalProject{} } func (x *ReqQueryProposalProject) Reset() {
func (m *ReqQueryProposalProject) String() string { return proto.CompactTextString(m) } *x = ReqQueryProposalProject{}
func (*ReqQueryProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReqQueryProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[8]
return fileDescriptor_8340e6318dfdfac2, []int{8} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReqQueryProposalProject) XXX_Unmarshal(b []byte) error { func (x *ReqQueryProposalProject) String() string {
return xxx_messageInfo_ReqQueryProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReqQueryProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqQueryProposalProject.Marshal(b, m, deterministic)
}
func (m *ReqQueryProposalProject) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqQueryProposalProject.Merge(m, src)
}
func (m *ReqQueryProposalProject) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalProject.Size(m)
} }
func (m *ReqQueryProposalProject) XXX_DiscardUnknown() {
xxx_messageInfo_ReqQueryProposalProject.DiscardUnknown(m) func (*ReqQueryProposalProject) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReqQueryProposalProject proto.InternalMessageInfo // Deprecated: Use ReqQueryProposalProject.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{8}
}
func (m *ReqQueryProposalProject) GetStatus() int32 { func (x *ReqQueryProposalProject) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *ReqQueryProposalProject) GetAddr() string { func (x *ReqQueryProposalProject) GetAddr() string {
if m != nil { if x != nil {
return m.Addr return x.Addr
} }
return "" return ""
} }
func (m *ReqQueryProposalProject) GetCount() int32 { func (x *ReqQueryProposalProject) GetCount() int32 {
if m != nil { if x != nil {
return m.Count return x.Count
} }
return 0 return 0
} }
func (m *ReqQueryProposalProject) GetDirection() int32 { func (x *ReqQueryProposalProject) GetDirection() int32 {
if m != nil { if x != nil {
return m.Direction return x.Direction
} }
return 0 return 0
} }
func (m *ReqQueryProposalProject) GetHeight() int64 { func (x *ReqQueryProposalProject) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReqQueryProposalProject) GetIndex() int32 { func (x *ReqQueryProposalProject) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.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 (m *ReplyQueryProposalProject) Reset() { *m = ReplyQueryProposalProject{} } func (x *ReplyQueryProposalProject) Reset() {
func (m *ReplyQueryProposalProject) String() string { return proto.CompactTextString(m) } *x = ReplyQueryProposalProject{}
func (*ReplyQueryProposalProject) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int) { mi := &file_project_proto_msgTypes[9]
return fileDescriptor_8340e6318dfdfac2, []int{9} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReplyQueryProposalProject) XXX_Unmarshal(b []byte) error { func (x *ReplyQueryProposalProject) String() string {
return xxx_messageInfo_ReplyQueryProposalProject.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *ReplyQueryProposalProject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryProposalProject.Marshal(b, m, deterministic) func (*ReplyQueryProposalProject) ProtoMessage() {}
}
func (m *ReplyQueryProposalProject) XXX_Merge(src proto.Message) { func (x *ReplyQueryProposalProject) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReplyQueryProposalProject.Merge(m, src) mi := &file_project_proto_msgTypes[9]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ReplyQueryProposalProject) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_ReplyQueryProposalProject.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *ReplyQueryProposalProject) XXX_DiscardUnknown() { }
xxx_messageInfo_ReplyQueryProposalProject.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ReplyQueryProposalProject proto.InternalMessageInfo // Deprecated: Use ReplyQueryProposalProject.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalProject) Descriptor() ([]byte, []int) {
return file_project_proto_rawDescGZIP(), []int{9}
}
func (m *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject { func (x *ReplyQueryProposalProject) GetPropProjects() []*AutonomyProposalProject {
if m != nil { if x != nil {
return m.PropProjects return x.PropProjects
} }
return nil return nil
} }
func init() { var File_project_proto protoreflect.FileDescriptor
proto.RegisterType((*AutonomyProposalProject)(nil), "types.AutonomyProposalProject")
proto.RegisterType((*ProposalProject)(nil), "types.ProposalProject") var file_project_proto_rawDesc = []byte{
proto.RegisterType((*RevokeProposalProject)(nil), "types.RevokeProposalProject") 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
proto.RegisterType((*VoteProposalProject)(nil), "types.VoteProposalProject") 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
proto.RegisterType((*PubVoteProposalProject)(nil), "types.PubVoteProposalProject") 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f,
proto.RegisterType((*TerminateProposalProject)(nil), "types.TerminateProposalProject") 0x6d, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63,
proto.RegisterType((*ReceiptProposalProject)(nil), "types.ReceiptProposalProject") 0x74, 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
proto.RegisterType((*LocalProposalProject)(nil), "types.LocalProposalProject") 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50,
proto.RegisterType((*ReqQueryProposalProject)(nil), "types.ReqQueryProposalProject") 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0b,
proto.RegisterType((*ReplyQueryProposalProject)(nil), "types.ReplyQueryProposalProject") 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,
func init() { proto.RegisterFile("project.proto", fileDescriptor_8340e6318dfdfac2) } 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,
var fileDescriptor_8340e6318dfdfac2 = []byte{ 0x12, 0x35, 0x0a, 0x0c, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73,
// 748 bytes of a gzipped FileDescriptorProto 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4d, 0x6f, 0xe3, 0x36, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x62, 0x6f, 0x61, 0x72, 0x64,
0x10, 0x85, 0x22, 0xcb, 0x1f, 0x63, 0xe7, 0xa3, 0x4c, 0xea, 0x30, 0x41, 0x11, 0x18, 0x3a, 0x14, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x56, 0x6f,
0x46, 0x8b, 0xba, 0x45, 0x8a, 0xa2, 0x41, 0x6f, 0x49, 0x53, 0xa0, 0x05, 0x8a, 0xd4, 0x65, 0x8b, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
0x1e, 0x7a, 0x29, 0x64, 0x89, 0x71, 0x94, 0xc8, 0x22, 0x4b, 0x51, 0xc6, 0xfa, 0xb2, 0xc7, 0xfd, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x07, 0x70, 0x75, 0x62,
0x2b, 0xfb, 0x13, 0xf7, 0xb2, 0x87, 0x05, 0x87, 0xd4, 0x46, 0x52, 0x0c, 0x6c, 0x72, 0xe3, 0x7b, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06,
0xf3, 0x66, 0x38, 0x1a, 0x92, 0x4f, 0xb0, 0x2b, 0x95, 0xb8, 0xe7, 0xb1, 0x9e, 0x49, 0x25, 0xb4, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07,
0x20, 0x81, 0xde, 0x48, 0x5e, 0x9c, 0xee, 0x66, 0xb1, 0x58, 0xad, 0x44, 0x6e, 0xd9, 0xf0, 0xfd, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
0x0e, 0x1c, 0x5f, 0x96, 0x5a, 0xe4, 0x62, 0xb5, 0x99, 0x2b, 0x21, 0x45, 0x11, 0x65, 0x73, 0x9b, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
0x47, 0x2e, 0x60, 0x28, 0x95, 0x90, 0x0e, 0x52, 0x6f, 0xe2, 0x4d, 0x87, 0xe7, 0xe3, 0x19, 0xd6, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14,
0x99, 0xb5, 0xc4, 0xac, 0x2e, 0x25, 0x5f, 0x43, 0x2f, 0x2e, 0x15, 0x2b, 0x33, 0x4e, 0x77, 0x30, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69,
0xeb, 0x33, 0x97, 0x65, 0xa8, 0x9f, 0x45, 0x7e, 0x9b, 0x2e, 0x59, 0xa5, 0x20, 0x63, 0xe8, 0x2e, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x44, 0xa4, 0x92, 0x82, 0xfa, 0x13, 0x7f, 0x3a, 0x60, 0x0e, 0x91, 0x1f, 0x60, 0x84, 0xab, 0x7f, 0x49, 0x44, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x84, 0xe6, 0x8c, 0x17, 0xb4, 0xd3, 0xa8, 0xe4, 0xd8, 0x32, 0xd3, 0xac, 0x21, 0x33, 0x7b, 0xcb, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xf7, 0x03, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x72, 0x61, 0x10, 0x0d, 0x1a, 0x19, 0xf3, 0x72, 0x91, 0xa5, 0x31, 0xca, 0x2a, 0x85, 0xd9, 0xbb, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x65, 0x61, 0x72,
0xd0, 0x91, 0x2e, 0x0b, 0xda, 0x9d, 0x78, 0xd3, 0x80, 0x39, 0x44, 0x28, 0xf4, 0xa2, 0x24, 0x51, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05,
0xbc, 0x28, 0x68, 0x6f, 0xe2, 0x4d, 0x07, 0xac, 0x82, 0x26, 0xe3, 0x8e, 0xa7, 0xcb, 0x3b, 0x4d, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x6f, 0x6e,
0xfb, 0x13, 0x6f, 0xea, 0x33, 0x87, 0xc8, 0x11, 0x04, 0x69, 0x9e, 0xf0, 0x57, 0x74, 0x80, 0x85, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x2c, 0x20, 0x67, 0x00, 0xd2, 0x0d, 0xea, 0xb7, 0x6b, 0x0a, 0x58, 0xaa, 0xc6, 0x84, 0xef, 0x7c, 0x03, 0x64, 0x61, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53, 0x74, 0x61,
0xd8, 0x6f, 0x8f, 0x9d, 0x40, 0x67, 0xc3, 0x23, 0x85, 0xf3, 0x0e, 0x18, 0xae, 0x4d, 0xf5, 0x95, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x53,
0xc8, 0xf5, 0x1d, 0x8e, 0x33, 0x60, 0x16, 0x90, 0x03, 0xf0, 0x93, 0x68, 0x43, 0x7d, 0xe4, 0xcc, 0x74, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61, 0x67,
0xd2, 0xec, 0x77, 0x9b, 0xaa, 0x42, 0xff, 0xa5, 0xa3, 0x25, 0xc7, 0x89, 0x0d, 0x58, 0x8d, 0x21, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x74, 0x61,
0x5f, 0xc0, 0x20, 0x8b, 0xaa, 0x70, 0x80, 0xe1, 0x47, 0xc2, 0x75, 0x9b, 0x94, 0xb1, 0x4e, 0x45, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x8e, 0x13, 0xb1, 0xdd, 0x3a, 0x86, 0x4c, 0x60, 0x98, 0xf0, 0x22, 0x56, 0xa9, 0x44, 0x81, 0x9d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69,
0x4c, 0x9d, 0x32, 0x15, 0x62, 0x91, 0x6b, 0x15, 0xc5, 0x5a, 0x28, 0x9c, 0xd0, 0x80, 0xd5, 0x18, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x33, 0xbd, 0x68, 0x25, 0xca, 0x5c, 0xe3, 0x98, 0x7c, 0xe6, 0x10, 0x09, 0x61, 0x64, 0x57, 0xd7, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
0x5c, 0x47, 0x69, 0xe6, 0x26, 0xd5, 0xe0, 0x4c, 0xae, 0x16, 0x97, 0x49, 0xa2, 0xe8, 0x10, 0xa3, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
0x0e, 0x91, 0xaf, 0xe0, 0xa0, 0xd0, 0x91, 0xd2, 0x57, 0x99, 0x88, 0x1f, 0x7e, 0xb5, 0x67, 0x33, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61,
0xc2, 0xea, 0x4f, 0x78, 0xf2, 0x25, 0xec, 0xf1, 0x3c, 0xa9, 0x2b, 0x77, 0x51, 0xd9, 0x62, 0xc9, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09,
0x0c, 0x88, 0xe2, 0x51, 0xf6, 0x4b, 0x53, 0xbb, 0x87, 0xda, 0x2d, 0x11, 0xf2, 0x1d, 0x1c, 0xba, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c,
0xd7, 0x76, 0xc3, 0xb9, 0x8d, 0xdc, 0x94, 0x2b, 0xba, 0x8f, 0x27, 0xb3, 0x2d, 0x14, 0xfe, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x01,
0x9f, 0x33, 0xbe, 0x16, 0x0f, 0xbc, 0x7d, 0xfc, 0xcd, 0x2b, 0xe3, 0x3d, 0xb9, 0x32, 0xaf, 0xe1, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
0xd0, 0x5c, 0xdd, 0x17, 0xa6, 0xe1, 0x8d, 0x96, 0x52, 0x89, 0xb5, 0x7d, 0x92, 0x7d, 0x56, 0x41, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
0xf2, 0x0d, 0x74, 0xd6, 0xe6, 0xb5, 0x98, 0x6b, 0xb4, 0x77, 0x7e, 0xe2, 0x5e, 0x4b, 0x65, 0x0a, 0x52, 0x06, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72,
0x66, 0xaf, 0x3f, 0xf0, 0x70, 0x19, 0xca, 0x42, 0x09, 0xe3, 0xb9, 0x7d, 0x3d, 0x2f, 0x6d, 0x61, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0c, 0x20, 0x01,
0x0c, 0x5d, 0x21, 0xa5, 0x28, 0xaa, 0x0e, 0x1c, 0x32, 0x79, 0x42, 0xa5, 0xcb, 0x34, 0xc7, 0xc3, 0x28, 0x03, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0xb5, 0x26, 0x50, 0x63, 0xc2, 0x9f, 0x80, 0xfe, 0xcd, 0xd5, 0x2a, 0xcd, 0xa3, 0x17, 0xef, 0x19, 0x69, 0x67, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0xbe, 0xf1, 0x60, 0xcc, 0x78, 0xcc, 0x53, 0xa9, 0xdb, 0xa9, 0xe7, 0xd0, 0x91, 0x8a, 0xaf, 0x9d, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e,
0xaf, 0x9d, 0xb5, 0xbe, 0xbb, 0xed, 0x6f, 0xa8, 0x25, 0x17, 0x68, 0x6c, 0x8a, 0xe7, 0xda, 0x19, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12,
0xdb, 0xa7, 0xd2, 0x2a, 0x79, 0x98, 0xc1, 0xd1, 0xef, 0x22, 0xc6, 0x40, 0xcb, 0x64, 0x7b, 0xd6, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0x39, 0xef, 0x9f, 0xd9, 0x48, 0x25, 0x27, 0xa7, 0xd0, 0x37, 0x56, 0xce, 0x73, 0x5d, 0xd0, 0x1d, 0x68, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e,
0x1c, 0xda, 0x47, 0x1c, 0xbe, 0xf5, 0xe0, 0x98, 0xf1, 0xff, 0xff, 0x2c, 0xb9, 0x7a, 0x62, 0xeb, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, 0x0a, 0x13,
0x8f, 0x9e, 0xe7, 0x35, 0x3c, 0x8f, 0x40, 0xc7, 0x98, 0x1c, 0x7e, 0xd8, 0x80, 0xe1, 0xda, 0xf8, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
0x4e, 0x8c, 0xcf, 0xd5, 0x7a, 0x8c, 0x05, 0xc6, 0x45, 0x92, 0x54, 0x71, 0x6b, 0x13, 0x1d, 0x8c, 0x4e, 0x75, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x6a, 0x65,
0x3c, 0x12, 0x35, 0x87, 0x0c, 0xb6, 0x3b, 0x64, 0xb7, 0xe6, 0x90, 0xe1, 0x7f, 0x70, 0xc2, 0xb8, 0x63, 0x74, 0x4e, 0x65, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x37,
0xcc, 0x36, 0x5b, 0x5b, 0xbd, 0x82, 0x51, 0xed, 0xb7, 0x62, 0x1a, 0xf6, 0x9f, 0x31, 0xa1, 0x46, 0x0a, 0x15, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0xce, 0x15, 0xfc, 0xdb, 0x9f, 0xcd, 0xbe, 0xc5, 0x8c, 0x45, 0x17, 0x7f, 0x7a, 0xdf, 0x7f, 0x08, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x00, 0x00, 0xff, 0xff, 0x1a, 0x0c, 0x1d, 0xfe, 0x1b, 0x07, 0x00, 0x00, 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 {
file_project_proto_rawDescOnce.Do(func() {
file_project_proto_rawDescData = protoimpl.X.CompressGZIP(file_project_proto_rawDescData)
})
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
}
}
file_project_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReqQueryProposalProject); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_project_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalProject); 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_project_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_project_proto_goTypes,
DependencyIndexes: file_project_proto_depIdxs,
MessageInfos: file_project_proto_msgTypes,
}.Build()
File_project_proto = out.File
file_project_proto_rawDesc = nil
file_project_proto_goTypes = nil
file_project_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: rule.proto // source: rule.proto
package types package types
import ( import (
fmt "fmt" reflect "reflect"
proto "github.com/golang/protobuf/proto" sync "sync"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
var _ = proto.Marshal protoimpl "google.golang.org/protobuf/runtime/protoimpl"
var _ = fmt.Errorf )
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file const (
// is compatible with the proto package it is being compiled against. // Verify that this generated code is sufficiently up-to-date.
// A compilation error at this line likely means your copy of the _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// proto package needs to be updated. // Verify that runtime/protoimpl is sufficiently up-to-date.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AutonomyProposalRule struct { type AutonomyProposalRule struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
// 全体持票人投票结果 // 全体持票人投票结果
...@@ -31,93 +40,101 @@ type AutonomyProposalRule struct { ...@@ -31,93 +40,101 @@ 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 (m *AutonomyProposalRule) Reset() { *m = AutonomyProposalRule{} } func (x *AutonomyProposalRule) Reset() {
func (m *AutonomyProposalRule) String() string { return proto.CompactTextString(m) } *x = AutonomyProposalRule{}
func (*AutonomyProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*AutonomyProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[0]
return fileDescriptor_07e8e0fa338d4596, []int{0} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *AutonomyProposalRule) XXX_Unmarshal(b []byte) error { func (x *AutonomyProposalRule) String() string {
return xxx_messageInfo_AutonomyProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *AutonomyProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AutonomyProposalRule.Marshal(b, m, deterministic)
} }
func (m *AutonomyProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_AutonomyProposalRule.Merge(m, src) func (*AutonomyProposalRule) ProtoMessage() {}
}
func (m *AutonomyProposalRule) XXX_Size() int { func (x *AutonomyProposalRule) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_AutonomyProposalRule.Size(m) mi := &file_rule_proto_msgTypes[0]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *AutonomyProposalRule) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_AutonomyProposalRule.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_AutonomyProposalRule proto.InternalMessageInfo // Deprecated: Use AutonomyProposalRule.ProtoReflect.Descriptor instead.
func (*AutonomyProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{0}
}
func (m *AutonomyProposalRule) GetPropRule() *ProposalRule { func (x *AutonomyProposalRule) GetPropRule() *ProposalRule {
if m != nil { if x != nil {
return m.PropRule return x.PropRule
} }
return nil return nil
} }
func (m *AutonomyProposalRule) GetCurRule() *RuleConfig { func (x *AutonomyProposalRule) GetCurRule() *RuleConfig {
if m != nil { if x != nil {
return m.CurRule return x.CurRule
} }
return nil return nil
} }
func (m *AutonomyProposalRule) GetVoteResult() *VoteResult { func (x *AutonomyProposalRule) GetVoteResult() *VoteResult {
if m != nil { if x != nil {
return m.VoteResult return x.VoteResult
} }
return nil return nil
} }
func (m *AutonomyProposalRule) GetStatus() int32 { func (x *AutonomyProposalRule) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *AutonomyProposalRule) GetAddress() string { func (x *AutonomyProposalRule) GetAddress() string {
if m != nil { if x != nil {
return m.Address return x.Address
} }
return "" return ""
} }
func (m *AutonomyProposalRule) GetHeight() int64 { func (x *AutonomyProposalRule) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *AutonomyProposalRule) GetIndex() int32 { func (x *AutonomyProposalRule) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *AutonomyProposalRule) GetProposalID() string { func (x *AutonomyProposalRule) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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"`
...@@ -125,860 +142,1287 @@ type ProposalRule struct { ...@@ -125,860 +142,1287 @@ 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 (m *ProposalRule) Reset() { *m = ProposalRule{} } func (x *ProposalRule) Reset() {
func (m *ProposalRule) String() string { return proto.CompactTextString(m) } *x = ProposalRule{}
func (*ProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[1]
return fileDescriptor_07e8e0fa338d4596, []int{1} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ProposalRule) XXX_Unmarshal(b []byte) error { func (x *ProposalRule) String() string {
return xxx_messageInfo_ProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProposalRule.Marshal(b, m, deterministic)
}
func (m *ProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProposalRule.Merge(m, src)
}
func (m *ProposalRule) XXX_Size() int {
return xxx_messageInfo_ProposalRule.Size(m)
} }
func (m *ProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_ProposalRule.DiscardUnknown(m) func (*ProposalRule) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ProposalRule proto.InternalMessageInfo // Deprecated: Use ProposalRule.ProtoReflect.Descriptor instead.
func (*ProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{1}
}
func (m *ProposalRule) GetYear() int32 { func (x *ProposalRule) GetYear() int32 {
if m != nil { if x != nil {
return m.Year return x.Year
} }
return 0 return 0
} }
func (m *ProposalRule) GetMonth() int32 { func (x *ProposalRule) GetMonth() int32 {
if m != nil { if x != nil {
return m.Month return x.Month
} }
return 0 return 0
} }
func (m *ProposalRule) GetDay() int32 { func (x *ProposalRule) GetDay() int32 {
if m != nil { if x != nil {
return m.Day return x.Day
} }
return 0 return 0
} }
func (m *ProposalRule) GetRuleCfg() *RuleConfig { func (x *ProposalRule) GetRuleCfg() *RuleConfig {
if m != nil { if x != nil {
return m.RuleCfg return x.RuleCfg
} }
return nil return nil
} }
func (m *ProposalRule) GetStartBlockHeight() int64 { func (x *ProposalRule) GetStartBlockHeight() int64 {
if m != nil { if x != nil {
return m.StartBlockHeight return x.StartBlockHeight
} }
return 0 return 0
} }
func (m *ProposalRule) GetEndBlockHeight() int64 { func (x *ProposalRule) GetEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.EndBlockHeight return x.EndBlockHeight
} }
return 0 return 0
} }
func (m *ProposalRule) GetRealEndBlockHeight() int64 { func (x *ProposalRule) GetRealEndBlockHeight() int64 {
if m != nil { if x != nil {
return m.RealEndBlockHeight return x.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 (m *RevokeProposalRule) Reset() { *m = RevokeProposalRule{} } func (x *RevokeProposalRule) Reset() {
func (m *RevokeProposalRule) String() string { return proto.CompactTextString(m) } *x = RevokeProposalRule{}
func (*RevokeProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RevokeProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[2]
return fileDescriptor_07e8e0fa338d4596, []int{2} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RevokeProposalRule) XXX_Unmarshal(b []byte) error { func (x *RevokeProposalRule) String() string {
return xxx_messageInfo_RevokeProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *RevokeProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RevokeProposalRule.Marshal(b, m, deterministic)
}
func (m *RevokeProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_RevokeProposalRule.Merge(m, src)
} }
func (m *RevokeProposalRule) XXX_Size() int {
return xxx_messageInfo_RevokeProposalRule.Size(m) func (*RevokeProposalRule) ProtoMessage() {}
}
func (m *RevokeProposalRule) XXX_DiscardUnknown() { func (x *RevokeProposalRule) ProtoReflect() protoreflect.Message {
xxx_messageInfo_RevokeProposalRule.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_RevokeProposalRule proto.InternalMessageInfo // Deprecated: Use RevokeProposalRule.ProtoReflect.Descriptor instead.
func (*RevokeProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{2}
}
func (m *RevokeProposalRule) GetProposalID() string { func (x *RevokeProposalRule) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *VoteProposalRule) Reset() { *m = VoteProposalRule{} } func (x *VoteProposalRule) Reset() {
func (m *VoteProposalRule) String() string { return proto.CompactTextString(m) } *x = VoteProposalRule{}
func (*VoteProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*VoteProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[3]
return fileDescriptor_07e8e0fa338d4596, []int{3} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *VoteProposalRule) XXX_Unmarshal(b []byte) error { func (x *VoteProposalRule) String() string {
return xxx_messageInfo_VoteProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *VoteProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VoteProposalRule.Marshal(b, m, deterministic) func (*VoteProposalRule) ProtoMessage() {}
}
func (m *VoteProposalRule) XXX_Merge(src proto.Message) { func (x *VoteProposalRule) ProtoReflect() protoreflect.Message {
xxx_messageInfo_VoteProposalRule.Merge(m, src) mi := &file_rule_proto_msgTypes[3]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *VoteProposalRule) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_VoteProposalRule.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *VoteProposalRule) XXX_DiscardUnknown() { }
xxx_messageInfo_VoteProposalRule.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_VoteProposalRule proto.InternalMessageInfo // Deprecated: Use VoteProposalRule.ProtoReflect.Descriptor instead.
func (*VoteProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{3}
}
func (m *VoteProposalRule) GetProposalID() string { func (x *VoteProposalRule) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *VoteProposalRule) GetApprove() bool { func (x *VoteProposalRule) GetApprove() bool {
if m != nil { if x != nil {
return m.Approve return x.Approve
} }
return false return false
} }
func (m *VoteProposalRule) GetOriginAddr() []string { func (x *VoteProposalRule) GetOriginAddr() []string {
if m != nil { if x != nil {
return m.OriginAddr return x.OriginAddr
} }
return nil return nil
} }
func (m *VoteProposalRule) GetVote() AutonomyVoteOption { func (x *VoteProposalRule) GetVote() AutonomyVoteOption {
if m != nil { if x != nil {
return m.Vote return x.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 (m *TerminateProposalRule) Reset() { *m = TerminateProposalRule{} } func (x *TerminateProposalRule) Reset() {
func (m *TerminateProposalRule) String() string { return proto.CompactTextString(m) } *x = TerminateProposalRule{}
func (*TerminateProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*TerminateProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[4]
return fileDescriptor_07e8e0fa338d4596, []int{4} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *TerminateProposalRule) XXX_Unmarshal(b []byte) error { func (x *TerminateProposalRule) String() string {
return xxx_messageInfo_TerminateProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *TerminateProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TerminateProposalRule.Marshal(b, m, deterministic)
}
func (m *TerminateProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_TerminateProposalRule.Merge(m, src)
} }
func (m *TerminateProposalRule) XXX_Size() int {
return xxx_messageInfo_TerminateProposalRule.Size(m) func (*TerminateProposalRule) ProtoMessage() {}
}
func (m *TerminateProposalRule) XXX_DiscardUnknown() { func (x *TerminateProposalRule) ProtoReflect() protoreflect.Message {
xxx_messageInfo_TerminateProposalRule.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_TerminateProposalRule proto.InternalMessageInfo // Deprecated: Use TerminateProposalRule.ProtoReflect.Descriptor instead.
func (*TerminateProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{4}
}
func (m *TerminateProposalRule) GetProposalID() string { func (x *TerminateProposalRule) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.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 (m *ReceiptProposalRule) Reset() { *m = ReceiptProposalRule{} } func (x *ReceiptProposalRule) Reset() {
func (m *ReceiptProposalRule) String() string { return proto.CompactTextString(m) } *x = ReceiptProposalRule{}
func (*ReceiptProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReceiptProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[5]
return fileDescriptor_07e8e0fa338d4596, []int{5} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReceiptProposalRule) XXX_Unmarshal(b []byte) error { func (x *ReceiptProposalRule) String() string {
return xxx_messageInfo_ReceiptProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReceiptProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptProposalRule.Marshal(b, m, deterministic)
} }
func (m *ReceiptProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptProposalRule.Merge(m, src) func (*ReceiptProposalRule) ProtoMessage() {}
}
func (m *ReceiptProposalRule) XXX_Size() int { func (x *ReceiptProposalRule) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_ReceiptProposalRule.Size(m) mi := &file_rule_proto_msgTypes[5]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ReceiptProposalRule) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_ReceiptProposalRule.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ReceiptProposalRule proto.InternalMessageInfo // Deprecated: Use ReceiptProposalRule.ProtoReflect.Descriptor instead.
func (*ReceiptProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{5}
}
func (m *ReceiptProposalRule) GetPrev() *AutonomyProposalRule { func (x *ReceiptProposalRule) GetPrev() *AutonomyProposalRule {
if m != nil { if x != nil {
return m.Prev return x.Prev
} }
return nil return nil
} }
func (m *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule { func (x *ReceiptProposalRule) GetCurrent() *AutonomyProposalRule {
if m != nil { if x != nil {
return m.Current return x.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 (m *LocalProposalRule) Reset() { *m = LocalProposalRule{} } func (x *LocalProposalRule) Reset() {
func (m *LocalProposalRule) String() string { return proto.CompactTextString(m) } *x = LocalProposalRule{}
func (*LocalProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*LocalProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[6]
return fileDescriptor_07e8e0fa338d4596, []int{6} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *LocalProposalRule) XXX_Unmarshal(b []byte) error { func (x *LocalProposalRule) String() string {
return xxx_messageInfo_LocalProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *LocalProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LocalProposalRule.Marshal(b, m, deterministic)
}
func (m *LocalProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_LocalProposalRule.Merge(m, src)
}
func (m *LocalProposalRule) XXX_Size() int {
return xxx_messageInfo_LocalProposalRule.Size(m)
} }
func (m *LocalProposalRule) XXX_DiscardUnknown() {
xxx_messageInfo_LocalProposalRule.DiscardUnknown(m) func (*LocalProposalRule) ProtoMessage() {}
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)
} }
var xxx_messageInfo_LocalProposalRule proto.InternalMessageInfo // Deprecated: Use LocalProposalRule.ProtoReflect.Descriptor instead.
func (*LocalProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{6}
}
func (m *LocalProposalRule) GetPropRule() *AutonomyProposalRule { func (x *LocalProposalRule) GetPropRule() *AutonomyProposalRule {
if m != nil { if x != nil {
return m.PropRule return x.PropRule
} }
return nil return nil
} }
func (m *LocalProposalRule) GetComments() []string { func (x *LocalProposalRule) GetComments() []string {
if m != nil { if x != nil {
return m.Comments return x.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 (m *ReqQueryProposalRule) Reset() { *m = ReqQueryProposalRule{} } func (x *ReqQueryProposalRule) Reset() {
func (m *ReqQueryProposalRule) String() string { return proto.CompactTextString(m) } *x = ReqQueryProposalRule{}
func (*ReqQueryProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReqQueryProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[7]
return fileDescriptor_07e8e0fa338d4596, []int{7} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReqQueryProposalRule) XXX_Unmarshal(b []byte) error { func (x *ReqQueryProposalRule) String() string {
return xxx_messageInfo_ReqQueryProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReqQueryProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqQueryProposalRule.Marshal(b, m, deterministic)
}
func (m *ReqQueryProposalRule) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqQueryProposalRule.Merge(m, src)
} }
func (m *ReqQueryProposalRule) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalRule.Size(m) func (*ReqQueryProposalRule) ProtoMessage() {}
}
func (m *ReqQueryProposalRule) XXX_DiscardUnknown() { func (x *ReqQueryProposalRule) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReqQueryProposalRule.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_ReqQueryProposalRule proto.InternalMessageInfo // Deprecated: Use ReqQueryProposalRule.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{7}
}
func (m *ReqQueryProposalRule) GetStatus() int32 { func (x *ReqQueryProposalRule) GetStatus() int32 {
if m != nil { if x != nil {
return m.Status return x.Status
} }
return 0 return 0
} }
func (m *ReqQueryProposalRule) GetAddr() string { func (x *ReqQueryProposalRule) GetAddr() string {
if m != nil { if x != nil {
return m.Addr return x.Addr
} }
return "" return ""
} }
func (m *ReqQueryProposalRule) GetCount() int32 { func (x *ReqQueryProposalRule) GetCount() int32 {
if m != nil { if x != nil {
return m.Count return x.Count
} }
return 0 return 0
} }
func (m *ReqQueryProposalRule) GetDirection() int32 { func (x *ReqQueryProposalRule) GetDirection() int32 {
if m != nil { if x != nil {
return m.Direction return x.Direction
} }
return 0 return 0
} }
func (m *ReqQueryProposalRule) GetHeight() int64 { func (x *ReqQueryProposalRule) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReqQueryProposalRule) GetIndex() int32 { func (x *ReqQueryProposalRule) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.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 (m *ReplyQueryProposalRule) Reset() { *m = ReplyQueryProposalRule{} } func (x *ReplyQueryProposalRule) Reset() {
func (m *ReplyQueryProposalRule) String() string { return proto.CompactTextString(m) } *x = ReplyQueryProposalRule{}
func (*ReplyQueryProposalRule) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[8]
return fileDescriptor_07e8e0fa338d4596, []int{8} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReplyQueryProposalRule) XXX_Unmarshal(b []byte) error { func (x *ReplyQueryProposalRule) String() string {
return xxx_messageInfo_ReplyQueryProposalRule.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *ReplyQueryProposalRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryProposalRule.Marshal(b, m, deterministic) func (*ReplyQueryProposalRule) ProtoMessage() {}
}
func (m *ReplyQueryProposalRule) XXX_Merge(src proto.Message) { func (x *ReplyQueryProposalRule) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReplyQueryProposalRule.Merge(m, src) mi := &file_rule_proto_msgTypes[8]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *ReplyQueryProposalRule) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_ReplyQueryProposalRule.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *ReplyQueryProposalRule) XXX_DiscardUnknown() { }
xxx_messageInfo_ReplyQueryProposalRule.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_ReplyQueryProposalRule proto.InternalMessageInfo // Deprecated: Use ReplyQueryProposalRule.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalRule) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{8}
}
func (m *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule { func (x *ReplyQueryProposalRule) GetPropRules() []*AutonomyProposalRule {
if m != nil { if x != nil {
return m.PropRules return x.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 (m *TransferFund) Reset() { *m = TransferFund{} } func (x *TransferFund) Reset() {
func (m *TransferFund) String() string { return proto.CompactTextString(m) } *x = TransferFund{}
func (*TransferFund) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*TransferFund) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[9]
return fileDescriptor_07e8e0fa338d4596, []int{9} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *TransferFund) XXX_Unmarshal(b []byte) error { func (x *TransferFund) String() string {
return xxx_messageInfo_TransferFund.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *TransferFund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransferFund.Marshal(b, m, deterministic)
}
func (m *TransferFund) XXX_Merge(src proto.Message) {
xxx_messageInfo_TransferFund.Merge(m, src)
}
func (m *TransferFund) XXX_Size() int {
return xxx_messageInfo_TransferFund.Size(m)
} }
func (m *TransferFund) XXX_DiscardUnknown() {
xxx_messageInfo_TransferFund.DiscardUnknown(m) func (*TransferFund) ProtoMessage() {}
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)
} }
var xxx_messageInfo_TransferFund proto.InternalMessageInfo // Deprecated: Use TransferFund.ProtoReflect.Descriptor instead.
func (*TransferFund) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{9}
}
func (m *TransferFund) GetAmount() int64 { func (x *TransferFund) GetAmount() int64 {
if m != nil { if x != nil {
return m.Amount return x.Amount
} }
return 0 return 0
} }
func (m *TransferFund) GetNote() string { func (x *TransferFund) GetNote() string {
if m != nil { if x != nil {
return m.Note return x.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 (m *Comment) Reset() { *m = Comment{} } func (x *Comment) Reset() {
func (m *Comment) String() string { return proto.CompactTextString(m) } *x = Comment{}
func (*Comment) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*Comment) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[10]
return fileDescriptor_07e8e0fa338d4596, []int{10} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *Comment) XXX_Unmarshal(b []byte) error { func (x *Comment) String() string {
return xxx_messageInfo_Comment.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Comment.Marshal(b, m, deterministic)
} }
func (m *Comment) XXX_Merge(src proto.Message) {
xxx_messageInfo_Comment.Merge(m, src) func (*Comment) ProtoMessage() {}
}
func (m *Comment) XXX_Size() int { func (x *Comment) ProtoReflect() protoreflect.Message {
return xxx_messageInfo_Comment.Size(m) mi := &file_rule_proto_msgTypes[10]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *Comment) XXX_DiscardUnknown() { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
xxx_messageInfo_Comment.DiscardUnknown(m) if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_Comment proto.InternalMessageInfo // Deprecated: Use Comment.ProtoReflect.Descriptor instead.
func (*Comment) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{10}
}
func (m *Comment) GetProposalID() string { func (x *Comment) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *Comment) GetRepHash() string { func (x *Comment) GetRepHash() string {
if m != nil { if x != nil {
return m.RepHash return x.RepHash
} }
return "" return ""
} }
func (m *Comment) GetComment() string { func (x *Comment) GetComment() string {
if m != nil { if x != nil {
return m.Comment return x.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 (m *ReceiptProposalComment) Reset() { *m = ReceiptProposalComment{} } func (x *ReceiptProposalComment) Reset() {
func (m *ReceiptProposalComment) String() string { return proto.CompactTextString(m) } *x = ReceiptProposalComment{}
func (*ReceiptProposalComment) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReceiptProposalComment) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[11]
return fileDescriptor_07e8e0fa338d4596, []int{11} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReceiptProposalComment) XXX_Unmarshal(b []byte) error { func (x *ReceiptProposalComment) String() string {
return xxx_messageInfo_ReceiptProposalComment.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReceiptProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptProposalComment.Marshal(b, m, deterministic)
}
func (m *ReceiptProposalComment) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptProposalComment.Merge(m, src)
}
func (m *ReceiptProposalComment) XXX_Size() int {
return xxx_messageInfo_ReceiptProposalComment.Size(m)
} }
func (m *ReceiptProposalComment) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptProposalComment.DiscardUnknown(m) func (*ReceiptProposalComment) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReceiptProposalComment proto.InternalMessageInfo // Deprecated: Use ReceiptProposalComment.ProtoReflect.Descriptor instead.
func (*ReceiptProposalComment) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{11}
}
func (m *ReceiptProposalComment) GetCmt() *Comment { func (x *ReceiptProposalComment) GetCmt() *Comment {
if m != nil { if x != nil {
return m.Cmt return x.Cmt
} }
return nil return nil
} }
func (m *ReceiptProposalComment) GetHeight() int64 { func (x *ReceiptProposalComment) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReceiptProposalComment) GetIndex() int32 { func (x *ReceiptProposalComment) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *ReceiptProposalComment) GetHash() string { func (x *ReceiptProposalComment) GetHash() string {
if m != nil { if x != nil {
return m.Hash return x.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 (m *ReqQueryProposalComment) Reset() { *m = ReqQueryProposalComment{} } func (x *ReqQueryProposalComment) Reset() {
func (m *ReqQueryProposalComment) String() string { return proto.CompactTextString(m) } *x = ReqQueryProposalComment{}
func (*ReqQueryProposalComment) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReqQueryProposalComment) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[12]
return fileDescriptor_07e8e0fa338d4596, []int{12} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReqQueryProposalComment) XXX_Unmarshal(b []byte) error { func (x *ReqQueryProposalComment) String() string {
return xxx_messageInfo_ReqQueryProposalComment.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReqQueryProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqQueryProposalComment.Marshal(b, m, deterministic)
}
func (m *ReqQueryProposalComment) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqQueryProposalComment.Merge(m, src)
} }
func (m *ReqQueryProposalComment) XXX_Size() int {
return xxx_messageInfo_ReqQueryProposalComment.Size(m) func (*ReqQueryProposalComment) ProtoMessage() {}
}
func (m *ReqQueryProposalComment) XXX_DiscardUnknown() { func (x *ReqQueryProposalComment) ProtoReflect() protoreflect.Message {
xxx_messageInfo_ReqQueryProposalComment.DiscardUnknown(m) 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)
} }
var xxx_messageInfo_ReqQueryProposalComment proto.InternalMessageInfo // Deprecated: Use ReqQueryProposalComment.ProtoReflect.Descriptor instead.
func (*ReqQueryProposalComment) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{12}
}
func (m *ReqQueryProposalComment) GetProposalID() string { func (x *ReqQueryProposalComment) GetProposalID() string {
if m != nil { if x != nil {
return m.ProposalID return x.ProposalID
} }
return "" return ""
} }
func (m *ReqQueryProposalComment) GetCount() int32 { func (x *ReqQueryProposalComment) GetCount() int32 {
if m != nil { if x != nil {
return m.Count return x.Count
} }
return 0 return 0
} }
func (m *ReqQueryProposalComment) GetDirection() int32 { func (x *ReqQueryProposalComment) GetDirection() int32 {
if m != nil { if x != nil {
return m.Direction return x.Direction
} }
return 0 return 0
} }
func (m *ReqQueryProposalComment) GetHeight() int64 { func (x *ReqQueryProposalComment) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *ReqQueryProposalComment) GetIndex() int32 { func (x *ReqQueryProposalComment) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.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 (m *RelationCmt) Reset() { *m = RelationCmt{} } func (x *RelationCmt) Reset() {
func (m *RelationCmt) String() string { return proto.CompactTextString(m) } *x = RelationCmt{}
func (*RelationCmt) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*RelationCmt) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[13]
return fileDescriptor_07e8e0fa338d4596, []int{13} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *RelationCmt) XXX_Unmarshal(b []byte) error { func (x *RelationCmt) String() string {
return xxx_messageInfo_RelationCmt.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *RelationCmt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RelationCmt.Marshal(b, m, deterministic) func (*RelationCmt) ProtoMessage() {}
}
func (m *RelationCmt) XXX_Merge(src proto.Message) { func (x *RelationCmt) ProtoReflect() protoreflect.Message {
xxx_messageInfo_RelationCmt.Merge(m, src) mi := &file_rule_proto_msgTypes[13]
} if protoimpl.UnsafeEnabled && x != nil {
func (m *RelationCmt) XXX_Size() int { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
return xxx_messageInfo_RelationCmt.Size(m) if ms.LoadMessageInfo() == nil {
} ms.StoreMessageInfo(mi)
func (m *RelationCmt) XXX_DiscardUnknown() { }
xxx_messageInfo_RelationCmt.DiscardUnknown(m) return ms
}
return mi.MessageOf(x)
} }
var xxx_messageInfo_RelationCmt proto.InternalMessageInfo // Deprecated: Use RelationCmt.ProtoReflect.Descriptor instead.
func (*RelationCmt) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{13}
}
func (m *RelationCmt) GetRepHash() string { func (x *RelationCmt) GetRepHash() string {
if m != nil { if x != nil {
return m.RepHash return x.RepHash
} }
return "" return ""
} }
func (m *RelationCmt) GetComment() string { func (x *RelationCmt) GetComment() string {
if m != nil { if x != nil {
return m.Comment return x.Comment
} }
return "" return ""
} }
func (m *RelationCmt) GetHeight() int64 { func (x *RelationCmt) GetHeight() int64 {
if m != nil { if x != nil {
return m.Height return x.Height
} }
return 0 return 0
} }
func (m *RelationCmt) GetIndex() int32 { func (x *RelationCmt) GetIndex() int32 {
if m != nil { if x != nil {
return m.Index return x.Index
} }
return 0 return 0
} }
func (m *RelationCmt) GetHash() string { func (x *RelationCmt) GetHash() string {
if m != nil { if x != nil {
return m.Hash return x.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 (m *ReplyQueryProposalComment) Reset() { *m = ReplyQueryProposalComment{} } func (x *ReplyQueryProposalComment) Reset() {
func (m *ReplyQueryProposalComment) String() string { return proto.CompactTextString(m) } *x = ReplyQueryProposalComment{}
func (*ReplyQueryProposalComment) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int) { mi := &file_rule_proto_msgTypes[14]
return fileDescriptor_07e8e0fa338d4596, []int{14} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *ReplyQueryProposalComment) XXX_Unmarshal(b []byte) error { func (x *ReplyQueryProposalComment) String() string {
return xxx_messageInfo_ReplyQueryProposalComment.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
}
func (m *ReplyQueryProposalComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReplyQueryProposalComment.Marshal(b, m, deterministic)
}
func (m *ReplyQueryProposalComment) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReplyQueryProposalComment.Merge(m, src)
}
func (m *ReplyQueryProposalComment) XXX_Size() int {
return xxx_messageInfo_ReplyQueryProposalComment.Size(m)
} }
func (m *ReplyQueryProposalComment) XXX_DiscardUnknown() {
xxx_messageInfo_ReplyQueryProposalComment.DiscardUnknown(m) func (*ReplyQueryProposalComment) ProtoMessage() {}
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)
} }
var xxx_messageInfo_ReplyQueryProposalComment proto.InternalMessageInfo // Deprecated: Use ReplyQueryProposalComment.ProtoReflect.Descriptor instead.
func (*ReplyQueryProposalComment) Descriptor() ([]byte, []int) {
return file_rule_proto_rawDescGZIP(), []int{14}
}
func (m *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt { func (x *ReplyQueryProposalComment) GetRltCmt() []*RelationCmt {
if m != nil { if x != nil {
return m.RltCmt return x.RltCmt
} }
return nil return nil
} }
func init() { var File_rule_proto protoreflect.FileDescriptor
proto.RegisterType((*AutonomyProposalRule)(nil), "types.AutonomyProposalRule")
proto.RegisterType((*ProposalRule)(nil), "types.ProposalRule") var file_rule_proto_rawDesc = []byte{
proto.RegisterType((*RevokeProposalRule)(nil), "types.RevokeProposalRule") 0x0a, 0x0a, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x74, 0x79,
proto.RegisterType((*VoteProposalRule)(nil), "types.VoteProposalRule") 0x70, 0x65, 0x73, 0x1a, 0x0d, 0x6c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
proto.RegisterType((*TerminateProposalRule)(nil), "types.TerminateProposalRule") 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50,
proto.RegisterType((*ReceiptProposalRule)(nil), "types.ReceiptProposalRule") 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70,
proto.RegisterType((*LocalProposalRule)(nil), "types.LocalProposalRule") 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
proto.RegisterType((*ReqQueryProposalRule)(nil), "types.ReqQueryProposalRule") 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75,
proto.RegisterType((*ReplyQueryProposalRule)(nil), "types.ReplyQueryProposalRule") 0x6c, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2b, 0x0a, 0x07,
proto.RegisterType((*TransferFund)(nil), "types.TransferFund") 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
proto.RegisterType((*Comment)(nil), "types.Comment") 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
proto.RegisterType((*ReceiptProposalComment)(nil), "types.ReceiptProposalComment") 0x52, 0x07, 0x63, 0x75, 0x72, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x76, 0x6f, 0x74,
proto.RegisterType((*ReqQueryProposalComment)(nil), "types.ReqQueryProposalComment") 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
proto.RegisterType((*RelationCmt)(nil), "types.RelationCmt") 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
proto.RegisterType((*ReplyQueryProposalComment)(nil), "types.ReplyQueryProposalComment") 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,
func init() { proto.RegisterFile("rule.proto", fileDescriptor_07e8e0fa338d4596) } 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,
var fileDescriptor_07e8e0fa338d4596 = []byte{ 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
// 763 bytes of a gzipped FileDescriptorProto 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a,
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xcf, 0x6f, 0xd3, 0x30, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
0x18, 0x55, 0x9a, 0xa4, 0x3f, 0xbe, 0x8d, 0x69, 0xf3, 0xc6, 0xc8, 0x06, 0x42, 0x55, 0x0e, 0xa8, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0xfb, 0x01, 0x0a,
0x1a, 0xa2, 0x13, 0x03, 0x34, 0xc1, 0x6d, 0x2b, 0x3f, 0x86, 0x84, 0x04, 0x98, 0x89, 0x03, 0x12, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a,
0x87, 0x90, 0x78, 0x6d, 0xb4, 0x24, 0x0e, 0x8e, 0x53, 0x51, 0x09, 0x4e, 0xfc, 0x19, 0x5c, 0x91, 0x04, 0x79, 0x65, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x79, 0x65, 0x61,
0xf8, 0x23, 0xb9, 0xa0, 0xcf, 0x71, 0xda, 0xa4, 0xed, 0xc6, 0x76, 0xf3, 0x67, 0x3f, 0xdb, 0xdf, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x7b, 0x7e, 0x2f, 0x01, 0x10, 0x79, 0xc4, 0xfa, 0xa9, 0xe0, 0x92, 0x13, 0x5b, 0x4e, 0x52, 0x96, 0x52, 0x05, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x03,
0xed, 0xde, 0x88, 0x7c, 0x1e, 0xc7, 0x3c, 0x29, 0x66, 0xdd, 0x3f, 0x0d, 0xd8, 0x3a, 0xca, 0x25, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x2b, 0x0a, 0x07, 0x72, 0x75, 0x6c,
0x4f, 0x78, 0x3c, 0x79, 0x27, 0x78, 0xca, 0x33, 0x2f, 0xa2, 0x79, 0xc4, 0xc8, 0x3e, 0xb4, 0x53, 0x65, 0x43, 0x66, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70,
0xc1, 0x53, 0x1c, 0x3b, 0x46, 0xd7, 0xe8, 0xad, 0x1c, 0x6c, 0xf6, 0xd5, 0x09, 0xfd, 0x2a, 0x8c, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x07, 0x72,
0x4e, 0x41, 0xe4, 0x3e, 0xb4, 0xfc, 0x5c, 0x28, 0x7c, 0x43, 0xe1, 0x37, 0x34, 0x1e, 0xa7, 0x06, 0x75, 0x6c, 0x65, 0x43, 0x66, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42,
0x3c, 0x39, 0x0b, 0x87, 0xb4, 0x44, 0x90, 0x87, 0x00, 0x63, 0x2e, 0x19, 0x65, 0x59, 0x1e, 0x49, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
0xc7, 0xac, 0xe1, 0x3f, 0x4e, 0x17, 0x68, 0x05, 0x44, 0xb6, 0xa1, 0x99, 0x49, 0x4f, 0xe6, 0x99, 0x52, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67,
0x63, 0x75, 0x8d, 0x9e, 0x4d, 0x75, 0x45, 0x1c, 0x68, 0x79, 0x41, 0x20, 0x58, 0x96, 0x39, 0x76, 0x68, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65,
0xd7, 0xe8, 0x75, 0x68, 0x59, 0xe2, 0x8e, 0x11, 0x0b, 0x87, 0x23, 0xe9, 0x34, 0xbb, 0x46, 0xcf, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x42,
0xa4, 0xba, 0x22, 0x5b, 0x60, 0x87, 0x49, 0xc0, 0xbe, 0x39, 0x2d, 0x75, 0x50, 0x51, 0x90, 0xbb, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65,
0x00, 0xa9, 0x66, 0xf6, 0xfa, 0xb9, 0xd3, 0x56, 0x47, 0x55, 0x66, 0xdc, 0xbf, 0x06, 0xac, 0xd6, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74,
0x14, 0x22, 0x60, 0x4d, 0x98, 0x27, 0x94, 0x3a, 0x36, 0x55, 0x63, 0x3c, 0x3a, 0xe6, 0x89, 0x1c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72, 0x65, 0x61, 0x6c, 0x45, 0x6e, 0x64, 0x42,
0x29, 0x09, 0x6c, 0x5a, 0x14, 0x64, 0x1d, 0xcc, 0xc0, 0x9b, 0x28, 0x9a, 0x36, 0xc5, 0x21, 0x8a, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x34, 0x0a, 0x12, 0x52, 0x65,
0x85, 0x4f, 0x33, 0x38, 0x1b, 0x2a, 0x36, 0xcb, 0xc5, 0xd2, 0x08, 0xb2, 0x07, 0xeb, 0x99, 0xf4, 0x76, 0x6f, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65,
0x84, 0x3c, 0x8e, 0xb8, 0x7f, 0x7e, 0x52, 0x30, 0xb2, 0x15, 0xa3, 0x85, 0x79, 0x72, 0x0f, 0xd6, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01,
0x58, 0x12, 0x54, 0x91, 0x05, 0xf7, 0xb9, 0x59, 0xd2, 0x07, 0x22, 0x98, 0x17, 0xbd, 0xa8, 0x63, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44,
0x5b, 0x0a, 0xbb, 0x64, 0xc5, 0x7d, 0x0c, 0x84, 0xb2, 0x31, 0x3f, 0x67, 0x35, 0x09, 0xea, 0x9a, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x56, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x19, 0x0b, 0x9a, 0xfd, 0x32, 0x60, 0x1d, 0x9f, 0xf3, 0x3a, 0x9b, 0xd4, 0x83, 0xa6, 0xa9, 0xe0, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0xe3, 0xc2, 0x48, 0x6d, 0x5a, 0x96, 0xb8, 0x93, 0x8b, 0x70, 0x18, 0x26, 0x47, 0x41, 0x20, 0x1c, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0xb3, 0x6b, 0xe2, 0xce, 0xd9, 0x0c, 0x79, 0x00, 0x16, 0x1a, 0x46, 0x49, 0xba, 0x76, 0xb0, 0xa3, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65,
0x25, 0x2d, 0xed, 0x8d, 0x8d, 0xbc, 0x4d, 0x65, 0xc8, 0x13, 0xaa, 0x60, 0xee, 0x21, 0xdc, 0x3c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12,
0x65, 0x22, 0x0e, 0x13, 0xef, 0x7a, 0x1d, 0xba, 0x3f, 0x60, 0x93, 0x32, 0x9f, 0x85, 0xa9, 0x9c, 0x1e, 0x0a, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20,
0x8b, 0x8c, 0x95, 0x0a, 0x36, 0xd6, 0x71, 0xb9, 0x3d, 0x77, 0x7d, 0x2d, 0x36, 0x0a, 0x48, 0x9e, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x12,
0xa8, 0xc8, 0x08, 0x96, 0x48, 0x1d, 0x99, 0x4b, 0xf7, 0x94, 0x58, 0x77, 0x04, 0x1b, 0x6f, 0xb8, 0x2d, 0x0a, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
0xef, 0x45, 0xb5, 0xcb, 0x0f, 0x17, 0xf2, 0x7a, 0xe9, 0x61, 0xb3, 0xdc, 0xee, 0x42, 0x1b, 0xbf, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x56, 0x6f,
0x08, 0x2c, 0x91, 0x99, 0xd3, 0x50, 0x92, 0x4e, 0x6b, 0xf7, 0xb7, 0x01, 0x5b, 0x94, 0x7d, 0x7d, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x76, 0x6f, 0x74, 0x65, 0x22, 0x37,
0x9f, 0x33, 0x51, 0xff, 0x3a, 0xcc, 0xc2, 0x68, 0xd4, 0xc2, 0x48, 0xc0, 0xc2, 0xf4, 0x29, 0x3a, 0x0a, 0x15, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x1d, 0xaa, 0xc6, 0x98, 0x09, 0x9f, 0xe7, 0x89, 0xd4, 0xfe, 0x2f, 0x0a, 0x72, 0x07, 0x3a, 0x41, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x28, 0x98, 0x8f, 0xef, 0xa1, 0x13, 0x3d, 0x9b, 0xa8, 0x44, 0xd7, 0x5e, 0x1e, 0xdd, 0x66, 0x25, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f,
0xba, 0xee, 0x07, 0xd8, 0xa6, 0x2c, 0x8d, 0x26, 0x8b, 0x7d, 0x3e, 0x85, 0x4e, 0x49, 0x14, 0x5b, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x44, 0x22, 0x7d, 0x0a, 0x13, 0x52, 0x65, 0x63, 0x65, 0x69,
0x35, 0xff, 0x27, 0xcb, 0x0c, 0xed, 0x3e, 0x83, 0xd5, 0x53, 0xe1, 0x25, 0xd9, 0x19, 0x13, 0x2f, 0x70, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x2f,
0xf3, 0x24, 0xc0, 0x96, 0xbc, 0x58, 0xf1, 0x30, 0x8a, 0x96, 0x8a, 0x0a, 0x29, 0x27, 0x68, 0x3a, 0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74,
0x4d, 0x19, 0xc7, 0xee, 0x67, 0x68, 0x0d, 0x0a, 0x0d, 0xaf, 0xe2, 0x76, 0xc1, 0xd2, 0x13, 0x2f, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72, 0x6f,
0x1b, 0xe9, 0x13, 0xca, 0x12, 0x57, 0xf4, 0x43, 0x28, 0xe5, 0x3a, 0xb4, 0x2c, 0xdd, 0xef, 0xc8, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12,
0xb7, 0xe6, 0xbf, 0xf2, 0xb6, 0x2e, 0x98, 0x7e, 0x2c, 0xb5, 0x01, 0xd6, 0x34, 0x53, 0xbd, 0x48, 0x35, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x71, 0xa9, 0xa2, 0x6c, 0x63, 0xb9, 0xb2, 0x66, 0xf5, 0xa3, 0x48, 0xc0, 0x1a, 0x61, 0x6b, 0x56, 0x32, 0x1b, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d,
0x41, 0x0e, 0xc7, 0x18, 0xea, 0x5b, 0xf3, 0xa6, 0xb8, 0x2a, 0xdb, 0xa9, 0x17, 0x1a, 0x17, 0x7a, 0x79, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x63,
0xc1, 0xbc, 0xd8, 0x0b, 0xd6, 0xf2, 0x8e, 0xed, 0xaa, 0x17, 0x7e, 0x1a, 0xb0, 0x42, 0x59, 0xe4, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x68, 0x0a, 0x11, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x50,
0xe1, 0xd6, 0x41, 0x2c, 0xab, 0xfa, 0x1a, 0x17, 0xea, 0xdb, 0xa8, 0xe9, 0x5b, 0xb9, 0xd1, 0x5c, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x70,
0x7e, 0xa3, 0xb5, 0x4c, 0x23, 0xbb, 0xa2, 0xd1, 0x2b, 0xd8, 0x59, 0x74, 0x64, 0x29, 0xd2, 0x1e, 0x72, 0x6f, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x34, 0x45, 0x24, 0x07, 0xea, 0x9d, 0xd0, 0x91, 0xa4, 0xfc, 0xf6, 0xcf, 0xda, 0xa6, 0x1a, 0x71, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x6e, 0x6f, 0x6d, 0x79, 0x50, 0x72,
0x0c, 0x9f, 0xda, 0xfd, 0xfe, 0xbe, 0x5a, 0xff, 0xd2, 0x54, 0xbf, 0xec, 0x47, 0xff, 0x02, 0x00, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70,
0x00, 0xff, 0xff, 0x03, 0x4c, 0x1c, 0xce, 0xd6, 0x07, 0x00, 0x00, 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 {
file_rule_proto_rawDescOnce.Do(func() {
file_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_rule_proto_rawDescData)
})
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
}
}
file_rule_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LocalProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReqQueryProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyQueryProposalRule); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferFund); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Comment); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rule_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptProposalComment); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
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
} }
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
<<<<<<< HEAD
<<<<<<< HEAD
=======
// versions: // versions:
// protoc-gen-go v1.26.0 // protoc-gen-go v1.26.0
// protoc v3.9.1 // protoc v3.9.1
>>>>>>> upstream/master
=======
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
>>>>>>> afeac8d90c67fe38d642eca9db167d33a67297a9
// source: coinsx.proto // source: coinsx.proto
package types package types
...@@ -20,28 +11,6 @@ import ( ...@@ -20,28 +11,6 @@ import (
sync "sync" sync "sync"
types "github.com/33cn/chain33/types" types "github.com/33cn/chain33/types"
<<<<<<< HEAD
<<<<<<< HEAD
proto "github.com/golang/protobuf/proto"
math "math"
=======
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
>>>>>>> upstream/master
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
<<<<<<< HEAD
// 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
=======
protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
...@@ -52,10 +21,7 @@ const ( ...@@ -52,10 +21,7 @@ const (
// Verify that runtime/protoimpl is sufficiently up-to-date. // Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) )
>>>>>>> afeac8d90c67fe38d642eca9db167d33a67297a9
=======
>>>>>>> upstream/master
//kvmvcc statedb not support 0 value //kvmvcc statedb not support 0 value
type TransferFlag int32 type TransferFlag int32
......
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