Commit 4345b5e3 authored by QM's avatar QM

merge

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