From c30a64e6c5bbc997fd45ab8a0bf9e31da05553b9 Mon Sep 17 00:00:00 2001 From: anon Date: Wed, 13 Nov 2024 13:49:35 -0300 Subject: [PATCH] tron grpc api --- .gitignore | 2 + gen/api/api.pb.go | 8874 ++++++++++++++++++++++ gen/api/api_grpc.pb.go | 7657 +++++++++++++++++++ gen/api/zksnark.pb.go | 306 + gen/api/zksnark_grpc.pb.go | 105 + gen/core/Discover.pb.go | 586 ++ gen/core/Tron.pb.go | 10102 ++++++++++++++++++++++++++ gen/core/TronInventoryItems.pb.go | 156 + gen/core/account_contract.pb.go | 439 ++ gen/core/asset_issue_contract.pb.go | 761 ++ gen/core/balance_contract.pb.go | 1586 ++++ gen/core/common.pb.go | 135 + gen/core/exchange_contract.pb.go | 481 ++ gen/core/market_contract.pb.go | 264 + gen/core/proposal_contract.pb.go | 326 + gen/core/shield_contract.pb.go | 1091 +++ gen/core/smart_contract.pb.go | 1308 ++++ gen/core/storage_contract.pb.go | 379 + gen/core/vote_asset_contract.pb.go | 177 + gen/core/witness_contract.pb.go | 390 + go.mod | 16 + go.sum | 18 + 22 files changed, 35159 insertions(+) create mode 100644 .gitignore create mode 100644 gen/api/api.pb.go create mode 100644 gen/api/api_grpc.pb.go create mode 100644 gen/api/zksnark.pb.go create mode 100644 gen/api/zksnark_grpc.pb.go create mode 100644 gen/core/Discover.pb.go create mode 100644 gen/core/Tron.pb.go create mode 100644 gen/core/TronInventoryItems.pb.go create mode 100644 gen/core/account_contract.pb.go create mode 100644 gen/core/asset_issue_contract.pb.go create mode 100644 gen/core/balance_contract.pb.go create mode 100644 gen/core/common.pb.go create mode 100644 gen/core/exchange_contract.pb.go create mode 100644 gen/core/market_contract.pb.go create mode 100644 gen/core/proposal_contract.pb.go create mode 100644 gen/core/shield_contract.pb.go create mode 100644 gen/core/smart_contract.pb.go create mode 100644 gen/core/storage_contract.pb.go create mode 100644 gen/core/vote_asset_contract.pb.go create mode 100644 gen/core/witness_contract.pb.go create mode 100644 go.mod create mode 100644 go.sum diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f1025f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +.DS_Store \ No newline at end of file diff --git a/gen/api/api.pb.go b/gen/api/api.pb.go new file mode 100644 index 0000000..530a212 --- /dev/null +++ b/gen/api/api.pb.go @@ -0,0 +1,8874 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: api/api.proto + +package api + +import ( + core "gitea.capitan.black/pirate/gotron/gen/core" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + "math/big" + reflect "reflect" + sync "sync" +) + +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) +) + +type ReturnResponseCode int32 + +const ( + Return_SUCCESS ReturnResponseCode = 0 + Return_SIGERROR ReturnResponseCode = 1 // error in signature + Return_CONTRACT_VALIDATE_ERROR ReturnResponseCode = 2 + Return_CONTRACT_EXE_ERROR ReturnResponseCode = 3 + Return_BANDWITH_ERROR ReturnResponseCode = 4 + Return_DUP_TRANSACTION_ERROR ReturnResponseCode = 5 + Return_TAPOS_ERROR ReturnResponseCode = 6 + Return_TOO_BIG_TRANSACTION_ERROR ReturnResponseCode = 7 + Return_TRANSACTION_EXPIRATION_ERROR ReturnResponseCode = 8 + Return_SERVER_BUSY ReturnResponseCode = 9 + Return_NO_CONNECTION ReturnResponseCode = 10 + Return_NOT_ENOUGH_EFFECTIVE_CONNECTION ReturnResponseCode = 11 + Return_OTHER_ERROR ReturnResponseCode = 20 +) + +// Enum value maps for ReturnResponseCode. +var ( + ReturnResponseCode_name = map[int32]string{ + 0: "SUCCESS", + 1: "SIGERROR", + 2: "CONTRACT_VALIDATE_ERROR", + 3: "CONTRACT_EXE_ERROR", + 4: "BANDWITH_ERROR", + 5: "DUP_TRANSACTION_ERROR", + 6: "TAPOS_ERROR", + 7: "TOO_BIG_TRANSACTION_ERROR", + 8: "TRANSACTION_EXPIRATION_ERROR", + 9: "SERVER_BUSY", + 10: "NO_CONNECTION", + 11: "NOT_ENOUGH_EFFECTIVE_CONNECTION", + 20: "OTHER_ERROR", + } + ReturnResponseCode_value = map[string]int32{ + "SUCCESS": 0, + "SIGERROR": 1, + "CONTRACT_VALIDATE_ERROR": 2, + "CONTRACT_EXE_ERROR": 3, + "BANDWITH_ERROR": 4, + "DUP_TRANSACTION_ERROR": 5, + "TAPOS_ERROR": 6, + "TOO_BIG_TRANSACTION_ERROR": 7, + "TRANSACTION_EXPIRATION_ERROR": 8, + "SERVER_BUSY": 9, + "NO_CONNECTION": 10, + "NOT_ENOUGH_EFFECTIVE_CONNECTION": 11, + "OTHER_ERROR": 20, + } +) + +func (x ReturnResponseCode) Enum() *ReturnResponseCode { + p := new(ReturnResponseCode) + *p = x + return p +} + +func (x ReturnResponseCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ReturnResponseCode) Descriptor() protoreflect.EnumDescriptor { + return file_api_api_proto_enumTypes[0].Descriptor() +} + +func (ReturnResponseCode) Type() protoreflect.EnumType { + return &file_api_api_proto_enumTypes[0] +} + +func (x ReturnResponseCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReturnResponseCode.Descriptor instead. +func (ReturnResponseCode) EnumDescriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{0, 0} +} + +type TransactionSignWeight_ResultResponseCode int32 + +const ( + TransactionSignWeight_Result_ENOUGH_PERMISSION TransactionSignWeight_ResultResponseCode = 0 + TransactionSignWeight_Result_NOT_ENOUGH_PERMISSION TransactionSignWeight_ResultResponseCode = 1 // error in + TransactionSignWeight_Result_SIGNATURE_FORMAT_ERROR TransactionSignWeight_ResultResponseCode = 2 + TransactionSignWeight_Result_COMPUTE_ADDRESS_ERROR TransactionSignWeight_ResultResponseCode = 3 + TransactionSignWeight_Result_PERMISSION_ERROR TransactionSignWeight_ResultResponseCode = 4 //The key is not in permission + TransactionSignWeight_Result_OTHER_ERROR TransactionSignWeight_ResultResponseCode = 20 +) + +// Enum value maps for TransactionSignWeight_ResultResponseCode. +var ( + TransactionSignWeight_ResultResponseCode_name = map[int32]string{ + 0: "ENOUGH_PERMISSION", + 1: "NOT_ENOUGH_PERMISSION", + 2: "SIGNATURE_FORMAT_ERROR", + 3: "COMPUTE_ADDRESS_ERROR", + 4: "PERMISSION_ERROR", + 20: "OTHER_ERROR", + } + TransactionSignWeight_ResultResponseCode_value = map[string]int32{ + "ENOUGH_PERMISSION": 0, + "NOT_ENOUGH_PERMISSION": 1, + "SIGNATURE_FORMAT_ERROR": 2, + "COMPUTE_ADDRESS_ERROR": 3, + "PERMISSION_ERROR": 4, + "OTHER_ERROR": 20, + } +) + +func (x TransactionSignWeight_ResultResponseCode) Enum() *TransactionSignWeight_ResultResponseCode { + p := new(TransactionSignWeight_ResultResponseCode) + *p = x + return p +} + +func (x TransactionSignWeight_ResultResponseCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransactionSignWeight_ResultResponseCode) Descriptor() protoreflect.EnumDescriptor { + return file_api_api_proto_enumTypes[1].Descriptor() +} + +func (TransactionSignWeight_ResultResponseCode) Type() protoreflect.EnumType { + return &file_api_api_proto_enumTypes[1] +} + +func (x TransactionSignWeight_ResultResponseCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead. +func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{39, 0, 0} +} + +type TransactionApprovedList_ResultResponseCode int32 + +const ( + TransactionApprovedList_Result_SUCCESS TransactionApprovedList_ResultResponseCode = 0 + TransactionApprovedList_Result_SIGNATURE_FORMAT_ERROR TransactionApprovedList_ResultResponseCode = 1 + TransactionApprovedList_Result_COMPUTE_ADDRESS_ERROR TransactionApprovedList_ResultResponseCode = 2 + TransactionApprovedList_Result_OTHER_ERROR TransactionApprovedList_ResultResponseCode = 20 +) + +// Enum value maps for TransactionApprovedList_ResultResponseCode. +var ( + TransactionApprovedList_ResultResponseCode_name = map[int32]string{ + 0: "SUCCESS", + 1: "SIGNATURE_FORMAT_ERROR", + 2: "COMPUTE_ADDRESS_ERROR", + 20: "OTHER_ERROR", + } + TransactionApprovedList_ResultResponseCode_value = map[string]int32{ + "SUCCESS": 0, + "SIGNATURE_FORMAT_ERROR": 1, + "COMPUTE_ADDRESS_ERROR": 2, + "OTHER_ERROR": 20, + } +) + +func (x TransactionApprovedList_ResultResponseCode) Enum() *TransactionApprovedList_ResultResponseCode { + p := new(TransactionApprovedList_ResultResponseCode) + *p = x + return p +} + +func (x TransactionApprovedList_ResultResponseCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransactionApprovedList_ResultResponseCode) Descriptor() protoreflect.EnumDescriptor { + return file_api_api_proto_enumTypes[2].Descriptor() +} + +func (TransactionApprovedList_ResultResponseCode) Type() protoreflect.EnumType { + return &file_api_api_proto_enumTypes[2] +} + +func (x TransactionApprovedList_ResultResponseCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead. +func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{40, 0, 0} +} + +type Return struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Code ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"` + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *Return) Reset() { + *x = Return{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Return) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Return) ProtoMessage() {} + +func (x *Return) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Return.ProtoReflect.Descriptor instead. +func (*Return) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{0} +} + +func (x *Return) GetResult() bool { + if x != nil { + return x.Result + } + return false +} + +func (x *Return) GetCode() ReturnResponseCode { + if x != nil { + return x.Code + } + return Return_SUCCESS +} + +func (x *Return) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +type BlockReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockNum int64 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` + BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` +} + +func (x *BlockReference) Reset() { + *x = BlockReference{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockReference) ProtoMessage() {} + +func (x *BlockReference) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockReference.ProtoReflect.Descriptor instead. +func (*BlockReference) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{1} +} + +func (x *BlockReference) GetBlockNum() int64 { + if x != nil { + return x.BlockNum + } + return 0 +} + +func (x *BlockReference) GetBlockHash() []byte { + if x != nil { + return x.BlockHash + } + return nil +} + +type WitnessList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"` +} + +func (x *WitnessList) Reset() { + *x = WitnessList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WitnessList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WitnessList) ProtoMessage() {} + +func (x *WitnessList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use WitnessList.ProtoReflect.Descriptor instead. +func (*WitnessList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{2} +} + +func (x *WitnessList) GetWitnesses() []*core.Witness { + if x != nil { + return x.Witnesses + } + return nil +} + +type ProposalList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` +} + +func (x *ProposalList) Reset() { + *x = ProposalList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalList) ProtoMessage() {} + +func (x *ProposalList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use ProposalList.ProtoReflect.Descriptor instead. +func (*ProposalList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{3} +} + +func (x *ProposalList) GetProposals() []*core.Proposal { + if x != nil { + return x.Proposals + } + return nil +} + +type ExchangeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"` +} + +func (x *ExchangeList) Reset() { + *x = ExchangeList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExchangeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExchangeList) ProtoMessage() {} + +func (x *ExchangeList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use ExchangeList.ProtoReflect.Descriptor instead. +func (*ExchangeList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{4} +} + +func (x *ExchangeList) GetExchanges() []*core.Exchange { + if x != nil { + return x.Exchanges + } + return nil +} + +type AssetIssueList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"` +} + +func (x *AssetIssueList) Reset() { + *x = AssetIssueList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssetIssueList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssetIssueList) ProtoMessage() {} + +func (x *AssetIssueList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use AssetIssueList.ProtoReflect.Descriptor instead. +func (*AssetIssueList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{5} +} + +func (x *AssetIssueList) GetAssetIssue() []*core.AssetIssueContract { + if x != nil { + return x.AssetIssue + } + return nil +} + +type BlockList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` +} + +func (x *BlockList) Reset() { + *x = BlockList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockList) ProtoMessage() {} + +func (x *BlockList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use BlockList.ProtoReflect.Descriptor instead. +func (*BlockList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{6} +} + +func (x *BlockList) GetBlock() []*core.Block { + if x != nil { + return x.Block + } + return nil +} + +type TransactionList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transaction []*core.Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` +} + +func (x *TransactionList) Reset() { + *x = TransactionList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionList) ProtoMessage() {} + +func (x *TransactionList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use TransactionList.ProtoReflect.Descriptor instead. +func (*TransactionList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{7} +} + +func (x *TransactionList) GetTransaction() []*core.Transaction { + if x != nil { + return x.Transaction + } + return nil +} + +type TransactionIdList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TxId []string `protobuf:"bytes,1,rep,name=txId,proto3" json:"txId,omitempty"` +} + +func (x *TransactionIdList) Reset() { + *x = TransactionIdList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionIdList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionIdList) ProtoMessage() {} + +func (x *TransactionIdList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use TransactionIdList.ProtoReflect.Descriptor instead. +func (*TransactionIdList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{8} +} + +func (x *TransactionIdList) GetTxId() []string { + if x != nil { + return x.TxId + } + return nil +} + +type DelegatedResourceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"` +} + +func (x *DelegatedResourceMessage) Reset() { + *x = DelegatedResourceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatedResourceMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatedResourceMessage) ProtoMessage() {} + +func (x *DelegatedResourceMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use DelegatedResourceMessage.ProtoReflect.Descriptor instead. +func (*DelegatedResourceMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{9} +} + +func (x *DelegatedResourceMessage) GetFromAddress() []byte { + if x != nil { + return x.FromAddress + } + return nil +} + +func (x *DelegatedResourceMessage) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +type DelegatedResourceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"` +} + +func (x *DelegatedResourceList) Reset() { + *x = DelegatedResourceList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatedResourceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatedResourceList) ProtoMessage() {} + +func (x *DelegatedResourceList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use DelegatedResourceList.ProtoReflect.Descriptor instead. +func (*DelegatedResourceList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{10} +} + +func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource { + if x != nil { + return x.DelegatedResource + } + return nil +} + +type GetAvailableUnfreezeCountRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *GetAvailableUnfreezeCountRequestMessage) Reset() { + *x = GetAvailableUnfreezeCountRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAvailableUnfreezeCountRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAvailableUnfreezeCountRequestMessage) ProtoMessage() {} + +func (x *GetAvailableUnfreezeCountRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use GetAvailableUnfreezeCountRequestMessage.ProtoReflect.Descriptor instead. +func (*GetAvailableUnfreezeCountRequestMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{11} +} + +func (x *GetAvailableUnfreezeCountRequestMessage) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type GetAvailableUnfreezeCountResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *GetAvailableUnfreezeCountResponseMessage) Reset() { + *x = GetAvailableUnfreezeCountResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAvailableUnfreezeCountResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAvailableUnfreezeCountResponseMessage) ProtoMessage() {} + +func (x *GetAvailableUnfreezeCountResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use GetAvailableUnfreezeCountResponseMessage.ProtoReflect.Descriptor instead. +func (*GetAvailableUnfreezeCountResponseMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{12} +} + +func (x *GetAvailableUnfreezeCountResponseMessage) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +type CanDelegatedMaxSizeRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *CanDelegatedMaxSizeRequestMessage) Reset() { + *x = CanDelegatedMaxSizeRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanDelegatedMaxSizeRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanDelegatedMaxSizeRequestMessage) ProtoMessage() {} + +func (x *CanDelegatedMaxSizeRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use CanDelegatedMaxSizeRequestMessage.ProtoReflect.Descriptor instead. +func (*CanDelegatedMaxSizeRequestMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{13} +} + +func (x *CanDelegatedMaxSizeRequestMessage) GetType() int32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *CanDelegatedMaxSizeRequestMessage) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type CanDelegatedMaxSizeResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxSize int64 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` +} + +func (x *CanDelegatedMaxSizeResponseMessage) Reset() { + *x = CanDelegatedMaxSizeResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanDelegatedMaxSizeResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanDelegatedMaxSizeResponseMessage) ProtoMessage() {} + +func (x *CanDelegatedMaxSizeResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_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) +} + +// Deprecated: Use CanDelegatedMaxSizeResponseMessage.ProtoReflect.Descriptor instead. +func (*CanDelegatedMaxSizeResponseMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{14} +} + +func (x *CanDelegatedMaxSizeResponseMessage) GetMaxSize() int64 { + if x != nil { + return x.MaxSize + } + return 0 +} + +type CanWithdrawUnfreezeAmountRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *CanWithdrawUnfreezeAmountRequestMessage) Reset() { + *x = CanWithdrawUnfreezeAmountRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanWithdrawUnfreezeAmountRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanWithdrawUnfreezeAmountRequestMessage) ProtoMessage() {} + +func (x *CanWithdrawUnfreezeAmountRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CanWithdrawUnfreezeAmountRequestMessage.ProtoReflect.Descriptor instead. +func (*CanWithdrawUnfreezeAmountRequestMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{15} +} + +func (x *CanWithdrawUnfreezeAmountRequestMessage) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *CanWithdrawUnfreezeAmountRequestMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type CanWithdrawUnfreezeAmountResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *CanWithdrawUnfreezeAmountResponseMessage) Reset() { + *x = CanWithdrawUnfreezeAmountResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanWithdrawUnfreezeAmountResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanWithdrawUnfreezeAmountResponseMessage) ProtoMessage() {} + +func (x *CanWithdrawUnfreezeAmountResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CanWithdrawUnfreezeAmountResponseMessage.ProtoReflect.Descriptor instead. +func (*CanWithdrawUnfreezeAmountResponseMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{16} +} + +func (x *CanWithdrawUnfreezeAmountResponseMessage) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type PricesResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Prices string `protobuf:"bytes,1,opt,name=prices,proto3" json:"prices,omitempty"` +} + +func (x *PricesResponseMessage) Reset() { + *x = PricesResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PricesResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PricesResponseMessage) ProtoMessage() {} + +func (x *PricesResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PricesResponseMessage.ProtoReflect.Descriptor instead. +func (*PricesResponseMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{17} +} + +func (x *PricesResponseMessage) GetPrices() string { + if x != nil { + return x.Prices + } + return "" +} + +// Gossip node list +type NodeList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` +} + +func (x *NodeList) Reset() { + *x = NodeList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeList) ProtoMessage() {} + +func (x *NodeList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeList.ProtoReflect.Descriptor instead. +func (*NodeList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{18} +} + +func (x *NodeList) GetNodes() []*Node { + if x != nil { + return x.Nodes + } + return nil +} + +// Gossip node +type Node struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *Node) Reset() { + *x = Node{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Node) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Node) ProtoMessage() {} + +func (x *Node) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Node.ProtoReflect.Descriptor instead. +func (*Node) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{19} +} + +func (x *Node) GetAddress() *Address { + if x != nil { + return x.Address + } + return nil +} + +// Gossip node address +type Address struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` +} + +func (x *Address) Reset() { + *x = Address{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Address) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Address) ProtoMessage() {} + +func (x *Address) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Address.ProtoReflect.Descriptor instead. +func (*Address) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{20} +} + +func (x *Address) GetHost() []byte { + if x != nil { + return x.Host + } + return nil +} + +func (x *Address) GetPort() int32 { + if x != nil { + return x.Port + } + return 0 +} + +type EmptyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *EmptyMessage) Reset() { + *x = EmptyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmptyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmptyMessage) ProtoMessage() {} + +func (x *EmptyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead. +func (*EmptyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{21} +} + +type NumberMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` +} + +func (x *NumberMessage) Reset() { + *x = NumberMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NumberMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NumberMessage) ProtoMessage() {} + +func (x *NumberMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead. +func (*NumberMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{22} +} + +func (x *NumberMessage) GetNum() int64 { + if x != nil { + return x.Num + } + return 0 +} + +type BytesMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *BytesMessage) Reset() { + *x = BytesMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BytesMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BytesMessage) ProtoMessage() {} + +func (x *BytesMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead. +func (*BytesMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{23} +} + +func (x *BytesMessage) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +type TimeMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"` + EndInMilliseconds int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"` +} + +func (x *TimeMessage) Reset() { + *x = TimeMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeMessage) ProtoMessage() {} + +func (x *TimeMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead. +func (*TimeMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{24} +} + +func (x *TimeMessage) GetBeginInMilliseconds() int64 { + if x != nil { + return x.BeginInMilliseconds + } + return 0 +} + +func (x *TimeMessage) GetEndInMilliseconds() int64 { + if x != nil { + return x.EndInMilliseconds + } + return 0 +} + +type BlockReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdOrNum string `protobuf:"bytes,1,opt,name=id_or_num,json=idOrNum,proto3" json:"id_or_num,omitempty"` + Detail bool `protobuf:"varint,2,opt,name=detail,proto3" json:"detail,omitempty"` +} + +func (x *BlockReq) Reset() { + *x = BlockReq{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockReq) ProtoMessage() {} + +func (x *BlockReq) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockReq.ProtoReflect.Descriptor instead. +func (*BlockReq) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{25} +} + +func (x *BlockReq) GetIdOrNum() string { + if x != nil { + return x.IdOrNum + } + return "" +} + +func (x *BlockReq) GetDetail() bool { + if x != nil { + return x.Detail + } + return false +} + +type BlockLimit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"` + EndNum int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"` +} + +func (x *BlockLimit) Reset() { + *x = BlockLimit{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockLimit) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockLimit) ProtoMessage() {} + +func (x *BlockLimit) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead. +func (*BlockLimit) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{26} +} + +func (x *BlockLimit) GetStartNum() int64 { + if x != nil { + return x.StartNum + } + return 0 +} + +func (x *BlockLimit) GetEndNum() int64 { + if x != nil { + return x.EndNum + } + return 0 +} + +type TransactionLimit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"` + LimitNum int64 `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"` +} + +func (x *TransactionLimit) Reset() { + *x = TransactionLimit{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionLimit) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionLimit) ProtoMessage() {} + +func (x *TransactionLimit) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead. +func (*TransactionLimit) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{27} +} + +func (x *TransactionLimit) GetTransactionId() []byte { + if x != nil { + return x.TransactionId + } + return nil +} + +func (x *TransactionLimit) GetLimitNum() int64 { + if x != nil { + return x.LimitNum + } + return 0 +} + +type AccountPaginated struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *AccountPaginated) Reset() { + *x = AccountPaginated{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountPaginated) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountPaginated) ProtoMessage() {} + +func (x *AccountPaginated) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead. +func (*AccountPaginated) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{28} +} + +func (x *AccountPaginated) GetAccount() *core.Account { + if x != nil { + return x.Account + } + return nil +} + +func (x *AccountPaginated) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *AccountPaginated) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +type TimePaginatedMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"` + Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *TimePaginatedMessage) Reset() { + *x = TimePaginatedMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimePaginatedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimePaginatedMessage) ProtoMessage() {} + +func (x *TimePaginatedMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead. +func (*TimePaginatedMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{29} +} + +func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage { + if x != nil { + return x.TimeMessage + } + return nil +} + +func (x *TimePaginatedMessage) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *TimePaginatedMessage) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +// deprecated +type AccountNetMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` +} + +func (x *AccountNetMessage) Reset() { + *x = AccountNetMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountNetMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountNetMessage) ProtoMessage() {} + +func (x *AccountNetMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead. +func (*AccountNetMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{30} +} + +func (x *AccountNetMessage) GetFreeNetUsed() int64 { + if x != nil { + return x.FreeNetUsed + } + return 0 +} + +func (x *AccountNetMessage) GetFreeNetLimit() int64 { + if x != nil { + return x.FreeNetLimit + } + return 0 +} + +func (x *AccountNetMessage) GetNetUsed() int64 { + if x != nil { + return x.NetUsed + } + return 0 +} + +func (x *AccountNetMessage) GetNetLimit() int64 { + if x != nil { + return x.NetLimit + } + return 0 +} + +func (x *AccountNetMessage) GetAssetNetUsed() map[string]int64 { + if x != nil { + return x.AssetNetUsed + } + return nil +} + +func (x *AccountNetMessage) GetAssetNetLimit() map[string]int64 { + if x != nil { + return x.AssetNetLimit + } + return nil +} + +func (x *AccountNetMessage) GetTotalNetLimit() int64 { + if x != nil { + return x.TotalNetLimit + } + return 0 +} + +func (x *AccountNetMessage) GetTotalNetWeight() int64 { + if x != nil { + return x.TotalNetWeight + } + return 0 +} + +type AccountResourceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FreeNetUsed int64 `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"` + FreeNetLimit int64 `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"` + NetUsed int64 `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"` + NetLimit int64 `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"` + AssetNetUsed map[string]int64 `protobuf:"bytes,5,rep,name=assetNetUsed,proto3" json:"assetNetUsed,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + AssetNetLimit map[string]int64 `protobuf:"bytes,6,rep,name=assetNetLimit,proto3" json:"assetNetLimit,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + TotalNetLimit int64 `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"` + TotalNetWeight int64 `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"` + TotalTronPowerWeight int64 `protobuf:"varint,9,opt,name=TotalTronPowerWeight,proto3" json:"TotalTronPowerWeight,omitempty"` + TronPowerUsed int64 `protobuf:"varint,10,opt,name=tronPowerUsed,proto3" json:"tronPowerUsed,omitempty"` + TronPowerLimit int64 `protobuf:"varint,11,opt,name=tronPowerLimit,proto3" json:"tronPowerLimit,omitempty"` + EnergyUsed int64 `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"` + EnergyLimit int64 `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"` + TotalEnergyLimit int64 `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"` + TotalEnergyWeight int64 `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"` + StorageUsed int64 `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"` + StorageLimit int64 `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"` +} + +func (x *AccountResourceMessage) Reset() { + *x = AccountResourceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountResourceMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountResourceMessage) ProtoMessage() {} + +func (x *AccountResourceMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead. +func (*AccountResourceMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{31} +} + +func (x *AccountResourceMessage) GetFreeNetUsed() int64 { + if x != nil { + return x.FreeNetUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetFreeNetLimit() int64 { + if x != nil { + return x.FreeNetLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetNetUsed() int64 { + if x != nil { + return x.NetUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetNetLimit() int64 { + if x != nil { + return x.NetLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetAssetNetUsed() map[string]int64 { + if x != nil { + return x.AssetNetUsed + } + return nil +} + +func (x *AccountResourceMessage) GetAssetNetLimit() map[string]int64 { + if x != nil { + return x.AssetNetLimit + } + return nil +} + +func (x *AccountResourceMessage) GetTotalNetLimit() int64 { + if x != nil { + return x.TotalNetLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetTotalNetWeight() int64 { + if x != nil { + return x.TotalNetWeight + } + return 0 +} + +func (x *AccountResourceMessage) GetTotalTronPowerWeight() int64 { + if x != nil { + return x.TotalTronPowerWeight + } + return 0 +} + +func (x *AccountResourceMessage) GetTronPowerUsed() int64 { + if x != nil { + return x.TronPowerUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetTronPowerLimit() int64 { + if x != nil { + return x.TronPowerLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetEnergyUsed() int64 { + if x != nil { + return x.EnergyUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetEnergyLimit() int64 { + if x != nil { + return x.EnergyLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetTotalEnergyLimit() int64 { + if x != nil { + return x.TotalEnergyLimit + } + return 0 +} + +func (x *AccountResourceMessage) GetTotalEnergyWeight() int64 { + if x != nil { + return x.TotalEnergyWeight + } + return 0 +} + +func (x *AccountResourceMessage) GetStorageUsed() int64 { + if x != nil { + return x.StorageUsed + } + return 0 +} + +func (x *AccountResourceMessage) GetStorageLimit() int64 { + if x != nil { + return x.StorageLimit + } + return 0 +} + +type PaginatedMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *PaginatedMessage) Reset() { + *x = PaginatedMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaginatedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaginatedMessage) ProtoMessage() {} + +func (x *PaginatedMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead. +func (*PaginatedMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{32} +} + +func (x *PaginatedMessage) GetOffset() int64 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *PaginatedMessage) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +type TransactionExtention struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + ConstantResult [][]byte `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"` + Result *Return `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + EnergyUsed int64 `protobuf:"varint,5,opt,name=energy_used,json=energyUsed,proto3" json:"energy_used,omitempty"` + Logs []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` + InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` + EnergyPenalty int64 `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"` + Amount *big.Int +} + +func (x *TransactionExtention) Reset() { + *x = TransactionExtention{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionExtention) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionExtention) ProtoMessage() {} + +func (x *TransactionExtention) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead. +func (*TransactionExtention) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{33} +} + +func (x *TransactionExtention) GetTransaction() *core.Transaction { + if x != nil { + return x.Transaction + } + return nil +} + +func (x *TransactionExtention) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *TransactionExtention) GetConstantResult() [][]byte { + if x != nil { + return x.ConstantResult + } + return nil +} + +func (x *TransactionExtention) GetResult() *Return { + if x != nil { + return x.Result + } + return nil +} + +func (x *TransactionExtention) GetEnergyUsed() int64 { + if x != nil { + return x.EnergyUsed + } + return 0 +} + +func (x *TransactionExtention) GetLogs() []*core.TransactionInfo_Log { + if x != nil { + return x.Logs + } + return nil +} + +func (x *TransactionExtention) GetInternalTransactions() []*core.InternalTransaction { + if x != nil { + return x.InternalTransactions + } + return nil +} + +func (x *TransactionExtention) GetEnergyPenalty() int64 { + if x != nil { + return x.EnergyPenalty + } + return 0 +} + +type EstimateEnergyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + EnergyRequired int64 `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` +} + +func (x *EstimateEnergyMessage) Reset() { + *x = EstimateEnergyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EstimateEnergyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EstimateEnergyMessage) ProtoMessage() {} + +func (x *EstimateEnergyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead. +func (*EstimateEnergyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{34} +} + +func (x *EstimateEnergyMessage) GetResult() *Return { + if x != nil { + return x.Result + } + return nil +} + +func (x *EstimateEnergyMessage) GetEnergyRequired() int64 { + if x != nil { + return x.EnergyRequired + } + return 0 +} + +type BlockExtention struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *core.BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` + Blockid []byte `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"` +} + +func (x *BlockExtention) Reset() { + *x = BlockExtention{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockExtention) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockExtention) ProtoMessage() {} + +func (x *BlockExtention) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead. +func (*BlockExtention) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{35} +} + +func (x *BlockExtention) GetTransactions() []*TransactionExtention { + if x != nil { + return x.Transactions + } + return nil +} + +func (x *BlockExtention) GetBlockHeader() *core.BlockHeader { + if x != nil { + return x.BlockHeader + } + return nil +} + +func (x *BlockExtention) GetBlockid() []byte { + if x != nil { + return x.Blockid + } + return nil +} + +type BlockListExtention struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"` +} + +func (x *BlockListExtention) Reset() { + *x = BlockListExtention{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockListExtention) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockListExtention) ProtoMessage() {} + +func (x *BlockListExtention) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead. +func (*BlockListExtention) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{36} +} + +func (x *BlockListExtention) GetBlock() []*BlockExtention { + if x != nil { + return x.Block + } + return nil +} + +type TransactionListExtention struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"` +} + +func (x *TransactionListExtention) Reset() { + *x = TransactionListExtention{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionListExtention) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionListExtention) ProtoMessage() {} + +func (x *TransactionListExtention) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead. +func (*TransactionListExtention) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{37} +} + +func (x *TransactionListExtention) GetTransaction() []*TransactionExtention { + if x != nil { + return x.Transaction + } + return nil +} + +type BlockIncrementalMerkleTree struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` + MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"` +} + +func (x *BlockIncrementalMerkleTree) Reset() { + *x = BlockIncrementalMerkleTree{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockIncrementalMerkleTree) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockIncrementalMerkleTree) ProtoMessage() {} + +func (x *BlockIncrementalMerkleTree) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead. +func (*BlockIncrementalMerkleTree) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{38} +} + +func (x *BlockIncrementalMerkleTree) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +func (x *BlockIncrementalMerkleTree) GetMerkleTree() *core.IncrementalMerkleTree { + if x != nil { + return x.MerkleTree + } + return nil +} + +type TransactionSignWeight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Permission *core.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + CurrentWeight int64 `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"` + Result *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` +} + +func (x *TransactionSignWeight) Reset() { + *x = TransactionSignWeight{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionSignWeight) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionSignWeight) ProtoMessage() {} + +func (x *TransactionSignWeight) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{39} +} + +func (x *TransactionSignWeight) GetPermission() *core.Permission { + if x != nil { + return x.Permission + } + return nil +} + +func (x *TransactionSignWeight) GetApprovedList() [][]byte { + if x != nil { + return x.ApprovedList + } + return nil +} + +func (x *TransactionSignWeight) GetCurrentWeight() int64 { + if x != nil { + return x.CurrentWeight + } + return 0 +} + +func (x *TransactionSignWeight) GetResult() *TransactionSignWeight_Result { + if x != nil { + return x.Result + } + return nil +} + +func (x *TransactionSignWeight) GetTransaction() *TransactionExtention { + if x != nil { + return x.Transaction + } + return nil +} + +type TransactionApprovedList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApprovedList [][]byte `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"` + Result *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Transaction *TransactionExtention `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"` +} + +func (x *TransactionApprovedList) Reset() { + *x = TransactionApprovedList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionApprovedList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionApprovedList) ProtoMessage() {} + +func (x *TransactionApprovedList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{40} +} + +func (x *TransactionApprovedList) GetApprovedList() [][]byte { + if x != nil { + return x.ApprovedList + } + return nil +} + +func (x *TransactionApprovedList) GetResult() *TransactionApprovedList_Result { + if x != nil { + return x.Result + } + return nil +} + +func (x *TransactionApprovedList) GetTransaction() *TransactionExtention { + if x != nil { + return x.Transaction + } + return nil +} + +type IvkDecryptParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"` +} + +func (x *IvkDecryptParameters) Reset() { + *x = IvkDecryptParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IvkDecryptParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IvkDecryptParameters) ProtoMessage() {} + +func (x *IvkDecryptParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{41} +} + +func (x *IvkDecryptParameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 +} + +func (x *IvkDecryptParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *IvkDecryptParameters) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +type IvkDecryptAndMarkParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ivk []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` +} + +func (x *IvkDecryptAndMarkParameters) Reset() { + *x = IvkDecryptAndMarkParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IvkDecryptAndMarkParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IvkDecryptAndMarkParameters) ProtoMessage() {} + +func (x *IvkDecryptAndMarkParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptAndMarkParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{42} +} + +func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *IvkDecryptAndMarkParameters) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *IvkDecryptAndMarkParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *IvkDecryptAndMarkParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type OvkDecryptParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` +} + +func (x *OvkDecryptParameters) Reset() { + *x = OvkDecryptParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OvkDecryptParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OvkDecryptParameters) ProtoMessage() {} + +func (x *OvkDecryptParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{43} +} + +func (x *OvkDecryptParameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 +} + +func (x *OvkDecryptParameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *OvkDecryptParameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +type DecryptNotes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` +} + +func (x *DecryptNotes) Reset() { + *x = DecryptNotes{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotes) ProtoMessage() {} + +func (x *DecryptNotes) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead. +func (*DecryptNotes) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{44} +} + +func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx { + if x != nil { + return x.NoteTxs + } + return nil +} + +type DecryptNotesMarked struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` +} + +func (x *DecryptNotesMarked) Reset() { + *x = DecryptNotesMarked{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotesMarked) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotesMarked) ProtoMessage() {} + +func (x *DecryptNotesMarked) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{45} +} + +func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx { + if x != nil { + return x.NoteTxs + } + return nil +} + +type Note struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` + Rcm []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32 + Memo []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` +} + +func (x *Note) Reset() { + *x = Note{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Note) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Note) ProtoMessage() {} + +func (x *Note) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Note.ProtoReflect.Descriptor instead. +func (*Note) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{46} +} + +func (x *Note) GetValue() int64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *Note) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +func (x *Note) GetRcm() []byte { + if x != nil { + return x.Rcm + } + return nil +} + +func (x *Note) GetMemo() []byte { + if x != nil { + return x.Memo + } + return nil +} + +type SpendNote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"` + Path []byte `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree +} + +func (x *SpendNote) Reset() { + *x = SpendNote{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendNote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendNote) ProtoMessage() {} + +func (x *SpendNote) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpendNote.ProtoReflect.Descriptor instead. +func (*SpendNote) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{47} +} + +func (x *SpendNote) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *SpendNote) GetAlpha() []byte { + if x != nil { + return x.Alpha + } + return nil +} + +func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher { + if x != nil { + return x.Voucher + } + return nil +} + +func (x *SpendNote) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +type ReceiveNote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` +} + +func (x *ReceiveNote) Reset() { + *x = ReceiveNote{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReceiveNote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReceiveNote) ProtoMessage() {} + +func (x *ReceiveNote) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead. +func (*ReceiveNote) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{48} +} + +func (x *ReceiveNote) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +type PrivateParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 +} + +func (x *PrivateParameters) Reset() { + *x = PrivateParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateParameters) ProtoMessage() {} + +func (x *PrivateParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead. +func (*PrivateParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{49} +} + +func (x *PrivateParameters) GetTransparentFromAddress() []byte { + if x != nil { + return x.TransparentFromAddress + } + return nil +} + +func (x *PrivateParameters) GetAsk() []byte { + if x != nil { + return x.Ask + } + return nil +} + +func (x *PrivateParameters) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateParameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *PrivateParameters) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 +} + +func (x *PrivateParameters) GetShieldedSpends() []*SpendNote { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateParameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateParameters) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +func (x *PrivateParameters) GetTimeout() int64 { + if x != nil { + return x.Timeout + } + return 0 +} + +type PrivateParametersWithoutAsk struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount int64 `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNote `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount int64 `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0 +} + +func (x *PrivateParametersWithoutAsk) Reset() { + *x = PrivateParametersWithoutAsk{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateParametersWithoutAsk) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateParametersWithoutAsk) ProtoMessage() {} + +func (x *PrivateParametersWithoutAsk) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateParametersWithoutAsk) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{50} +} + +func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte { + if x != nil { + return x.TransparentFromAddress + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 +} + +func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateParametersWithoutAsk) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +func (x *PrivateParametersWithoutAsk) GetTimeout() int64 { + if x != nil { + return x.Timeout + } + return 0 +} + +type SpendAuthSigParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + Alpha []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"` +} + +func (x *SpendAuthSigParameters) Reset() { + *x = SpendAuthSigParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendAuthSigParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendAuthSigParameters) ProtoMessage() {} + +func (x *SpendAuthSigParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead. +func (*SpendAuthSigParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{51} +} + +func (x *SpendAuthSigParameters) GetAsk() []byte { + if x != nil { + return x.Ask + } + return nil +} + +func (x *SpendAuthSigParameters) GetTxHash() []byte { + if x != nil { + return x.TxHash + } + return nil +} + +func (x *SpendAuthSigParameters) GetAlpha() []byte { + if x != nil { + return x.Alpha + } + return nil +} + +type NfParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"` + Ak []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"` +} + +func (x *NfParameters) Reset() { + *x = NfParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NfParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NfParameters) ProtoMessage() {} + +func (x *NfParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NfParameters.ProtoReflect.Descriptor instead. +func (*NfParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{52} +} + +func (x *NfParameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher { + if x != nil { + return x.Voucher + } + return nil +} + +func (x *NfParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *NfParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type ExpandedSpendingKeyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` +} + +func (x *ExpandedSpendingKeyMessage) Reset() { + *x = ExpandedSpendingKeyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExpandedSpendingKeyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExpandedSpendingKeyMessage) ProtoMessage() {} + +func (x *ExpandedSpendingKeyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead. +func (*ExpandedSpendingKeyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{53} +} + +func (x *ExpandedSpendingKeyMessage) GetAsk() []byte { + if x != nil { + return x.Ask + } + return nil +} + +func (x *ExpandedSpendingKeyMessage) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *ExpandedSpendingKeyMessage) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +type ViewingKeyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` +} + +func (x *ViewingKeyMessage) Reset() { + *x = ViewingKeyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ViewingKeyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ViewingKeyMessage) ProtoMessage() {} + +func (x *ViewingKeyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*ViewingKeyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{54} +} + +func (x *ViewingKeyMessage) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *ViewingKeyMessage) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +type IncomingViewingKeyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` +} + +func (x *IncomingViewingKeyMessage) Reset() { + *x = IncomingViewingKeyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IncomingViewingKeyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncomingViewingKeyMessage) ProtoMessage() {} + +func (x *IncomingViewingKeyMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{55} +} + +func (x *IncomingViewingKeyMessage) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +type DiversifierMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` +} + +func (x *DiversifierMessage) Reset() { + *x = DiversifierMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiversifierMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiversifierMessage) ProtoMessage() {} + +func (x *DiversifierMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead. +func (*DiversifierMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{56} +} + +func (x *DiversifierMessage) GetD() []byte { + if x != nil { + return x.D + } + return nil +} + +type IncomingViewingKeyDiversifierMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"` + D *DiversifierMessage `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"` +} + +func (x *IncomingViewingKeyDiversifierMessage) Reset() { + *x = IncomingViewingKeyDiversifierMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IncomingViewingKeyDiversifierMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncomingViewingKeyDiversifierMessage) ProtoMessage() {} + +func (x *IncomingViewingKeyDiversifierMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead. +func (*IncomingViewingKeyDiversifierMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{57} +} + +func (x *IncomingViewingKeyDiversifierMessage) GetIvk() *IncomingViewingKeyMessage { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *IncomingViewingKeyDiversifierMessage) GetD() *DiversifierMessage { + if x != nil { + return x.D + } + return nil +} + +type PaymentAddressMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + D *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` +} + +func (x *PaymentAddressMessage) Reset() { + *x = PaymentAddressMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentAddressMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentAddressMessage) ProtoMessage() {} + +func (x *PaymentAddressMessage) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead. +func (*PaymentAddressMessage) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{58} +} + +func (x *PaymentAddressMessage) GetD() *DiversifierMessage { + if x != nil { + return x.D + } + return nil +} + +func (x *PaymentAddressMessage) GetPkD() []byte { + if x != nil { + return x.PkD + } + return nil +} + +func (x *PaymentAddressMessage) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +type ShieldedAddressInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sk []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"` + Ask []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Ivk []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"` + D []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"` + PkD []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"` + PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"` +} + +func (x *ShieldedAddressInfo) Reset() { + *x = ShieldedAddressInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShieldedAddressInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShieldedAddressInfo) ProtoMessage() {} + +func (x *ShieldedAddressInfo) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead. +func (*ShieldedAddressInfo) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{59} +} + +func (x *ShieldedAddressInfo) GetSk() []byte { + if x != nil { + return x.Sk + } + return nil +} + +func (x *ShieldedAddressInfo) GetAsk() []byte { + if x != nil { + return x.Ask + } + return nil +} + +func (x *ShieldedAddressInfo) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *ShieldedAddressInfo) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *ShieldedAddressInfo) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *ShieldedAddressInfo) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *ShieldedAddressInfo) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *ShieldedAddressInfo) GetD() []byte { + if x != nil { + return x.D + } + return nil +} + +func (x *ShieldedAddressInfo) GetPkD() []byte { + if x != nil { + return x.PkD + } + return nil +} + +func (x *ShieldedAddressInfo) GetPaymentAddress() string { + if x != nil { + return x.PaymentAddress + } + return "" +} + +type NoteParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"` + Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *NoteParameters) Reset() { + *x = NoteParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoteParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoteParameters) ProtoMessage() {} + +func (x *NoteParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead. +func (*NoteParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{60} +} + +func (x *NoteParameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *NoteParameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *NoteParameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *NoteParameters) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *NoteParameters) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +type SpendResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *SpendResult) Reset() { + *x = SpendResult{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendResult) ProtoMessage() {} + +func (x *SpendResult) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpendResult.ProtoReflect.Descriptor instead. +func (*SpendResult) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{61} +} + +func (x *SpendResult) GetResult() bool { + if x != nil { + return x.Result + } + return false +} + +func (x *SpendResult) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type TransactionInfoList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"` +} + +func (x *TransactionInfoList) Reset() { + *x = TransactionInfoList{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionInfoList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionInfoList) ProtoMessage() {} + +func (x *TransactionInfoList) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead. +func (*TransactionInfoList) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{62} +} + +func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo { + if x != nil { + return x.TransactionInfo + } + return nil +} + +type SpendNoteTRC20 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"` + Root []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Pos int64 `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"` +} + +func (x *SpendNoteTRC20) Reset() { + *x = SpendNoteTRC20{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendNoteTRC20) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendNoteTRC20) ProtoMessage() {} + +func (x *SpendNoteTRC20) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead. +func (*SpendNoteTRC20) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{63} +} + +func (x *SpendNoteTRC20) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *SpendNoteTRC20) GetAlpha() []byte { + if x != nil { + return x.Alpha + } + return nil +} + +func (x *SpendNoteTRC20) GetRoot() []byte { + if x != nil { + return x.Root + } + return nil +} + +func (x *SpendNoteTRC20) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *SpendNoteTRC20) GetPos() int64 { + if x != nil { + return x.Pos + } + return 0 +} + +type PrivateShieldedTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` +} + +func (x *PrivateShieldedTRC20Parameters) Reset() { + *x = PrivateShieldedTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateShieldedTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateShieldedTRC20Parameters) ProtoMessage() {} + +func (x *PrivateShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{64} +} + +func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte { + if x != nil { + return x.Ask + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetFromAmount() string { + if x != nil { + return x.FromAmount + } + return "" +} + +func (x *PrivateShieldedTRC20Parameters) GetShieldedSpends() []*SpendNoteTRC20 { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateShieldedTRC20Parameters) GetToAmount() string { + if x != nil { + return x.ToAmount + } + return "" +} + +func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +type PrivateShieldedTRC20ParametersWithoutAsk struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` + Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + FromAmount string `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + ShieldedSpends []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"` + ShieldedReceives []*ReceiveNote `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` + ToAmount string `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,9,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) Reset() { + *x = PrivateShieldedTRC20ParametersWithoutAsk{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage() {} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead. +func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{65} +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetNsk() []byte { + if x != nil { + return x.Nsk + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetFromAmount() string { + if x != nil { + return x.FromAmount + } + return "" +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends() []*SpendNoteTRC20 { + if x != nil { + return x.ShieldedSpends + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote { + if x != nil { + return x.ShieldedReceives + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetToAmount() string { + if x != nil { + return x.ToAmount + } + return "" +} + +func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +type ShieldedTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpendDescription []*core.SpendDescription `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` + ReceiveDescription []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` + BindingSignature []byte `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` + MessageHash []byte `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"` + TriggerContractInput string `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"` + ParameterType string `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"` +} + +func (x *ShieldedTRC20Parameters) Reset() { + *x = ShieldedTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShieldedTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShieldedTRC20Parameters) ProtoMessage() {} + +func (x *ShieldedTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{66} +} + +func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription { + if x != nil { + return x.SpendDescription + } + return nil +} + +func (x *ShieldedTRC20Parameters) GetReceiveDescription() []*core.ReceiveDescription { + if x != nil { + return x.ReceiveDescription + } + return nil +} + +func (x *ShieldedTRC20Parameters) GetBindingSignature() []byte { + if x != nil { + return x.BindingSignature + } + return nil +} + +func (x *ShieldedTRC20Parameters) GetMessageHash() []byte { + if x != nil { + return x.MessageHash + } + return nil +} + +func (x *ShieldedTRC20Parameters) GetTriggerContractInput() string { + if x != nil { + return x.TriggerContractInput + } + return "" +} + +func (x *ShieldedTRC20Parameters) GetParameterType() string { + if x != nil { + return x.ParameterType + } + return "" +} + +type IvkDecryptTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,3,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Ivk []byte `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"` + Ak []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"` + Events []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *IvkDecryptTRC20Parameters) Reset() { + *x = IvkDecryptTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IvkDecryptTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IvkDecryptTRC20Parameters) ProtoMessage() {} + +func (x *IvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*IvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{67} +} + +func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 +} + +func (x *IvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +func (x *IvkDecryptTRC20Parameters) GetIvk() []byte { + if x != nil { + return x.Ivk + } + return nil +} + +func (x *IvkDecryptTRC20Parameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *IvkDecryptTRC20Parameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *IvkDecryptTRC20Parameters) GetEvents() []string { + if x != nil { + return x.Events + } + return nil +} + +type OvkDecryptTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StartBlockIndex int64 `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"` + EndBlockIndex int64 `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"` + Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,4,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` + Events []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"` +} + +func (x *OvkDecryptTRC20Parameters) Reset() { + *x = OvkDecryptTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OvkDecryptTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OvkDecryptTRC20Parameters) ProtoMessage() {} + +func (x *OvkDecryptTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead. +func (*OvkDecryptTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{68} +} + +func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64 { + if x != nil { + return x.StartBlockIndex + } + return 0 +} + +func (x *OvkDecryptTRC20Parameters) GetEndBlockIndex() int64 { + if x != nil { + return x.EndBlockIndex + } + return 0 +} + +func (x *OvkDecryptTRC20Parameters) GetOvk() []byte { + if x != nil { + return x.Ovk + } + return nil +} + +func (x *OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +func (x *OvkDecryptTRC20Parameters) GetEvents() []string { + if x != nil { + return x.Events + } + return nil +} + +type DecryptNotesTRC20 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"` +} + +func (x *DecryptNotesTRC20) Reset() { + *x = DecryptNotesTRC20{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotesTRC20) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotesTRC20) ProtoMessage() {} + +func (x *DecryptNotesTRC20) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{69} +} + +func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx { + if x != nil { + return x.NoteTxs + } + return nil +} + +type NfTRC20Parameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Ak []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"` + Nk []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"` + Position int64 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"` + Shielded_TRC20ContractAddress []byte `protobuf:"bytes,5,opt,name=shielded_TRC20_contract_address,json=shieldedTRC20ContractAddress,proto3" json:"shielded_TRC20_contract_address,omitempty"` +} + +func (x *NfTRC20Parameters) Reset() { + *x = NfTRC20Parameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NfTRC20Parameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NfTRC20Parameters) ProtoMessage() {} + +func (x *NfTRC20Parameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead. +func (*NfTRC20Parameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{70} +} + +func (x *NfTRC20Parameters) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *NfTRC20Parameters) GetAk() []byte { + if x != nil { + return x.Ak + } + return nil +} + +func (x *NfTRC20Parameters) GetNk() []byte { + if x != nil { + return x.Nk + } + return nil +} + +func (x *NfTRC20Parameters) GetPosition() int64 { + if x != nil { + return x.Position + } + return 0 +} + +func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte { + if x != nil { + return x.Shielded_TRC20ContractAddress + } + return nil +} + +type NullifierResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` +} + +func (x *NullifierResult) Reset() { + *x = NullifierResult{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NullifierResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NullifierResult) ProtoMessage() {} + +func (x *NullifierResult) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead. +func (*NullifierResult) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{71} +} + +func (x *NullifierResult) GetIsSpent() bool { + if x != nil { + return x.IsSpent + } + return false +} + +type ShieldedTRC20TriggerContractParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shielded_TRC20_Parameters *ShieldedTRC20Parameters `protobuf:"bytes,1,opt,name=shielded_TRC20_Parameters,json=shieldedTRC20Parameters,proto3" json:"shielded_TRC20_Parameters,omitempty"` + SpendAuthoritySignature []*BytesMessage `protobuf:"bytes,2,rep,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` +} + +func (x *ShieldedTRC20TriggerContractParameters) Reset() { + *x = ShieldedTRC20TriggerContractParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShieldedTRC20TriggerContractParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShieldedTRC20TriggerContractParameters) ProtoMessage() {} + +func (x *ShieldedTRC20TriggerContractParameters) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead. +func (*ShieldedTRC20TriggerContractParameters) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{72} +} + +func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters { + if x != nil { + return x.Shielded_TRC20_Parameters + } + return nil +} + +func (x *ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature() []*BytesMessage { + if x != nil { + return x.SpendAuthoritySignature + } + return nil +} + +func (x *ShieldedTRC20TriggerContractParameters) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +type TransactionSignWeight_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *TransactionSignWeight_Result) Reset() { + *x = TransactionSignWeight_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionSignWeight_Result) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionSignWeight_Result) ProtoMessage() {} + +func (x *TransactionSignWeight_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead. +func (*TransactionSignWeight_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{39, 0} +} + +func (x *TransactionSignWeight_Result) GetCode() TransactionSignWeight_ResultResponseCode { + if x != nil { + return x.Code + } + return TransactionSignWeight_Result_ENOUGH_PERMISSION +} + +func (x *TransactionSignWeight_Result) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type TransactionApprovedList_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *TransactionApprovedList_Result) Reset() { + *x = TransactionApprovedList_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionApprovedList_Result) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionApprovedList_Result) ProtoMessage() {} + +func (x *TransactionApprovedList_Result) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead. +func (*TransactionApprovedList_Result) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{40, 0} +} + +func (x *TransactionApprovedList_Result) GetCode() TransactionApprovedList_ResultResponseCode { + if x != nil { + return x.Code + } + return TransactionApprovedList_Result_SUCCESS +} + +func (x *TransactionApprovedList_Result) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type DecryptNotes_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive +} + +func (x *DecryptNotes_NoteTx) Reset() { + *x = DecryptNotes_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotes_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotes_NoteTx) ProtoMessage() {} + +func (x *DecryptNotes_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotes_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{44, 0} +} + +func (x *DecryptNotes_NoteTx) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *DecryptNotes_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *DecryptNotes_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +type DecryptNotesMarked_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Txid []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id = sha256(transaction.rowdata) + Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive + IsSpend bool `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"` +} + +func (x *DecryptNotesMarked_NoteTx) Reset() { + *x = DecryptNotesMarked_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotesMarked_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotesMarked_NoteTx) ProtoMessage() {} + +func (x *DecryptNotesMarked_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesMarked_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{45, 0} +} + +func (x *DecryptNotesMarked_NoteTx) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *DecryptNotesMarked_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool { + if x != nil { + return x.IsSpend + } + return false +} + +type DecryptNotesTRC20_NoteTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Position int64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + IsSpent bool `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` + Txid []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"` + Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid + ToAmount string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` +} + +func (x *DecryptNotesTRC20_NoteTx) Reset() { + *x = DecryptNotesTRC20_NoteTx{} + if protoimpl.UnsafeEnabled { + mi := &file_api_api_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DecryptNotesTRC20_NoteTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DecryptNotesTRC20_NoteTx) ProtoMessage() {} + +func (x *DecryptNotesTRC20_NoteTx) ProtoReflect() protoreflect.Message { + mi := &file_api_api_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead. +func (*DecryptNotesTRC20_NoteTx) Descriptor() ([]byte, []int) { + return file_api_api_proto_rawDescGZIP(), []int{69, 0} +} + +func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note { + if x != nil { + return x.Note + } + return nil +} + +func (x *DecryptNotesTRC20_NoteTx) GetPosition() int64 { + if x != nil { + return x.Position + } + return 0 +} + +func (x *DecryptNotesTRC20_NoteTx) GetIsSpent() bool { + if x != nil { + return x.IsSpent + } + return false +} + +func (x *DecryptNotesTRC20_NoteTx) GetTxid() []byte { + if x != nil { + return x.Txid + } + return nil +} + +func (x *DecryptNotesTRC20_NoteTx) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *DecryptNotesTRC20_NoteTx) GetToAmount() string { + if x != nil { + return x.ToAmount + } + return "" +} + +func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +var File_api_api_proto protoreflect.FileDescriptor + +var file_api_api_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, + 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, + 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, + 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x73, 0x6d, 0x61, + 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xab, 0x03, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, + 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x49, 0x47, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, + 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x02, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x58, + 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x41, 0x4e, + 0x44, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x19, 0x0a, + 0x15, 0x44, 0x55, 0x50, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x41, 0x50, 0x4f, + 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x54, 0x4f, 0x4f, + 0x5f, 0x42, 0x49, 0x47, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x52, 0x41, 0x4e, + 0x53, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, + 0x52, 0x56, 0x45, 0x52, 0x5f, 0x42, 0x55, 0x53, 0x59, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4e, + 0x4f, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12, 0x23, + 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x45, 0x46, 0x46, + 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, + 0x4e, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x10, 0x14, 0x22, 0x4c, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, + 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, + 0x73, 0x68, 0x22, 0x3e, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x2f, 0x0a, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x22, 0x40, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x22, 0x32, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x4a, 0x0a, 0x0f, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, + 0x5a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x62, 0x0a, 0x15, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, + 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x64, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, + 0x4e, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x40, 0x0a, 0x28, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0x5c, 0x0a, 0x21, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x3f, 0x0a, 0x22, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, + 0x22, 0x6c, 0x0a, 0x27, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x42, + 0x0a, 0x28, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x22, 0x2f, 0x0a, 0x15, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, + 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x73, 0x22, 0x30, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x24, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x04, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x31, 0x0a, 0x07, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x0e, 0x0a, + 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x21, 0x0a, + 0x0d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, + 0x22, 0x24, 0x0a, 0x0c, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x6d, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, + 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x13, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, + 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x11, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x08, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x12, 0x1a, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x4f, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x40, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x12, + 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x06, 0x65, 0x6e, 0x64, 0x4e, 0x75, 0x6d, 0x22, 0x54, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x75, 0x6d, 0x22, 0x6d, 0x0a, + 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, + 0x64, 0x12, 0x2b, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x7d, 0x0a, 0x14, + 0x54, 0x69, 0x6d, 0x65, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, + 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x89, 0x04, 0x0a, 0x11, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x51, 0x0a, + 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, + 0x12, 0x54, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfc, 0x06, 0x0a, 0x16, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x4c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, 0x65, + 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x56, + 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, + 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, + 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x32, 0x0a, 0x14, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, + 0x72, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x57, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, + 0x55, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x6f, 0x6e, + 0x50, 0x6f, 0x77, 0x65, 0x72, 0x55, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x6f, + 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x74, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, 0x64, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x65, + 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x2c, 0x0a, 0x11, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x54, 0x6f, 0x74, 0x61, + 0x6c, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x20, 0x0a, + 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x65, 0x64, 0x12, + 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x40, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x27, + 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, + 0x65, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, + 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, + 0x22, 0x6a, 0x0a, 0x15, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xa8, 0x01, 0x0a, + 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x42, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x69, 0x64, 0x22, 0x44, 0x0a, 0x12, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, + 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x5c, 0x0a, + 0x18, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, 0x1a, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, + 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x3f, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, + 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, + 0x65, 0x65, 0x22, 0xac, 0x04, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x34, 0x0a, 0x0a, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, + 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, + 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, + 0x6e, 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x3e, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, + 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x8e, 0x02, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x9f, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, + 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x5f, + 0x45, 0x4e, 0x4f, 0x55, 0x47, 0x48, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, + 0x4e, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, + 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, + 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x45, + 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, + 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x14, 0x22, 0x99, 0x03, 0x0a, 0x17, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x4a, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x64, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, + 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, + 0x52, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x01, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x44, 0x44, + 0x52, 0x45, 0x53, 0x53, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, + 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x14, 0x22, 0x7c, 0x0a, + 0x14, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0xa3, 0x01, 0x0a, 0x1b, + 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, + 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, + 0x6b, 0x22, 0x7c, 0x0a, 0x14, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, + 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, + 0x9f, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x12, 0x37, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, + 0x52, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x4e, 0x6f, 0x74, + 0x65, 0x54, 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, + 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x22, 0xc6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, + 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, + 0x54, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, + 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x73, 0x1a, 0x71, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, + 0x78, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, + 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x22, 0x6b, 0x0a, 0x04, 0x4e, 0x6f, + 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x63, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, + 0x72, 0x63, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, + 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, + 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x22, 0x31, 0x0a, 0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, + 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, + 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x93, 0x03, 0x0a, 0x11, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, + 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x9b, 0x03, 0x0a, 0x1b, 0x50, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, + 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0f, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, + 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x61, 0x73, 0x6b, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x22, 0x90, 0x01, 0x0a, 0x0c, 0x4e, 0x66, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, + 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x76, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x07, 0x76, + 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, 0x52, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, + 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x22, 0x33, 0x0a, 0x11, 0x56, 0x69, + 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, + 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x22, + 0x2d, 0x0a, 0x19, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x69, 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x22, 0x22, + 0x0a, 0x12, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x01, 0x64, 0x22, 0x89, 0x01, 0x0a, 0x24, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, + 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x03, 0x69, + 0x76, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x69, + 0x76, 0x6b, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x22, 0x7e, + 0x0a, 0x15, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x01, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6b, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xd6, + 0x01, 0x0a, 0x13, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x02, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, + 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, + 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, + 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, + 0x69, 0x76, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0c, + 0x0a, 0x01, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x64, 0x12, 0x10, 0x0a, 0x03, + 0x70, 0x6b, 0x44, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x70, 0x6b, 0x44, 0x12, 0x27, + 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4e, 0x6f, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x3f, 0x0a, 0x0b, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5a, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x0e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, 0x6f, + 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x98, 0x03, 0x0a, 0x1e, + 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x61, 0x73, 0x6b, + 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6e, + 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x4e, + 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x28, 0x50, 0x72, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, + 0x41, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x02, 0x61, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x6e, 0x73, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x6d, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x0f, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, + 0x6e, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x52, 0x43, 0x32, 0x30, 0x52, 0x0e, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x10, 0x73, + 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x73, 0x12, + 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, + 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x02, 0x0a, 0x17, 0x53, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, + 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, + 0x0a, 0x13, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, + 0x11, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x34, 0x0a, + 0x16, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x74, + 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x19, 0x49, + 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65, + 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x45, 0x0a, 0x1f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x76, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x69, 0x76, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x61, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x6e, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe0, 0x01, + 0x0a, 0x19, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, + 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0d, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x10, 0x0a, 0x03, 0x6f, 0x76, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6f, 0x76, + 0x6b, 0x12, 0x45, 0x0a, 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xb4, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x12, 0x3c, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x54, 0x78, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x52, 0x07, 0x6e, 0x6f, 0x74, + 0x65, 0x54, 0x78, 0x73, 0x1a, 0xe0, 0x01, 0x0a, 0x06, 0x4e, 0x6f, 0x74, 0x65, 0x54, 0x78, 0x12, + 0x22, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, + 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xba, 0x01, 0x0a, 0x11, 0x4e, 0x66, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, + 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x61, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x61, + 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x6e, + 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, + 0x1f, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x22, 0x2c, 0x0a, 0x0f, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x73, 0x70, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x70, 0x65, + 0x6e, 0x74, 0x22, 0xa9, 0x02, 0x0a, 0x26, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, + 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, + 0x19, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x54, 0x52, 0x43, 0x32, 0x30, 0x5f, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x17, 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x19, + 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0xa6, + 0x74, 0x0a, 0x06, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x67, 0x0a, 0x0a, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x33, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x3a, 0x01, 0x2a, 0x5a, 0x14, 0x12, 0x12, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x12, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x35, 0x3a, 0x01, 0x2a, 0x5a, 0x18, 0x12, 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x22, + 0x16, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x3a, 0x01, + 0x2a, 0x5a, 0x1e, 0x12, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, + 0x65, 0x22, 0x1c, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x72, 0x61, 0x63, 0x65, 0x12, + 0x89, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, + 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a, 0x12, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x88, 0x01, 0x0a, 0x14, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x3a, 0x01, 0x2a, 0x5a, 0x1e, 0x12, 0x1c, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, + 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, + 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x7e, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x3a, 0x01, + 0x2a, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x22, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x73, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x64, 0x12, + 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8f, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x76, 0x6f, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, 0x1d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, + 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, + 0x3a, 0x01, 0x2a, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x22, + 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x53, 0x0a, 0x11, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x1c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, + 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, + 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x22, 0x15, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, + 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x53, 0x0a, + 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x12, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x53, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, + 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, + 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, 0x74, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xa2, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x72, 0x74, + 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, + 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x22, 0x1d, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, + 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x12, 0x63, 0x0a, 0x16, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x32, 0x12, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, + 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x15, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x21, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x57, 0x0a, 0x10, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x32, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x55, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0d, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x53, 0x0a, 0x0e, 0x55, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, + 0x01, 0x0a, 0x0f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x12, + 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x12, 0x28, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x12, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, + 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x4f, + 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x32, 0x12, 0x1d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x54, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, + 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, + 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, + 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x75, 0x79, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x6c, + 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x6c, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x54, 0x0a, 0x0e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, + 0x74, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x10, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x5e, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x56, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, + 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, + 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, + 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x09, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, + 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, + 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x11, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, + 0x69, 0x73, 0x74, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x7a, 0x0a, + 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x12, 0x11, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x65, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, + 0x65, 0x74, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x6e, 0x65, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x92, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x5a, + 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1b, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x62, 0x79, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x17, 0x47, + 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, + 0x77, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, + 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x01, 0x2a, 0x5a, 0x15, 0x12, 0x13, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x22, 0x13, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, + 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x74, 0x0a, 0x0d, 0x47, 0x65, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, + 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, + 0x12, 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, + 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x0c, + 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x3a, 0x01, 0x2a, + 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x22, 0x14, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x69, 0x64, 0x12, 0x87, + 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x13, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x62, 0x79, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x1b, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4e, 0x65, 0x78, 0x74, 0x32, + 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x17, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x6e, 0x75, 0x6d, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x6e, 0x75, 0x6d, 0x12, 0x4f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, + 0x79, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3d, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, + 0x79, 0x69, 0x64, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x12, + 0x51, 0x0a, 0x0e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, 0x61, 0x57, 0x72, 0x61, 0x70, + 0x70, 0x65, 0x72, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0f, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x10, + 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x42, 0x49, + 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6c, 0x65, 0x61, + 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x79, + 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, 0x65, 0x74, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, + 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, + 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, + 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, + 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x12, 0x7a, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, + 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, + 0x6c, 0x69, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x9f, 0x01, + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, + 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x20, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x65, 0x64, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x7c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x79, + 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x3d, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x62, 0x79, 0x69, 0x64, 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, + 0x74, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x62, 0x79, 0x69, 0x64, 0x12, 0x7a, 0x0a, + 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x22, 0x15, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x6c, 0x69, 0x73, 0x74, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x49, 0x3a, 0x01, 0x2a, 0x5a, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x20, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7c, 0x0a, 0x0f, 0x47, + 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x37, 0x3a, 0x01, 0x2a, 0x5a, 0x19, 0x12, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, + 0x22, 0x17, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x79, 0x69, 0x64, 0x12, 0x8c, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, + 0x12, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x1a, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x5a, 0x1b, 0x12, 0x19, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x19, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, + 0x69, 0x73, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, + 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, + 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x22, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x84, 0x01, + 0x0a, 0x10, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x5a, 0x1a, + 0x12, 0x18, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x18, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x2f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x78, 0x74, + 0x4d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, + 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x1e, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x65, 0x78, 0x74, 0x6d, 0x61, + 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x98, 0x01, + 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0xb3, 0x01, 0x0a, 0x17, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x3a, 0x01, 0x2a, 0x5a, 0x21, 0x12, 0x1f, 0x2f, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x1f, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x54, + 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x57, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3b, + 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, + 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x12, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, + 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5a, + 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, + 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, + 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, + 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, + 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, 0x6e, 0x41, 0x6e, + 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x25, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, + 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, + 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, + 0x12, 0x42, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x45, 0x78, 0x70, 0x61, 0x6e, + 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x40, + 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x73, 0x6b, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x40, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6b, 0x46, 0x72, 0x6f, 0x6d, 0x4e, 0x73, 0x6b, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, + 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, + 0x48, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x4e, 0x65, 0x77, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x69, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x5a, 0x65, 0x6e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, + 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x56, 0x69, 0x65, 0x77, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x44, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x52, 0x63, 0x6d, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, + 0x12, 0x77, 0x0a, 0x2c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x74, + 0x68, 0x6f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, + 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, + 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x53, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, + 0x68, 0x53, 0x69, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x2a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, 0x69, 0x74, 0x68, 0x6f, + 0x75, 0x74, 0x41, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x41, 0x73, 0x6b, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x00, 0x12, 0x61, + 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, + 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, 0x23, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, + 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x4f, 0x76, 0x6b, + 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, + 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, + 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x22, 0x00, 0x12, 0x75, 0x0a, 0x27, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x46, 0x6f, 0x72, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x30, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x17, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x58, 0x0a, + 0x1c, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, + 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, + 0x72, 0x6e, 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x56, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x72, 0x6f, 0x6d, + 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x43, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x69, 0x7a, 0x65, + 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, + 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, + 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x4c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x47, + 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x46, 0x65, 0x65, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x32, 0x97, 0x23, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x12, 0x77, 0x0a, 0x0a, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x01, 0x2a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x83, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x79, 0x49, 0x64, 0x12, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4b, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x22, 0x1e, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x79, 0x69, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x4c, 0x69, + 0x73, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x43, 0x3a, 0x01, 0x2a, 0x5a, 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, + 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x98, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a, 0x01, 0x2a, 0x5a, 0x23, 0x12, 0x21, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x21, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, + 0x65, 0x74, 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, + 0x12, 0xb7, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x63, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x3a, 0x01, 0x2a, + 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, + 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x2a, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, + 0x67, 0x65, 0x74, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x69, 0x73, 0x73, 0x75, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x17, 0x47, 0x65, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x22, 0x00, 0x12, 0x7d, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x45, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x3a, 0x01, 0x2a, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, + 0x6f, 0x77, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x1b, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x6e, 0x6f, 0x77, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x42, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, + 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x3a, 0x01, 0x2a, 0x5a, + 0x1f, 0x12, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, + 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, + 0x22, 0x1d, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, + 0x79, 0x2f, 0x67, 0x65, 0x74, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x62, 0x79, 0x6e, 0x75, 0x6d, 0x12, + 0x45, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, 0x6d, + 0x32, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x47, + 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x5f, 0x0a, 0x16, 0x47, 0x65, + 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x56, 0x32, 0x12, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x20, 0x47, + 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x22, 0x00, 0x12, 0x67, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x32, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, + 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x43, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, + 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x1a, 0x2c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, + 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x84, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1c, 0x47, 0x65, + 0x74, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x32, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x61, 0x6e, 0x57, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x12, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x98, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x3a, 0x01, 0x2a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, 0x69, 0x64, 0x22, 0x22, + 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, + 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x79, + 0x69, 0x64, 0x12, 0xa8, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, + 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, + 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, + 0x6f, 0x62, 0x79, 0x69, 0x64, 0x22, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x73, 0x6f, + 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x79, 0x69, 0x64, 0x12, 0x5f, 0x0a, + 0x18, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x56, 0x6f, + 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, + 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x00, 0x12, 0x49, + 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, 0x6b, 0x12, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, 0x65, + 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x14, 0x53, 0x63, 0x61, + 0x6e, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x49, 0x76, + 0x6b, 0x12, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, + 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x41, 0x6e, 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x63, 0x61, 0x6e, + 0x4e, 0x6f, 0x74, 0x65, 0x42, 0x79, 0x4f, 0x76, 0x6b, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, + 0x73, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x07, 0x49, 0x73, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x18, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, + 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, 0x49, 0x76, 0x6b, + 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x76, 0x6b, 0x44, + 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x54, 0x52, 0x43, + 0x32, 0x30, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x53, 0x68, 0x69, 0x65, + 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x42, 0x79, + 0x4f, 0x76, 0x6b, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, + 0x76, 0x6b, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, + 0x54, 0x52, 0x43, 0x32, 0x30, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x20, 0x49, 0x73, 0x53, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x52, 0x43, 0x32, 0x30, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x53, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x66, 0x54, 0x52, 0x43, 0x32, 0x30, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65, 0x74, + 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, + 0x12, 0x5b, 0x0a, 0x17, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, + 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x53, 0x0a, + 0x0e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, + 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x1a, + 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x00, 0x12, 0x58, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, + 0x75, 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, + 0x49, 0x64, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, 0x19, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, + 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, + 0x74, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x50, 0x61, 0x69, 0x72, 0x12, + 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42, 0x75, 0x72, 0x6e, + 0x54, 0x72, 0x78, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, + 0x74, 0x68, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1f, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x00, 0x32, 0xad, 0x04, 0x0a, 0x0f, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb1, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x68, 0x69, + 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, + 0x3a, 0x01, 0x2a, 0x5a, 0x2a, 0x12, 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, 0x69, 0x73, 0x22, + 0x28, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, + 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x66, 0x72, 0x6f, 0x6d, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5c, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x72, 0x6f, 0x6d, + 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, + 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0xab, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, + 0x73, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x19, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, + 0x3a, 0x01, 0x2a, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, + 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, 0x6f, 0x74, 0x68, 0x69, 0x73, 0x22, 0x26, 0x2f, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2f, + 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x74, + 0x6f, 0x74, 0x68, 0x69, 0x73, 0x12, 0x5a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x54, 0x6f, 0x54, 0x68, 0x69, 0x73, 0x32, 0x12, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x1a, 0x22, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x00, 0x32, 0x99, 0x02, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x47, + 0x0a, 0x11, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x22, 0x00, 0x12, 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x77, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, + 0x12, 0x3b, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x4e, 0x75, + 0x6d, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x00, 0x32, 0x83, 0x01, + 0x0a, 0x07, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x78, 0x0a, 0x0c, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, + 0x3a, 0x01, 0x2a, 0x5a, 0x17, 0x12, 0x15, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, + 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x15, 0x2f, 0x6d, + 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x73, 0x74, 0x61, 0x74, 0x73, 0x69, + 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x42, 0x41, + 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, + 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, + 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_api_api_proto_rawDescOnce sync.Once + file_api_api_proto_rawDescData = file_api_api_proto_rawDesc +) + +func file_api_api_proto_rawDescGZIP() []byte { + file_api_api_proto_rawDescOnce.Do(func() { + file_api_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_api_proto_rawDescData) + }) + return file_api_api_proto_rawDescData +} + +var file_api_api_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_api_api_proto_msgTypes = make([]protoimpl.MessageInfo, 82) +var file_api_api_proto_goTypes = []interface{}{ + (ReturnResponseCode)(0), // 0: protocol.Return.response_code + (TransactionSignWeight_ResultResponseCode)(0), // 1: protocol.TransactionSignWeight.Result.response_code + (TransactionApprovedList_ResultResponseCode)(0), // 2: protocol.TransactionApprovedList.Result.response_code + (*Return)(nil), // 3: protocol.Return + (*BlockReference)(nil), // 4: protocol.BlockReference + (*WitnessList)(nil), // 5: protocol.WitnessList + (*ProposalList)(nil), // 6: protocol.ProposalList + (*ExchangeList)(nil), // 7: protocol.ExchangeList + (*AssetIssueList)(nil), // 8: protocol.AssetIssueList + (*BlockList)(nil), // 9: protocol.BlockList + (*TransactionList)(nil), // 10: protocol.TransactionList + (*TransactionIdList)(nil), // 11: protocol.TransactionIdList + (*DelegatedResourceMessage)(nil), // 12: protocol.DelegatedResourceMessage + (*DelegatedResourceList)(nil), // 13: protocol.DelegatedResourceList + (*GetAvailableUnfreezeCountRequestMessage)(nil), // 14: protocol.GetAvailableUnfreezeCountRequestMessage + (*GetAvailableUnfreezeCountResponseMessage)(nil), // 15: protocol.GetAvailableUnfreezeCountResponseMessage + (*CanDelegatedMaxSizeRequestMessage)(nil), // 16: protocol.CanDelegatedMaxSizeRequestMessage + (*CanDelegatedMaxSizeResponseMessage)(nil), // 17: protocol.CanDelegatedMaxSizeResponseMessage + (*CanWithdrawUnfreezeAmountRequestMessage)(nil), // 18: protocol.CanWithdrawUnfreezeAmountRequestMessage + (*CanWithdrawUnfreezeAmountResponseMessage)(nil), // 19: protocol.CanWithdrawUnfreezeAmountResponseMessage + (*PricesResponseMessage)(nil), // 20: protocol.PricesResponseMessage + (*NodeList)(nil), // 21: protocol.NodeList + (*Node)(nil), // 22: protocol.Node + (*Address)(nil), // 23: protocol.Address + (*EmptyMessage)(nil), // 24: protocol.EmptyMessage + (*NumberMessage)(nil), // 25: protocol.NumberMessage + (*BytesMessage)(nil), // 26: protocol.BytesMessage + (*TimeMessage)(nil), // 27: protocol.TimeMessage + (*BlockReq)(nil), // 28: protocol.BlockReq + (*BlockLimit)(nil), // 29: protocol.BlockLimit + (*TransactionLimit)(nil), // 30: protocol.TransactionLimit + (*AccountPaginated)(nil), // 31: protocol.AccountPaginated + (*TimePaginatedMessage)(nil), // 32: protocol.TimePaginatedMessage + (*AccountNetMessage)(nil), // 33: protocol.AccountNetMessage + (*AccountResourceMessage)(nil), // 34: protocol.AccountResourceMessage + (*PaginatedMessage)(nil), // 35: protocol.PaginatedMessage + (*TransactionExtention)(nil), // 36: protocol.TransactionExtention + (*EstimateEnergyMessage)(nil), // 37: protocol.EstimateEnergyMessage + (*BlockExtention)(nil), // 38: protocol.BlockExtention + (*BlockListExtention)(nil), // 39: protocol.BlockListExtention + (*TransactionListExtention)(nil), // 40: protocol.TransactionListExtention + (*BlockIncrementalMerkleTree)(nil), // 41: protocol.BlockIncrementalMerkleTree + (*TransactionSignWeight)(nil), // 42: protocol.TransactionSignWeight + (*TransactionApprovedList)(nil), // 43: protocol.TransactionApprovedList + (*IvkDecryptParameters)(nil), // 44: protocol.IvkDecryptParameters + (*IvkDecryptAndMarkParameters)(nil), // 45: protocol.IvkDecryptAndMarkParameters + (*OvkDecryptParameters)(nil), // 46: protocol.OvkDecryptParameters + (*DecryptNotes)(nil), // 47: protocol.DecryptNotes + (*DecryptNotesMarked)(nil), // 48: protocol.DecryptNotesMarked + (*Note)(nil), // 49: protocol.Note + (*SpendNote)(nil), // 50: protocol.SpendNote + (*ReceiveNote)(nil), // 51: protocol.ReceiveNote + (*PrivateParameters)(nil), // 52: protocol.PrivateParameters + (*PrivateParametersWithoutAsk)(nil), // 53: protocol.PrivateParametersWithoutAsk + (*SpendAuthSigParameters)(nil), // 54: protocol.SpendAuthSigParameters + (*NfParameters)(nil), // 55: protocol.NfParameters + (*ExpandedSpendingKeyMessage)(nil), // 56: protocol.ExpandedSpendingKeyMessage + (*ViewingKeyMessage)(nil), // 57: protocol.ViewingKeyMessage + (*IncomingViewingKeyMessage)(nil), // 58: protocol.IncomingViewingKeyMessage + (*DiversifierMessage)(nil), // 59: protocol.DiversifierMessage + (*IncomingViewingKeyDiversifierMessage)(nil), // 60: protocol.IncomingViewingKeyDiversifierMessage + (*PaymentAddressMessage)(nil), // 61: protocol.PaymentAddressMessage + (*ShieldedAddressInfo)(nil), // 62: protocol.ShieldedAddressInfo + (*NoteParameters)(nil), // 63: protocol.NoteParameters + (*SpendResult)(nil), // 64: protocol.SpendResult + (*TransactionInfoList)(nil), // 65: protocol.TransactionInfoList + (*SpendNoteTRC20)(nil), // 66: protocol.SpendNoteTRC20 + (*PrivateShieldedTRC20Parameters)(nil), // 67: protocol.PrivateShieldedTRC20Parameters + (*PrivateShieldedTRC20ParametersWithoutAsk)(nil), // 68: protocol.PrivateShieldedTRC20ParametersWithoutAsk + (*ShieldedTRC20Parameters)(nil), // 69: protocol.ShieldedTRC20Parameters + (*IvkDecryptTRC20Parameters)(nil), // 70: protocol.IvkDecryptTRC20Parameters + (*OvkDecryptTRC20Parameters)(nil), // 71: protocol.OvkDecryptTRC20Parameters + (*DecryptNotesTRC20)(nil), // 72: protocol.DecryptNotesTRC20 + (*NfTRC20Parameters)(nil), // 73: protocol.NfTRC20Parameters + (*NullifierResult)(nil), // 74: protocol.NullifierResult + (*ShieldedTRC20TriggerContractParameters)(nil), // 75: protocol.ShieldedTRC20TriggerContractParameters + nil, // 76: protocol.AccountNetMessage.AssetNetUsedEntry + nil, // 77: protocol.AccountNetMessage.AssetNetLimitEntry + nil, // 78: protocol.AccountResourceMessage.AssetNetUsedEntry + nil, // 79: protocol.AccountResourceMessage.AssetNetLimitEntry + (*TransactionSignWeight_Result)(nil), // 80: protocol.TransactionSignWeight.Result + (*TransactionApprovedList_Result)(nil), // 81: protocol.TransactionApprovedList.Result + (*DecryptNotes_NoteTx)(nil), // 82: protocol.DecryptNotes.NoteTx + (*DecryptNotesMarked_NoteTx)(nil), // 83: protocol.DecryptNotesMarked.NoteTx + (*DecryptNotesTRC20_NoteTx)(nil), // 84: protocol.DecryptNotesTRC20.NoteTx + (*core.Witness)(nil), // 85: protocol.Witness + (*core.Proposal)(nil), // 86: protocol.Proposal + (*core.Exchange)(nil), // 87: protocol.Exchange + (*core.AssetIssueContract)(nil), // 88: protocol.AssetIssueContract + (*core.Block)(nil), // 89: protocol.Block + (*core.Transaction)(nil), // 90: protocol.Transaction + (*core.DelegatedResource)(nil), // 91: protocol.DelegatedResource + (*core.Account)(nil), // 92: protocol.Account + (*core.TransactionInfo_Log)(nil), // 93: protocol.TransactionInfo.Log + (*core.InternalTransaction)(nil), // 94: protocol.InternalTransaction + (*core.BlockHeader)(nil), // 95: protocol.BlockHeader + (*core.IncrementalMerkleTree)(nil), // 96: protocol.IncrementalMerkleTree + (*core.Permission)(nil), // 97: protocol.Permission + (*core.IncrementalMerkleVoucher)(nil), // 98: protocol.IncrementalMerkleVoucher + (*core.TransactionInfo)(nil), // 99: protocol.TransactionInfo + (*core.SpendDescription)(nil), // 100: protocol.SpendDescription + (*core.ReceiveDescription)(nil), // 101: protocol.ReceiveDescription + (*core.AccountBalanceRequest)(nil), // 102: protocol.AccountBalanceRequest + (*core.BlockBalanceTrace_BlockIdentifier)(nil), // 103: protocol.BlockBalanceTrace.BlockIdentifier + (*core.TransferContract)(nil), // 104: protocol.TransferContract + (*core.AccountUpdateContract)(nil), // 105: protocol.AccountUpdateContract + (*core.SetAccountIdContract)(nil), // 106: protocol.SetAccountIdContract + (*core.VoteWitnessContract)(nil), // 107: protocol.VoteWitnessContract + (*core.UpdateSettingContract)(nil), // 108: protocol.UpdateSettingContract + (*core.UpdateEnergyLimitContract)(nil), // 109: protocol.UpdateEnergyLimitContract + (*core.WitnessUpdateContract)(nil), // 110: protocol.WitnessUpdateContract + (*core.AccountCreateContract)(nil), // 111: protocol.AccountCreateContract + (*core.WitnessCreateContract)(nil), // 112: protocol.WitnessCreateContract + (*core.TransferAssetContract)(nil), // 113: protocol.TransferAssetContract + (*core.ParticipateAssetIssueContract)(nil), // 114: protocol.ParticipateAssetIssueContract + (*core.FreezeBalanceContract)(nil), // 115: protocol.FreezeBalanceContract + (*core.FreezeBalanceV2Contract)(nil), // 116: protocol.FreezeBalanceV2Contract + (*core.UnfreezeBalanceContract)(nil), // 117: protocol.UnfreezeBalanceContract + (*core.UnfreezeBalanceV2Contract)(nil), // 118: protocol.UnfreezeBalanceV2Contract + (*core.UnfreezeAssetContract)(nil), // 119: protocol.UnfreezeAssetContract + (*core.WithdrawBalanceContract)(nil), // 120: protocol.WithdrawBalanceContract + (*core.WithdrawExpireUnfreezeContract)(nil), // 121: protocol.WithdrawExpireUnfreezeContract + (*core.DelegateResourceContract)(nil), // 122: protocol.DelegateResourceContract + (*core.UnDelegateResourceContract)(nil), // 123: protocol.UnDelegateResourceContract + (*core.CancelAllUnfreezeV2Contract)(nil), // 124: protocol.CancelAllUnfreezeV2Contract + (*core.UpdateAssetContract)(nil), // 125: protocol.UpdateAssetContract + (*core.ProposalCreateContract)(nil), // 126: protocol.ProposalCreateContract + (*core.ProposalApproveContract)(nil), // 127: protocol.ProposalApproveContract + (*core.ProposalDeleteContract)(nil), // 128: protocol.ProposalDeleteContract + (*core.BuyStorageContract)(nil), // 129: protocol.BuyStorageContract + (*core.BuyStorageBytesContract)(nil), // 130: protocol.BuyStorageBytesContract + (*core.SellStorageContract)(nil), // 131: protocol.SellStorageContract + (*core.ExchangeCreateContract)(nil), // 132: protocol.ExchangeCreateContract + (*core.ExchangeInjectContract)(nil), // 133: protocol.ExchangeInjectContract + (*core.ExchangeWithdrawContract)(nil), // 134: protocol.ExchangeWithdrawContract + (*core.ExchangeTransactionContract)(nil), // 135: protocol.ExchangeTransactionContract + (*core.MarketSellAssetContract)(nil), // 136: protocol.MarketSellAssetContract + (*core.MarketCancelOrderContract)(nil), // 137: protocol.MarketCancelOrderContract + (*core.MarketOrderPair)(nil), // 138: protocol.MarketOrderPair + (*core.CreateSmartContract)(nil), // 139: protocol.CreateSmartContract + (*core.TriggerSmartContract)(nil), // 140: protocol.TriggerSmartContract + (*core.ClearABIContract)(nil), // 141: protocol.ClearABIContract + (*core.AccountPermissionUpdateContract)(nil), // 142: protocol.AccountPermissionUpdateContract + (*core.UpdateBrokerageContract)(nil), // 143: protocol.UpdateBrokerageContract + (*core.OutputPointInfo)(nil), // 144: protocol.OutputPointInfo + (*core.AccountBalanceResponse)(nil), // 145: protocol.AccountBalanceResponse + (*core.BlockBalanceTrace)(nil), // 146: protocol.BlockBalanceTrace + (*core.MarketOrder)(nil), // 147: protocol.MarketOrder + (*core.MarketOrderList)(nil), // 148: protocol.MarketOrderList + (*core.MarketPriceList)(nil), // 149: protocol.MarketPriceList + (*core.MarketOrderPairList)(nil), // 150: protocol.MarketOrderPairList + (*core.SmartContract)(nil), // 151: protocol.SmartContract + (*core.SmartContractDataWrapper)(nil), // 152: protocol.SmartContractDataWrapper + (*core.DelegatedResourceAccountIndex)(nil), // 153: protocol.DelegatedResourceAccountIndex + (*core.ChainParameters)(nil), // 154: protocol.ChainParameters + (*core.NodeInfo)(nil), // 155: protocol.NodeInfo + (*core.IncrementalMerkleVoucherInfo)(nil), // 156: protocol.IncrementalMerkleVoucherInfo + (*core.DynamicProperties)(nil), // 157: protocol.DynamicProperties + (*core.MetricsInfo)(nil), // 158: protocol.MetricsInfo +} +var file_api_api_proto_depIdxs = []int32{ + 0, // 0: protocol.Return.code:type_name -> protocol.Return.response_code + 85, // 1: protocol.WitnessList.witnesses:type_name -> protocol.Witness + 86, // 2: protocol.ProposalList.proposals:type_name -> protocol.Proposal + 87, // 3: protocol.ExchangeList.exchanges:type_name -> protocol.Exchange + 88, // 4: protocol.AssetIssueList.assetIssue:type_name -> protocol.AssetIssueContract + 89, // 5: protocol.BlockList.block:type_name -> protocol.Block + 90, // 6: protocol.TransactionList.transaction:type_name -> protocol.Transaction + 91, // 7: protocol.DelegatedResourceList.delegatedResource:type_name -> protocol.DelegatedResource + 22, // 8: protocol.NodeList.nodes:type_name -> protocol.Node + 23, // 9: protocol.Node.address:type_name -> protocol.Address + 92, // 10: protocol.AccountPaginated.account:type_name -> protocol.Account + 27, // 11: protocol.TimePaginatedMessage.timeMessage:type_name -> protocol.TimeMessage + 76, // 12: protocol.AccountNetMessage.assetNetUsed:type_name -> protocol.AccountNetMessage.AssetNetUsedEntry + 77, // 13: protocol.AccountNetMessage.assetNetLimit:type_name -> protocol.AccountNetMessage.AssetNetLimitEntry + 78, // 14: protocol.AccountResourceMessage.assetNetUsed:type_name -> protocol.AccountResourceMessage.AssetNetUsedEntry + 79, // 15: protocol.AccountResourceMessage.assetNetLimit:type_name -> protocol.AccountResourceMessage.AssetNetLimitEntry + 90, // 16: protocol.TransactionExtention.transaction:type_name -> protocol.Transaction + 3, // 17: protocol.TransactionExtention.result:type_name -> protocol.Return + 93, // 18: protocol.TransactionExtention.logs:type_name -> protocol.TransactionInfo.Log + 94, // 19: protocol.TransactionExtention.internal_transactions:type_name -> protocol.InternalTransaction + 3, // 20: protocol.EstimateEnergyMessage.result:type_name -> protocol.Return + 36, // 21: protocol.BlockExtention.transactions:type_name -> protocol.TransactionExtention + 95, // 22: protocol.BlockExtention.block_header:type_name -> protocol.BlockHeader + 38, // 23: protocol.BlockListExtention.block:type_name -> protocol.BlockExtention + 36, // 24: protocol.TransactionListExtention.transaction:type_name -> protocol.TransactionExtention + 96, // 25: protocol.BlockIncrementalMerkleTree.merkleTree:type_name -> protocol.IncrementalMerkleTree + 97, // 26: protocol.TransactionSignWeight.permission:type_name -> protocol.Permission + 80, // 27: protocol.TransactionSignWeight.result:type_name -> protocol.TransactionSignWeight.Result + 36, // 28: protocol.TransactionSignWeight.transaction:type_name -> protocol.TransactionExtention + 81, // 29: protocol.TransactionApprovedList.result:type_name -> protocol.TransactionApprovedList.Result + 36, // 30: protocol.TransactionApprovedList.transaction:type_name -> protocol.TransactionExtention + 82, // 31: protocol.DecryptNotes.noteTxs:type_name -> protocol.DecryptNotes.NoteTx + 83, // 32: protocol.DecryptNotesMarked.noteTxs:type_name -> protocol.DecryptNotesMarked.NoteTx + 49, // 33: protocol.SpendNote.note:type_name -> protocol.Note + 98, // 34: protocol.SpendNote.voucher:type_name -> protocol.IncrementalMerkleVoucher + 49, // 35: protocol.ReceiveNote.note:type_name -> protocol.Note + 50, // 36: protocol.PrivateParameters.shielded_spends:type_name -> protocol.SpendNote + 51, // 37: protocol.PrivateParameters.shielded_receives:type_name -> protocol.ReceiveNote + 50, // 38: protocol.PrivateParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNote + 51, // 39: protocol.PrivateParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 49, // 40: protocol.NfParameters.note:type_name -> protocol.Note + 98, // 41: protocol.NfParameters.voucher:type_name -> protocol.IncrementalMerkleVoucher + 58, // 42: protocol.IncomingViewingKeyDiversifierMessage.ivk:type_name -> protocol.IncomingViewingKeyMessage + 59, // 43: protocol.IncomingViewingKeyDiversifierMessage.d:type_name -> protocol.DiversifierMessage + 59, // 44: protocol.PaymentAddressMessage.d:type_name -> protocol.DiversifierMessage + 49, // 45: protocol.NoteParameters.note:type_name -> protocol.Note + 99, // 46: protocol.TransactionInfoList.transactionInfo:type_name -> protocol.TransactionInfo + 49, // 47: protocol.SpendNoteTRC20.note:type_name -> protocol.Note + 66, // 48: protocol.PrivateShieldedTRC20Parameters.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 51, // 49: protocol.PrivateShieldedTRC20Parameters.shielded_receives:type_name -> protocol.ReceiveNote + 66, // 50: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_spends:type_name -> protocol.SpendNoteTRC20 + 51, // 51: protocol.PrivateShieldedTRC20ParametersWithoutAsk.shielded_receives:type_name -> protocol.ReceiveNote + 100, // 52: protocol.ShieldedTRC20Parameters.spend_description:type_name -> protocol.SpendDescription + 101, // 53: protocol.ShieldedTRC20Parameters.receive_description:type_name -> protocol.ReceiveDescription + 84, // 54: protocol.DecryptNotesTRC20.noteTxs:type_name -> protocol.DecryptNotesTRC20.NoteTx + 49, // 55: protocol.NfTRC20Parameters.note:type_name -> protocol.Note + 69, // 56: protocol.ShieldedTRC20TriggerContractParameters.shielded_TRC20_Parameters:type_name -> protocol.ShieldedTRC20Parameters + 26, // 57: protocol.ShieldedTRC20TriggerContractParameters.spend_authority_signature:type_name -> protocol.BytesMessage + 1, // 58: protocol.TransactionSignWeight.Result.code:type_name -> protocol.TransactionSignWeight.Result.response_code + 2, // 59: protocol.TransactionApprovedList.Result.code:type_name -> protocol.TransactionApprovedList.Result.response_code + 49, // 60: protocol.DecryptNotes.NoteTx.note:type_name -> protocol.Note + 49, // 61: protocol.DecryptNotesMarked.NoteTx.note:type_name -> protocol.Note + 49, // 62: protocol.DecryptNotesTRC20.NoteTx.note:type_name -> protocol.Note + 92, // 63: protocol.Wallet.GetAccount:input_type -> protocol.Account + 92, // 64: protocol.Wallet.GetAccountById:input_type -> protocol.Account + 102, // 65: protocol.Wallet.GetAccountBalance:input_type -> protocol.AccountBalanceRequest + 103, // 66: protocol.Wallet.GetBlockBalanceTrace:input_type -> protocol.BlockBalanceTrace.BlockIdentifier + 104, // 67: protocol.Wallet.CreateTransaction:input_type -> protocol.TransferContract + 104, // 68: protocol.Wallet.CreateTransaction2:input_type -> protocol.TransferContract + 90, // 69: protocol.Wallet.BroadcastTransaction:input_type -> protocol.Transaction + 105, // 70: protocol.Wallet.UpdateAccount:input_type -> protocol.AccountUpdateContract + 106, // 71: protocol.Wallet.SetAccountId:input_type -> protocol.SetAccountIdContract + 105, // 72: protocol.Wallet.UpdateAccount2:input_type -> protocol.AccountUpdateContract + 107, // 73: protocol.Wallet.VoteWitnessAccount:input_type -> protocol.VoteWitnessContract + 108, // 74: protocol.Wallet.UpdateSetting:input_type -> protocol.UpdateSettingContract + 109, // 75: protocol.Wallet.UpdateEnergyLimit:input_type -> protocol.UpdateEnergyLimitContract + 107, // 76: protocol.Wallet.VoteWitnessAccount2:input_type -> protocol.VoteWitnessContract + 88, // 77: protocol.Wallet.CreateAssetIssue:input_type -> protocol.AssetIssueContract + 88, // 78: protocol.Wallet.CreateAssetIssue2:input_type -> protocol.AssetIssueContract + 110, // 79: protocol.Wallet.UpdateWitness:input_type -> protocol.WitnessUpdateContract + 110, // 80: protocol.Wallet.UpdateWitness2:input_type -> protocol.WitnessUpdateContract + 111, // 81: protocol.Wallet.CreateAccount:input_type -> protocol.AccountCreateContract + 111, // 82: protocol.Wallet.CreateAccount2:input_type -> protocol.AccountCreateContract + 112, // 83: protocol.Wallet.CreateWitness:input_type -> protocol.WitnessCreateContract + 112, // 84: protocol.Wallet.CreateWitness2:input_type -> protocol.WitnessCreateContract + 113, // 85: protocol.Wallet.TransferAsset:input_type -> protocol.TransferAssetContract + 113, // 86: protocol.Wallet.TransferAsset2:input_type -> protocol.TransferAssetContract + 114, // 87: protocol.Wallet.ParticipateAssetIssue:input_type -> protocol.ParticipateAssetIssueContract + 114, // 88: protocol.Wallet.ParticipateAssetIssue2:input_type -> protocol.ParticipateAssetIssueContract + 115, // 89: protocol.Wallet.FreezeBalance:input_type -> protocol.FreezeBalanceContract + 115, // 90: protocol.Wallet.FreezeBalance2:input_type -> protocol.FreezeBalanceContract + 116, // 91: protocol.Wallet.FreezeBalanceV2:input_type -> protocol.FreezeBalanceV2Contract + 117, // 92: protocol.Wallet.UnfreezeBalance:input_type -> protocol.UnfreezeBalanceContract + 117, // 93: protocol.Wallet.UnfreezeBalance2:input_type -> protocol.UnfreezeBalanceContract + 118, // 94: protocol.Wallet.UnfreezeBalanceV2:input_type -> protocol.UnfreezeBalanceV2Contract + 119, // 95: protocol.Wallet.UnfreezeAsset:input_type -> protocol.UnfreezeAssetContract + 119, // 96: protocol.Wallet.UnfreezeAsset2:input_type -> protocol.UnfreezeAssetContract + 120, // 97: protocol.Wallet.WithdrawBalance:input_type -> protocol.WithdrawBalanceContract + 120, // 98: protocol.Wallet.WithdrawBalance2:input_type -> protocol.WithdrawBalanceContract + 121, // 99: protocol.Wallet.WithdrawExpireUnfreeze:input_type -> protocol.WithdrawExpireUnfreezeContract + 122, // 100: protocol.Wallet.DelegateResource:input_type -> protocol.DelegateResourceContract + 123, // 101: protocol.Wallet.UnDelegateResource:input_type -> protocol.UnDelegateResourceContract + 124, // 102: protocol.Wallet.CancelAllUnfreezeV2:input_type -> protocol.CancelAllUnfreezeV2Contract + 125, // 103: protocol.Wallet.UpdateAsset:input_type -> protocol.UpdateAssetContract + 125, // 104: protocol.Wallet.UpdateAsset2:input_type -> protocol.UpdateAssetContract + 126, // 105: protocol.Wallet.ProposalCreate:input_type -> protocol.ProposalCreateContract + 127, // 106: protocol.Wallet.ProposalApprove:input_type -> protocol.ProposalApproveContract + 128, // 107: protocol.Wallet.ProposalDelete:input_type -> protocol.ProposalDeleteContract + 129, // 108: protocol.Wallet.BuyStorage:input_type -> protocol.BuyStorageContract + 130, // 109: protocol.Wallet.BuyStorageBytes:input_type -> protocol.BuyStorageBytesContract + 131, // 110: protocol.Wallet.SellStorage:input_type -> protocol.SellStorageContract + 132, // 111: protocol.Wallet.ExchangeCreate:input_type -> protocol.ExchangeCreateContract + 133, // 112: protocol.Wallet.ExchangeInject:input_type -> protocol.ExchangeInjectContract + 134, // 113: protocol.Wallet.ExchangeWithdraw:input_type -> protocol.ExchangeWithdrawContract + 135, // 114: protocol.Wallet.ExchangeTransaction:input_type -> protocol.ExchangeTransactionContract + 136, // 115: protocol.Wallet.MarketSellAsset:input_type -> protocol.MarketSellAssetContract + 137, // 116: protocol.Wallet.MarketCancelOrder:input_type -> protocol.MarketCancelOrderContract + 26, // 117: protocol.Wallet.GetMarketOrderById:input_type -> protocol.BytesMessage + 26, // 118: protocol.Wallet.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 138, // 119: protocol.Wallet.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 138, // 120: protocol.Wallet.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 24, // 121: protocol.Wallet.GetMarketPairList:input_type -> protocol.EmptyMessage + 24, // 122: protocol.Wallet.ListNodes:input_type -> protocol.EmptyMessage + 92, // 123: protocol.Wallet.GetAssetIssueByAccount:input_type -> protocol.Account + 92, // 124: protocol.Wallet.GetAccountNet:input_type -> protocol.Account + 92, // 125: protocol.Wallet.GetAccountResource:input_type -> protocol.Account + 26, // 126: protocol.Wallet.GetAssetIssueByName:input_type -> protocol.BytesMessage + 26, // 127: protocol.Wallet.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 26, // 128: protocol.Wallet.GetAssetIssueById:input_type -> protocol.BytesMessage + 24, // 129: protocol.Wallet.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 130: protocol.Wallet.GetNowBlock2:input_type -> protocol.EmptyMessage + 25, // 131: protocol.Wallet.GetBlockByNum:input_type -> protocol.NumberMessage + 25, // 132: protocol.Wallet.GetBlockByNum2:input_type -> protocol.NumberMessage + 25, // 133: protocol.Wallet.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 26, // 134: protocol.Wallet.GetBlockById:input_type -> protocol.BytesMessage + 29, // 135: protocol.Wallet.GetBlockByLimitNext:input_type -> protocol.BlockLimit + 29, // 136: protocol.Wallet.GetBlockByLimitNext2:input_type -> protocol.BlockLimit + 25, // 137: protocol.Wallet.GetBlockByLatestNum:input_type -> protocol.NumberMessage + 25, // 138: protocol.Wallet.GetBlockByLatestNum2:input_type -> protocol.NumberMessage + 26, // 139: protocol.Wallet.GetTransactionById:input_type -> protocol.BytesMessage + 139, // 140: protocol.Wallet.DeployContract:input_type -> protocol.CreateSmartContract + 26, // 141: protocol.Wallet.GetContract:input_type -> protocol.BytesMessage + 26, // 142: protocol.Wallet.GetContractInfo:input_type -> protocol.BytesMessage + 140, // 143: protocol.Wallet.TriggerContract:input_type -> protocol.TriggerSmartContract + 140, // 144: protocol.Wallet.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 140, // 145: protocol.Wallet.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 141, // 146: protocol.Wallet.ClearContractABI:input_type -> protocol.ClearABIContract + 24, // 147: protocol.Wallet.ListWitnesses:input_type -> protocol.EmptyMessage + 12, // 148: protocol.Wallet.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 149: protocol.Wallet.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 26, // 150: protocol.Wallet.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 26, // 151: protocol.Wallet.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 152: protocol.Wallet.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 153: protocol.Wallet.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 154: protocol.Wallet.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 24, // 155: protocol.Wallet.ListProposals:input_type -> protocol.EmptyMessage + 35, // 156: protocol.Wallet.GetPaginatedProposalList:input_type -> protocol.PaginatedMessage + 26, // 157: protocol.Wallet.GetProposalById:input_type -> protocol.BytesMessage + 24, // 158: protocol.Wallet.ListExchanges:input_type -> protocol.EmptyMessage + 35, // 159: protocol.Wallet.GetPaginatedExchangeList:input_type -> protocol.PaginatedMessage + 26, // 160: protocol.Wallet.GetExchangeById:input_type -> protocol.BytesMessage + 24, // 161: protocol.Wallet.GetChainParameters:input_type -> protocol.EmptyMessage + 24, // 162: protocol.Wallet.GetAssetIssueList:input_type -> protocol.EmptyMessage + 35, // 163: protocol.Wallet.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 24, // 164: protocol.Wallet.TotalTransaction:input_type -> protocol.EmptyMessage + 24, // 165: protocol.Wallet.GetNextMaintenanceTime:input_type -> protocol.EmptyMessage + 26, // 166: protocol.Wallet.GetTransactionInfoById:input_type -> protocol.BytesMessage + 142, // 167: protocol.Wallet.AccountPermissionUpdate:input_type -> protocol.AccountPermissionUpdateContract + 90, // 168: protocol.Wallet.GetTransactionSignWeight:input_type -> protocol.Transaction + 90, // 169: protocol.Wallet.GetTransactionApprovedList:input_type -> protocol.Transaction + 24, // 170: protocol.Wallet.GetNodeInfo:input_type -> protocol.EmptyMessage + 26, // 171: protocol.Wallet.GetRewardInfo:input_type -> protocol.BytesMessage + 26, // 172: protocol.Wallet.GetBrokerageInfo:input_type -> protocol.BytesMessage + 143, // 173: protocol.Wallet.UpdateBrokerage:input_type -> protocol.UpdateBrokerageContract + 52, // 174: protocol.Wallet.CreateShieldedTransaction:input_type -> protocol.PrivateParameters + 144, // 175: protocol.Wallet.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 44, // 176: protocol.Wallet.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 45, // 177: protocol.Wallet.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 46, // 178: protocol.Wallet.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 24, // 179: protocol.Wallet.GetSpendingKey:input_type -> protocol.EmptyMessage + 26, // 180: protocol.Wallet.GetExpandedSpendingKey:input_type -> protocol.BytesMessage + 26, // 181: protocol.Wallet.GetAkFromAsk:input_type -> protocol.BytesMessage + 26, // 182: protocol.Wallet.GetNkFromNsk:input_type -> protocol.BytesMessage + 57, // 183: protocol.Wallet.GetIncomingViewingKey:input_type -> protocol.ViewingKeyMessage + 24, // 184: protocol.Wallet.GetDiversifier:input_type -> protocol.EmptyMessage + 24, // 185: protocol.Wallet.GetNewShieldedAddress:input_type -> protocol.EmptyMessage + 60, // 186: protocol.Wallet.GetZenPaymentAddress:input_type -> protocol.IncomingViewingKeyDiversifierMessage + 24, // 187: protocol.Wallet.GetRcm:input_type -> protocol.EmptyMessage + 63, // 188: protocol.Wallet.IsSpend:input_type -> protocol.NoteParameters + 53, // 189: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:input_type -> protocol.PrivateParametersWithoutAsk + 90, // 190: protocol.Wallet.GetShieldTransactionHash:input_type -> protocol.Transaction + 54, // 191: protocol.Wallet.CreateSpendAuthSig:input_type -> protocol.SpendAuthSigParameters + 55, // 192: protocol.Wallet.CreateShieldNullifier:input_type -> protocol.NfParameters + 67, // 193: protocol.Wallet.CreateShieldedContractParameters:input_type -> protocol.PrivateShieldedTRC20Parameters + 68, // 194: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:input_type -> protocol.PrivateShieldedTRC20ParametersWithoutAsk + 70, // 195: protocol.Wallet.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 71, // 196: protocol.Wallet.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 73, // 197: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 75, // 198: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:input_type -> protocol.ShieldedTRC20TriggerContractParameters + 90, // 199: protocol.Wallet.CreateCommonTransaction:input_type -> protocol.Transaction + 25, // 200: protocol.Wallet.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 24, // 201: protocol.Wallet.GetBurnTrx:input_type -> protocol.EmptyMessage + 26, // 202: protocol.Wallet.GetTransactionFromPending:input_type -> protocol.BytesMessage + 24, // 203: protocol.Wallet.GetTransactionListFromPending:input_type -> protocol.EmptyMessage + 24, // 204: protocol.Wallet.GetPendingSize:input_type -> protocol.EmptyMessage + 28, // 205: protocol.Wallet.GetBlock:input_type -> protocol.BlockReq + 24, // 206: protocol.Wallet.GetBandwidthPrices:input_type -> protocol.EmptyMessage + 24, // 207: protocol.Wallet.GetEnergyPrices:input_type -> protocol.EmptyMessage + 24, // 208: protocol.Wallet.GetMemoFee:input_type -> protocol.EmptyMessage + 92, // 209: protocol.WalletSolidity.GetAccount:input_type -> protocol.Account + 92, // 210: protocol.WalletSolidity.GetAccountById:input_type -> protocol.Account + 24, // 211: protocol.WalletSolidity.ListWitnesses:input_type -> protocol.EmptyMessage + 24, // 212: protocol.WalletSolidity.GetAssetIssueList:input_type -> protocol.EmptyMessage + 35, // 213: protocol.WalletSolidity.GetPaginatedAssetIssueList:input_type -> protocol.PaginatedMessage + 26, // 214: protocol.WalletSolidity.GetAssetIssueByName:input_type -> protocol.BytesMessage + 26, // 215: protocol.WalletSolidity.GetAssetIssueListByName:input_type -> protocol.BytesMessage + 26, // 216: protocol.WalletSolidity.GetAssetIssueById:input_type -> protocol.BytesMessage + 24, // 217: protocol.WalletSolidity.GetNowBlock:input_type -> protocol.EmptyMessage + 24, // 218: protocol.WalletSolidity.GetNowBlock2:input_type -> protocol.EmptyMessage + 25, // 219: protocol.WalletSolidity.GetBlockByNum:input_type -> protocol.NumberMessage + 25, // 220: protocol.WalletSolidity.GetBlockByNum2:input_type -> protocol.NumberMessage + 25, // 221: protocol.WalletSolidity.GetTransactionCountByBlockNum:input_type -> protocol.NumberMessage + 12, // 222: protocol.WalletSolidity.GetDelegatedResource:input_type -> protocol.DelegatedResourceMessage + 12, // 223: protocol.WalletSolidity.GetDelegatedResourceV2:input_type -> protocol.DelegatedResourceMessage + 26, // 224: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:input_type -> protocol.BytesMessage + 26, // 225: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:input_type -> protocol.BytesMessage + 16, // 226: protocol.WalletSolidity.GetCanDelegatedMaxSize:input_type -> protocol.CanDelegatedMaxSizeRequestMessage + 14, // 227: protocol.WalletSolidity.GetAvailableUnfreezeCount:input_type -> protocol.GetAvailableUnfreezeCountRequestMessage + 18, // 228: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:input_type -> protocol.CanWithdrawUnfreezeAmountRequestMessage + 26, // 229: protocol.WalletSolidity.GetExchangeById:input_type -> protocol.BytesMessage + 24, // 230: protocol.WalletSolidity.ListExchanges:input_type -> protocol.EmptyMessage + 26, // 231: protocol.WalletSolidity.GetTransactionById:input_type -> protocol.BytesMessage + 26, // 232: protocol.WalletSolidity.GetTransactionInfoById:input_type -> protocol.BytesMessage + 144, // 233: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:input_type -> protocol.OutputPointInfo + 44, // 234: protocol.WalletSolidity.ScanNoteByIvk:input_type -> protocol.IvkDecryptParameters + 45, // 235: protocol.WalletSolidity.ScanAndMarkNoteByIvk:input_type -> protocol.IvkDecryptAndMarkParameters + 46, // 236: protocol.WalletSolidity.ScanNoteByOvk:input_type -> protocol.OvkDecryptParameters + 63, // 237: protocol.WalletSolidity.IsSpend:input_type -> protocol.NoteParameters + 70, // 238: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:input_type -> protocol.IvkDecryptTRC20Parameters + 71, // 239: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:input_type -> protocol.OvkDecryptTRC20Parameters + 73, // 240: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:input_type -> protocol.NfTRC20Parameters + 26, // 241: protocol.WalletSolidity.GetRewardInfo:input_type -> protocol.BytesMessage + 26, // 242: protocol.WalletSolidity.GetBrokerageInfo:input_type -> protocol.BytesMessage + 140, // 243: protocol.WalletSolidity.TriggerConstantContract:input_type -> protocol.TriggerSmartContract + 140, // 244: protocol.WalletSolidity.EstimateEnergy:input_type -> protocol.TriggerSmartContract + 25, // 245: protocol.WalletSolidity.GetTransactionInfoByBlockNum:input_type -> protocol.NumberMessage + 26, // 246: protocol.WalletSolidity.GetMarketOrderById:input_type -> protocol.BytesMessage + 26, // 247: protocol.WalletSolidity.GetMarketOrderByAccount:input_type -> protocol.BytesMessage + 138, // 248: protocol.WalletSolidity.GetMarketPriceByPair:input_type -> protocol.MarketOrderPair + 138, // 249: protocol.WalletSolidity.GetMarketOrderListByPair:input_type -> protocol.MarketOrderPair + 24, // 250: protocol.WalletSolidity.GetMarketPairList:input_type -> protocol.EmptyMessage + 24, // 251: protocol.WalletSolidity.GetBurnTrx:input_type -> protocol.EmptyMessage + 28, // 252: protocol.WalletSolidity.GetBlock:input_type -> protocol.BlockReq + 24, // 253: protocol.WalletSolidity.GetBandwidthPrices:input_type -> protocol.EmptyMessage + 24, // 254: protocol.WalletSolidity.GetEnergyPrices:input_type -> protocol.EmptyMessage + 31, // 255: protocol.WalletExtension.GetTransactionsFromThis:input_type -> protocol.AccountPaginated + 31, // 256: protocol.WalletExtension.GetTransactionsFromThis2:input_type -> protocol.AccountPaginated + 31, // 257: protocol.WalletExtension.GetTransactionsToThis:input_type -> protocol.AccountPaginated + 31, // 258: protocol.WalletExtension.GetTransactionsToThis2:input_type -> protocol.AccountPaginated + 24, // 259: protocol.Database.getBlockReference:input_type -> protocol.EmptyMessage + 24, // 260: protocol.Database.GetDynamicProperties:input_type -> protocol.EmptyMessage + 24, // 261: protocol.Database.GetNowBlock:input_type -> protocol.EmptyMessage + 25, // 262: protocol.Database.GetBlockByNum:input_type -> protocol.NumberMessage + 24, // 263: protocol.Monitor.GetStatsInfo:input_type -> protocol.EmptyMessage + 92, // 264: protocol.Wallet.GetAccount:output_type -> protocol.Account + 92, // 265: protocol.Wallet.GetAccountById:output_type -> protocol.Account + 145, // 266: protocol.Wallet.GetAccountBalance:output_type -> protocol.AccountBalanceResponse + 146, // 267: protocol.Wallet.GetBlockBalanceTrace:output_type -> protocol.BlockBalanceTrace + 90, // 268: protocol.Wallet.CreateTransaction:output_type -> protocol.Transaction + 36, // 269: protocol.Wallet.CreateTransaction2:output_type -> protocol.TransactionExtention + 3, // 270: protocol.Wallet.BroadcastTransaction:output_type -> protocol.Return + 90, // 271: protocol.Wallet.UpdateAccount:output_type -> protocol.Transaction + 90, // 272: protocol.Wallet.SetAccountId:output_type -> protocol.Transaction + 36, // 273: protocol.Wallet.UpdateAccount2:output_type -> protocol.TransactionExtention + 90, // 274: protocol.Wallet.VoteWitnessAccount:output_type -> protocol.Transaction + 36, // 275: protocol.Wallet.UpdateSetting:output_type -> protocol.TransactionExtention + 36, // 276: protocol.Wallet.UpdateEnergyLimit:output_type -> protocol.TransactionExtention + 36, // 277: protocol.Wallet.VoteWitnessAccount2:output_type -> protocol.TransactionExtention + 90, // 278: protocol.Wallet.CreateAssetIssue:output_type -> protocol.Transaction + 36, // 279: protocol.Wallet.CreateAssetIssue2:output_type -> protocol.TransactionExtention + 90, // 280: protocol.Wallet.UpdateWitness:output_type -> protocol.Transaction + 36, // 281: protocol.Wallet.UpdateWitness2:output_type -> protocol.TransactionExtention + 90, // 282: protocol.Wallet.CreateAccount:output_type -> protocol.Transaction + 36, // 283: protocol.Wallet.CreateAccount2:output_type -> protocol.TransactionExtention + 90, // 284: protocol.Wallet.CreateWitness:output_type -> protocol.Transaction + 36, // 285: protocol.Wallet.CreateWitness2:output_type -> protocol.TransactionExtention + 90, // 286: protocol.Wallet.TransferAsset:output_type -> protocol.Transaction + 36, // 287: protocol.Wallet.TransferAsset2:output_type -> protocol.TransactionExtention + 90, // 288: protocol.Wallet.ParticipateAssetIssue:output_type -> protocol.Transaction + 36, // 289: protocol.Wallet.ParticipateAssetIssue2:output_type -> protocol.TransactionExtention + 90, // 290: protocol.Wallet.FreezeBalance:output_type -> protocol.Transaction + 36, // 291: protocol.Wallet.FreezeBalance2:output_type -> protocol.TransactionExtention + 36, // 292: protocol.Wallet.FreezeBalanceV2:output_type -> protocol.TransactionExtention + 90, // 293: protocol.Wallet.UnfreezeBalance:output_type -> protocol.Transaction + 36, // 294: protocol.Wallet.UnfreezeBalance2:output_type -> protocol.TransactionExtention + 36, // 295: protocol.Wallet.UnfreezeBalanceV2:output_type -> protocol.TransactionExtention + 90, // 296: protocol.Wallet.UnfreezeAsset:output_type -> protocol.Transaction + 36, // 297: protocol.Wallet.UnfreezeAsset2:output_type -> protocol.TransactionExtention + 90, // 298: protocol.Wallet.WithdrawBalance:output_type -> protocol.Transaction + 36, // 299: protocol.Wallet.WithdrawBalance2:output_type -> protocol.TransactionExtention + 36, // 300: protocol.Wallet.WithdrawExpireUnfreeze:output_type -> protocol.TransactionExtention + 36, // 301: protocol.Wallet.DelegateResource:output_type -> protocol.TransactionExtention + 36, // 302: protocol.Wallet.UnDelegateResource:output_type -> protocol.TransactionExtention + 36, // 303: protocol.Wallet.CancelAllUnfreezeV2:output_type -> protocol.TransactionExtention + 90, // 304: protocol.Wallet.UpdateAsset:output_type -> protocol.Transaction + 36, // 305: protocol.Wallet.UpdateAsset2:output_type -> protocol.TransactionExtention + 36, // 306: protocol.Wallet.ProposalCreate:output_type -> protocol.TransactionExtention + 36, // 307: protocol.Wallet.ProposalApprove:output_type -> protocol.TransactionExtention + 36, // 308: protocol.Wallet.ProposalDelete:output_type -> protocol.TransactionExtention + 36, // 309: protocol.Wallet.BuyStorage:output_type -> protocol.TransactionExtention + 36, // 310: protocol.Wallet.BuyStorageBytes:output_type -> protocol.TransactionExtention + 36, // 311: protocol.Wallet.SellStorage:output_type -> protocol.TransactionExtention + 36, // 312: protocol.Wallet.ExchangeCreate:output_type -> protocol.TransactionExtention + 36, // 313: protocol.Wallet.ExchangeInject:output_type -> protocol.TransactionExtention + 36, // 314: protocol.Wallet.ExchangeWithdraw:output_type -> protocol.TransactionExtention + 36, // 315: protocol.Wallet.ExchangeTransaction:output_type -> protocol.TransactionExtention + 36, // 316: protocol.Wallet.MarketSellAsset:output_type -> protocol.TransactionExtention + 36, // 317: protocol.Wallet.MarketCancelOrder:output_type -> protocol.TransactionExtention + 147, // 318: protocol.Wallet.GetMarketOrderById:output_type -> protocol.MarketOrder + 148, // 319: protocol.Wallet.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 149, // 320: protocol.Wallet.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 148, // 321: protocol.Wallet.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 150, // 322: protocol.Wallet.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 21, // 323: protocol.Wallet.ListNodes:output_type -> protocol.NodeList + 8, // 324: protocol.Wallet.GetAssetIssueByAccount:output_type -> protocol.AssetIssueList + 33, // 325: protocol.Wallet.GetAccountNet:output_type -> protocol.AccountNetMessage + 34, // 326: protocol.Wallet.GetAccountResource:output_type -> protocol.AccountResourceMessage + 88, // 327: protocol.Wallet.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 328: protocol.Wallet.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 88, // 329: protocol.Wallet.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 89, // 330: protocol.Wallet.GetNowBlock:output_type -> protocol.Block + 38, // 331: protocol.Wallet.GetNowBlock2:output_type -> protocol.BlockExtention + 89, // 332: protocol.Wallet.GetBlockByNum:output_type -> protocol.Block + 38, // 333: protocol.Wallet.GetBlockByNum2:output_type -> protocol.BlockExtention + 25, // 334: protocol.Wallet.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 89, // 335: protocol.Wallet.GetBlockById:output_type -> protocol.Block + 9, // 336: protocol.Wallet.GetBlockByLimitNext:output_type -> protocol.BlockList + 39, // 337: protocol.Wallet.GetBlockByLimitNext2:output_type -> protocol.BlockListExtention + 9, // 338: protocol.Wallet.GetBlockByLatestNum:output_type -> protocol.BlockList + 39, // 339: protocol.Wallet.GetBlockByLatestNum2:output_type -> protocol.BlockListExtention + 90, // 340: protocol.Wallet.GetTransactionById:output_type -> protocol.Transaction + 36, // 341: protocol.Wallet.DeployContract:output_type -> protocol.TransactionExtention + 151, // 342: protocol.Wallet.GetContract:output_type -> protocol.SmartContract + 152, // 343: protocol.Wallet.GetContractInfo:output_type -> protocol.SmartContractDataWrapper + 36, // 344: protocol.Wallet.TriggerContract:output_type -> protocol.TransactionExtention + 36, // 345: protocol.Wallet.TriggerConstantContract:output_type -> protocol.TransactionExtention + 37, // 346: protocol.Wallet.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 36, // 347: protocol.Wallet.ClearContractABI:output_type -> protocol.TransactionExtention + 5, // 348: protocol.Wallet.ListWitnesses:output_type -> protocol.WitnessList + 13, // 349: protocol.Wallet.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 350: protocol.Wallet.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 153, // 351: protocol.Wallet.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 153, // 352: protocol.Wallet.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 353: protocol.Wallet.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 354: protocol.Wallet.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 355: protocol.Wallet.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 6, // 356: protocol.Wallet.ListProposals:output_type -> protocol.ProposalList + 6, // 357: protocol.Wallet.GetPaginatedProposalList:output_type -> protocol.ProposalList + 86, // 358: protocol.Wallet.GetProposalById:output_type -> protocol.Proposal + 7, // 359: protocol.Wallet.ListExchanges:output_type -> protocol.ExchangeList + 7, // 360: protocol.Wallet.GetPaginatedExchangeList:output_type -> protocol.ExchangeList + 87, // 361: protocol.Wallet.GetExchangeById:output_type -> protocol.Exchange + 154, // 362: protocol.Wallet.GetChainParameters:output_type -> protocol.ChainParameters + 8, // 363: protocol.Wallet.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 364: protocol.Wallet.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 25, // 365: protocol.Wallet.TotalTransaction:output_type -> protocol.NumberMessage + 25, // 366: protocol.Wallet.GetNextMaintenanceTime:output_type -> protocol.NumberMessage + 99, // 367: protocol.Wallet.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 36, // 368: protocol.Wallet.AccountPermissionUpdate:output_type -> protocol.TransactionExtention + 42, // 369: protocol.Wallet.GetTransactionSignWeight:output_type -> protocol.TransactionSignWeight + 43, // 370: protocol.Wallet.GetTransactionApprovedList:output_type -> protocol.TransactionApprovedList + 155, // 371: protocol.Wallet.GetNodeInfo:output_type -> protocol.NodeInfo + 25, // 372: protocol.Wallet.GetRewardInfo:output_type -> protocol.NumberMessage + 25, // 373: protocol.Wallet.GetBrokerageInfo:output_type -> protocol.NumberMessage + 36, // 374: protocol.Wallet.UpdateBrokerage:output_type -> protocol.TransactionExtention + 36, // 375: protocol.Wallet.CreateShieldedTransaction:output_type -> protocol.TransactionExtention + 156, // 376: protocol.Wallet.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 47, // 377: protocol.Wallet.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 48, // 378: protocol.Wallet.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 47, // 379: protocol.Wallet.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 26, // 380: protocol.Wallet.GetSpendingKey:output_type -> protocol.BytesMessage + 56, // 381: protocol.Wallet.GetExpandedSpendingKey:output_type -> protocol.ExpandedSpendingKeyMessage + 26, // 382: protocol.Wallet.GetAkFromAsk:output_type -> protocol.BytesMessage + 26, // 383: protocol.Wallet.GetNkFromNsk:output_type -> protocol.BytesMessage + 58, // 384: protocol.Wallet.GetIncomingViewingKey:output_type -> protocol.IncomingViewingKeyMessage + 59, // 385: protocol.Wallet.GetDiversifier:output_type -> protocol.DiversifierMessage + 62, // 386: protocol.Wallet.GetNewShieldedAddress:output_type -> protocol.ShieldedAddressInfo + 61, // 387: protocol.Wallet.GetZenPaymentAddress:output_type -> protocol.PaymentAddressMessage + 26, // 388: protocol.Wallet.GetRcm:output_type -> protocol.BytesMessage + 64, // 389: protocol.Wallet.IsSpend:output_type -> protocol.SpendResult + 36, // 390: protocol.Wallet.CreateShieldedTransactionWithoutSpendAuthSig:output_type -> protocol.TransactionExtention + 26, // 391: protocol.Wallet.GetShieldTransactionHash:output_type -> protocol.BytesMessage + 26, // 392: protocol.Wallet.CreateSpendAuthSig:output_type -> protocol.BytesMessage + 26, // 393: protocol.Wallet.CreateShieldNullifier:output_type -> protocol.BytesMessage + 69, // 394: protocol.Wallet.CreateShieldedContractParameters:output_type -> protocol.ShieldedTRC20Parameters + 69, // 395: protocol.Wallet.CreateShieldedContractParametersWithoutAsk:output_type -> protocol.ShieldedTRC20Parameters + 72, // 396: protocol.Wallet.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 72, // 397: protocol.Wallet.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 74, // 398: protocol.Wallet.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 26, // 399: protocol.Wallet.GetTriggerInputForShieldedTRC20Contract:output_type -> protocol.BytesMessage + 36, // 400: protocol.Wallet.CreateCommonTransaction:output_type -> protocol.TransactionExtention + 65, // 401: protocol.Wallet.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 25, // 402: protocol.Wallet.GetBurnTrx:output_type -> protocol.NumberMessage + 90, // 403: protocol.Wallet.GetTransactionFromPending:output_type -> protocol.Transaction + 11, // 404: protocol.Wallet.GetTransactionListFromPending:output_type -> protocol.TransactionIdList + 25, // 405: protocol.Wallet.GetPendingSize:output_type -> protocol.NumberMessage + 38, // 406: protocol.Wallet.GetBlock:output_type -> protocol.BlockExtention + 20, // 407: protocol.Wallet.GetBandwidthPrices:output_type -> protocol.PricesResponseMessage + 20, // 408: protocol.Wallet.GetEnergyPrices:output_type -> protocol.PricesResponseMessage + 20, // 409: protocol.Wallet.GetMemoFee:output_type -> protocol.PricesResponseMessage + 92, // 410: protocol.WalletSolidity.GetAccount:output_type -> protocol.Account + 92, // 411: protocol.WalletSolidity.GetAccountById:output_type -> protocol.Account + 5, // 412: protocol.WalletSolidity.ListWitnesses:output_type -> protocol.WitnessList + 8, // 413: protocol.WalletSolidity.GetAssetIssueList:output_type -> protocol.AssetIssueList + 8, // 414: protocol.WalletSolidity.GetPaginatedAssetIssueList:output_type -> protocol.AssetIssueList + 88, // 415: protocol.WalletSolidity.GetAssetIssueByName:output_type -> protocol.AssetIssueContract + 8, // 416: protocol.WalletSolidity.GetAssetIssueListByName:output_type -> protocol.AssetIssueList + 88, // 417: protocol.WalletSolidity.GetAssetIssueById:output_type -> protocol.AssetIssueContract + 89, // 418: protocol.WalletSolidity.GetNowBlock:output_type -> protocol.Block + 38, // 419: protocol.WalletSolidity.GetNowBlock2:output_type -> protocol.BlockExtention + 89, // 420: protocol.WalletSolidity.GetBlockByNum:output_type -> protocol.Block + 38, // 421: protocol.WalletSolidity.GetBlockByNum2:output_type -> protocol.BlockExtention + 25, // 422: protocol.WalletSolidity.GetTransactionCountByBlockNum:output_type -> protocol.NumberMessage + 13, // 423: protocol.WalletSolidity.GetDelegatedResource:output_type -> protocol.DelegatedResourceList + 13, // 424: protocol.WalletSolidity.GetDelegatedResourceV2:output_type -> protocol.DelegatedResourceList + 153, // 425: protocol.WalletSolidity.GetDelegatedResourceAccountIndex:output_type -> protocol.DelegatedResourceAccountIndex + 153, // 426: protocol.WalletSolidity.GetDelegatedResourceAccountIndexV2:output_type -> protocol.DelegatedResourceAccountIndex + 17, // 427: protocol.WalletSolidity.GetCanDelegatedMaxSize:output_type -> protocol.CanDelegatedMaxSizeResponseMessage + 15, // 428: protocol.WalletSolidity.GetAvailableUnfreezeCount:output_type -> protocol.GetAvailableUnfreezeCountResponseMessage + 19, // 429: protocol.WalletSolidity.GetCanWithdrawUnfreezeAmount:output_type -> protocol.CanWithdrawUnfreezeAmountResponseMessage + 87, // 430: protocol.WalletSolidity.GetExchangeById:output_type -> protocol.Exchange + 7, // 431: protocol.WalletSolidity.ListExchanges:output_type -> protocol.ExchangeList + 90, // 432: protocol.WalletSolidity.GetTransactionById:output_type -> protocol.Transaction + 99, // 433: protocol.WalletSolidity.GetTransactionInfoById:output_type -> protocol.TransactionInfo + 156, // 434: protocol.WalletSolidity.GetMerkleTreeVoucherInfo:output_type -> protocol.IncrementalMerkleVoucherInfo + 47, // 435: protocol.WalletSolidity.ScanNoteByIvk:output_type -> protocol.DecryptNotes + 48, // 436: protocol.WalletSolidity.ScanAndMarkNoteByIvk:output_type -> protocol.DecryptNotesMarked + 47, // 437: protocol.WalletSolidity.ScanNoteByOvk:output_type -> protocol.DecryptNotes + 64, // 438: protocol.WalletSolidity.IsSpend:output_type -> protocol.SpendResult + 72, // 439: protocol.WalletSolidity.ScanShieldedTRC20NotesByIvk:output_type -> protocol.DecryptNotesTRC20 + 72, // 440: protocol.WalletSolidity.ScanShieldedTRC20NotesByOvk:output_type -> protocol.DecryptNotesTRC20 + 74, // 441: protocol.WalletSolidity.IsShieldedTRC20ContractNoteSpent:output_type -> protocol.NullifierResult + 25, // 442: protocol.WalletSolidity.GetRewardInfo:output_type -> protocol.NumberMessage + 25, // 443: protocol.WalletSolidity.GetBrokerageInfo:output_type -> protocol.NumberMessage + 36, // 444: protocol.WalletSolidity.TriggerConstantContract:output_type -> protocol.TransactionExtention + 37, // 445: protocol.WalletSolidity.EstimateEnergy:output_type -> protocol.EstimateEnergyMessage + 65, // 446: protocol.WalletSolidity.GetTransactionInfoByBlockNum:output_type -> protocol.TransactionInfoList + 147, // 447: protocol.WalletSolidity.GetMarketOrderById:output_type -> protocol.MarketOrder + 148, // 448: protocol.WalletSolidity.GetMarketOrderByAccount:output_type -> protocol.MarketOrderList + 149, // 449: protocol.WalletSolidity.GetMarketPriceByPair:output_type -> protocol.MarketPriceList + 148, // 450: protocol.WalletSolidity.GetMarketOrderListByPair:output_type -> protocol.MarketOrderList + 150, // 451: protocol.WalletSolidity.GetMarketPairList:output_type -> protocol.MarketOrderPairList + 25, // 452: protocol.WalletSolidity.GetBurnTrx:output_type -> protocol.NumberMessage + 38, // 453: protocol.WalletSolidity.GetBlock:output_type -> protocol.BlockExtention + 20, // 454: protocol.WalletSolidity.GetBandwidthPrices:output_type -> protocol.PricesResponseMessage + 20, // 455: protocol.WalletSolidity.GetEnergyPrices:output_type -> protocol.PricesResponseMessage + 10, // 456: protocol.WalletExtension.GetTransactionsFromThis:output_type -> protocol.TransactionList + 40, // 457: protocol.WalletExtension.GetTransactionsFromThis2:output_type -> protocol.TransactionListExtention + 10, // 458: protocol.WalletExtension.GetTransactionsToThis:output_type -> protocol.TransactionList + 40, // 459: protocol.WalletExtension.GetTransactionsToThis2:output_type -> protocol.TransactionListExtention + 4, // 460: protocol.Database.getBlockReference:output_type -> protocol.BlockReference + 157, // 461: protocol.Database.GetDynamicProperties:output_type -> protocol.DynamicProperties + 89, // 462: protocol.Database.GetNowBlock:output_type -> protocol.Block + 89, // 463: protocol.Database.GetBlockByNum:output_type -> protocol.Block + 158, // 464: protocol.Monitor.GetStatsInfo:output_type -> protocol.MetricsInfo + 264, // [264:465] is the sub-list for method output_type + 63, // [63:264] is the sub-list for method input_type + 63, // [63:63] is the sub-list for extension type_name + 63, // [63:63] is the sub-list for extension extendee + 0, // [0:63] is the sub-list for field type_name +} + +func init() { file_api_api_proto_init() } +func file_api_api_proto_init() { + if File_api_api_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Return); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionIdList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAvailableUnfreezeCountRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAvailableUnfreezeCountResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanDelegatedMaxSizeRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanDelegatedMaxSizeResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanWithdrawUnfreezeAmountRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanWithdrawUnfreezeAmountResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PricesResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Node); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Address); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmptyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NumberMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BytesMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockLimit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionLimit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountPaginated); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimePaginatedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountNetMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountResourceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginatedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EstimateEnergyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockListExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionListExtention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockIncrementalMerkleTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionSignWeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionApprovedList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptAndMarkParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OvkDecryptParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesMarked); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Note); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendNote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceiveNote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateParametersWithoutAsk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendAuthSigParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NfParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExpandedSpendingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ViewingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncomingViewingKeyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiversifierMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncomingViewingKeyDiversifierMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentAddressMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedAddressInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoteParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionInfoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendNoteTRC20); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateShieldedTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrivateShieldedTRC20ParametersWithoutAsk); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IvkDecryptTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OvkDecryptTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesTRC20); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NfTRC20Parameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NullifierResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTRC20TriggerContractParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionSignWeight_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionApprovedList_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotes_NoteTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesMarked_NoteTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_api_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DecryptNotesTRC20_NoteTx); 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_api_api_proto_rawDesc, + NumEnums: 3, + NumMessages: 82, + NumExtensions: 0, + NumServices: 6, + }, + GoTypes: file_api_api_proto_goTypes, + DependencyIndexes: file_api_api_proto_depIdxs, + EnumInfos: file_api_api_proto_enumTypes, + MessageInfos: file_api_api_proto_msgTypes, + }.Build() + File_api_api_proto = out.File + file_api_api_proto_rawDesc = nil + file_api_api_proto_goTypes = nil + file_api_api_proto_depIdxs = nil +} diff --git a/gen/api/api_grpc.pb.go b/gen/api/api_grpc.pb.go new file mode 100644 index 0000000..8781bed --- /dev/null +++ b/gen/api/api_grpc.pb.go @@ -0,0 +1,7657 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v4.25.1 +// source: api/api.proto + +package api + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + "kk/pkg/crypto/tron/core" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// WalletClient is the client API for Wallet service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletClient interface { + GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) + GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) + // Please use CreateTransaction2 instead of this function. + CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateTransaction. + CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) + // Please use UpdateAccount2 instead of this function. + UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) + SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateAccount. + UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use VoteWitnessAccount2 instead of this function. + VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) + // modify the consume_user_resource_percent + UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // modify the energy_limit + UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function instead of VoteWitnessAccount. + VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateAssetIssue2 instead of this function. + CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateAssetIssue. + CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UpdateWitness2 instead of this function. + UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateWitness. + UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateAccount2 instead of this function. + CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateAccount. + CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use CreateWitness2 instead of this function. + CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of CreateWitness. + CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use TransferAsset2 instead of this function. + TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of TransferAsset. + TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use ParticipateAssetIssue2 instead of this function. + ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of ParticipateAssetIssue. + ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use FreezeBalance2 instead of this function. + FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of FreezeBalance. + FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function when FreezeBalanceV2. + FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UnfreezeBalance2 instead of this function. + UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UnfreezeBalance. + UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Use this function when UnfreezeBalanceV2. + UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UnfreezeAsset2 instead of this function. + UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UnfreezeAsset. + UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use WithdrawBalance2 instead of this function. + WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of WithdrawBalance. + WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) + DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) + CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) + // Please use UpdateAsset2 instead of this function. + UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) + // Use this function instead of UpdateAsset. + UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) + SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) + MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) + MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) + GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) + GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) + GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) + ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) + GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) + GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) + GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) + GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) + // Please use GetBlockByLimitNext2 instead of this function. + GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) + // Use this function instead of GetBlockByLimitNext. + GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) + // Please use GetBlockByLatestNum2 instead of this function. + GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) + // Use this function instead of GetBlockByLatestNum. + GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) + GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) + GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) + TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) + ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) + ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) + GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) + ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) + GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) + GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) + ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) + GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) + GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) + AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) + GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) + GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) + GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) + GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) + // for shiededTransaction + CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) + GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) + ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) + GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) + GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) + GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) + GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) + GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) + GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) + IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) + CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) + GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) + CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) + CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) + // for shielded contract + CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) + CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) + ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) + GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) + CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) + GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) + GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) + GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) + GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetMemoFee(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) +} + +type walletClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletClient(cc grpc.ClientConnInterface) WalletClient { + return &walletClient{cc} +} + +func (c *walletClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error) { + out := new(core.AccountBalanceResponse) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error) { + out := new(core.BlockBalanceTrace) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockBalanceTrace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateTransaction2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error) { + out := new(Return) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BroadcastTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/SetAccountId", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateSetting", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateEnergyLimit", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/VoteWitnessAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAssetIssue2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateWitness2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateAccount2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateWitness2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TransferAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ParticipateAssetIssue2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/FreezeBalanceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeBalanceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnfreezeAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawBalance2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/WithdrawExpireUnfreeze", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/DelegateResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UnDelegateResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CancelAllUnfreezeV2(ctx context.Context, in *core.CancelAllUnfreezeV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CancelAllUnfreezeV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateAsset2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalCreate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalApprove", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ProposalDelete", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/BuyStorageBytes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/SellStorage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeCreate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeInject", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeWithdraw", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ExchangeTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketSellAsset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/MarketCancelOrder", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + out := new(core.MarketOrder) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + out := new(core.MarketPriceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPriceByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketOrderListByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + out := new(core.MarketOrderPairList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMarketPairList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error) { + out := new(NodeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListNodes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error) { + out := new(AccountNetMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountNet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error) { + out := new(AccountResourceMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAccountResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueListByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNowBlock2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionCountByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error) { + out := new(BlockList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error) { + out := new(BlockListExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLimitNext2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error) { + out := new(BlockList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error) { + out := new(BlockListExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlockByLatestNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/DeployContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error) { + out := new(core.SmartContract) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error) { + out := new(core.SmartContractDataWrapper) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetContractInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TriggerConstantContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + out := new(EstimateEnergyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/EstimateEnergy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ClearContractABI", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + out := new(WitnessList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListWitnesses", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + out := new(CanDelegatedMaxSizeResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanDelegatedMaxSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + out := new(GetAvailableUnfreezeCountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAvailableUnfreezeCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + out := new(CanWithdrawUnfreezeAmountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error) { + out := new(ProposalList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListProposals", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error) { + out := new(ProposalList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedProposalList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error) { + out := new(core.Proposal) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetProposalById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ListExchanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedExchangeList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + out := new(core.Exchange) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExchangeById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error) { + out := new(core.ChainParameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetChainParameters", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPaginatedAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/TotalTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNextMaintenanceTime", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + out := new(core.TransactionInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/AccountPermissionUpdate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error) { + out := new(TransactionSignWeight) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionSignWeight", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error) { + out := new(TransactionApprovedList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionApprovedList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error) { + out := new(core.NodeInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNodeInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRewardInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBrokerageInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/UpdateBrokerage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + out := new(core.IncrementalMerkleVoucherInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMerkleTreeVoucherInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + out := new(DecryptNotesMarked) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanAndMarkNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanNoteByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetSpendingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error) { + out := new(ExpandedSpendingKeyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetExpandedSpendingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetAkFromAsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNkFromNsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error) { + out := new(IncomingViewingKeyMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetIncomingViewingKey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error) { + out := new(DiversifierMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetDiversifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error) { + out := new(ShieldedAddressInfo) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetNewShieldedAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error) { + out := new(PaymentAddressMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetZenPaymentAddress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetRcm", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + out := new(SpendResult) + err := c.cc.Invoke(ctx, "/protocol.Wallet/IsSpend", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetShieldTransactionHash", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateSpendAuthSig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldNullifier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + out := new(ShieldedTRC20Parameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParameters", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error) { + out := new(ShieldedTRC20Parameters) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + out := new(NullifierResult) + err := c.cc.Invoke(ctx, "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error) { + out := new(BytesMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/CreateCommonTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + out := new(TransactionInfoList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionInfoByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBurnTrx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionFromPending", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error) { + out := new(TransactionIdList) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetTransactionListFromPending", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetPendingSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetBandwidthPrices", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetEnergyPrices", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletClient) GetMemoFee(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.Wallet/GetMemoFee", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletServer is the server API for Wallet service. +// All implementations must embed UnimplementedWalletServer +// for forward compatibility +type WalletServer interface { + GetAccount(context.Context, *core.Account) (*core.Account, error) + GetAccountById(context.Context, *core.Account) (*core.Account, error) + GetAccountBalance(context.Context, *core.AccountBalanceRequest) (*core.AccountBalanceResponse, error) + GetBlockBalanceTrace(context.Context, *core.BlockBalanceTrace_BlockIdentifier) (*core.BlockBalanceTrace, error) + // Please use CreateTransaction2 instead of this function. + CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) + // Use this function instead of CreateTransaction. + CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) + BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) + // Please use UpdateAccount2 instead of this function. + UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) + SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) + // Use this function instead of UpdateAccount. + UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) + // Please use VoteWitnessAccount2 instead of this function. + VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) + // modify the consume_user_resource_percent + UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) + // modify the energy_limit + UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) + // Use this function instead of VoteWitnessAccount. + VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) + // Please use CreateAssetIssue2 instead of this function. + CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) + // Use this function instead of CreateAssetIssue. + CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) + // Please use UpdateWitness2 instead of this function. + UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) + // Use this function instead of UpdateWitness. + UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) + // Please use CreateAccount2 instead of this function. + CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) + // Use this function instead of CreateAccount. + CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) + // Please use CreateWitness2 instead of this function. + CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) + // Use this function instead of CreateWitness. + CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) + // Please use TransferAsset2 instead of this function. + TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) + // Use this function instead of TransferAsset. + TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) + // Please use ParticipateAssetIssue2 instead of this function. + ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) + // Use this function instead of ParticipateAssetIssue. + ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) + // Please use FreezeBalance2 instead of this function. + FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) + // Use this function instead of FreezeBalance. + FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) + // Use this function when FreezeBalanceV2. + FreezeBalanceV2(context.Context, *core.FreezeBalanceV2Contract) (*TransactionExtention, error) + // Please use UnfreezeBalance2 instead of this function. + UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) + // Use this function instead of UnfreezeBalance. + UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) + // Use this function when UnfreezeBalanceV2. + UnfreezeBalanceV2(context.Context, *core.UnfreezeBalanceV2Contract) (*TransactionExtention, error) + // Please use UnfreezeAsset2 instead of this function. + UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) + // Use this function instead of UnfreezeAsset. + UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) + // Please use WithdrawBalance2 instead of this function. + WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) + // Use this function instead of WithdrawBalance. + WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) + WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error) + DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error) + UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) + CancelAllUnfreezeV2(context.Context, *core.CancelAllUnfreezeV2Contract) (*TransactionExtention, error) + // Please use UpdateAsset2 instead of this function. + UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) + // Use this function instead of UpdateAsset. + UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) + ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) + ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) + ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) + BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) + BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) + SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) + ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) + ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) + ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) + ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) + MarketSellAsset(context.Context, *core.MarketSellAssetContract) (*TransactionExtention, error) + MarketCancelOrder(context.Context, *core.MarketCancelOrderContract) (*TransactionExtention, error) + GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) + GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) + GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) + GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) + GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) + ListNodes(context.Context, *EmptyMessage) (*NodeList, error) + GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) + GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) + GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) + GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) + GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) + GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) + GetBlockById(context.Context, *BytesMessage) (*core.Block, error) + // Please use GetBlockByLimitNext2 instead of this function. + GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) + // Use this function instead of GetBlockByLimitNext. + GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) + // Please use GetBlockByLatestNum2 instead of this function. + GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) + // Use this function instead of GetBlockByLatestNum. + GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) + GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) + DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) + GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) + GetContractInfo(context.Context, *BytesMessage) (*core.SmartContractDataWrapper, error) + TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) + ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) + ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) + GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) + ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) + GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) + GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) + ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) + GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) + GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) + GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) + GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) + GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) + TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) + GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) + GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) + AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) + GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) + GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) + GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) + GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) + GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) + UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) + // for shiededTransaction + CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) + GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) + ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) + GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) + GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) + GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) + GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) + GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) + GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) + GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) + GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) + GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) + IsSpend(context.Context, *NoteParameters) (*SpendResult, error) + CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) + GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) + CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) + CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) + // for shielded contract + CreateShieldedContractParameters(context.Context, *PrivateShieldedTRC20Parameters) (*ShieldedTRC20Parameters, error) + CreateShieldedContractParametersWithoutAsk(context.Context, *PrivateShieldedTRC20ParametersWithoutAsk) (*ShieldedTRC20Parameters, error) + ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) + GetTriggerInputForShieldedTRC20Contract(context.Context, *ShieldedTRC20TriggerContractParameters) (*BytesMessage, error) + CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) + GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) + GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) + GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error) + GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error) + GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error) + GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetMemoFee(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + mustEmbedUnimplementedWalletServer() +} + +// UnimplementedWalletServer must be embedded to have forward compatible implementations. +type UnimplementedWalletServer struct { +} + +func (UnimplementedWalletServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedWalletServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") +} +func (UnimplementedWalletServer) GetAccountBalance(context.Context, *core.AccountBalanceRequest) (*core.AccountBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountBalance not implemented") +} +func (UnimplementedWalletServer) GetBlockBalanceTrace(context.Context, *core.BlockBalanceTrace_BlockIdentifier) (*core.BlockBalanceTrace, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockBalanceTrace not implemented") +} +func (UnimplementedWalletServer) CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction not implemented") +} +func (UnimplementedWalletServer) CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateTransaction2 not implemented") +} +func (UnimplementedWalletServer) BroadcastTransaction(context.Context, *core.Transaction) (*Return, error) { + return nil, status.Errorf(codes.Unimplemented, "method BroadcastTransaction not implemented") +} +func (UnimplementedWalletServer) UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount not implemented") +} +func (UnimplementedWalletServer) SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAccountId not implemented") +} +func (UnimplementedWalletServer) UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAccount2 not implemented") +} +func (UnimplementedWalletServer) VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount not implemented") +} +func (UnimplementedWalletServer) UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateSetting not implemented") +} +func (UnimplementedWalletServer) UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateEnergyLimit not implemented") +} +func (UnimplementedWalletServer) VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method VoteWitnessAccount2 not implemented") +} +func (UnimplementedWalletServer) CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue not implemented") +} +func (UnimplementedWalletServer) CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAssetIssue2 not implemented") +} +func (UnimplementedWalletServer) UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness not implemented") +} +func (UnimplementedWalletServer) UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWitness2 not implemented") +} +func (UnimplementedWalletServer) CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAccount not implemented") +} +func (UnimplementedWalletServer) CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateAccount2 not implemented") +} +func (UnimplementedWalletServer) CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWitness not implemented") +} +func (UnimplementedWalletServer) CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateWitness2 not implemented") +} +func (UnimplementedWalletServer) TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransferAsset not implemented") +} +func (UnimplementedWalletServer) TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransferAsset2 not implemented") +} +func (UnimplementedWalletServer) ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue not implemented") +} +func (UnimplementedWalletServer) ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ParticipateAssetIssue2 not implemented") +} +func (UnimplementedWalletServer) FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance not implemented") +} +func (UnimplementedWalletServer) FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalance2 not implemented") +} +func (UnimplementedWalletServer) FreezeBalanceV2(context.Context, *core.FreezeBalanceV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method FreezeBalanceV2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalance2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeBalanceV2(context.Context, *core.UnfreezeBalanceV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeBalanceV2 not implemented") +} +func (UnimplementedWalletServer) UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset not implemented") +} +func (UnimplementedWalletServer) UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnfreezeAsset2 not implemented") +} +func (UnimplementedWalletServer) WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance not implemented") +} +func (UnimplementedWalletServer) WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawBalance2 not implemented") +} +func (UnimplementedWalletServer) WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawExpireUnfreeze not implemented") +} +func (UnimplementedWalletServer) DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method DelegateResource not implemented") +} +func (UnimplementedWalletServer) UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnDelegateResource not implemented") +} +func (UnimplementedWalletServer) CancelAllUnfreezeV2(context.Context, *core.CancelAllUnfreezeV2Contract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelAllUnfreezeV2 not implemented") +} +func (UnimplementedWalletServer) UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset not implemented") +} +func (UnimplementedWalletServer) UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateAsset2 not implemented") +} +func (UnimplementedWalletServer) ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalCreate not implemented") +} +func (UnimplementedWalletServer) ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalApprove not implemented") +} +func (UnimplementedWalletServer) ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposalDelete not implemented") +} +func (UnimplementedWalletServer) BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method BuyStorage not implemented") +} +func (UnimplementedWalletServer) BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method BuyStorageBytes not implemented") +} +func (UnimplementedWalletServer) SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method SellStorage not implemented") +} +func (UnimplementedWalletServer) ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeCreate not implemented") +} +func (UnimplementedWalletServer) ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeInject not implemented") +} +func (UnimplementedWalletServer) ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeWithdraw not implemented") +} +func (UnimplementedWalletServer) ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ExchangeTransaction not implemented") +} +func (UnimplementedWalletServer) MarketSellAsset(context.Context, *core.MarketSellAssetContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method MarketSellAsset not implemented") +} +func (UnimplementedWalletServer) MarketCancelOrder(context.Context, *core.MarketCancelOrderContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method MarketCancelOrder not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderById not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderByAccount not implemented") +} +func (UnimplementedWalletServer) GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPriceByPair not implemented") +} +func (UnimplementedWalletServer) GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderListByPair not implemented") +} +func (UnimplementedWalletServer) GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPairList not implemented") +} +func (UnimplementedWalletServer) ListNodes(context.Context, *EmptyMessage) (*NodeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListNodes not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByAccount not implemented") +} +func (UnimplementedWalletServer) GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountNet not implemented") +} +func (UnimplementedWalletServer) GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountResource not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") +} +func (UnimplementedWalletServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedWalletServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") +} +func (UnimplementedWalletServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedWalletServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") +} +func (UnimplementedWalletServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") +} +func (UnimplementedWalletServer) GetBlockById(context.Context, *BytesMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockById not implemented") +} +func (UnimplementedWalletServer) GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext not implemented") +} +func (UnimplementedWalletServer) GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLimitNext2 not implemented") +} +func (UnimplementedWalletServer) GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum not implemented") +} +func (UnimplementedWalletServer) GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByLatestNum2 not implemented") +} +func (UnimplementedWalletServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") +} +func (UnimplementedWalletServer) DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeployContract not implemented") +} +func (UnimplementedWalletServer) GetContract(context.Context, *BytesMessage) (*core.SmartContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContract not implemented") +} +func (UnimplementedWalletServer) GetContractInfo(context.Context, *BytesMessage) (*core.SmartContractDataWrapper, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetContractInfo not implemented") +} +func (UnimplementedWalletServer) TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerContract not implemented") +} +func (UnimplementedWalletServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") +} +func (UnimplementedWalletServer) EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method EstimateEnergy not implemented") +} +func (UnimplementedWalletServer) ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClearContractABI not implemented") +} +func (UnimplementedWalletServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceV2 not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") +} +func (UnimplementedWalletServer) GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndexV2 not implemented") +} +func (UnimplementedWalletServer) GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanDelegatedMaxSize not implemented") +} +func (UnimplementedWalletServer) GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAvailableUnfreezeCount not implemented") +} +func (UnimplementedWalletServer) GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanWithdrawUnfreezeAmount not implemented") +} +func (UnimplementedWalletServer) ListProposals(context.Context, *EmptyMessage) (*ProposalList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListProposals not implemented") +} +func (UnimplementedWalletServer) GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedProposalList not implemented") +} +func (UnimplementedWalletServer) GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetProposalById not implemented") +} +func (UnimplementedWalletServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") +} +func (UnimplementedWalletServer) GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedExchangeList not implemented") +} +func (UnimplementedWalletServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") +} +func (UnimplementedWalletServer) GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetChainParameters not implemented") +} +func (UnimplementedWalletServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") +} +func (UnimplementedWalletServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") +} +func (UnimplementedWalletServer) TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method TotalTransaction not implemented") +} +func (UnimplementedWalletServer) GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNextMaintenanceTime not implemented") +} +func (UnimplementedWalletServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") +} +func (UnimplementedWalletServer) AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method AccountPermissionUpdate not implemented") +} +func (UnimplementedWalletServer) GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionSignWeight not implemented") +} +func (UnimplementedWalletServer) GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionApprovedList not implemented") +} +func (UnimplementedWalletServer) GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNodeInfo not implemented") +} +func (UnimplementedWalletServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") +} +func (UnimplementedWalletServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") +} +func (UnimplementedWalletServer) UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateBrokerage not implemented") +} +func (UnimplementedWalletServer) CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransaction not implemented") +} +func (UnimplementedWalletServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") +} +func (UnimplementedWalletServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") +} +func (UnimplementedWalletServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") +} +func (UnimplementedWalletServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") +} +func (UnimplementedWalletServer) GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSpendingKey not implemented") +} +func (UnimplementedWalletServer) GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExpandedSpendingKey not implemented") +} +func (UnimplementedWalletServer) GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAkFromAsk not implemented") +} +func (UnimplementedWalletServer) GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNkFromNsk not implemented") +} +func (UnimplementedWalletServer) GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIncomingViewingKey not implemented") +} +func (UnimplementedWalletServer) GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDiversifier not implemented") +} +func (UnimplementedWalletServer) GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNewShieldedAddress not implemented") +} +func (UnimplementedWalletServer) GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetZenPaymentAddress not implemented") +} +func (UnimplementedWalletServer) GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRcm not implemented") +} +func (UnimplementedWalletServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") +} +func (UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedTransactionWithoutSpendAuthSig not implemented") +} +func (UnimplementedWalletServer) GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetShieldTransactionHash not implemented") +} +func (UnimplementedWalletServer) CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateSpendAuthSig not implemented") +} +func (UnimplementedWalletServer) CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldNullifier not implemented") +} +func (UnimplementedWalletServer) CreateShieldedContractParameters(context.Context, *PrivateShieldedTRC20Parameters) (*ShieldedTRC20Parameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedContractParameters not implemented") +} +func (UnimplementedWalletServer) CreateShieldedContractParametersWithoutAsk(context.Context, *PrivateShieldedTRC20ParametersWithoutAsk) (*ShieldedTRC20Parameters, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateShieldedContractParametersWithoutAsk not implemented") +} +func (UnimplementedWalletServer) ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByIvk not implemented") +} +func (UnimplementedWalletServer) ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByOvk not implemented") +} +func (UnimplementedWalletServer) IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsShieldedTRC20ContractNoteSpent not implemented") +} +func (UnimplementedWalletServer) GetTriggerInputForShieldedTRC20Contract(context.Context, *ShieldedTRC20TriggerContractParameters) (*BytesMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTriggerInputForShieldedTRC20Contract not implemented") +} +func (UnimplementedWalletServer) CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCommonTransaction not implemented") +} +func (UnimplementedWalletServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") +} +func (UnimplementedWalletServer) GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBurnTrx not implemented") +} +func (UnimplementedWalletServer) GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionFromPending not implemented") +} +func (UnimplementedWalletServer) GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionListFromPending not implemented") +} +func (UnimplementedWalletServer) GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPendingSize not implemented") +} +func (UnimplementedWalletServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") +} +func (UnimplementedWalletServer) GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBandwidthPrices not implemented") +} +func (UnimplementedWalletServer) GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEnergyPrices not implemented") +} +func (UnimplementedWalletServer) GetMemoFee(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMemoFee not implemented") +} +func (UnimplementedWalletServer) mustEmbedUnimplementedWalletServer() {} + +// UnsafeWalletServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletServer will +// result in compilation errors. +type UnsafeWalletServer interface { + mustEmbedUnimplementedWalletServer() +} + +func RegisterWalletServer(s grpc.ServiceRegistrar, srv WalletServer) { + s.RegisterService(&Wallet_ServiceDesc, srv) +} + +func _Wallet_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountById(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountBalanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountBalance(ctx, req.(*core.AccountBalanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockBalanceTrace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BlockBalanceTrace_BlockIdentifier) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockBalanceTrace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockBalanceTrace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockBalanceTrace(ctx, req.(*core.BlockBalanceTrace_BlockIdentifier)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateTransaction(ctx, req.(*core.TransferContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateTransaction2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateTransaction2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateTransaction2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateTransaction2(ctx, req.(*core.TransferContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BroadcastTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BroadcastTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BroadcastTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BroadcastTransaction(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAccount(ctx, req.(*core.AccountUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_SetAccountId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.SetAccountIdContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).SetAccountId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/SetAccountId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).SetAccountId(ctx, req.(*core.SetAccountIdContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAccount2(ctx, req.(*core.AccountUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_VoteWitnessAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.VoteWitnessContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).VoteWitnessAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/VoteWitnessAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).VoteWitnessAccount(ctx, req.(*core.VoteWitnessContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateSettingContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateSetting(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateSetting", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateSetting(ctx, req.(*core.UpdateSettingContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateEnergyLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateEnergyLimitContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateEnergyLimit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateEnergyLimit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateEnergyLimit(ctx, req.(*core.UpdateEnergyLimitContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_VoteWitnessAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.VoteWitnessContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).VoteWitnessAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/VoteWitnessAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).VoteWitnessAccount2(ctx, req.(*core.VoteWitnessContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAssetIssue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAssetIssue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAssetIssue(ctx, req.(*core.AssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAssetIssue2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAssetIssue2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAssetIssue2(ctx, req.(*core.AssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateWitness(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateWitness", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateWitness(ctx, req.(*core.WitnessUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateWitness2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateWitness2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateWitness2(ctx, req.(*core.WitnessUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAccount(ctx, req.(*core.AccountCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateAccount2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateAccount2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateAccount2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateAccount2(ctx, req.(*core.AccountCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateWitness_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateWitness(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateWitness", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateWitness(ctx, req.(*core.WitnessCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateWitness2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WitnessCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateWitness2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateWitness2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateWitness2(ctx, req.(*core.WitnessCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TransferAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TransferAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TransferAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TransferAsset(ctx, req.(*core.TransferAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TransferAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TransferAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TransferAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TransferAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TransferAsset2(ctx, req.(*core.TransferAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ParticipateAssetIssue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ParticipateAssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ParticipateAssetIssue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ParticipateAssetIssue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ParticipateAssetIssue(ctx, req.(*core.ParticipateAssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ParticipateAssetIssue2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ParticipateAssetIssueContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ParticipateAssetIssue2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ParticipateAssetIssue2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ParticipateAssetIssue2(ctx, req.(*core.ParticipateAssetIssueContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalance(ctx, req.(*core.FreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalance2(ctx, req.(*core.FreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_FreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.FreezeBalanceV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).FreezeBalanceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/FreezeBalanceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).FreezeBalanceV2(ctx, req.(*core.FreezeBalanceV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalance(ctx, req.(*core.UnfreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalance2(ctx, req.(*core.UnfreezeBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeBalanceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeBalanceV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeBalanceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeBalanceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeBalanceV2(ctx, req.(*core.UnfreezeBalanceV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeAsset(ctx, req.(*core.UnfreezeAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnfreezeAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnfreezeAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnfreezeAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnfreezeAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnfreezeAsset2(ctx, req.(*core.UnfreezeAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawBalance(ctx, req.(*core.WithdrawBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawBalance2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawBalanceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawBalance2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawBalance2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawBalance2(ctx, req.(*core.WithdrawBalanceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_WithdrawExpireUnfreeze_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.WithdrawExpireUnfreezeContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).WithdrawExpireUnfreeze(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/WithdrawExpireUnfreeze", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).WithdrawExpireUnfreeze(ctx, req.(*core.WithdrawExpireUnfreezeContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_DelegateResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.DelegateResourceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).DelegateResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/DelegateResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).DelegateResource(ctx, req.(*core.DelegateResourceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UnDelegateResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UnDelegateResourceContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UnDelegateResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UnDelegateResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UnDelegateResource(ctx, req.(*core.UnDelegateResourceContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CancelAllUnfreezeV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.CancelAllUnfreezeV2Contract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CancelAllUnfreezeV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CancelAllUnfreezeV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CancelAllUnfreezeV2(ctx, req.(*core.CancelAllUnfreezeV2Contract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAsset(ctx, req.(*core.UpdateAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateAsset2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateAsset2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateAsset2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateAsset2(ctx, req.(*core.UpdateAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalCreate(ctx, req.(*core.ProposalCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalApproveContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalApprove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalApprove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalApprove(ctx, req.(*core.ProposalApproveContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ProposalDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ProposalDeleteContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ProposalDelete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ProposalDelete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ProposalDelete(ctx, req.(*core.ProposalDeleteContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BuyStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BuyStorageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BuyStorage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BuyStorage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BuyStorage(ctx, req.(*core.BuyStorageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_BuyStorageBytes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.BuyStorageBytesContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).BuyStorageBytes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/BuyStorageBytes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).BuyStorageBytes(ctx, req.(*core.BuyStorageBytesContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_SellStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.SellStorageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).SellStorage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/SellStorage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).SellStorage(ctx, req.(*core.SellStorageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeCreateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeCreate(ctx, req.(*core.ExchangeCreateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeInject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeInjectContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeInject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeInject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeInject(ctx, req.(*core.ExchangeInjectContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeWithdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeWithdrawContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeWithdraw(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeWithdraw", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeWithdraw(ctx, req.(*core.ExchangeWithdrawContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ExchangeTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ExchangeTransactionContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ExchangeTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ExchangeTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ExchangeTransaction(ctx, req.(*core.ExchangeTransactionContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_MarketSellAsset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketSellAssetContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).MarketSellAsset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/MarketSellAsset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).MarketSellAsset(ctx, req.(*core.MarketSellAssetContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_MarketCancelOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketCancelOrderContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).MarketCancelOrder(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/MarketCancelOrder", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).MarketCancelOrder(ctx, req.(*core.MarketCancelOrderContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketPriceByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketPriceByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketPriceByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketOrderListByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketOrderListByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketOrderListByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMarketPairList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMarketPairList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMarketPairList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMarketPairList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListNodes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListNodes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListNodes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListNodes(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueByAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountNet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountNet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountNet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountNet(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAccountResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAccountResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAccountResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAccountResource(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueListByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueListByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNowBlock2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNowBlock2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNowBlock2(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionCountByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLimitNext_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockLimit) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLimitNext(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLimitNext", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLimitNext(ctx, req.(*BlockLimit)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLimitNext2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockLimit) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLimitNext2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLimitNext2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLimitNext2(ctx, req.(*BlockLimit)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLatestNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLatestNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLatestNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLatestNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlockByLatestNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlockByLatestNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlockByLatestNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlockByLatestNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_DeployContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.CreateSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).DeployContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/DeployContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).DeployContract(ctx, req.(*core.CreateSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetContract(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetContractInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetContractInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetContractInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetContractInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TriggerContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TriggerContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TriggerContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TriggerContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TriggerConstantContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TriggerConstantContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_EstimateEnergy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).EstimateEnergy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/EstimateEnergy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ClearContractABI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.ClearABIContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ClearContractABI(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ClearContractABI", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ClearContractABI(ctx, req.(*core.ClearABIContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListWitnesses(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListWitnesses", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListWitnesses(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDelegatedResourceAccountIndexV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDelegatedResourceAccountIndexV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanDelegatedMaxSizeRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetCanDelegatedMaxSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetCanDelegatedMaxSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAvailableUnfreezeCountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAvailableUnfreezeCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAvailableUnfreezeCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanWithdrawUnfreezeAmountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetCanWithdrawUnfreezeAmount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetCanWithdrawUnfreezeAmount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListProposals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListProposals(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListProposals", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListProposals(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedProposalList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedProposalList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedProposalList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedProposalList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetProposalById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetProposalById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetProposalById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetProposalById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ListExchanges(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ListExchanges", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ListExchanges(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedExchangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedExchangeList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedExchangeList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedExchangeList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetExchangeById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetExchangeById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetExchangeById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetChainParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetChainParameters(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetChainParameters", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetChainParameters(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPaginatedAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_TotalTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).TotalTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/TotalTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).TotalTransaction(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNextMaintenanceTime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNextMaintenanceTime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNextMaintenanceTime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNextMaintenanceTime(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionInfoById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionInfoById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_AccountPermissionUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.AccountPermissionUpdateContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).AccountPermissionUpdate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/AccountPermissionUpdate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).AccountPermissionUpdate(ctx, req.(*core.AccountPermissionUpdateContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionSignWeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionSignWeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionSignWeight", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionSignWeight(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionApprovedList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionApprovedList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionApprovedList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionApprovedList(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNodeInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNodeInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNodeInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNodeInfo(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetRewardInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetRewardInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetRewardInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBrokerageInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBrokerageInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_UpdateBrokerage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.UpdateBrokerageContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).UpdateBrokerage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/UpdateBrokerage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).UpdateBrokerage(ctx, req.(*core.UpdateBrokerageContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedTransaction(ctx, req.(*PrivateParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.OutputPointInfo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMerkleTreeVoucherInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptAndMarkParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanAndMarkNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanNoteByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanNoteByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetSpendingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetSpendingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetSpendingKey(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetExpandedSpendingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetExpandedSpendingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetExpandedSpendingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetExpandedSpendingKey(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetAkFromAsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetAkFromAsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetAkFromAsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetAkFromAsk(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNkFromNsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNkFromNsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNkFromNsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNkFromNsk(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetIncomingViewingKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ViewingKeyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetIncomingViewingKey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetIncomingViewingKey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetIncomingViewingKey(ctx, req.(*ViewingKeyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetDiversifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetDiversifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetDiversifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetDiversifier(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetNewShieldedAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetNewShieldedAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetNewShieldedAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetNewShieldedAddress(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetZenPaymentAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IncomingViewingKeyDiversifierMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetZenPaymentAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetZenPaymentAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetZenPaymentAddress(ctx, req.(*IncomingViewingKeyDiversifierMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetRcm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetRcm(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetRcm", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetRcm(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NoteParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).IsSpend(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/IsSpend", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).IsSpend(ctx, req.(*NoteParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateParametersWithoutAsk) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedTransactionWithoutSpendAuthSig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedTransactionWithoutSpendAuthSig(ctx, req.(*PrivateParametersWithoutAsk)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetShieldTransactionHash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetShieldTransactionHash(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetShieldTransactionHash", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetShieldTransactionHash(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateSpendAuthSig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpendAuthSigParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateSpendAuthSig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateSpendAuthSig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateSpendAuthSig(ctx, req.(*SpendAuthSigParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldNullifier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldNullifier(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldNullifier", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldNullifier(ctx, req.(*NfParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedContractParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateShieldedTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedContractParameters(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedContractParameters", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedContractParameters(ctx, req.(*PrivateShieldedTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateShieldedContractParametersWithoutAsk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PrivateShieldedTRC20ParametersWithoutAsk) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateShieldedContractParametersWithoutAsk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateShieldedContractParametersWithoutAsk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateShieldedContractParametersWithoutAsk(ctx, req.(*PrivateShieldedTRC20ParametersWithoutAsk)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanShieldedTRC20NotesByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).ScanShieldedTRC20NotesByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/ScanShieldedTRC20NotesByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).IsShieldedTRC20ContractNoteSpent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/IsShieldedTRC20ContractNoteSpent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ShieldedTRC20TriggerContractParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTriggerInputForShieldedTRC20Contract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTriggerInputForShieldedTRC20Contract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTriggerInputForShieldedTRC20Contract(ctx, req.(*ShieldedTRC20TriggerContractParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_CreateCommonTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Transaction) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).CreateCommonTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/CreateCommonTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).CreateCommonTransaction(ctx, req.(*core.Transaction)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionInfoByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBurnTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBurnTrx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBurnTrx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBurnTrx(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionFromPending_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionFromPending(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionFromPending", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionFromPending(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetTransactionListFromPending_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetTransactionListFromPending(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetTransactionListFromPending", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetTransactionListFromPending(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetPendingSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetPendingSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetPendingSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetPendingSize(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBlock(ctx, req.(*BlockReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetBandwidthPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetBandwidthPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetBandwidthPrices", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetBandwidthPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetEnergyPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetEnergyPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetEnergyPrices", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetEnergyPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Wallet_GetMemoFee_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletServer).GetMemoFee(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Wallet/GetMemoFee", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletServer).GetMemoFee(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// Wallet_ServiceDesc is the grpc.ServiceDesc for Wallet service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Wallet_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Wallet", + HandlerType: (*WalletServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccount", + Handler: _Wallet_GetAccount_Handler, + }, + { + MethodName: "GetAccountById", + Handler: _Wallet_GetAccountById_Handler, + }, + { + MethodName: "GetAccountBalance", + Handler: _Wallet_GetAccountBalance_Handler, + }, + { + MethodName: "GetBlockBalanceTrace", + Handler: _Wallet_GetBlockBalanceTrace_Handler, + }, + { + MethodName: "CreateTransaction", + Handler: _Wallet_CreateTransaction_Handler, + }, + { + MethodName: "CreateTransaction2", + Handler: _Wallet_CreateTransaction2_Handler, + }, + { + MethodName: "BroadcastTransaction", + Handler: _Wallet_BroadcastTransaction_Handler, + }, + { + MethodName: "UpdateAccount", + Handler: _Wallet_UpdateAccount_Handler, + }, + { + MethodName: "SetAccountId", + Handler: _Wallet_SetAccountId_Handler, + }, + { + MethodName: "UpdateAccount2", + Handler: _Wallet_UpdateAccount2_Handler, + }, + { + MethodName: "VoteWitnessAccount", + Handler: _Wallet_VoteWitnessAccount_Handler, + }, + { + MethodName: "UpdateSetting", + Handler: _Wallet_UpdateSetting_Handler, + }, + { + MethodName: "UpdateEnergyLimit", + Handler: _Wallet_UpdateEnergyLimit_Handler, + }, + { + MethodName: "VoteWitnessAccount2", + Handler: _Wallet_VoteWitnessAccount2_Handler, + }, + { + MethodName: "CreateAssetIssue", + Handler: _Wallet_CreateAssetIssue_Handler, + }, + { + MethodName: "CreateAssetIssue2", + Handler: _Wallet_CreateAssetIssue2_Handler, + }, + { + MethodName: "UpdateWitness", + Handler: _Wallet_UpdateWitness_Handler, + }, + { + MethodName: "UpdateWitness2", + Handler: _Wallet_UpdateWitness2_Handler, + }, + { + MethodName: "CreateAccount", + Handler: _Wallet_CreateAccount_Handler, + }, + { + MethodName: "CreateAccount2", + Handler: _Wallet_CreateAccount2_Handler, + }, + { + MethodName: "CreateWitness", + Handler: _Wallet_CreateWitness_Handler, + }, + { + MethodName: "CreateWitness2", + Handler: _Wallet_CreateWitness2_Handler, + }, + { + MethodName: "TransferAsset", + Handler: _Wallet_TransferAsset_Handler, + }, + { + MethodName: "TransferAsset2", + Handler: _Wallet_TransferAsset2_Handler, + }, + { + MethodName: "ParticipateAssetIssue", + Handler: _Wallet_ParticipateAssetIssue_Handler, + }, + { + MethodName: "ParticipateAssetIssue2", + Handler: _Wallet_ParticipateAssetIssue2_Handler, + }, + { + MethodName: "FreezeBalance", + Handler: _Wallet_FreezeBalance_Handler, + }, + { + MethodName: "FreezeBalance2", + Handler: _Wallet_FreezeBalance2_Handler, + }, + { + MethodName: "FreezeBalanceV2", + Handler: _Wallet_FreezeBalanceV2_Handler, + }, + { + MethodName: "UnfreezeBalance", + Handler: _Wallet_UnfreezeBalance_Handler, + }, + { + MethodName: "UnfreezeBalance2", + Handler: _Wallet_UnfreezeBalance2_Handler, + }, + { + MethodName: "UnfreezeBalanceV2", + Handler: _Wallet_UnfreezeBalanceV2_Handler, + }, + { + MethodName: "UnfreezeAsset", + Handler: _Wallet_UnfreezeAsset_Handler, + }, + { + MethodName: "UnfreezeAsset2", + Handler: _Wallet_UnfreezeAsset2_Handler, + }, + { + MethodName: "WithdrawBalance", + Handler: _Wallet_WithdrawBalance_Handler, + }, + { + MethodName: "WithdrawBalance2", + Handler: _Wallet_WithdrawBalance2_Handler, + }, + { + MethodName: "WithdrawExpireUnfreeze", + Handler: _Wallet_WithdrawExpireUnfreeze_Handler, + }, + { + MethodName: "DelegateResource", + Handler: _Wallet_DelegateResource_Handler, + }, + { + MethodName: "UnDelegateResource", + Handler: _Wallet_UnDelegateResource_Handler, + }, + { + MethodName: "CancelAllUnfreezeV2", + Handler: _Wallet_CancelAllUnfreezeV2_Handler, + }, + { + MethodName: "UpdateAsset", + Handler: _Wallet_UpdateAsset_Handler, + }, + { + MethodName: "UpdateAsset2", + Handler: _Wallet_UpdateAsset2_Handler, + }, + { + MethodName: "ProposalCreate", + Handler: _Wallet_ProposalCreate_Handler, + }, + { + MethodName: "ProposalApprove", + Handler: _Wallet_ProposalApprove_Handler, + }, + { + MethodName: "ProposalDelete", + Handler: _Wallet_ProposalDelete_Handler, + }, + { + MethodName: "BuyStorage", + Handler: _Wallet_BuyStorage_Handler, + }, + { + MethodName: "BuyStorageBytes", + Handler: _Wallet_BuyStorageBytes_Handler, + }, + { + MethodName: "SellStorage", + Handler: _Wallet_SellStorage_Handler, + }, + { + MethodName: "ExchangeCreate", + Handler: _Wallet_ExchangeCreate_Handler, + }, + { + MethodName: "ExchangeInject", + Handler: _Wallet_ExchangeInject_Handler, + }, + { + MethodName: "ExchangeWithdraw", + Handler: _Wallet_ExchangeWithdraw_Handler, + }, + { + MethodName: "ExchangeTransaction", + Handler: _Wallet_ExchangeTransaction_Handler, + }, + { + MethodName: "MarketSellAsset", + Handler: _Wallet_MarketSellAsset_Handler, + }, + { + MethodName: "MarketCancelOrder", + Handler: _Wallet_MarketCancelOrder_Handler, + }, + { + MethodName: "GetMarketOrderById", + Handler: _Wallet_GetMarketOrderById_Handler, + }, + { + MethodName: "GetMarketOrderByAccount", + Handler: _Wallet_GetMarketOrderByAccount_Handler, + }, + { + MethodName: "GetMarketPriceByPair", + Handler: _Wallet_GetMarketPriceByPair_Handler, + }, + { + MethodName: "GetMarketOrderListByPair", + Handler: _Wallet_GetMarketOrderListByPair_Handler, + }, + { + MethodName: "GetMarketPairList", + Handler: _Wallet_GetMarketPairList_Handler, + }, + { + MethodName: "ListNodes", + Handler: _Wallet_ListNodes_Handler, + }, + { + MethodName: "GetAssetIssueByAccount", + Handler: _Wallet_GetAssetIssueByAccount_Handler, + }, + { + MethodName: "GetAccountNet", + Handler: _Wallet_GetAccountNet_Handler, + }, + { + MethodName: "GetAccountResource", + Handler: _Wallet_GetAccountResource_Handler, + }, + { + MethodName: "GetAssetIssueByName", + Handler: _Wallet_GetAssetIssueByName_Handler, + }, + { + MethodName: "GetAssetIssueListByName", + Handler: _Wallet_GetAssetIssueListByName_Handler, + }, + { + MethodName: "GetAssetIssueById", + Handler: _Wallet_GetAssetIssueById_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _Wallet_GetNowBlock_Handler, + }, + { + MethodName: "GetNowBlock2", + Handler: _Wallet_GetNowBlock2_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _Wallet_GetBlockByNum_Handler, + }, + { + MethodName: "GetBlockByNum2", + Handler: _Wallet_GetBlockByNum2_Handler, + }, + { + MethodName: "GetTransactionCountByBlockNum", + Handler: _Wallet_GetTransactionCountByBlockNum_Handler, + }, + { + MethodName: "GetBlockById", + Handler: _Wallet_GetBlockById_Handler, + }, + { + MethodName: "GetBlockByLimitNext", + Handler: _Wallet_GetBlockByLimitNext_Handler, + }, + { + MethodName: "GetBlockByLimitNext2", + Handler: _Wallet_GetBlockByLimitNext2_Handler, + }, + { + MethodName: "GetBlockByLatestNum", + Handler: _Wallet_GetBlockByLatestNum_Handler, + }, + { + MethodName: "GetBlockByLatestNum2", + Handler: _Wallet_GetBlockByLatestNum2_Handler, + }, + { + MethodName: "GetTransactionById", + Handler: _Wallet_GetTransactionById_Handler, + }, + { + MethodName: "DeployContract", + Handler: _Wallet_DeployContract_Handler, + }, + { + MethodName: "GetContract", + Handler: _Wallet_GetContract_Handler, + }, + { + MethodName: "GetContractInfo", + Handler: _Wallet_GetContractInfo_Handler, + }, + { + MethodName: "TriggerContract", + Handler: _Wallet_TriggerContract_Handler, + }, + { + MethodName: "TriggerConstantContract", + Handler: _Wallet_TriggerConstantContract_Handler, + }, + { + MethodName: "EstimateEnergy", + Handler: _Wallet_EstimateEnergy_Handler, + }, + { + MethodName: "ClearContractABI", + Handler: _Wallet_ClearContractABI_Handler, + }, + { + MethodName: "ListWitnesses", + Handler: _Wallet_ListWitnesses_Handler, + }, + { + MethodName: "GetDelegatedResource", + Handler: _Wallet_GetDelegatedResource_Handler, + }, + { + MethodName: "GetDelegatedResourceV2", + Handler: _Wallet_GetDelegatedResourceV2_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndex", + Handler: _Wallet_GetDelegatedResourceAccountIndex_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndexV2", + Handler: _Wallet_GetDelegatedResourceAccountIndexV2_Handler, + }, + { + MethodName: "GetCanDelegatedMaxSize", + Handler: _Wallet_GetCanDelegatedMaxSize_Handler, + }, + { + MethodName: "GetAvailableUnfreezeCount", + Handler: _Wallet_GetAvailableUnfreezeCount_Handler, + }, + { + MethodName: "GetCanWithdrawUnfreezeAmount", + Handler: _Wallet_GetCanWithdrawUnfreezeAmount_Handler, + }, + { + MethodName: "ListProposals", + Handler: _Wallet_ListProposals_Handler, + }, + { + MethodName: "GetPaginatedProposalList", + Handler: _Wallet_GetPaginatedProposalList_Handler, + }, + { + MethodName: "GetProposalById", + Handler: _Wallet_GetProposalById_Handler, + }, + { + MethodName: "ListExchanges", + Handler: _Wallet_ListExchanges_Handler, + }, + { + MethodName: "GetPaginatedExchangeList", + Handler: _Wallet_GetPaginatedExchangeList_Handler, + }, + { + MethodName: "GetExchangeById", + Handler: _Wallet_GetExchangeById_Handler, + }, + { + MethodName: "GetChainParameters", + Handler: _Wallet_GetChainParameters_Handler, + }, + { + MethodName: "GetAssetIssueList", + Handler: _Wallet_GetAssetIssueList_Handler, + }, + { + MethodName: "GetPaginatedAssetIssueList", + Handler: _Wallet_GetPaginatedAssetIssueList_Handler, + }, + { + MethodName: "TotalTransaction", + Handler: _Wallet_TotalTransaction_Handler, + }, + { + MethodName: "GetNextMaintenanceTime", + Handler: _Wallet_GetNextMaintenanceTime_Handler, + }, + { + MethodName: "GetTransactionInfoById", + Handler: _Wallet_GetTransactionInfoById_Handler, + }, + { + MethodName: "AccountPermissionUpdate", + Handler: _Wallet_AccountPermissionUpdate_Handler, + }, + { + MethodName: "GetTransactionSignWeight", + Handler: _Wallet_GetTransactionSignWeight_Handler, + }, + { + MethodName: "GetTransactionApprovedList", + Handler: _Wallet_GetTransactionApprovedList_Handler, + }, + { + MethodName: "GetNodeInfo", + Handler: _Wallet_GetNodeInfo_Handler, + }, + { + MethodName: "GetRewardInfo", + Handler: _Wallet_GetRewardInfo_Handler, + }, + { + MethodName: "GetBrokerageInfo", + Handler: _Wallet_GetBrokerageInfo_Handler, + }, + { + MethodName: "UpdateBrokerage", + Handler: _Wallet_UpdateBrokerage_Handler, + }, + { + MethodName: "CreateShieldedTransaction", + Handler: _Wallet_CreateShieldedTransaction_Handler, + }, + { + MethodName: "GetMerkleTreeVoucherInfo", + Handler: _Wallet_GetMerkleTreeVoucherInfo_Handler, + }, + { + MethodName: "ScanNoteByIvk", + Handler: _Wallet_ScanNoteByIvk_Handler, + }, + { + MethodName: "ScanAndMarkNoteByIvk", + Handler: _Wallet_ScanAndMarkNoteByIvk_Handler, + }, + { + MethodName: "ScanNoteByOvk", + Handler: _Wallet_ScanNoteByOvk_Handler, + }, + { + MethodName: "GetSpendingKey", + Handler: _Wallet_GetSpendingKey_Handler, + }, + { + MethodName: "GetExpandedSpendingKey", + Handler: _Wallet_GetExpandedSpendingKey_Handler, + }, + { + MethodName: "GetAkFromAsk", + Handler: _Wallet_GetAkFromAsk_Handler, + }, + { + MethodName: "GetNkFromNsk", + Handler: _Wallet_GetNkFromNsk_Handler, + }, + { + MethodName: "GetIncomingViewingKey", + Handler: _Wallet_GetIncomingViewingKey_Handler, + }, + { + MethodName: "GetDiversifier", + Handler: _Wallet_GetDiversifier_Handler, + }, + { + MethodName: "GetNewShieldedAddress", + Handler: _Wallet_GetNewShieldedAddress_Handler, + }, + { + MethodName: "GetZenPaymentAddress", + Handler: _Wallet_GetZenPaymentAddress_Handler, + }, + { + MethodName: "GetRcm", + Handler: _Wallet_GetRcm_Handler, + }, + { + MethodName: "IsSpend", + Handler: _Wallet_IsSpend_Handler, + }, + { + MethodName: "CreateShieldedTransactionWithoutSpendAuthSig", + Handler: _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler, + }, + { + MethodName: "GetShieldTransactionHash", + Handler: _Wallet_GetShieldTransactionHash_Handler, + }, + { + MethodName: "CreateSpendAuthSig", + Handler: _Wallet_CreateSpendAuthSig_Handler, + }, + { + MethodName: "CreateShieldNullifier", + Handler: _Wallet_CreateShieldNullifier_Handler, + }, + { + MethodName: "CreateShieldedContractParameters", + Handler: _Wallet_CreateShieldedContractParameters_Handler, + }, + { + MethodName: "CreateShieldedContractParametersWithoutAsk", + Handler: _Wallet_CreateShieldedContractParametersWithoutAsk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByIvk", + Handler: _Wallet_ScanShieldedTRC20NotesByIvk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByOvk", + Handler: _Wallet_ScanShieldedTRC20NotesByOvk_Handler, + }, + { + MethodName: "IsShieldedTRC20ContractNoteSpent", + Handler: _Wallet_IsShieldedTRC20ContractNoteSpent_Handler, + }, + { + MethodName: "GetTriggerInputForShieldedTRC20Contract", + Handler: _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler, + }, + { + MethodName: "CreateCommonTransaction", + Handler: _Wallet_CreateCommonTransaction_Handler, + }, + { + MethodName: "GetTransactionInfoByBlockNum", + Handler: _Wallet_GetTransactionInfoByBlockNum_Handler, + }, + { + MethodName: "GetBurnTrx", + Handler: _Wallet_GetBurnTrx_Handler, + }, + { + MethodName: "GetTransactionFromPending", + Handler: _Wallet_GetTransactionFromPending_Handler, + }, + { + MethodName: "GetTransactionListFromPending", + Handler: _Wallet_GetTransactionListFromPending_Handler, + }, + { + MethodName: "GetPendingSize", + Handler: _Wallet_GetPendingSize_Handler, + }, + { + MethodName: "GetBlock", + Handler: _Wallet_GetBlock_Handler, + }, + { + MethodName: "GetBandwidthPrices", + Handler: _Wallet_GetBandwidthPrices_Handler, + }, + { + MethodName: "GetEnergyPrices", + Handler: _Wallet_GetEnergyPrices_Handler, + }, + { + MethodName: "GetMemoFee", + Handler: _Wallet_GetMemoFee_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// WalletSolidityClient is the client API for WalletSolidity service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletSolidityClient interface { + GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) + ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) + GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) + GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) + GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) + GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) + ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) + GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) + GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) + GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) + ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) + IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) + ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) + GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) + TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) + EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) + GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) + GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) + GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) + GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) + GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) + GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) + GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) + GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) + GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) +} + +type walletSolidityClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletSolidityClient(cc grpc.ClientConnInterface) WalletSolidityClient { + return &walletSolidityClient{cc} +} + +func (c *walletSolidityClient) GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error) { + out := new(core.Account) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAccountById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error) { + out := new(WitnessList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListWitnesses", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetPaginatedAssetIssueList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error) { + out := new(AssetIssueList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueListByName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error) { + out := new(core.AssetIssueContract) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAssetIssueById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetNowBlock2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlockByNum2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionCountByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResource", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error) { + out := new(DelegatedResourceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error) { + out := new(core.DelegatedResourceAccountIndex) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error) { + out := new(CanDelegatedMaxSizeResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanDelegatedMaxSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error) { + out := new(GetAvailableUnfreezeCountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetAvailableUnfreezeCount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + out := new(CanWithdrawUnfreezeAmountResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error) { + out := new(core.Exchange) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetExchangeById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error) { + out := new(ExchangeList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ListExchanges", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error) { + out := new(core.Transaction) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error) { + out := new(core.TransactionInfo) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error) { + out := new(core.IncrementalMerkleVoucherInfo) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error) { + out := new(DecryptNotesMarked) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error) { + out := new(DecryptNotes) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanNoteByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error) { + out := new(SpendResult) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsSpend", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error) { + out := new(DecryptNotesTRC20) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error) { + out := new(NullifierResult) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetRewardInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBrokerageInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error) { + out := new(TransactionExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/TriggerConstantContract", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error) { + out := new(EstimateEnergyMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/EstimateEnergy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error) { + out := new(TransactionInfoList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error) { + out := new(core.MarketOrder) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderByAccount", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error) { + out := new(core.MarketPriceList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPriceByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error) { + out := new(core.MarketOrderList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketOrderListByPair", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error) { + out := new(core.MarketOrderPairList) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetMarketPairList", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error) { + out := new(NumberMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBurnTrx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error) { + out := new(BlockExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetBandwidthPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetBandwidthPrices", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletSolidityClient) GetEnergyPrices(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*PricesResponseMessage, error) { + out := new(PricesResponseMessage) + err := c.cc.Invoke(ctx, "/protocol.WalletSolidity/GetEnergyPrices", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletSolidityServer is the server API for WalletSolidity service. +// All implementations must embed UnimplementedWalletSolidityServer +// for forward compatibility +type WalletSolidityServer interface { + GetAccount(context.Context, *core.Account) (*core.Account, error) + GetAccountById(context.Context, *core.Account) (*core.Account, error) + ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) + GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) + GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) + GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) + GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) + // Please use GetNowBlock2 instead of this function. + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + // Use this function instead of GetNowBlock. + GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) + // Please use GetBlockByNum2 instead of this function. + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + // Use this function instead of GetBlockByNum. + GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) + GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) + GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) + GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) + GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) + GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) + GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) + GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) + ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) + GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) + GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) + GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) + ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) + ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) + ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) + IsSpend(context.Context, *NoteParameters) (*SpendResult, error) + ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) + IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) + GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) + GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) + TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) + EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) + GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) + GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) + GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) + GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) + GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) + GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) + GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) + GetBlock(context.Context, *BlockReq) (*BlockExtention, error) + GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) + mustEmbedUnimplementedWalletSolidityServer() +} + +// UnimplementedWalletSolidityServer must be embedded to have forward compatible implementations. +type UnimplementedWalletSolidityServer struct { +} + +func (UnimplementedWalletSolidityServer) GetAccount(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented") +} +func (UnimplementedWalletSolidityServer) GetAccountById(context.Context, *core.Account) (*core.Account, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAccountById not implemented") +} +func (UnimplementedWalletSolidityServer) ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListWitnesses not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueList not implemented") +} +func (UnimplementedWalletSolidityServer) GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPaginatedAssetIssueList not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueByName not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueListByName not implemented") +} +func (UnimplementedWalletSolidityServer) GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAssetIssueById not implemented") +} +func (UnimplementedWalletSolidityServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedWalletSolidityServer) GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionCountByBlockNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResource not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceV2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndex not implemented") +} +func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDelegatedResourceAccountIndexV2 not implemented") +} +func (UnimplementedWalletSolidityServer) GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanDelegatedMaxSize not implemented") +} +func (UnimplementedWalletSolidityServer) GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAvailableUnfreezeCount not implemented") +} +func (UnimplementedWalletSolidityServer) GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCanWithdrawUnfreezeAmount not implemented") +} +func (UnimplementedWalletSolidityServer) GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetExchangeById not implemented") +} +func (UnimplementedWalletSolidityServer) ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListExchanges not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionById not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoById not implemented") +} +func (UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMerkleTreeVoucherInfo not implemented") +} +func (UnimplementedWalletSolidityServer) ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanAndMarkNoteByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanNoteByOvk not implemented") +} +func (UnimplementedWalletSolidityServer) IsSpend(context.Context, *NoteParameters) (*SpendResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsSpend not implemented") +} +func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByIvk not implemented") +} +func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error) { + return nil, status.Errorf(codes.Unimplemented, "method ScanShieldedTRC20NotesByOvk not implemented") +} +func (UnimplementedWalletSolidityServer) IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsShieldedTRC20ContractNoteSpent not implemented") +} +func (UnimplementedWalletSolidityServer) GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRewardInfo not implemented") +} +func (UnimplementedWalletSolidityServer) GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBrokerageInfo not implemented") +} +func (UnimplementedWalletSolidityServer) TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method TriggerConstantContract not implemented") +} +func (UnimplementedWalletSolidityServer) EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method EstimateEnergy not implemented") +} +func (UnimplementedWalletSolidityServer) GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionInfoByBlockNum not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderById not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderByAccount not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPriceByPair not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketOrderListByPair not implemented") +} +func (UnimplementedWalletSolidityServer) GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPairList not implemented") +} +func (UnimplementedWalletSolidityServer) GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBurnTrx not implemented") +} +func (UnimplementedWalletSolidityServer) GetBlock(context.Context, *BlockReq) (*BlockExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlock not implemented") +} +func (UnimplementedWalletSolidityServer) GetBandwidthPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBandwidthPrices not implemented") +} +func (UnimplementedWalletSolidityServer) GetEnergyPrices(context.Context, *EmptyMessage) (*PricesResponseMessage, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetEnergyPrices not implemented") +} +func (UnimplementedWalletSolidityServer) mustEmbedUnimplementedWalletSolidityServer() {} + +// UnsafeWalletSolidityServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletSolidityServer will +// result in compilation errors. +type UnsafeWalletSolidityServer interface { + mustEmbedUnimplementedWalletSolidityServer() +} + +func RegisterWalletSolidityServer(s grpc.ServiceRegistrar, srv WalletSolidityServer) { + s.RegisterService(&WalletSolidity_ServiceDesc, srv) +} + +func _WalletSolidity_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAccount(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAccountById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.Account) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAccountById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAccountById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAccountById(ctx, req.(*core.Account)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ListWitnesses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ListWitnesses(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ListWitnesses", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ListWitnesses(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetPaginatedAssetIssueList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PaginatedMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetPaginatedAssetIssueList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetPaginatedAssetIssueList(ctx, req.(*PaginatedMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueListByName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueListByName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueListByName(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAssetIssueById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAssetIssueById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAssetIssueById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAssetIssueById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetNowBlock2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetNowBlock2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetNowBlock2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetNowBlock2(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlockByNum2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlockByNum2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlockByNum2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlockByNum2(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionCountByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionCountByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionCountByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResource(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DelegatedResourceMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceV2(ctx, req.(*DelegatedResourceMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceAccountIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndex(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndexV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetDelegatedResourceAccountIndexV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetDelegatedResourceAccountIndexV2(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetCanDelegatedMaxSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanDelegatedMaxSizeRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetCanDelegatedMaxSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetCanDelegatedMaxSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetCanDelegatedMaxSize(ctx, req.(*CanDelegatedMaxSizeRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetAvailableUnfreezeCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAvailableUnfreezeCountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetAvailableUnfreezeCount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetAvailableUnfreezeCount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetAvailableUnfreezeCount(ctx, req.(*GetAvailableUnfreezeCountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanWithdrawUnfreezeAmountRequestMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetCanWithdrawUnfreezeAmount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetCanWithdrawUnfreezeAmount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetCanWithdrawUnfreezeAmount(ctx, req.(*CanWithdrawUnfreezeAmountRequestMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetExchangeById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetExchangeById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetExchangeById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetExchangeById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ListExchanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ListExchanges(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ListExchanges", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ListExchanges(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionInfoById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionInfoById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMerkleTreeVoucherInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.OutputPointInfo) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMerkleTreeVoucherInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMerkleTreeVoucherInfo(ctx, req.(*core.OutputPointInfo)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanNoteByIvk(ctx, req.(*IvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanAndMarkNoteByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptAndMarkParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanAndMarkNoteByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanAndMarkNoteByIvk(ctx, req.(*IvkDecryptAndMarkParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanNoteByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanNoteByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanNoteByOvk(ctx, req.(*OvkDecryptParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_IsSpend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NoteParameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).IsSpend(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/IsSpend", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).IsSpend(ctx, req.(*NoteParameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByIvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByIvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByIvk(ctx, req.(*IvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OvkDecryptTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByOvk(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/ScanShieldedTRC20NotesByOvk", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).ScanShieldedTRC20NotesByOvk(ctx, req.(*OvkDecryptTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NfTRC20Parameters) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).IsShieldedTRC20ContractNoteSpent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/IsShieldedTRC20ContractNoteSpent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).IsShieldedTRC20ContractNoteSpent(ctx, req.(*NfTRC20Parameters)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetRewardInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetRewardInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetRewardInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetRewardInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBrokerageInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBrokerageInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBrokerageInfo(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_TriggerConstantContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).TriggerConstantContract(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/TriggerConstantContract", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).TriggerConstantContract(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_EstimateEnergy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.TriggerSmartContract) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).EstimateEnergy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/EstimateEnergy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).EstimateEnergy(ctx, req.(*core.TriggerSmartContract)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetTransactionInfoByBlockNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetTransactionInfoByBlockNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetTransactionInfoByBlockNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderById(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderByAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BytesMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderByAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderByAccount", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderByAccount(ctx, req.(*BytesMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketPriceByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketPriceByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketPriceByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketPriceByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketOrderListByPair_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(core.MarketOrderPair) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketOrderListByPair(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketOrderListByPair", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketOrderListByPair(ctx, req.(*core.MarketOrderPair)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetMarketPairList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetMarketPairList(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetMarketPairList", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetMarketPairList(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBurnTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBurnTrx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBurnTrx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBurnTrx(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BlockReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBlock(ctx, req.(*BlockReq)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetBandwidthPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetBandwidthPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetBandwidthPrices", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetBandwidthPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletSolidity_GetEnergyPrices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletSolidityServer).GetEnergyPrices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletSolidity/GetEnergyPrices", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletSolidityServer).GetEnergyPrices(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// WalletSolidity_ServiceDesc is the grpc.ServiceDesc for WalletSolidity service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var WalletSolidity_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.WalletSolidity", + HandlerType: (*WalletSolidityServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAccount", + Handler: _WalletSolidity_GetAccount_Handler, + }, + { + MethodName: "GetAccountById", + Handler: _WalletSolidity_GetAccountById_Handler, + }, + { + MethodName: "ListWitnesses", + Handler: _WalletSolidity_ListWitnesses_Handler, + }, + { + MethodName: "GetAssetIssueList", + Handler: _WalletSolidity_GetAssetIssueList_Handler, + }, + { + MethodName: "GetPaginatedAssetIssueList", + Handler: _WalletSolidity_GetPaginatedAssetIssueList_Handler, + }, + { + MethodName: "GetAssetIssueByName", + Handler: _WalletSolidity_GetAssetIssueByName_Handler, + }, + { + MethodName: "GetAssetIssueListByName", + Handler: _WalletSolidity_GetAssetIssueListByName_Handler, + }, + { + MethodName: "GetAssetIssueById", + Handler: _WalletSolidity_GetAssetIssueById_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _WalletSolidity_GetNowBlock_Handler, + }, + { + MethodName: "GetNowBlock2", + Handler: _WalletSolidity_GetNowBlock2_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _WalletSolidity_GetBlockByNum_Handler, + }, + { + MethodName: "GetBlockByNum2", + Handler: _WalletSolidity_GetBlockByNum2_Handler, + }, + { + MethodName: "GetTransactionCountByBlockNum", + Handler: _WalletSolidity_GetTransactionCountByBlockNum_Handler, + }, + { + MethodName: "GetDelegatedResource", + Handler: _WalletSolidity_GetDelegatedResource_Handler, + }, + { + MethodName: "GetDelegatedResourceV2", + Handler: _WalletSolidity_GetDelegatedResourceV2_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndex", + Handler: _WalletSolidity_GetDelegatedResourceAccountIndex_Handler, + }, + { + MethodName: "GetDelegatedResourceAccountIndexV2", + Handler: _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler, + }, + { + MethodName: "GetCanDelegatedMaxSize", + Handler: _WalletSolidity_GetCanDelegatedMaxSize_Handler, + }, + { + MethodName: "GetAvailableUnfreezeCount", + Handler: _WalletSolidity_GetAvailableUnfreezeCount_Handler, + }, + { + MethodName: "GetCanWithdrawUnfreezeAmount", + Handler: _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler, + }, + { + MethodName: "GetExchangeById", + Handler: _WalletSolidity_GetExchangeById_Handler, + }, + { + MethodName: "ListExchanges", + Handler: _WalletSolidity_ListExchanges_Handler, + }, + { + MethodName: "GetTransactionById", + Handler: _WalletSolidity_GetTransactionById_Handler, + }, + { + MethodName: "GetTransactionInfoById", + Handler: _WalletSolidity_GetTransactionInfoById_Handler, + }, + { + MethodName: "GetMerkleTreeVoucherInfo", + Handler: _WalletSolidity_GetMerkleTreeVoucherInfo_Handler, + }, + { + MethodName: "ScanNoteByIvk", + Handler: _WalletSolidity_ScanNoteByIvk_Handler, + }, + { + MethodName: "ScanAndMarkNoteByIvk", + Handler: _WalletSolidity_ScanAndMarkNoteByIvk_Handler, + }, + { + MethodName: "ScanNoteByOvk", + Handler: _WalletSolidity_ScanNoteByOvk_Handler, + }, + { + MethodName: "IsSpend", + Handler: _WalletSolidity_IsSpend_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByIvk", + Handler: _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler, + }, + { + MethodName: "ScanShieldedTRC20NotesByOvk", + Handler: _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler, + }, + { + MethodName: "IsShieldedTRC20ContractNoteSpent", + Handler: _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler, + }, + { + MethodName: "GetRewardInfo", + Handler: _WalletSolidity_GetRewardInfo_Handler, + }, + { + MethodName: "GetBrokerageInfo", + Handler: _WalletSolidity_GetBrokerageInfo_Handler, + }, + { + MethodName: "TriggerConstantContract", + Handler: _WalletSolidity_TriggerConstantContract_Handler, + }, + { + MethodName: "EstimateEnergy", + Handler: _WalletSolidity_EstimateEnergy_Handler, + }, + { + MethodName: "GetTransactionInfoByBlockNum", + Handler: _WalletSolidity_GetTransactionInfoByBlockNum_Handler, + }, + { + MethodName: "GetMarketOrderById", + Handler: _WalletSolidity_GetMarketOrderById_Handler, + }, + { + MethodName: "GetMarketOrderByAccount", + Handler: _WalletSolidity_GetMarketOrderByAccount_Handler, + }, + { + MethodName: "GetMarketPriceByPair", + Handler: _WalletSolidity_GetMarketPriceByPair_Handler, + }, + { + MethodName: "GetMarketOrderListByPair", + Handler: _WalletSolidity_GetMarketOrderListByPair_Handler, + }, + { + MethodName: "GetMarketPairList", + Handler: _WalletSolidity_GetMarketPairList_Handler, + }, + { + MethodName: "GetBurnTrx", + Handler: _WalletSolidity_GetBurnTrx_Handler, + }, + { + MethodName: "GetBlock", + Handler: _WalletSolidity_GetBlock_Handler, + }, + { + MethodName: "GetBandwidthPrices", + Handler: _WalletSolidity_GetBandwidthPrices_Handler, + }, + { + MethodName: "GetEnergyPrices", + Handler: _WalletSolidity_GetEnergyPrices_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// WalletExtensionClient is the client API for WalletExtension service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WalletExtensionClient interface { + // Please use GetTransactionsFromThis2 instead of this function. + GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) + // Use this function instead of GetTransactionsFromThis. + GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) + // Please use GetTransactionsToThis2 instead of this function. + GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) + // Use this function instead of GetTransactionsToThis. + GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) +} + +type walletExtensionClient struct { + cc grpc.ClientConnInterface +} + +func NewWalletExtensionClient(cc grpc.ClientConnInterface) WalletExtensionClient { + return &walletExtensionClient{cc} +} + +func (c *walletExtensionClient) GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + out := new(TransactionList) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + out := new(TransactionListExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsFromThis2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error) { + out := new(TransactionList) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *walletExtensionClient) GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error) { + out := new(TransactionListExtention) + err := c.cc.Invoke(ctx, "/protocol.WalletExtension/GetTransactionsToThis2", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// WalletExtensionServer is the server API for WalletExtension service. +// All implementations must embed UnimplementedWalletExtensionServer +// for forward compatibility +type WalletExtensionServer interface { + // Please use GetTransactionsFromThis2 instead of this function. + GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) + // Use this function instead of GetTransactionsFromThis. + GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) + // Please use GetTransactionsToThis2 instead of this function. + GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) + // Use this function instead of GetTransactionsToThis. + GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) + mustEmbedUnimplementedWalletExtensionServer() +} + +// UnimplementedWalletExtensionServer must be embedded to have forward compatible implementations. +type UnimplementedWalletExtensionServer struct { +} + +func (UnimplementedWalletExtensionServer) GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsFromThis2 not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis not implemented") +} +func (UnimplementedWalletExtensionServer) GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTransactionsToThis2 not implemented") +} +func (UnimplementedWalletExtensionServer) mustEmbedUnimplementedWalletExtensionServer() {} + +// UnsafeWalletExtensionServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WalletExtensionServer will +// result in compilation errors. +type UnsafeWalletExtensionServer interface { + mustEmbedUnimplementedWalletExtensionServer() +} + +func RegisterWalletExtensionServer(s grpc.ServiceRegistrar, srv WalletExtensionServer) { + s.RegisterService(&WalletExtension_ServiceDesc, srv) +} + +func _WalletExtension_GetTransactionsFromThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsFromThis(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsFromThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsFromThis2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsFromThis2(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsToThis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsToThis", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsToThis(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +func _WalletExtension_GetTransactionsToThis2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AccountPaginated) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.WalletExtension/GetTransactionsToThis2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WalletExtensionServer).GetTransactionsToThis2(ctx, req.(*AccountPaginated)) + } + return interceptor(ctx, in, info, handler) +} + +// WalletExtension_ServiceDesc is the grpc.ServiceDesc for WalletExtension service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var WalletExtension_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.WalletExtension", + HandlerType: (*WalletExtensionServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetTransactionsFromThis", + Handler: _WalletExtension_GetTransactionsFromThis_Handler, + }, + { + MethodName: "GetTransactionsFromThis2", + Handler: _WalletExtension_GetTransactionsFromThis2_Handler, + }, + { + MethodName: "GetTransactionsToThis", + Handler: _WalletExtension_GetTransactionsToThis_Handler, + }, + { + MethodName: "GetTransactionsToThis2", + Handler: _WalletExtension_GetTransactionsToThis2_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// DatabaseClient is the client API for Database service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type DatabaseClient interface { + // for tapos + GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) + GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) + GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) + GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) +} + +type databaseClient struct { + cc grpc.ClientConnInterface +} + +func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient { + return &databaseClient{cc} +} + +func (c *databaseClient) GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error) { + out := new(BlockReference) + err := c.cc.Invoke(ctx, "/protocol.Database/getBlockReference", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error) { + out := new(core.DynamicProperties) + err := c.cc.Invoke(ctx, "/protocol.Database/GetDynamicProperties", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Database/GetNowBlock", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *databaseClient) GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error) { + out := new(core.Block) + err := c.cc.Invoke(ctx, "/protocol.Database/GetBlockByNum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// DatabaseServer is the server API for Database service. +// All implementations must embed UnimplementedDatabaseServer +// for forward compatibility +type DatabaseServer interface { + // for tapos + GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) + GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) + GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) + GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) + mustEmbedUnimplementedDatabaseServer() +} + +// UnimplementedDatabaseServer must be embedded to have forward compatible implementations. +type UnimplementedDatabaseServer struct { +} + +func (UnimplementedDatabaseServer) GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockReference not implemented") +} +func (UnimplementedDatabaseServer) GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDynamicProperties not implemented") +} +func (UnimplementedDatabaseServer) GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetNowBlock not implemented") +} +func (UnimplementedDatabaseServer) GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockByNum not implemented") +} +func (UnimplementedDatabaseServer) mustEmbedUnimplementedDatabaseServer() {} + +// UnsafeDatabaseServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DatabaseServer will +// result in compilation errors. +type UnsafeDatabaseServer interface { + mustEmbedUnimplementedDatabaseServer() +} + +func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer) { + s.RegisterService(&Database_ServiceDesc, srv) +} + +func _Database_GetBlockReference_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetBlockReference(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/getBlockReference", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetBlockReference(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetDynamicProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetDynamicProperties(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetDynamicProperties", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetDynamicProperties(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetNowBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetNowBlock(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetNowBlock", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetNowBlock(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +func _Database_GetBlockByNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DatabaseServer).GetBlockByNum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Database/GetBlockByNum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DatabaseServer).GetBlockByNum(ctx, req.(*NumberMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// Database_ServiceDesc is the grpc.ServiceDesc for Database service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Database_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Database", + HandlerType: (*DatabaseServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "getBlockReference", + Handler: _Database_GetBlockReference_Handler, + }, + { + MethodName: "GetDynamicProperties", + Handler: _Database_GetDynamicProperties_Handler, + }, + { + MethodName: "GetNowBlock", + Handler: _Database_GetNowBlock_Handler, + }, + { + MethodName: "GetBlockByNum", + Handler: _Database_GetBlockByNum_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// MonitorClient is the client API for Monitor service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type MonitorClient interface { + GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) +} + +type monitorClient struct { + cc grpc.ClientConnInterface +} + +func NewMonitorClient(cc grpc.ClientConnInterface) MonitorClient { + return &monitorClient{cc} +} + +func (c *monitorClient) GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error) { + out := new(core.MetricsInfo) + err := c.cc.Invoke(ctx, "/protocol.Monitor/GetStatsInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MonitorServer is the server API for Monitor service. +// All implementations must embed UnimplementedMonitorServer +// for forward compatibility +type MonitorServer interface { + GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) + mustEmbedUnimplementedMonitorServer() +} + +// UnimplementedMonitorServer must be embedded to have forward compatible implementations. +type UnimplementedMonitorServer struct { +} + +func (UnimplementedMonitorServer) GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetStatsInfo not implemented") +} +func (UnimplementedMonitorServer) mustEmbedUnimplementedMonitorServer() {} + +// UnsafeMonitorServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MonitorServer will +// result in compilation errors. +type UnsafeMonitorServer interface { + mustEmbedUnimplementedMonitorServer() +} + +func RegisterMonitorServer(s grpc.ServiceRegistrar, srv MonitorServer) { + s.RegisterService(&Monitor_ServiceDesc, srv) +} + +func _Monitor_GetStatsInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EmptyMessage) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MonitorServer).GetStatsInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.Monitor/GetStatsInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MonitorServer).GetStatsInfo(ctx, req.(*EmptyMessage)) + } + return interceptor(ctx, in, info, handler) +} + +// Monitor_ServiceDesc is the grpc.ServiceDesc for Monitor service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Monitor_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Monitor", + HandlerType: (*MonitorServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetStatsInfo", + Handler: _Monitor_GetStatsInfo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} + +// NetworkClient is the client API for Network service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type NetworkClient interface { +} + +type networkClient struct { + cc grpc.ClientConnInterface +} + +func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient { + return &networkClient{cc} +} + +// NetworkServer is the server API for Network service. +// All implementations must embed UnimplementedNetworkServer +// for forward compatibility +type NetworkServer interface { + mustEmbedUnimplementedNetworkServer() +} + +// UnimplementedNetworkServer must be embedded to have forward compatible implementations. +type UnimplementedNetworkServer struct { +} + +func (UnimplementedNetworkServer) mustEmbedUnimplementedNetworkServer() {} + +// UnsafeNetworkServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to NetworkServer will +// result in compilation errors. +type UnsafeNetworkServer interface { + mustEmbedUnimplementedNetworkServer() +} + +func RegisterNetworkServer(s grpc.ServiceRegistrar, srv NetworkServer) { + s.RegisterService(&Network_ServiceDesc, srv) +} + +// Network_ServiceDesc is the grpc.ServiceDesc for Network service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Network_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.Network", + HandlerType: (*NetworkServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "api/api.proto", +} diff --git a/gen/api/zksnark.pb.go b/gen/api/zksnark.pb.go new file mode 100644 index 0000000..ca7f136 --- /dev/null +++ b/gen/api/zksnark.pb.go @@ -0,0 +1,306 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: api/zksnark.proto + +package api + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + core "kk/pkg/crypto/tron/core" + reflect "reflect" + sync "sync" +) + +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) +) + +type ZksnarkResponse_Code int32 + +const ( + ZksnarkResponse_SUCCESS ZksnarkResponse_Code = 0 + ZksnarkResponse_FAILED ZksnarkResponse_Code = 1 +) + +// Enum value maps for ZksnarkResponse_Code. +var ( + ZksnarkResponse_Code_name = map[int32]string{ + 0: "SUCCESS", + 1: "FAILED", + } + ZksnarkResponse_Code_value = map[string]int32{ + "SUCCESS": 0, + "FAILED": 1, + } +) + +func (x ZksnarkResponse_Code) Enum() *ZksnarkResponse_Code { + p := new(ZksnarkResponse_Code) + *p = x + return p +} + +func (x ZksnarkResponse_Code) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ZksnarkResponse_Code) Descriptor() protoreflect.EnumDescriptor { + return file_api_zksnark_proto_enumTypes[0].Descriptor() +} + +func (ZksnarkResponse_Code) Type() protoreflect.EnumType { + return &file_api_zksnark_proto_enumTypes[0] +} + +func (x ZksnarkResponse_Code) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ZksnarkResponse_Code.Descriptor instead. +func (ZksnarkResponse_Code) EnumDescriptor() ([]byte, []int) { + return file_api_zksnark_proto_rawDescGZIP(), []int{1, 0} +} + +type ZksnarkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Sighash []byte `protobuf:"bytes,2,opt,name=sighash,proto3" json:"sighash,omitempty"` + ValueBalance int64 `protobuf:"varint,3,opt,name=valueBalance,proto3" json:"valueBalance,omitempty"` + TxId string `protobuf:"bytes,4,opt,name=txId,proto3" json:"txId,omitempty"` +} + +func (x *ZksnarkRequest) Reset() { + *x = ZksnarkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_zksnark_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ZksnarkRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ZksnarkRequest) ProtoMessage() {} + +func (x *ZksnarkRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_zksnark_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ZksnarkRequest.ProtoReflect.Descriptor instead. +func (*ZksnarkRequest) Descriptor() ([]byte, []int) { + return file_api_zksnark_proto_rawDescGZIP(), []int{0} +} + +func (x *ZksnarkRequest) GetTransaction() *core.Transaction { + if x != nil { + return x.Transaction + } + return nil +} + +func (x *ZksnarkRequest) GetSighash() []byte { + if x != nil { + return x.Sighash + } + return nil +} + +func (x *ZksnarkRequest) GetValueBalance() int64 { + if x != nil { + return x.ValueBalance + } + return 0 +} + +func (x *ZksnarkRequest) GetTxId() string { + if x != nil { + return x.TxId + } + return "" +} + +type ZksnarkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code ZksnarkResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.ZksnarkResponse_Code" json:"code,omitempty"` +} + +func (x *ZksnarkResponse) Reset() { + *x = ZksnarkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_api_zksnark_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ZksnarkResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ZksnarkResponse) ProtoMessage() {} + +func (x *ZksnarkResponse) ProtoReflect() protoreflect.Message { + mi := &file_api_zksnark_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ZksnarkResponse.ProtoReflect.Descriptor instead. +func (*ZksnarkResponse) Descriptor() ([]byte, []int) { + return file_api_zksnark_proto_rawDescGZIP(), []int{1} +} + +func (x *ZksnarkResponse) GetCode() ZksnarkResponse_Code { + if x != nil { + return x.Code + } + return ZksnarkResponse_SUCCESS +} + +var File_api_zksnark_proto protoreflect.FileDescriptor + +var file_api_zksnark_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x61, 0x70, 0x69, 0x2f, 0x7a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x0f, 0x63, + 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, + 0x01, 0x0a, 0x0e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, + 0x67, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x69, 0x67, + 0x68, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x0f, + 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x32, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x22, 0x1f, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x53, + 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x01, 0x32, 0x59, 0x0a, 0x0b, 0x54, 0x72, 0x6f, 0x6e, 0x5a, 0x6b, 0x73, 0x6e, + 0x61, 0x72, 0x6b, 0x12, 0x4a, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x5a, 0x6b, 0x73, 0x6e, + 0x61, 0x72, 0x6b, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x5a, 0x6b, + 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, + 0x48, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x61, 0x70, 0x69, 0x42, + 0x0e, 0x5a, 0x6b, 0x73, 0x6e, 0x61, 0x72, 0x6b, 0x47, 0x72, 0x70, 0x63, 0x41, 0x50, 0x49, 0x5a, + 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_api_zksnark_proto_rawDescOnce sync.Once + file_api_zksnark_proto_rawDescData = file_api_zksnark_proto_rawDesc +) + +func file_api_zksnark_proto_rawDescGZIP() []byte { + file_api_zksnark_proto_rawDescOnce.Do(func() { + file_api_zksnark_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_zksnark_proto_rawDescData) + }) + return file_api_zksnark_proto_rawDescData +} + +var file_api_zksnark_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_api_zksnark_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_api_zksnark_proto_goTypes = []interface{}{ + (ZksnarkResponse_Code)(0), // 0: protocol.ZksnarkResponse.Code + (*ZksnarkRequest)(nil), // 1: protocol.ZksnarkRequest + (*ZksnarkResponse)(nil), // 2: protocol.ZksnarkResponse + (*core.Transaction)(nil), // 3: protocol.Transaction +} +var file_api_zksnark_proto_depIdxs = []int32{ + 3, // 0: protocol.ZksnarkRequest.transaction:type_name -> protocol.Transaction + 0, // 1: protocol.ZksnarkResponse.code:type_name -> protocol.ZksnarkResponse.Code + 1, // 2: protocol.TronZksnark.CheckZksnarkProof:input_type -> protocol.ZksnarkRequest + 2, // 3: protocol.TronZksnark.CheckZksnarkProof:output_type -> protocol.ZksnarkResponse + 3, // [3:4] is the sub-list for method output_type + 2, // [2:3] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_api_zksnark_proto_init() } +func file_api_zksnark_proto_init() { + if File_api_zksnark_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_api_zksnark_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ZksnarkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_zksnark_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ZksnarkResponse); 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_api_zksnark_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_api_zksnark_proto_goTypes, + DependencyIndexes: file_api_zksnark_proto_depIdxs, + EnumInfos: file_api_zksnark_proto_enumTypes, + MessageInfos: file_api_zksnark_proto_msgTypes, + }.Build() + File_api_zksnark_proto = out.File + file_api_zksnark_proto_rawDesc = nil + file_api_zksnark_proto_goTypes = nil + file_api_zksnark_proto_depIdxs = nil +} diff --git a/gen/api/zksnark_grpc.pb.go b/gen/api/zksnark_grpc.pb.go new file mode 100644 index 0000000..7584e7a --- /dev/null +++ b/gen/api/zksnark_grpc.pb.go @@ -0,0 +1,105 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v4.25.1 +// source: api/zksnark.proto + +package api + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// TronZksnarkClient is the client API for TronZksnark service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type TronZksnarkClient interface { + CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) +} + +type tronZksnarkClient struct { + cc grpc.ClientConnInterface +} + +func NewTronZksnarkClient(cc grpc.ClientConnInterface) TronZksnarkClient { + return &tronZksnarkClient{cc} +} + +func (c *tronZksnarkClient) CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error) { + out := new(ZksnarkResponse) + err := c.cc.Invoke(ctx, "/protocol.TronZksnark/CheckZksnarkProof", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TronZksnarkServer is the server API for TronZksnark service. +// All implementations must embed UnimplementedTronZksnarkServer +// for forward compatibility +type TronZksnarkServer interface { + CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) + mustEmbedUnimplementedTronZksnarkServer() +} + +// UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations. +type UnimplementedTronZksnarkServer struct { +} + +func (UnimplementedTronZksnarkServer) CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckZksnarkProof not implemented") +} +func (UnimplementedTronZksnarkServer) mustEmbedUnimplementedTronZksnarkServer() {} + +// UnsafeTronZksnarkServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TronZksnarkServer will +// result in compilation errors. +type UnsafeTronZksnarkServer interface { + mustEmbedUnimplementedTronZksnarkServer() +} + +func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer) { + s.RegisterService(&TronZksnark_ServiceDesc, srv) +} + +func _TronZksnark_CheckZksnarkProof_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ZksnarkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/protocol.TronZksnark/CheckZksnarkProof", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TronZksnarkServer).CheckZksnarkProof(ctx, req.(*ZksnarkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// TronZksnark_ServiceDesc is the grpc.ServiceDesc for TronZksnark service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var TronZksnark_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "protocol.TronZksnark", + HandlerType: (*TronZksnarkServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CheckZksnarkProof", + Handler: _TronZksnark_CheckZksnarkProof_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api/zksnark.proto", +} diff --git a/gen/core/Discover.pb.go b/gen/core/Discover.pb.go new file mode 100644 index 0000000..e052ea0 --- /dev/null +++ b/gen/core/Discover.pb.go @@ -0,0 +1,586 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/Discover.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type Endpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + NodeId []byte `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"` +} + +func (x *Endpoint) Reset() { + *x = Endpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Endpoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Endpoint) ProtoMessage() {} + +func (x *Endpoint) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Endpoint.ProtoReflect.Descriptor instead. +func (*Endpoint) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{0} +} + +func (x *Endpoint) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Endpoint) GetPort() int32 { + if x != nil { + return x.Port + } + return 0 +} + +func (x *Endpoint) GetNodeId() []byte { + if x != nil { + return x.NodeId + } + return nil +} + +type PingMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To *Endpoint `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *PingMessage) Reset() { + *x = PingMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PingMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PingMessage) ProtoMessage() {} + +func (x *PingMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PingMessage.ProtoReflect.Descriptor instead. +func (*PingMessage) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{1} +} + +func (x *PingMessage) GetFrom() *Endpoint { + if x != nil { + return x.From + } + return nil +} + +func (x *PingMessage) GetTo() *Endpoint { + if x != nil { + return x.To + } + return nil +} + +func (x *PingMessage) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *PingMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type PongMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Echo int32 `protobuf:"varint,2,opt,name=echo,proto3" json:"echo,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *PongMessage) Reset() { + *x = PongMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PongMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PongMessage) ProtoMessage() {} + +func (x *PongMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_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) +} + +// Deprecated: Use PongMessage.ProtoReflect.Descriptor instead. +func (*PongMessage) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{2} +} + +func (x *PongMessage) GetFrom() *Endpoint { + if x != nil { + return x.From + } + return nil +} + +func (x *PongMessage) GetEcho() int32 { + if x != nil { + return x.Echo + } + return 0 +} + +func (x *PongMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type FindNeighbours struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + TargetId []byte `protobuf:"bytes,2,opt,name=targetId,proto3" json:"targetId,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *FindNeighbours) Reset() { + *x = FindNeighbours{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindNeighbours) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindNeighbours) ProtoMessage() {} + +func (x *FindNeighbours) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_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) +} + +// Deprecated: Use FindNeighbours.ProtoReflect.Descriptor instead. +func (*FindNeighbours) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{3} +} + +func (x *FindNeighbours) GetFrom() *Endpoint { + if x != nil { + return x.From + } + return nil +} + +func (x *FindNeighbours) GetTargetId() []byte { + if x != nil { + return x.TargetId + } + return nil +} + +func (x *FindNeighbours) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type Neighbours struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Neighbours []*Endpoint `protobuf:"bytes,2,rep,name=neighbours,proto3" json:"neighbours,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Neighbours) Reset() { + *x = Neighbours{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Neighbours) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Neighbours) ProtoMessage() {} + +func (x *Neighbours) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_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) +} + +// Deprecated: Use Neighbours.ProtoReflect.Descriptor instead. +func (*Neighbours) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{4} +} + +func (x *Neighbours) GetFrom() *Endpoint { + if x != nil { + return x.From + } + return nil +} + +func (x *Neighbours) GetNeighbours() []*Endpoint { + if x != nil { + return x.Neighbours + } + return nil +} + +func (x *Neighbours) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type BackupMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Flag bool `protobuf:"varint,1,opt,name=flag,proto3" json:"flag,omitempty"` + Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` +} + +func (x *BackupMessage) Reset() { + *x = BackupMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Discover_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupMessage) ProtoMessage() {} + +func (x *BackupMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Discover_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) +} + +// Deprecated: Use BackupMessage.ProtoReflect.Descriptor instead. +func (*BackupMessage) Descriptor() ([]byte, []int) { + return file_core_Discover_proto_rawDescGZIP(), []int{5} +} + +func (x *BackupMessage) GetFlag() bool { + if x != nil { + return x.Flag + } + return false +} + +func (x *BackupMessage) GetPriority() int32 { + if x != nil { + return x.Priority + } + return 0 +} + +var File_core_Discover_proto protoreflect.FileDescriptor + +var file_core_Discover_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0x50, 0x0a, 0x08, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, + 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, + 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x22, 0x0a, 0x02, 0x74, 0x6f, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x67, 0x0a, 0x0b, 0x50, 0x6f, 0x6e, 0x67, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, + 0x65, 0x63, 0x68, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x65, 0x63, 0x68, 0x6f, + 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x72, + 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, + 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x22, 0x86, 0x01, 0x0a, 0x0a, 0x4e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, + 0x73, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x32, 0x0a, 0x0a, 0x6e, 0x65, 0x69, + 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x52, 0x0a, 0x6e, 0x65, 0x69, 0x67, 0x68, 0x62, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x1c, 0x0a, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3f, 0x0a, 0x0d, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x66, 0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x6c, 0x61, 0x67, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x46, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, + 0x08, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_Discover_proto_rawDescOnce sync.Once + file_core_Discover_proto_rawDescData = file_core_Discover_proto_rawDesc +) + +func file_core_Discover_proto_rawDescGZIP() []byte { + file_core_Discover_proto_rawDescOnce.Do(func() { + file_core_Discover_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_Discover_proto_rawDescData) + }) + return file_core_Discover_proto_rawDescData +} + +var file_core_Discover_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_core_Discover_proto_goTypes = []interface{}{ + (*Endpoint)(nil), // 0: protocol.Endpoint + (*PingMessage)(nil), // 1: protocol.PingMessage + (*PongMessage)(nil), // 2: protocol.PongMessage + (*FindNeighbours)(nil), // 3: protocol.FindNeighbours + (*Neighbours)(nil), // 4: protocol.Neighbours + (*BackupMessage)(nil), // 5: protocol.BackupMessage +} +var file_core_Discover_proto_depIdxs = []int32{ + 0, // 0: protocol.PingMessage.from:type_name -> protocol.Endpoint + 0, // 1: protocol.PingMessage.to:type_name -> protocol.Endpoint + 0, // 2: protocol.PongMessage.from:type_name -> protocol.Endpoint + 0, // 3: protocol.FindNeighbours.from:type_name -> protocol.Endpoint + 0, // 4: protocol.Neighbours.from:type_name -> protocol.Endpoint + 0, // 5: protocol.Neighbours.neighbours:type_name -> protocol.Endpoint + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_core_Discover_proto_init() } +func file_core_Discover_proto_init() { + if File_core_Discover_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_Discover_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Endpoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Discover_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PingMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Discover_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PongMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Discover_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindNeighbours); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Discover_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Neighbours); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Discover_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupMessage); 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_core_Discover_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_Discover_proto_goTypes, + DependencyIndexes: file_core_Discover_proto_depIdxs, + MessageInfos: file_core_Discover_proto_msgTypes, + }.Build() + File_core_Discover_proto = out.File + file_core_Discover_proto_rawDesc = nil + file_core_Discover_proto_goTypes = nil + file_core_Discover_proto_depIdxs = nil +} diff --git a/gen/core/Tron.pb.go b/gen/core/Tron.pb.go new file mode 100644 index 0000000..48aa60b --- /dev/null +++ b/gen/core/Tron.pb.go @@ -0,0 +1,10102 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/Tron.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + reflect "reflect" + sync "sync" +) + +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) +) + +type AccountType int32 + +const ( + AccountType_Normal AccountType = 0 + AccountType_AssetIssue AccountType = 1 + AccountType_Contract AccountType = 2 +) + +// Enum value maps for AccountType. +var ( + AccountType_name = map[int32]string{ + 0: "Normal", + 1: "AssetIssue", + 2: "Contract", + } + AccountType_value = map[string]int32{ + "Normal": 0, + "AssetIssue": 1, + "Contract": 2, + } +) + +func (x AccountType) Enum() *AccountType { + p := new(AccountType) + *p = x + return p +} + +func (x AccountType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AccountType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[0].Descriptor() +} + +func (AccountType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[0] +} + +func (x AccountType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AccountType.Descriptor instead. +func (AccountType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{0} +} + +type ReasonCode int32 + +const ( + ReasonCode_REQUESTED ReasonCode = 0 + ReasonCode_BAD_PROTOCOL ReasonCode = 2 + ReasonCode_TOO_MANY_PEERS ReasonCode = 4 + ReasonCode_DUPLICATE_PEER ReasonCode = 5 + ReasonCode_INCOMPATIBLE_PROTOCOL ReasonCode = 6 + ReasonCode_RANDOM_ELIMINATION ReasonCode = 7 + ReasonCode_PEER_QUITING ReasonCode = 8 + ReasonCode_UNEXPECTED_IDENTITY ReasonCode = 9 + ReasonCode_LOCAL_IDENTITY ReasonCode = 10 + ReasonCode_PING_TIMEOUT ReasonCode = 11 + ReasonCode_USER_REASON ReasonCode = 16 + ReasonCode_RESET ReasonCode = 17 + ReasonCode_SYNC_FAIL ReasonCode = 18 + ReasonCode_FETCH_FAIL ReasonCode = 19 + ReasonCode_BAD_TX ReasonCode = 20 + ReasonCode_BAD_BLOCK ReasonCode = 21 + ReasonCode_FORKED ReasonCode = 22 + ReasonCode_UNLINKABLE ReasonCode = 23 + ReasonCode_INCOMPATIBLE_VERSION ReasonCode = 24 + ReasonCode_INCOMPATIBLE_CHAIN ReasonCode = 25 + ReasonCode_TIME_OUT ReasonCode = 32 + ReasonCode_CONNECT_FAIL ReasonCode = 33 + ReasonCode_TOO_MANY_PEERS_WITH_SAME_IP ReasonCode = 34 + ReasonCode_LIGHT_NODE_SYNC_FAIL ReasonCode = 35 + ReasonCode_BELOW_THAN_ME ReasonCode = 36 + ReasonCode_NOT_WITNESS ReasonCode = 37 + ReasonCode_NO_SUCH_MESSAGE ReasonCode = 38 + ReasonCode_UNKNOWN ReasonCode = 255 +) + +// Enum value maps for ReasonCode. +var ( + ReasonCode_name = map[int32]string{ + 0: "REQUESTED", + 2: "BAD_PROTOCOL", + 4: "TOO_MANY_PEERS", + 5: "DUPLICATE_PEER", + 6: "INCOMPATIBLE_PROTOCOL", + 7: "RANDOM_ELIMINATION", + 8: "PEER_QUITING", + 9: "UNEXPECTED_IDENTITY", + 10: "LOCAL_IDENTITY", + 11: "PING_TIMEOUT", + 16: "USER_REASON", + 17: "RESET", + 18: "SYNC_FAIL", + 19: "FETCH_FAIL", + 20: "BAD_TX", + 21: "BAD_BLOCK", + 22: "FORKED", + 23: "UNLINKABLE", + 24: "INCOMPATIBLE_VERSION", + 25: "INCOMPATIBLE_CHAIN", + 32: "TIME_OUT", + 33: "CONNECT_FAIL", + 34: "TOO_MANY_PEERS_WITH_SAME_IP", + 35: "LIGHT_NODE_SYNC_FAIL", + 36: "BELOW_THAN_ME", + 37: "NOT_WITNESS", + 38: "NO_SUCH_MESSAGE", + 255: "UNKNOWN", + } + ReasonCode_value = map[string]int32{ + "REQUESTED": 0, + "BAD_PROTOCOL": 2, + "TOO_MANY_PEERS": 4, + "DUPLICATE_PEER": 5, + "INCOMPATIBLE_PROTOCOL": 6, + "RANDOM_ELIMINATION": 7, + "PEER_QUITING": 8, + "UNEXPECTED_IDENTITY": 9, + "LOCAL_IDENTITY": 10, + "PING_TIMEOUT": 11, + "USER_REASON": 16, + "RESET": 17, + "SYNC_FAIL": 18, + "FETCH_FAIL": 19, + "BAD_TX": 20, + "BAD_BLOCK": 21, + "FORKED": 22, + "UNLINKABLE": 23, + "INCOMPATIBLE_VERSION": 24, + "INCOMPATIBLE_CHAIN": 25, + "TIME_OUT": 32, + "CONNECT_FAIL": 33, + "TOO_MANY_PEERS_WITH_SAME_IP": 34, + "LIGHT_NODE_SYNC_FAIL": 35, + "BELOW_THAN_ME": 36, + "NOT_WITNESS": 37, + "NO_SUCH_MESSAGE": 38, + "UNKNOWN": 255, + } +) + +func (x ReasonCode) Enum() *ReasonCode { + p := new(ReasonCode) + *p = x + return p +} + +func (x ReasonCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ReasonCode) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[1].Descriptor() +} + +func (ReasonCode) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[1] +} + +func (x ReasonCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReasonCode.Descriptor instead. +func (ReasonCode) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{1} +} + +type Proposal_State int32 + +const ( + Proposal_PENDING Proposal_State = 0 + Proposal_DISAPPROVED Proposal_State = 1 + Proposal_APPROVED Proposal_State = 2 + Proposal_CANCELED Proposal_State = 3 +) + +// Enum value maps for Proposal_State. +var ( + Proposal_State_name = map[int32]string{ + 0: "PENDING", + 1: "DISAPPROVED", + 2: "APPROVED", + 3: "CANCELED", + } + Proposal_State_value = map[string]int32{ + "PENDING": 0, + "DISAPPROVED": 1, + "APPROVED": 2, + "CANCELED": 3, + } +) + +func (x Proposal_State) Enum() *Proposal_State { + p := new(Proposal_State) + *p = x + return p +} + +func (x Proposal_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Proposal_State) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[2].Descriptor() +} + +func (Proposal_State) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[2] +} + +func (x Proposal_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Proposal_State.Descriptor instead. +func (Proposal_State) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{2, 0} +} + +type MarketOrder_State int32 + +const ( + MarketOrder_ACTIVE MarketOrder_State = 0 + MarketOrder_INACTIVE MarketOrder_State = 1 + MarketOrder_CANCELED MarketOrder_State = 2 +) + +// Enum value maps for MarketOrder_State. +var ( + MarketOrder_State_name = map[int32]string{ + 0: "ACTIVE", + 1: "INACTIVE", + 2: "CANCELED", + } + MarketOrder_State_value = map[string]int32{ + "ACTIVE": 0, + "INACTIVE": 1, + "CANCELED": 2, + } +) + +func (x MarketOrder_State) Enum() *MarketOrder_State { + p := new(MarketOrder_State) + *p = x + return p +} + +func (x MarketOrder_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MarketOrder_State) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[3].Descriptor() +} + +func (MarketOrder_State) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[3] +} + +func (x MarketOrder_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MarketOrder_State.Descriptor instead. +func (MarketOrder_State) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{4, 0} +} + +type Permission_PermissionType int32 + +const ( + Permission_Owner Permission_PermissionType = 0 + Permission_Witness Permission_PermissionType = 1 + Permission_Active Permission_PermissionType = 2 +) + +// Enum value maps for Permission_PermissionType. +var ( + Permission_PermissionType_name = map[int32]string{ + 0: "Owner", + 1: "Witness", + 2: "Active", + } + Permission_PermissionType_value = map[string]int32{ + "Owner": 0, + "Witness": 1, + "Active": 2, + } +) + +func (x Permission_PermissionType) Enum() *Permission_PermissionType { + p := new(Permission_PermissionType) + *p = x + return p +} + +func (x Permission_PermissionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Permission_PermissionType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[4].Descriptor() +} + +func (Permission_PermissionType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[4] +} + +func (x Permission_PermissionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Permission_PermissionType.Descriptor instead. +func (Permission_PermissionType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{17, 0} +} + +type Transaction_Contract_ContractType int32 + +const ( + Transaction_Contract_AccountCreateContract Transaction_Contract_ContractType = 0 + Transaction_Contract_TransferContract Transaction_Contract_ContractType = 1 + Transaction_Contract_TransferAssetContract Transaction_Contract_ContractType = 2 + Transaction_Contract_VoteAssetContract Transaction_Contract_ContractType = 3 + Transaction_Contract_VoteWitnessContract Transaction_Contract_ContractType = 4 + Transaction_Contract_WitnessCreateContract Transaction_Contract_ContractType = 5 + Transaction_Contract_AssetIssueContract Transaction_Contract_ContractType = 6 + Transaction_Contract_WitnessUpdateContract Transaction_Contract_ContractType = 8 + Transaction_Contract_ParticipateAssetIssueContract Transaction_Contract_ContractType = 9 + Transaction_Contract_AccountUpdateContract Transaction_Contract_ContractType = 10 + Transaction_Contract_FreezeBalanceContract Transaction_Contract_ContractType = 11 + Transaction_Contract_UnfreezeBalanceContract Transaction_Contract_ContractType = 12 + Transaction_Contract_WithdrawBalanceContract Transaction_Contract_ContractType = 13 + Transaction_Contract_UnfreezeAssetContract Transaction_Contract_ContractType = 14 + Transaction_Contract_UpdateAssetContract Transaction_Contract_ContractType = 15 + Transaction_Contract_ProposalCreateContract Transaction_Contract_ContractType = 16 + Transaction_Contract_ProposalApproveContract Transaction_Contract_ContractType = 17 + Transaction_Contract_ProposalDeleteContract Transaction_Contract_ContractType = 18 + Transaction_Contract_SetAccountIdContract Transaction_Contract_ContractType = 19 + Transaction_Contract_CustomContract Transaction_Contract_ContractType = 20 + Transaction_Contract_CreateSmartContract Transaction_Contract_ContractType = 30 + Transaction_Contract_TriggerSmartContract Transaction_Contract_ContractType = 31 + Transaction_Contract_GetContract Transaction_Contract_ContractType = 32 + Transaction_Contract_UpdateSettingContract Transaction_Contract_ContractType = 33 + Transaction_Contract_ExchangeCreateContract Transaction_Contract_ContractType = 41 + Transaction_Contract_ExchangeInjectContract Transaction_Contract_ContractType = 42 + Transaction_Contract_ExchangeWithdrawContract Transaction_Contract_ContractType = 43 + Transaction_Contract_ExchangeTransactionContract Transaction_Contract_ContractType = 44 + Transaction_Contract_UpdateEnergyLimitContract Transaction_Contract_ContractType = 45 + Transaction_Contract_AccountPermissionUpdateContract Transaction_Contract_ContractType = 46 + Transaction_Contract_ClearABIContract Transaction_Contract_ContractType = 48 + Transaction_Contract_UpdateBrokerageContract Transaction_Contract_ContractType = 49 + Transaction_Contract_ShieldedTransferContract Transaction_Contract_ContractType = 51 + Transaction_Contract_MarketSellAssetContract Transaction_Contract_ContractType = 52 + Transaction_Contract_MarketCancelOrderContract Transaction_Contract_ContractType = 53 + Transaction_Contract_FreezeBalanceV2Contract Transaction_Contract_ContractType = 54 + Transaction_Contract_UnfreezeBalanceV2Contract Transaction_Contract_ContractType = 55 + Transaction_Contract_WithdrawExpireUnfreezeContract Transaction_Contract_ContractType = 56 + Transaction_Contract_DelegateResourceContract Transaction_Contract_ContractType = 57 + Transaction_Contract_UnDelegateResourceContract Transaction_Contract_ContractType = 58 + Transaction_Contract_CancelAllUnfreezeV2Contract Transaction_Contract_ContractType = 59 +) + +// Enum value maps for Transaction_Contract_ContractType. +var ( + Transaction_Contract_ContractType_name = map[int32]string{ + 0: "AccountCreateContract", + 1: "TransferContract", + 2: "TransferAssetContract", + 3: "VoteAssetContract", + 4: "VoteWitnessContract", + 5: "WitnessCreateContract", + 6: "AssetIssueContract", + 8: "WitnessUpdateContract", + 9: "ParticipateAssetIssueContract", + 10: "AccountUpdateContract", + 11: "FreezeBalanceContract", + 12: "UnfreezeBalanceContract", + 13: "WithdrawBalanceContract", + 14: "UnfreezeAssetContract", + 15: "UpdateAssetContract", + 16: "ProposalCreateContract", + 17: "ProposalApproveContract", + 18: "ProposalDeleteContract", + 19: "SetAccountIdContract", + 20: "CustomContract", + 30: "CreateSmartContract", + 31: "TriggerSmartContract", + 32: "GetContract", + 33: "UpdateSettingContract", + 41: "ExchangeCreateContract", + 42: "ExchangeInjectContract", + 43: "ExchangeWithdrawContract", + 44: "ExchangeTransactionContract", + 45: "UpdateEnergyLimitContract", + 46: "AccountPermissionUpdateContract", + 48: "ClearABIContract", + 49: "UpdateBrokerageContract", + 51: "ShieldedTransferContract", + 52: "MarketSellAssetContract", + 53: "MarketCancelOrderContract", + 54: "FreezeBalanceV2Contract", + 55: "UnfreezeBalanceV2Contract", + 56: "WithdrawExpireUnfreezeContract", + 57: "DelegateResourceContract", + 58: "UnDelegateResourceContract", + 59: "CancelAllUnfreezeV2Contract", + } + Transaction_Contract_ContractType_value = map[string]int32{ + "AccountCreateContract": 0, + "TransferContract": 1, + "TransferAssetContract": 2, + "VoteAssetContract": 3, + "VoteWitnessContract": 4, + "WitnessCreateContract": 5, + "AssetIssueContract": 6, + "WitnessUpdateContract": 8, + "ParticipateAssetIssueContract": 9, + "AccountUpdateContract": 10, + "FreezeBalanceContract": 11, + "UnfreezeBalanceContract": 12, + "WithdrawBalanceContract": 13, + "UnfreezeAssetContract": 14, + "UpdateAssetContract": 15, + "ProposalCreateContract": 16, + "ProposalApproveContract": 17, + "ProposalDeleteContract": 18, + "SetAccountIdContract": 19, + "CustomContract": 20, + "CreateSmartContract": 30, + "TriggerSmartContract": 31, + "GetContract": 32, + "UpdateSettingContract": 33, + "ExchangeCreateContract": 41, + "ExchangeInjectContract": 42, + "ExchangeWithdrawContract": 43, + "ExchangeTransactionContract": 44, + "UpdateEnergyLimitContract": 45, + "AccountPermissionUpdateContract": 46, + "ClearABIContract": 48, + "UpdateBrokerageContract": 49, + "ShieldedTransferContract": 51, + "MarketSellAssetContract": 52, + "MarketCancelOrderContract": 53, + "FreezeBalanceV2Contract": 54, + "UnfreezeBalanceV2Contract": 55, + "WithdrawExpireUnfreezeContract": 56, + "DelegateResourceContract": 57, + "UnDelegateResourceContract": 58, + "CancelAllUnfreezeV2Contract": 59, + } +) + +func (x Transaction_Contract_ContractType) Enum() *Transaction_Contract_ContractType { + p := new(Transaction_Contract_ContractType) + *p = x + return p +} + +func (x Transaction_Contract_ContractType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Transaction_Contract_ContractType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[5].Descriptor() +} + +func (Transaction_Contract_ContractType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[5] +} + +func (x Transaction_Contract_ContractType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Transaction_Contract_ContractType.Descriptor instead. +func (Transaction_Contract_ContractType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 0, 0} +} + +type Transaction_ResultCode int32 + +const ( + Transaction_Result_SUCESS Transaction_ResultCode = 0 + Transaction_Result_FAILED Transaction_ResultCode = 1 +) + +// Enum value maps for Transaction_ResultCode. +var ( + Transaction_ResultCode_name = map[int32]string{ + 0: "SUCESS", + 1: "FAILED", + } + Transaction_ResultCode_value = map[string]int32{ + "SUCESS": 0, + "FAILED": 1, + } +) + +func (x Transaction_ResultCode) Enum() *Transaction_ResultCode { + p := new(Transaction_ResultCode) + *p = x + return p +} + +func (x Transaction_ResultCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Transaction_ResultCode) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[6].Descriptor() +} + +func (Transaction_ResultCode) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[6] +} + +func (x Transaction_ResultCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Transaction_ResultCode.Descriptor instead. +func (Transaction_ResultCode) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1, 0} +} + +type Transaction_ResultContractResult int32 + +const ( + Transaction_Result_DEFAULT Transaction_ResultContractResult = 0 + Transaction_Result_SUCCESS Transaction_ResultContractResult = 1 + Transaction_Result_REVERT Transaction_ResultContractResult = 2 + Transaction_Result_BAD_JUMP_DESTINATION Transaction_ResultContractResult = 3 + Transaction_Result_OUT_OF_MEMORY Transaction_ResultContractResult = 4 + Transaction_Result_PRECOMPILED_CONTRACT Transaction_ResultContractResult = 5 + Transaction_Result_STACK_TOO_SMALL Transaction_ResultContractResult = 6 + Transaction_Result_STACK_TOO_LARGE Transaction_ResultContractResult = 7 + Transaction_Result_ILLEGAL_OPERATION Transaction_ResultContractResult = 8 + Transaction_Result_STACK_OVERFLOW Transaction_ResultContractResult = 9 + Transaction_Result_OUT_OF_ENERGY Transaction_ResultContractResult = 10 + Transaction_Result_OUT_OF_TIME Transaction_ResultContractResult = 11 + Transaction_Result_JVM_STACK_OVER_FLOW Transaction_ResultContractResult = 12 + Transaction_Result_UNKNOWN Transaction_ResultContractResult = 13 + Transaction_Result_TRANSFER_FAILED Transaction_ResultContractResult = 14 + Transaction_Result_INVALID_CODE Transaction_ResultContractResult = 15 +) + +// Enum value maps for Transaction_ResultContractResult. +var ( + Transaction_ResultContractResult_name = map[int32]string{ + 0: "DEFAULT", + 1: "SUCCESS", + 2: "REVERT", + 3: "BAD_JUMP_DESTINATION", + 4: "OUT_OF_MEMORY", + 5: "PRECOMPILED_CONTRACT", + 6: "STACK_TOO_SMALL", + 7: "STACK_TOO_LARGE", + 8: "ILLEGAL_OPERATION", + 9: "STACK_OVERFLOW", + 10: "OUT_OF_ENERGY", + 11: "OUT_OF_TIME", + 12: "JVM_STACK_OVER_FLOW", + 13: "UNKNOWN", + 14: "TRANSFER_FAILED", + 15: "INVALID_CODE", + } + Transaction_ResultContractResult_value = map[string]int32{ + "DEFAULT": 0, + "SUCCESS": 1, + "REVERT": 2, + "BAD_JUMP_DESTINATION": 3, + "OUT_OF_MEMORY": 4, + "PRECOMPILED_CONTRACT": 5, + "STACK_TOO_SMALL": 6, + "STACK_TOO_LARGE": 7, + "ILLEGAL_OPERATION": 8, + "STACK_OVERFLOW": 9, + "OUT_OF_ENERGY": 10, + "OUT_OF_TIME": 11, + "JVM_STACK_OVER_FLOW": 12, + "UNKNOWN": 13, + "TRANSFER_FAILED": 14, + "INVALID_CODE": 15, + } +) + +func (x Transaction_ResultContractResult) Enum() *Transaction_ResultContractResult { + p := new(Transaction_ResultContractResult) + *p = x + return p +} + +func (x Transaction_ResultContractResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Transaction_ResultContractResult) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[7].Descriptor() +} + +func (Transaction_ResultContractResult) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[7] +} + +func (x Transaction_ResultContractResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Transaction_ResultContractResult.Descriptor instead. +func (Transaction_ResultContractResult) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1, 1} +} + +type TransactionInfoCode int32 + +const ( + TransactionInfo_SUCESS TransactionInfoCode = 0 + TransactionInfo_FAILED TransactionInfoCode = 1 +) + +// Enum value maps for TransactionInfoCode. +var ( + TransactionInfoCode_name = map[int32]string{ + 0: "SUCESS", + 1: "FAILED", + } + TransactionInfoCode_value = map[string]int32{ + "SUCESS": 0, + "FAILED": 1, + } +) + +func (x TransactionInfoCode) Enum() *TransactionInfoCode { + p := new(TransactionInfoCode) + *p = x + return p +} + +func (x TransactionInfoCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TransactionInfoCode) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[8].Descriptor() +} + +func (TransactionInfoCode) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[8] +} + +func (x TransactionInfoCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TransactionInfoCode.Descriptor instead. +func (TransactionInfoCode) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{26, 0} +} + +type BlockInventory_Type int32 + +const ( + BlockInventory_SYNC BlockInventory_Type = 0 + BlockInventory_ADVTISE BlockInventory_Type = 1 + BlockInventory_FETCH BlockInventory_Type = 2 +) + +// Enum value maps for BlockInventory_Type. +var ( + BlockInventory_Type_name = map[int32]string{ + 0: "SYNC", + 1: "ADVTISE", + 2: "FETCH", + } + BlockInventory_Type_value = map[string]int32{ + "SYNC": 0, + "ADVTISE": 1, + "FETCH": 2, + } +) + +func (x BlockInventory_Type) Enum() *BlockInventory_Type { + p := new(BlockInventory_Type) + *p = x + return p +} + +func (x BlockInventory_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BlockInventory_Type) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[9].Descriptor() +} + +func (BlockInventory_Type) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[9] +} + +func (x BlockInventory_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BlockInventory_Type.Descriptor instead. +func (BlockInventory_Type) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} +} + +type Inventory_InventoryType int32 + +const ( + Inventory_TRX Inventory_InventoryType = 0 + Inventory_BLOCK Inventory_InventoryType = 1 +) + +// Enum value maps for Inventory_InventoryType. +var ( + Inventory_InventoryType_name = map[int32]string{ + 0: "TRX", + 1: "BLOCK", + } + Inventory_InventoryType_value = map[string]int32{ + "TRX": 0, + "BLOCK": 1, + } +) + +func (x Inventory_InventoryType) Enum() *Inventory_InventoryType { + p := new(Inventory_InventoryType) + *p = x + return p +} + +func (x Inventory_InventoryType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Inventory_InventoryType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[10].Descriptor() +} + +func (Inventory_InventoryType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[10] +} + +func (x Inventory_InventoryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Inventory_InventoryType.Descriptor instead. +func (Inventory_InventoryType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{33, 0} +} + +type Items_ItemType int32 + +const ( + Items_ERR Items_ItemType = 0 + Items_TRX Items_ItemType = 1 + Items_BLOCK Items_ItemType = 2 + Items_BLOCKHEADER Items_ItemType = 3 +) + +// Enum value maps for Items_ItemType. +var ( + Items_ItemType_name = map[int32]string{ + 0: "ERR", + 1: "TRX", + 2: "BLOCK", + 3: "BLOCKHEADER", + } + Items_ItemType_value = map[string]int32{ + "ERR": 0, + "TRX": 1, + "BLOCK": 2, + "BLOCKHEADER": 3, + } +) + +func (x Items_ItemType) Enum() *Items_ItemType { + p := new(Items_ItemType) + *p = x + return p +} + +func (x Items_ItemType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Items_ItemType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[11].Descriptor() +} + +func (Items_ItemType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[11] +} + +func (x Items_ItemType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Items_ItemType.Descriptor instead. +func (Items_ItemType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{34, 0} +} + +type PBFTMessage_MsgType int32 + +const ( + PBFTMessage_VIEW_CHANGE PBFTMessage_MsgType = 0 + PBFTMessage_REQUEST PBFTMessage_MsgType = 1 + PBFTMessage_PREPREPARE PBFTMessage_MsgType = 2 + PBFTMessage_PREPARE PBFTMessage_MsgType = 3 + PBFTMessage_COMMIT PBFTMessage_MsgType = 4 +) + +// Enum value maps for PBFTMessage_MsgType. +var ( + PBFTMessage_MsgType_name = map[int32]string{ + 0: "VIEW_CHANGE", + 1: "REQUEST", + 2: "PREPREPARE", + 3: "PREPARE", + 4: "COMMIT", + } + PBFTMessage_MsgType_value = map[string]int32{ + "VIEW_CHANGE": 0, + "REQUEST": 1, + "PREPREPARE": 2, + "PREPARE": 3, + "COMMIT": 4, + } +) + +func (x PBFTMessage_MsgType) Enum() *PBFTMessage_MsgType { + p := new(PBFTMessage_MsgType) + *p = x + return p +} + +func (x PBFTMessage_MsgType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PBFTMessage_MsgType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[12].Descriptor() +} + +func (PBFTMessage_MsgType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[12] +} + +func (x PBFTMessage_MsgType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PBFTMessage_MsgType.Descriptor instead. +func (PBFTMessage_MsgType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} +} + +type PBFTMessage_DataType int32 + +const ( + PBFTMessage_BLOCK PBFTMessage_DataType = 0 + PBFTMessage_SRL PBFTMessage_DataType = 1 +) + +// Enum value maps for PBFTMessage_DataType. +var ( + PBFTMessage_DataType_name = map[int32]string{ + 0: "BLOCK", + 1: "SRL", + } + PBFTMessage_DataType_value = map[string]int32{ + "BLOCK": 0, + "SRL": 1, + } +) + +func (x PBFTMessage_DataType) Enum() *PBFTMessage_DataType { + p := new(PBFTMessage_DataType) + *p = x + return p +} + +func (x PBFTMessage_DataType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PBFTMessage_DataType) Descriptor() protoreflect.EnumDescriptor { + return file_core_Tron_proto_enumTypes[13].Descriptor() +} + +func (PBFTMessage_DataType) Type() protoreflect.EnumType { + return &file_core_Tron_proto_enumTypes[13] +} + +func (x PBFTMessage_DataType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PBFTMessage_DataType.Descriptor instead. +func (PBFTMessage_DataType) EnumDescriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 1} +} + +// AccountId, (name, address) use name, (null, address) use address, (name, null) use name, +type AccountId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AccountId) Reset() { + *x = AccountId{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountId) ProtoMessage() {} + +func (x *AccountId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountId.ProtoReflect.Descriptor instead. +func (*AccountId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{0} +} + +func (x *AccountId) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *AccountId) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +// vote message +type Vote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // the super rep address + VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + // the vote num to this super rep. + VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` +} + +func (x *Vote) Reset() { + *x = Vote{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vote) ProtoMessage() {} + +func (x *Vote) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Vote.ProtoReflect.Descriptor instead. +func (*Vote) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{1} +} + +func (x *Vote) GetVoteAddress() []byte { + if x != nil { + return x.VoteAddress + } + return nil +} + +func (x *Vote) GetVoteCount() int64 { + if x != nil { + return x.VoteCount + } + return 0 +} + +// Proposal +type Proposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProposalId int64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + ProposerAddress []byte `protobuf:"bytes,2,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` + Parameters map[int64]int64 `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + ExpirationTime int64 `protobuf:"varint,4,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + CreateTime int64 `protobuf:"varint,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + Approvals [][]byte `protobuf:"bytes,6,rep,name=approvals,proto3" json:"approvals,omitempty"` + State Proposal_State `protobuf:"varint,7,opt,name=state,proto3,enum=protocol.Proposal_State" json:"state,omitempty"` +} + +func (x *Proposal) Reset() { + *x = Proposal{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposal) ProtoMessage() {} + +func (x *Proposal) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use Proposal.ProtoReflect.Descriptor instead. +func (*Proposal) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{2} +} + +func (x *Proposal) GetProposalId() int64 { + if x != nil { + return x.ProposalId + } + return 0 +} + +func (x *Proposal) GetProposerAddress() []byte { + if x != nil { + return x.ProposerAddress + } + return nil +} + +func (x *Proposal) GetParameters() map[int64]int64 { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *Proposal) GetExpirationTime() int64 { + if x != nil { + return x.ExpirationTime + } + return 0 +} + +func (x *Proposal) GetCreateTime() int64 { + if x != nil { + return x.CreateTime + } + return 0 +} + +func (x *Proposal) GetApprovals() [][]byte { + if x != nil { + return x.Approvals + } + return nil +} + +func (x *Proposal) GetState() Proposal_State { + if x != nil { + return x.State + } + return Proposal_PENDING +} + +// Exchange +type Exchange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExchangeId int64 `protobuf:"varint,1,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + CreatorAddress []byte `protobuf:"bytes,2,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` + CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + FirstTokenId []byte `protobuf:"bytes,6,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` + FirstTokenBalance int64 `protobuf:"varint,7,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` + SecondTokenId []byte `protobuf:"bytes,8,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` + SecondTokenBalance int64 `protobuf:"varint,9,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` +} + +func (x *Exchange) Reset() { + *x = Exchange{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Exchange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Exchange) ProtoMessage() {} + +func (x *Exchange) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use Exchange.ProtoReflect.Descriptor instead. +func (*Exchange) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{3} +} + +func (x *Exchange) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *Exchange) GetCreatorAddress() []byte { + if x != nil { + return x.CreatorAddress + } + return nil +} + +func (x *Exchange) GetCreateTime() int64 { + if x != nil { + return x.CreateTime + } + return 0 +} + +func (x *Exchange) GetFirstTokenId() []byte { + if x != nil { + return x.FirstTokenId + } + return nil +} + +func (x *Exchange) GetFirstTokenBalance() int64 { + if x != nil { + return x.FirstTokenBalance + } + return 0 +} + +func (x *Exchange) GetSecondTokenId() []byte { + if x != nil { + return x.SecondTokenId + } + return nil +} + +func (x *Exchange) GetSecondTokenBalance() int64 { + if x != nil { + return x.SecondTokenBalance + } + return 0 +} + +// market +type MarketOrder struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderId []byte `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + SellTokenId []byte `protobuf:"bytes,4,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,5,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,6,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,7,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive + SellTokenQuantityRemain int64 `protobuf:"varint,9,opt,name=sell_token_quantity_remain,json=sellTokenQuantityRemain,proto3" json:"sell_token_quantity_remain,omitempty"` + // When state != ACTIVE and sell_token_quantity_return !=0, + // it means that some sell tokens are returned to the account due to insufficient remaining amount + SellTokenQuantityReturn int64 `protobuf:"varint,10,opt,name=sell_token_quantity_return,json=sellTokenQuantityReturn,proto3" json:"sell_token_quantity_return,omitempty"` + State MarketOrder_State `protobuf:"varint,11,opt,name=state,proto3,enum=protocol.MarketOrder_State" json:"state,omitempty"` + Prev []byte `protobuf:"bytes,12,opt,name=prev,proto3" json:"prev,omitempty"` + Next []byte `protobuf:"bytes,13,opt,name=next,proto3" json:"next,omitempty"` +} + +func (x *MarketOrder) Reset() { + *x = MarketOrder{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrder) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrder) ProtoMessage() {} + +func (x *MarketOrder) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketOrder.ProtoReflect.Descriptor instead. +func (*MarketOrder) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{4} +} + +func (x *MarketOrder) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +func (x *MarketOrder) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketOrder) GetCreateTime() int64 { + if x != nil { + return x.CreateTime + } + return 0 +} + +func (x *MarketOrder) GetSellTokenId() []byte { + if x != nil { + return x.SellTokenId + } + return nil +} + +func (x *MarketOrder) GetSellTokenQuantity() int64 { + if x != nil { + return x.SellTokenQuantity + } + return 0 +} + +func (x *MarketOrder) GetBuyTokenId() []byte { + if x != nil { + return x.BuyTokenId + } + return nil +} + +func (x *MarketOrder) GetBuyTokenQuantity() int64 { + if x != nil { + return x.BuyTokenQuantity + } + return 0 +} + +func (x *MarketOrder) GetSellTokenQuantityRemain() int64 { + if x != nil { + return x.SellTokenQuantityRemain + } + return 0 +} + +func (x *MarketOrder) GetSellTokenQuantityReturn() int64 { + if x != nil { + return x.SellTokenQuantityReturn + } + return 0 +} + +func (x *MarketOrder) GetState() MarketOrder_State { + if x != nil { + return x.State + } + return MarketOrder_ACTIVE +} + +func (x *MarketOrder) GetPrev() []byte { + if x != nil { + return x.Prev + } + return nil +} + +func (x *MarketOrder) GetNext() []byte { + if x != nil { + return x.Next + } + return nil +} + +type MarketOrderList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Orders []*MarketOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"` +} + +func (x *MarketOrderList) Reset() { + *x = MarketOrderList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderList) ProtoMessage() {} + +func (x *MarketOrderList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketOrderList.ProtoReflect.Descriptor instead. +func (*MarketOrderList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{5} +} + +func (x *MarketOrderList) GetOrders() []*MarketOrder { + if x != nil { + return x.Orders + } + return nil +} + +type MarketOrderPairList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderPair []*MarketOrderPair `protobuf:"bytes,1,rep,name=orderPair,proto3" json:"orderPair,omitempty"` +} + +func (x *MarketOrderPairList) Reset() { + *x = MarketOrderPairList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderPairList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderPairList) ProtoMessage() {} + +func (x *MarketOrderPairList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketOrderPairList.ProtoReflect.Descriptor instead. +func (*MarketOrderPairList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{6} +} + +func (x *MarketOrderPairList) GetOrderPair() []*MarketOrderPair { + if x != nil { + return x.OrderPair + } + return nil +} + +type MarketOrderPair struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` +} + +func (x *MarketOrderPair) Reset() { + *x = MarketOrderPair{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderPair) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderPair) ProtoMessage() {} + +func (x *MarketOrderPair) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketOrderPair.ProtoReflect.Descriptor instead. +func (*MarketOrderPair) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{7} +} + +func (x *MarketOrderPair) GetSellTokenId() []byte { + if x != nil { + return x.SellTokenId + } + return nil +} + +func (x *MarketOrderPair) GetBuyTokenId() []byte { + if x != nil { + return x.BuyTokenId + } + return nil +} + +type MarketAccountOrder struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Orders [][]byte `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` // order_id list + Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // active count + TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` +} + +func (x *MarketAccountOrder) Reset() { + *x = MarketAccountOrder{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketAccountOrder) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketAccountOrder) ProtoMessage() {} + +func (x *MarketAccountOrder) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketAccountOrder.ProtoReflect.Descriptor instead. +func (*MarketAccountOrder) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{8} +} + +func (x *MarketAccountOrder) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketAccountOrder) GetOrders() [][]byte { + if x != nil { + return x.Orders + } + return nil +} + +func (x *MarketAccountOrder) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *MarketAccountOrder) GetTotalCount() int64 { + if x != nil { + return x.TotalCount + } + return 0 +} + +type MarketPrice struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SellTokenQuantity int64 `protobuf:"varint,1,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,2,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` +} + +func (x *MarketPrice) Reset() { + *x = MarketPrice{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketPrice) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketPrice) ProtoMessage() {} + +func (x *MarketPrice) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketPrice.ProtoReflect.Descriptor instead. +func (*MarketPrice) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{9} +} + +func (x *MarketPrice) GetSellTokenQuantity() int64 { + if x != nil { + return x.SellTokenQuantity + } + return 0 +} + +func (x *MarketPrice) GetBuyTokenQuantity() int64 { + if x != nil { + return x.BuyTokenQuantity + } + return 0 +} + +type MarketPriceList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SellTokenId []byte `protobuf:"bytes,1,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + BuyTokenId []byte `protobuf:"bytes,2,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + Prices []*MarketPrice `protobuf:"bytes,3,rep,name=prices,proto3" json:"prices,omitempty"` +} + +func (x *MarketPriceList) Reset() { + *x = MarketPriceList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketPriceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketPriceList) ProtoMessage() {} + +func (x *MarketPriceList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketPriceList.ProtoReflect.Descriptor instead. +func (*MarketPriceList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{10} +} + +func (x *MarketPriceList) GetSellTokenId() []byte { + if x != nil { + return x.SellTokenId + } + return nil +} + +func (x *MarketPriceList) GetBuyTokenId() []byte { + if x != nil { + return x.BuyTokenId + } + return nil +} + +func (x *MarketPriceList) GetPrices() []*MarketPrice { + if x != nil { + return x.Prices + } + return nil +} + +type MarketOrderIdList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Head []byte `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"` + Tail []byte `protobuf:"bytes,2,opt,name=tail,proto3" json:"tail,omitempty"` +} + +func (x *MarketOrderIdList) Reset() { + *x = MarketOrderIdList{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderIdList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderIdList) ProtoMessage() {} + +func (x *MarketOrderIdList) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use MarketOrderIdList.ProtoReflect.Descriptor instead. +func (*MarketOrderIdList) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{11} +} + +func (x *MarketOrderIdList) GetHead() []byte { + if x != nil { + return x.Head + } + return nil +} + +func (x *MarketOrderIdList) GetTail() []byte { + if x != nil { + return x.Tail + } + return nil +} + +type ChainParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChainParameter []*ChainParameters_ChainParameter `protobuf:"bytes,1,rep,name=chainParameter,proto3" json:"chainParameter,omitempty"` +} + +func (x *ChainParameters) Reset() { + *x = ChainParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainParameters) ProtoMessage() {} + +func (x *ChainParameters) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead. +func (*ChainParameters) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{12} +} + +func (x *ChainParameters) GetChainParameter() []*ChainParameters_ChainParameter { + if x != nil { + return x.ChainParameter + } + return nil +} + +// Account +type Account struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // account nick name + AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + Type AccountType `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` + // the create address + Address []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + // the trx balance + Balance int64 `protobuf:"varint,4,opt,name=balance,proto3" json:"balance,omitempty"` + // the votes + Votes []*Vote `protobuf:"bytes,5,rep,name=votes,proto3" json:"votes,omitempty"` + // the other asset owned by this account + Asset map[string]int64 `protobuf:"bytes,6,rep,name=asset,proto3" json:"asset,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // the other asset owned by this account,key is assetId + AssetV2 map[string]int64 `protobuf:"bytes,56,rep,name=assetV2,proto3" json:"assetV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + // the frozen balance for bandwidth + Frozen []*Account_Frozen `protobuf:"bytes,7,rep,name=frozen,proto3" json:"frozen,omitempty"` + // bandwidth, get from frozen + NetUsage int64 `protobuf:"varint,8,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` + // Frozen balance provided by other accounts to this account + AcquiredDelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,41,opt,name=acquired_delegated_frozen_balance_for_bandwidth,json=acquiredDelegatedFrozenBalanceForBandwidth,proto3" json:"acquired_delegated_frozen_balance_for_bandwidth,omitempty"` + // Freeze and provide balances to other accounts + DelegatedFrozenBalanceForBandwidth int64 `protobuf:"varint,42,opt,name=delegated_frozen_balance_for_bandwidth,json=delegatedFrozenBalanceForBandwidth,proto3" json:"delegated_frozen_balance_for_bandwidth,omitempty"` + OldTronPower int64 `protobuf:"varint,46,opt,name=old_tron_power,json=oldTronPower,proto3" json:"old_tron_power,omitempty"` + TronPower *Account_Frozen `protobuf:"bytes,47,opt,name=tron_power,json=tronPower,proto3" json:"tron_power,omitempty"` + AssetOptimized bool `protobuf:"varint,60,opt,name=asset_optimized,json=assetOptimized,proto3" json:"asset_optimized,omitempty"` + // this account create time + CreateTime int64 `protobuf:"varint,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // this last operation time, including transfer, voting and so on. //FIXME fix grammar + LatestOprationTime int64 `protobuf:"varint,10,opt,name=latest_opration_time,json=latestOprationTime,proto3" json:"latest_opration_time,omitempty"` + // witness block producing allowance + Allowance int64 `protobuf:"varint,11,opt,name=allowance,proto3" json:"allowance,omitempty"` + // last withdraw time + LatestWithdrawTime int64 `protobuf:"varint,12,opt,name=latest_withdraw_time,json=latestWithdrawTime,proto3" json:"latest_withdraw_time,omitempty"` + // not used so far + Code []byte `protobuf:"bytes,13,opt,name=code,proto3" json:"code,omitempty"` + IsWitness bool `protobuf:"varint,14,opt,name=is_witness,json=isWitness,proto3" json:"is_witness,omitempty"` + IsCommittee bool `protobuf:"varint,15,opt,name=is_committee,json=isCommittee,proto3" json:"is_committee,omitempty"` + // frozen asset(for asset issuer) + FrozenSupply []*Account_Frozen `protobuf:"bytes,16,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` + // asset_issued_name + AssetIssuedName []byte `protobuf:"bytes,17,opt,name=asset_issued_name,json=assetIssuedName,proto3" json:"asset_issued_name,omitempty"` + AssetIssued_ID []byte `protobuf:"bytes,57,opt,name=asset_issued_ID,json=assetIssuedID,proto3" json:"asset_issued_ID,omitempty"` + LatestAssetOperationTime map[string]int64 `protobuf:"bytes,18,rep,name=latest_asset_operation_time,json=latestAssetOperationTime,proto3" json:"latest_asset_operation_time,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LatestAssetOperationTimeV2 map[string]int64 `protobuf:"bytes,58,rep,name=latest_asset_operation_timeV2,json=latestAssetOperationTimeV2,proto3" json:"latest_asset_operation_timeV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FreeNetUsage int64 `protobuf:"varint,19,opt,name=free_net_usage,json=freeNetUsage,proto3" json:"free_net_usage,omitempty"` + FreeAssetNetUsage map[string]int64 `protobuf:"bytes,20,rep,name=free_asset_net_usage,json=freeAssetNetUsage,proto3" json:"free_asset_net_usage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + FreeAssetNetUsageV2 map[string]int64 `protobuf:"bytes,59,rep,name=free_asset_net_usageV2,json=freeAssetNetUsageV2,proto3" json:"free_asset_net_usageV2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + LatestConsumeTime int64 `protobuf:"varint,21,opt,name=latest_consume_time,json=latestConsumeTime,proto3" json:"latest_consume_time,omitempty"` + LatestConsumeFreeTime int64 `protobuf:"varint,22,opt,name=latest_consume_free_time,json=latestConsumeFreeTime,proto3" json:"latest_consume_free_time,omitempty"` + // the identity of this account, case insensitive + AccountId []byte `protobuf:"bytes,23,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + NetWindowSize int64 `protobuf:"varint,24,opt,name=net_window_size,json=netWindowSize,proto3" json:"net_window_size,omitempty"` + NetWindowOptimized bool `protobuf:"varint,25,opt,name=net_window_optimized,json=netWindowOptimized,proto3" json:"net_window_optimized,omitempty"` + AccountResource *Account_AccountResource `protobuf:"bytes,26,opt,name=account_resource,json=accountResource,proto3" json:"account_resource,omitempty"` + CodeHash []byte `protobuf:"bytes,30,opt,name=codeHash,proto3" json:"codeHash,omitempty"` + OwnerPermission *Permission `protobuf:"bytes,31,opt,name=owner_permission,json=ownerPermission,proto3" json:"owner_permission,omitempty"` + WitnessPermission *Permission `protobuf:"bytes,32,opt,name=witness_permission,json=witnessPermission,proto3" json:"witness_permission,omitempty"` + ActivePermission []*Permission `protobuf:"bytes,33,rep,name=active_permission,json=activePermission,proto3" json:"active_permission,omitempty"` + FrozenV2 []*Account_FreezeV2 `protobuf:"bytes,34,rep,name=frozenV2,proto3" json:"frozenV2,omitempty"` + UnfrozenV2 []*Account_UnFreezeV2 `protobuf:"bytes,35,rep,name=unfrozenV2,proto3" json:"unfrozenV2,omitempty"` + DelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,36,opt,name=delegated_frozenV2_balance_for_bandwidth,json=delegatedFrozenV2BalanceForBandwidth,proto3" json:"delegated_frozenV2_balance_for_bandwidth,omitempty"` + AcquiredDelegatedFrozenV2BalanceForBandwidth int64 `protobuf:"varint,37,opt,name=acquired_delegated_frozenV2_balance_for_bandwidth,json=acquiredDelegatedFrozenV2BalanceForBandwidth,proto3" json:"acquired_delegated_frozenV2_balance_for_bandwidth,omitempty"` +} + +func (x *Account) Reset() { + *x = Account{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use Account.ProtoReflect.Descriptor instead. +func (*Account) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13} +} + +func (x *Account) GetAccountName() []byte { + if x != nil { + return x.AccountName + } + return nil +} + +func (x *Account) GetType() AccountType { + if x != nil { + return x.Type + } + return AccountType_Normal +} + +func (x *Account) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Account) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *Account) GetVotes() []*Vote { + if x != nil { + return x.Votes + } + return nil +} + +func (x *Account) GetAsset() map[string]int64 { + if x != nil { + return x.Asset + } + return nil +} + +func (x *Account) GetAssetV2() map[string]int64 { + if x != nil { + return x.AssetV2 + } + return nil +} + +func (x *Account) GetFrozen() []*Account_Frozen { + if x != nil { + return x.Frozen + } + return nil +} + +func (x *Account) GetNetUsage() int64 { + if x != nil { + return x.NetUsage + } + return 0 +} + +func (x *Account) GetAcquiredDelegatedFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenBalanceForBandwidth + } + return 0 +} + +func (x *Account) GetDelegatedFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.DelegatedFrozenBalanceForBandwidth + } + return 0 +} + +func (x *Account) GetOldTronPower() int64 { + if x != nil { + return x.OldTronPower + } + return 0 +} + +func (x *Account) GetTronPower() *Account_Frozen { + if x != nil { + return x.TronPower + } + return nil +} + +func (x *Account) GetAssetOptimized() bool { + if x != nil { + return x.AssetOptimized + } + return false +} + +func (x *Account) GetCreateTime() int64 { + if x != nil { + return x.CreateTime + } + return 0 +} + +func (x *Account) GetLatestOprationTime() int64 { + if x != nil { + return x.LatestOprationTime + } + return 0 +} + +func (x *Account) GetAllowance() int64 { + if x != nil { + return x.Allowance + } + return 0 +} + +func (x *Account) GetLatestWithdrawTime() int64 { + if x != nil { + return x.LatestWithdrawTime + } + return 0 +} + +func (x *Account) GetCode() []byte { + if x != nil { + return x.Code + } + return nil +} + +func (x *Account) GetIsWitness() bool { + if x != nil { + return x.IsWitness + } + return false +} + +func (x *Account) GetIsCommittee() bool { + if x != nil { + return x.IsCommittee + } + return false +} + +func (x *Account) GetFrozenSupply() []*Account_Frozen { + if x != nil { + return x.FrozenSupply + } + return nil +} + +func (x *Account) GetAssetIssuedName() []byte { + if x != nil { + return x.AssetIssuedName + } + return nil +} + +func (x *Account) GetAssetIssued_ID() []byte { + if x != nil { + return x.AssetIssued_ID + } + return nil +} + +func (x *Account) GetLatestAssetOperationTime() map[string]int64 { + if x != nil { + return x.LatestAssetOperationTime + } + return nil +} + +func (x *Account) GetLatestAssetOperationTimeV2() map[string]int64 { + if x != nil { + return x.LatestAssetOperationTimeV2 + } + return nil +} + +func (x *Account) GetFreeNetUsage() int64 { + if x != nil { + return x.FreeNetUsage + } + return 0 +} + +func (x *Account) GetFreeAssetNetUsage() map[string]int64 { + if x != nil { + return x.FreeAssetNetUsage + } + return nil +} + +func (x *Account) GetFreeAssetNetUsageV2() map[string]int64 { + if x != nil { + return x.FreeAssetNetUsageV2 + } + return nil +} + +func (x *Account) GetLatestConsumeTime() int64 { + if x != nil { + return x.LatestConsumeTime + } + return 0 +} + +func (x *Account) GetLatestConsumeFreeTime() int64 { + if x != nil { + return x.LatestConsumeFreeTime + } + return 0 +} + +func (x *Account) GetAccountId() []byte { + if x != nil { + return x.AccountId + } + return nil +} + +func (x *Account) GetNetWindowSize() int64 { + if x != nil { + return x.NetWindowSize + } + return 0 +} + +func (x *Account) GetNetWindowOptimized() bool { + if x != nil { + return x.NetWindowOptimized + } + return false +} + +func (x *Account) GetAccountResource() *Account_AccountResource { + if x != nil { + return x.AccountResource + } + return nil +} + +func (x *Account) GetCodeHash() []byte { + if x != nil { + return x.CodeHash + } + return nil +} + +func (x *Account) GetOwnerPermission() *Permission { + if x != nil { + return x.OwnerPermission + } + return nil +} + +func (x *Account) GetWitnessPermission() *Permission { + if x != nil { + return x.WitnessPermission + } + return nil +} + +func (x *Account) GetActivePermission() []*Permission { + if x != nil { + return x.ActivePermission + } + return nil +} + +func (x *Account) GetFrozenV2() []*Account_FreezeV2 { + if x != nil { + return x.FrozenV2 + } + return nil +} + +func (x *Account) GetUnfrozenV2() []*Account_UnFreezeV2 { + if x != nil { + return x.UnfrozenV2 + } + return nil +} + +func (x *Account) GetDelegatedFrozenV2BalanceForBandwidth() int64 { + if x != nil { + return x.DelegatedFrozenV2BalanceForBandwidth + } + return 0 +} + +func (x *Account) GetAcquiredDelegatedFrozenV2BalanceForBandwidth() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenV2BalanceForBandwidth + } + return 0 +} + +type Key struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *Key) Reset() { + *x = Key{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Key) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Key) ProtoMessage() {} + +func (x *Key) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_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) +} + +// Deprecated: Use Key.ProtoReflect.Descriptor instead. +func (*Key) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{14} +} + +func (x *Key) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Key) GetWeight() int64 { + if x != nil { + return x.Weight + } + return 0 +} + +type DelegatedResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` + FrozenBalanceForBandwidth int64 `protobuf:"varint,3,opt,name=frozen_balance_for_bandwidth,json=frozenBalanceForBandwidth,proto3" json:"frozen_balance_for_bandwidth,omitempty"` + FrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` + ExpireTimeForBandwidth int64 `protobuf:"varint,5,opt,name=expire_time_for_bandwidth,json=expireTimeForBandwidth,proto3" json:"expire_time_for_bandwidth,omitempty"` + ExpireTimeForEnergy int64 `protobuf:"varint,6,opt,name=expire_time_for_energy,json=expireTimeForEnergy,proto3" json:"expire_time_for_energy,omitempty"` +} + +func (x *DelegatedResource) Reset() { + *x = DelegatedResource{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatedResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatedResource) ProtoMessage() {} + +func (x *DelegatedResource) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelegatedResource.ProtoReflect.Descriptor instead. +func (*DelegatedResource) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{15} +} + +func (x *DelegatedResource) GetFrom() []byte { + if x != nil { + return x.From + } + return nil +} + +func (x *DelegatedResource) GetTo() []byte { + if x != nil { + return x.To + } + return nil +} + +func (x *DelegatedResource) GetFrozenBalanceForBandwidth() int64 { + if x != nil { + return x.FrozenBalanceForBandwidth + } + return 0 +} + +func (x *DelegatedResource) GetFrozenBalanceForEnergy() int64 { + if x != nil { + return x.FrozenBalanceForEnergy + } + return 0 +} + +func (x *DelegatedResource) GetExpireTimeForBandwidth() int64 { + if x != nil { + return x.ExpireTimeForBandwidth + } + return 0 +} + +func (x *DelegatedResource) GetExpireTimeForEnergy() int64 { + if x != nil { + return x.ExpireTimeForEnergy + } + return 0 +} + +type Authority struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Account *AccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + PermissionName []byte `protobuf:"bytes,2,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` +} + +func (x *Authority) Reset() { + *x = Authority{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Authority) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Authority) ProtoMessage() {} + +func (x *Authority) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Authority.ProtoReflect.Descriptor instead. +func (*Authority) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{16} +} + +func (x *Authority) GetAccount() *AccountId { + if x != nil { + return x.Account + } + return nil +} + +func (x *Authority) GetPermissionName() []byte { + if x != nil { + return x.PermissionName + } + return nil +} + +type Permission struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Permission_PermissionType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Permission_PermissionType" json:"type,omitempty"` + Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` //Owner id=0, Witness id=1, Active id start by 2 + PermissionName string `protobuf:"bytes,3,opt,name=permission_name,json=permissionName,proto3" json:"permission_name,omitempty"` + Threshold int64 `protobuf:"varint,4,opt,name=threshold,proto3" json:"threshold,omitempty"` + ParentId int32 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` + Operations []byte `protobuf:"bytes,6,opt,name=operations,proto3" json:"operations,omitempty"` //1 bit 1 contract + Keys []*Key `protobuf:"bytes,7,rep,name=keys,proto3" json:"keys,omitempty"` +} + +func (x *Permission) Reset() { + *x = Permission{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Permission) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Permission) ProtoMessage() {} + +func (x *Permission) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Permission.ProtoReflect.Descriptor instead. +func (*Permission) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{17} +} + +func (x *Permission) GetType() Permission_PermissionType { + if x != nil { + return x.Type + } + return Permission_Owner +} + +func (x *Permission) GetId() int32 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Permission) GetPermissionName() string { + if x != nil { + return x.PermissionName + } + return "" +} + +func (x *Permission) GetThreshold() int64 { + if x != nil { + return x.Threshold + } + return 0 +} + +func (x *Permission) GetParentId() int32 { + if x != nil { + return x.ParentId + } + return 0 +} + +func (x *Permission) GetOperations() []byte { + if x != nil { + return x.Operations + } + return nil +} + +func (x *Permission) GetKeys() []*Key { + if x != nil { + return x.Keys + } + return nil +} + +// Witness +type Witness struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=voteCount,proto3" json:"voteCount,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` + TotalProduced int64 `protobuf:"varint,5,opt,name=totalProduced,proto3" json:"totalProduced,omitempty"` + TotalMissed int64 `protobuf:"varint,6,opt,name=totalMissed,proto3" json:"totalMissed,omitempty"` + LatestBlockNum int64 `protobuf:"varint,7,opt,name=latestBlockNum,proto3" json:"latestBlockNum,omitempty"` + LatestSlotNum int64 `protobuf:"varint,8,opt,name=latestSlotNum,proto3" json:"latestSlotNum,omitempty"` + IsJobs bool `protobuf:"varint,9,opt,name=isJobs,proto3" json:"isJobs,omitempty"` +} + +func (x *Witness) Reset() { + *x = Witness{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Witness) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Witness) ProtoMessage() {} + +func (x *Witness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Witness.ProtoReflect.Descriptor instead. +func (*Witness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{18} +} + +func (x *Witness) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Witness) GetVoteCount() int64 { + if x != nil { + return x.VoteCount + } + return 0 +} + +func (x *Witness) GetPubKey() []byte { + if x != nil { + return x.PubKey + } + return nil +} + +func (x *Witness) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *Witness) GetTotalProduced() int64 { + if x != nil { + return x.TotalProduced + } + return 0 +} + +func (x *Witness) GetTotalMissed() int64 { + if x != nil { + return x.TotalMissed + } + return 0 +} + +func (x *Witness) GetLatestBlockNum() int64 { + if x != nil { + return x.LatestBlockNum + } + return 0 +} + +func (x *Witness) GetLatestSlotNum() int64 { + if x != nil { + return x.LatestSlotNum + } + return 0 +} + +func (x *Witness) GetIsJobs() bool { + if x != nil { + return x.IsJobs + } + return false +} + +// Vote Change +type Votes struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + OldVotes []*Vote `protobuf:"bytes,2,rep,name=old_votes,json=oldVotes,proto3" json:"old_votes,omitempty"` + NewVotes []*Vote `protobuf:"bytes,3,rep,name=new_votes,json=newVotes,proto3" json:"new_votes,omitempty"` +} + +func (x *Votes) Reset() { + *x = Votes{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Votes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Votes) ProtoMessage() {} + +func (x *Votes) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Votes.ProtoReflect.Descriptor instead. +func (*Votes) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{19} +} + +func (x *Votes) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *Votes) GetOldVotes() []*Vote { + if x != nil { + return x.OldVotes + } + return nil +} + +func (x *Votes) GetNewVotes() []*Vote { + if x != nil { + return x.NewVotes + } + return nil +} + +type TXOutput struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + PubKeyHash []byte `protobuf:"bytes,2,opt,name=pubKeyHash,proto3" json:"pubKeyHash,omitempty"` +} + +func (x *TXOutput) Reset() { + *x = TXOutput{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXOutput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXOutput) ProtoMessage() {} + +func (x *TXOutput) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXOutput.ProtoReflect.Descriptor instead. +func (*TXOutput) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{20} +} + +func (x *TXOutput) GetValue() int64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *TXOutput) GetPubKeyHash() []byte { + if x != nil { + return x.PubKeyHash + } + return nil +} + +type TXInput struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *TXInputRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *TXInput) Reset() { + *x = TXInput{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXInput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXInput) ProtoMessage() {} + +func (x *TXInput) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXInput.ProtoReflect.Descriptor instead. +func (*TXInput) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{21} +} + +func (x *TXInput) GetRawData() *TXInputRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *TXInput) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type TXOutputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Outputs []*TXOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` +} + +func (x *TXOutputs) Reset() { + *x = TXOutputs{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXOutputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXOutputs) ProtoMessage() {} + +func (x *TXOutputs) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXOutputs.ProtoReflect.Descriptor instead. +func (*TXOutputs) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{22} +} + +func (x *TXOutputs) GetOutputs() []*TXOutput { + if x != nil { + return x.Outputs + } + return nil +} + +type ResourceReceipt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + EnergyFee int64 `protobuf:"varint,2,opt,name=energy_fee,json=energyFee,proto3" json:"energy_fee,omitempty"` + OriginEnergyUsage int64 `protobuf:"varint,3,opt,name=origin_energy_usage,json=originEnergyUsage,proto3" json:"origin_energy_usage,omitempty"` + EnergyUsageTotal int64 `protobuf:"varint,4,opt,name=energy_usage_total,json=energyUsageTotal,proto3" json:"energy_usage_total,omitempty"` + NetUsage int64 `protobuf:"varint,5,opt,name=net_usage,json=netUsage,proto3" json:"net_usage,omitempty"` + NetFee int64 `protobuf:"varint,6,opt,name=net_fee,json=netFee,proto3" json:"net_fee,omitempty"` + Result Transaction_ResultContractResult `protobuf:"varint,7,opt,name=result,proto3,enum=protocol.Transaction_ResultContractResult" json:"result,omitempty"` + EnergyPenaltyTotal int64 `protobuf:"varint,8,opt,name=energy_penalty_total,json=energyPenaltyTotal,proto3" json:"energy_penalty_total,omitempty"` +} + +func (x *ResourceReceipt) Reset() { + *x = ResourceReceipt{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResourceReceipt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResourceReceipt) ProtoMessage() {} + +func (x *ResourceReceipt) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResourceReceipt.ProtoReflect.Descriptor instead. +func (*ResourceReceipt) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{23} +} + +func (x *ResourceReceipt) GetEnergyUsage() int64 { + if x != nil { + return x.EnergyUsage + } + return 0 +} + +func (x *ResourceReceipt) GetEnergyFee() int64 { + if x != nil { + return x.EnergyFee + } + return 0 +} + +func (x *ResourceReceipt) GetOriginEnergyUsage() int64 { + if x != nil { + return x.OriginEnergyUsage + } + return 0 +} + +func (x *ResourceReceipt) GetEnergyUsageTotal() int64 { + if x != nil { + return x.EnergyUsageTotal + } + return 0 +} + +func (x *ResourceReceipt) GetNetUsage() int64 { + if x != nil { + return x.NetUsage + } + return 0 +} + +func (x *ResourceReceipt) GetNetFee() int64 { + if x != nil { + return x.NetFee + } + return 0 +} + +func (x *ResourceReceipt) GetResult() Transaction_ResultContractResult { + if x != nil { + return x.Result + } + return Transaction_Result_DEFAULT +} + +func (x *ResourceReceipt) GetEnergyPenaltyTotal() int64 { + if x != nil { + return x.EnergyPenaltyTotal + } + return 0 +} + +type MarketOrderDetail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MakerOrderId []byte `protobuf:"bytes,1,opt,name=makerOrderId,proto3" json:"makerOrderId,omitempty"` + TakerOrderId []byte `protobuf:"bytes,2,opt,name=takerOrderId,proto3" json:"takerOrderId,omitempty"` + FillSellQuantity int64 `protobuf:"varint,3,opt,name=fillSellQuantity,proto3" json:"fillSellQuantity,omitempty"` + FillBuyQuantity int64 `protobuf:"varint,4,opt,name=fillBuyQuantity,proto3" json:"fillBuyQuantity,omitempty"` +} + +func (x *MarketOrderDetail) Reset() { + *x = MarketOrderDetail{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketOrderDetail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketOrderDetail) ProtoMessage() {} + +func (x *MarketOrderDetail) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketOrderDetail.ProtoReflect.Descriptor instead. +func (*MarketOrderDetail) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{24} +} + +func (x *MarketOrderDetail) GetMakerOrderId() []byte { + if x != nil { + return x.MakerOrderId + } + return nil +} + +func (x *MarketOrderDetail) GetTakerOrderId() []byte { + if x != nil { + return x.TakerOrderId + } + return nil +} + +func (x *MarketOrderDetail) GetFillSellQuantity() int64 { + if x != nil { + return x.FillSellQuantity + } + return 0 +} + +func (x *MarketOrderDetail) GetFillBuyQuantity() int64 { + if x != nil { + return x.FillBuyQuantity + } + return 0 +} + +type Transaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *TransactionRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + // only support size = 1, repeated list here for muti-sig extension + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` + Ret []*Transaction_Result `protobuf:"bytes,5,rep,name=ret,proto3" json:"ret,omitempty"` +} + +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction) ProtoMessage() {} + +func (x *Transaction) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transaction.ProtoReflect.Descriptor instead. +func (*Transaction) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25} +} + +func (x *Transaction) GetRawData() *TransactionRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *Transaction) GetSignature() [][]byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *Transaction) GetRet() []*Transaction_Result { + if x != nil { + return x.Ret + } + return nil +} + +type TransactionInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` + BlockNumber int64 `protobuf:"varint,3,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` + BlockTimeStamp int64 `protobuf:"varint,4,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` + ContractResult [][]byte `protobuf:"bytes,5,rep,name=contractResult,proto3" json:"contractResult,omitempty"` + ContractAddress []byte `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + Receipt *ResourceReceipt `protobuf:"bytes,7,opt,name=receipt,proto3" json:"receipt,omitempty"` + Log []*TransactionInfo_Log `protobuf:"bytes,8,rep,name=log,proto3" json:"log,omitempty"` + Result TransactionInfoCode `protobuf:"varint,9,opt,name=result,proto3,enum=protocol.TransactionInfoCode" json:"result,omitempty"` + ResMessage []byte `protobuf:"bytes,10,opt,name=resMessage,proto3" json:"resMessage,omitempty"` + AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` + WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + InternalTransactions []*InternalTransaction `protobuf:"bytes,17,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"` + ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` + ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` + ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` + ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` + OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` + OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` + PackingFee int64 `protobuf:"varint,27,opt,name=packingFee,proto3" json:"packingFee,omitempty"` + WithdrawExpireAmount int64 `protobuf:"varint,28,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,29,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *TransactionInfo) Reset() { + *x = TransactionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionInfo) ProtoMessage() {} + +func (x *TransactionInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead. +func (*TransactionInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{26} +} + +func (x *TransactionInfo) GetId() []byte { + if x != nil { + return x.Id + } + return nil +} + +func (x *TransactionInfo) GetFee() int64 { + if x != nil { + return x.Fee + } + return 0 +} + +func (x *TransactionInfo) GetBlockNumber() int64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *TransactionInfo) GetBlockTimeStamp() int64 { + if x != nil { + return x.BlockTimeStamp + } + return 0 +} + +func (x *TransactionInfo) GetContractResult() [][]byte { + if x != nil { + return x.ContractResult + } + return nil +} + +func (x *TransactionInfo) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *TransactionInfo) GetReceipt() *ResourceReceipt { + if x != nil { + return x.Receipt + } + return nil +} + +func (x *TransactionInfo) GetLog() []*TransactionInfo_Log { + if x != nil { + return x.Log + } + return nil +} + +func (x *TransactionInfo) GetResult() TransactionInfoCode { + if x != nil { + return x.Result + } + return TransactionInfo_SUCESS +} + +func (x *TransactionInfo) GetResMessage() []byte { + if x != nil { + return x.ResMessage + } + return nil +} + +func (x *TransactionInfo) GetAssetIssueID() string { + if x != nil { + return x.AssetIssueID + } + return "" +} + +func (x *TransactionInfo) GetWithdrawAmount() int64 { + if x != nil { + return x.WithdrawAmount + } + return 0 +} + +func (x *TransactionInfo) GetUnfreezeAmount() int64 { + if x != nil { + return x.UnfreezeAmount + } + return 0 +} + +func (x *TransactionInfo) GetInternalTransactions() []*InternalTransaction { + if x != nil { + return x.InternalTransactions + } + return nil +} + +func (x *TransactionInfo) GetExchangeReceivedAmount() int64 { + if x != nil { + return x.ExchangeReceivedAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeInjectAnotherAmount() int64 { + if x != nil { + return x.ExchangeInjectAnotherAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeWithdrawAnotherAmount() int64 { + if x != nil { + return x.ExchangeWithdrawAnotherAmount + } + return 0 +} + +func (x *TransactionInfo) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *TransactionInfo) GetShieldedTransactionFee() int64 { + if x != nil { + return x.ShieldedTransactionFee + } + return 0 +} + +func (x *TransactionInfo) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +func (x *TransactionInfo) GetOrderDetails() []*MarketOrderDetail { + if x != nil { + return x.OrderDetails + } + return nil +} + +func (x *TransactionInfo) GetPackingFee() int64 { + if x != nil { + return x.PackingFee + } + return 0 +} + +func (x *TransactionInfo) GetWithdrawExpireAmount() int64 { + if x != nil { + return x.WithdrawExpireAmount + } + return 0 +} + +func (x *TransactionInfo) GetCancelUnfreezeV2Amount() map[string]int64 { + if x != nil { + return x.CancelUnfreezeV2Amount + } + return nil +} + +type TransactionRet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockNumber int64 `protobuf:"varint,1,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"` + BlockTimeStamp int64 `protobuf:"varint,2,opt,name=blockTimeStamp,proto3" json:"blockTimeStamp,omitempty"` + Transactioninfo []*TransactionInfo `protobuf:"bytes,3,rep,name=transactioninfo,proto3" json:"transactioninfo,omitempty"` +} + +func (x *TransactionRet) Reset() { + *x = TransactionRet{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionRet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionRet) ProtoMessage() {} + +func (x *TransactionRet) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionRet.ProtoReflect.Descriptor instead. +func (*TransactionRet) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{27} +} + +func (x *TransactionRet) GetBlockNumber() int64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *TransactionRet) GetBlockTimeStamp() int64 { + if x != nil { + return x.BlockTimeStamp + } + return 0 +} + +func (x *TransactionRet) GetTransactioninfo() []*TransactionInfo { + if x != nil { + return x.Transactioninfo + } + return nil +} + +type Transactions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` +} + +func (x *Transactions) Reset() { + *x = Transactions{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transactions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transactions) ProtoMessage() {} + +func (x *Transactions) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transactions.ProtoReflect.Descriptor instead. +func (*Transactions) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{28} +} + +func (x *Transactions) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +type BlockHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *BlockHeaderRaw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + WitnessSignature []byte `protobuf:"bytes,2,opt,name=witness_signature,json=witnessSignature,proto3" json:"witness_signature,omitempty"` +} + +func (x *BlockHeader) Reset() { + *x = BlockHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeader) ProtoMessage() {} + +func (x *BlockHeader) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead. +func (*BlockHeader) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{29} +} + +func (x *BlockHeader) GetRawData() *BlockHeaderRaw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *BlockHeader) GetWitnessSignature() []byte { + if x != nil { + return x.WitnessSignature + } + return nil +} + +// block +type Block struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` + BlockHeader *BlockHeader `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"` +} + +func (x *Block) Reset() { + *x = Block{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Block) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Block) ProtoMessage() {} + +func (x *Block) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Block.ProtoReflect.Descriptor instead. +func (*Block) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{30} +} + +func (x *Block) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +func (x *Block) GetBlockHeader() *BlockHeader { + if x != nil { + return x.BlockHeader + } + return nil +} + +type ChainInventory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ids []*ChainInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remain_num,json=remainNum,proto3" json:"remain_num,omitempty"` +} + +func (x *ChainInventory) Reset() { + *x = ChainInventory{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainInventory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainInventory) ProtoMessage() {} + +func (x *ChainInventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChainInventory.ProtoReflect.Descriptor instead. +func (*ChainInventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{31} +} + +func (x *ChainInventory) GetIds() []*ChainInventory_BlockId { + if x != nil { + return x.Ids + } + return nil +} + +func (x *ChainInventory) GetRemainNum() int64 { + if x != nil { + return x.RemainNum + } + return 0 +} + +// Inventory +type BlockInventory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ids []*BlockInventory_BlockId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + Type BlockInventory_Type `protobuf:"varint,2,opt,name=type,proto3,enum=protocol.BlockInventory_Type" json:"type,omitempty"` +} + +func (x *BlockInventory) Reset() { + *x = BlockInventory{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockInventory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockInventory) ProtoMessage() {} + +func (x *BlockInventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockInventory.ProtoReflect.Descriptor instead. +func (*BlockInventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{32} +} + +func (x *BlockInventory) GetIds() []*BlockInventory_BlockId { + if x != nil { + return x.Ids + } + return nil +} + +func (x *BlockInventory) GetType() BlockInventory_Type { + if x != nil { + return x.Type + } + return BlockInventory_SYNC +} + +type Inventory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Inventory_InventoryType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Inventory_InventoryType" json:"type,omitempty"` + Ids [][]byte `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` +} + +func (x *Inventory) Reset() { + *x = Inventory{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Inventory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Inventory) ProtoMessage() {} + +func (x *Inventory) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Inventory.ProtoReflect.Descriptor instead. +func (*Inventory) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{33} +} + +func (x *Inventory) GetType() Inventory_InventoryType { + if x != nil { + return x.Type + } + return Inventory_TRX +} + +func (x *Inventory) GetIds() [][]byte { + if x != nil { + return x.Ids + } + return nil +} + +type Items struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Items_ItemType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Items_ItemType" json:"type,omitempty"` + Blocks []*Block `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"` + BlockHeaders []*BlockHeader `protobuf:"bytes,3,rep,name=block_headers,json=blockHeaders,proto3" json:"block_headers,omitempty"` + Transactions []*Transaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` +} + +func (x *Items) Reset() { + *x = Items{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Items) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Items) ProtoMessage() {} + +func (x *Items) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Items.ProtoReflect.Descriptor instead. +func (*Items) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{34} +} + +func (x *Items) GetType() Items_ItemType { + if x != nil { + return x.Type + } + return Items_ERR +} + +func (x *Items) GetBlocks() []*Block { + if x != nil { + return x.Blocks + } + return nil +} + +func (x *Items) GetBlockHeaders() []*BlockHeader { + if x != nil { + return x.BlockHeaders + } + return nil +} + +func (x *Items) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions + } + return nil +} + +// DynamicProperties +type DynamicProperties struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastSolidityBlockNum int64 `protobuf:"varint,1,opt,name=last_solidity_block_num,json=lastSolidityBlockNum,proto3" json:"last_solidity_block_num,omitempty"` +} + +func (x *DynamicProperties) Reset() { + *x = DynamicProperties{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DynamicProperties) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DynamicProperties) ProtoMessage() {} + +func (x *DynamicProperties) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DynamicProperties.ProtoReflect.Descriptor instead. +func (*DynamicProperties) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{35} +} + +func (x *DynamicProperties) GetLastSolidityBlockNum() int64 { + if x != nil { + return x.LastSolidityBlockNum + } + return 0 +} + +type DisconnectMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason ReasonCode `protobuf:"varint,1,opt,name=reason,proto3,enum=protocol.ReasonCode" json:"reason,omitempty"` +} + +func (x *DisconnectMessage) Reset() { + *x = DisconnectMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisconnectMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectMessage) ProtoMessage() {} + +func (x *DisconnectMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectMessage.ProtoReflect.Descriptor instead. +func (*DisconnectMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{36} +} + +func (x *DisconnectMessage) GetReason() ReasonCode { + if x != nil { + return x.Reason + } + return ReasonCode_REQUESTED +} + +type HelloMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + From *Endpoint `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + GenesisBlockId *HelloMessage_BlockId `protobuf:"bytes,4,opt,name=genesisBlockId,proto3" json:"genesisBlockId,omitempty"` + SolidBlockId *HelloMessage_BlockId `protobuf:"bytes,5,opt,name=solidBlockId,proto3" json:"solidBlockId,omitempty"` + HeadBlockId *HelloMessage_BlockId `protobuf:"bytes,6,opt,name=headBlockId,proto3" json:"headBlockId,omitempty"` + Address []byte `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` + Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"` + NodeType int32 `protobuf:"varint,9,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + LowestBlockNum int64 `protobuf:"varint,10,opt,name=lowestBlockNum,proto3" json:"lowestBlockNum,omitempty"` +} + +func (x *HelloMessage) Reset() { + *x = HelloMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HelloMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HelloMessage) ProtoMessage() {} + +func (x *HelloMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HelloMessage.ProtoReflect.Descriptor instead. +func (*HelloMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{37} +} + +func (x *HelloMessage) GetFrom() *Endpoint { + if x != nil { + return x.From + } + return nil +} + +func (x *HelloMessage) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *HelloMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *HelloMessage) GetGenesisBlockId() *HelloMessage_BlockId { + if x != nil { + return x.GenesisBlockId + } + return nil +} + +func (x *HelloMessage) GetSolidBlockId() *HelloMessage_BlockId { + if x != nil { + return x.SolidBlockId + } + return nil +} + +func (x *HelloMessage) GetHeadBlockId() *HelloMessage_BlockId { + if x != nil { + return x.HeadBlockId + } + return nil +} + +func (x *HelloMessage) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *HelloMessage) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *HelloMessage) GetNodeType() int32 { + if x != nil { + return x.NodeType + } + return 0 +} + +func (x *HelloMessage) GetLowestBlockNum() int64 { + if x != nil { + return x.LowestBlockNum + } + return 0 +} + +type InternalTransaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // internalTransaction identity, the root InternalTransaction hash + // should equals to root transaction id. + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // the one send trx (TBD: or token) via function + CallerAddress []byte `protobuf:"bytes,2,opt,name=caller_address,json=callerAddress,proto3" json:"caller_address,omitempty"` + // the one recieve trx (TBD: or token) via function + TransferToAddress []byte `protobuf:"bytes,3,opt,name=transferTo_address,json=transferToAddress,proto3" json:"transferTo_address,omitempty"` + CallValueInfo []*InternalTransaction_CallValueInfo `protobuf:"bytes,4,rep,name=callValueInfo,proto3" json:"callValueInfo,omitempty"` + Note []byte `protobuf:"bytes,5,opt,name=note,proto3" json:"note,omitempty"` + Rejected bool `protobuf:"varint,6,opt,name=rejected,proto3" json:"rejected,omitempty"` + Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` +} + +func (x *InternalTransaction) Reset() { + *x = InternalTransaction{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InternalTransaction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InternalTransaction) ProtoMessage() {} + +func (x *InternalTransaction) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InternalTransaction.ProtoReflect.Descriptor instead. +func (*InternalTransaction) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{38} +} + +func (x *InternalTransaction) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *InternalTransaction) GetCallerAddress() []byte { + if x != nil { + return x.CallerAddress + } + return nil +} + +func (x *InternalTransaction) GetTransferToAddress() []byte { + if x != nil { + return x.TransferToAddress + } + return nil +} + +func (x *InternalTransaction) GetCallValueInfo() []*InternalTransaction_CallValueInfo { + if x != nil { + return x.CallValueInfo + } + return nil +} + +func (x *InternalTransaction) GetNote() []byte { + if x != nil { + return x.Note + } + return nil +} + +func (x *InternalTransaction) GetRejected() bool { + if x != nil { + return x.Rejected + } + return false +} + +func (x *InternalTransaction) GetExtra() string { + if x != nil { + return x.Extra + } + return "" +} + +type DelegatedResourceAccountIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Account []byte `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + FromAccounts [][]byte `protobuf:"bytes,2,rep,name=fromAccounts,proto3" json:"fromAccounts,omitempty"` + ToAccounts [][]byte `protobuf:"bytes,3,rep,name=toAccounts,proto3" json:"toAccounts,omitempty"` + Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *DelegatedResourceAccountIndex) Reset() { + *x = DelegatedResourceAccountIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegatedResourceAccountIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegatedResourceAccountIndex) ProtoMessage() {} + +func (x *DelegatedResourceAccountIndex) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DelegatedResourceAccountIndex.ProtoReflect.Descriptor instead. +func (*DelegatedResourceAccountIndex) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{39} +} + +func (x *DelegatedResourceAccountIndex) GetAccount() []byte { + if x != nil { + return x.Account + } + return nil +} + +func (x *DelegatedResourceAccountIndex) GetFromAccounts() [][]byte { + if x != nil { + return x.FromAccounts + } + return nil +} + +func (x *DelegatedResourceAccountIndex) GetToAccounts() [][]byte { + if x != nil { + return x.ToAccounts + } + return nil +} + +func (x *DelegatedResourceAccountIndex) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type NodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BeginSyncNum int64 `protobuf:"varint,1,opt,name=beginSyncNum,proto3" json:"beginSyncNum,omitempty"` + Block string `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` + SolidityBlock string `protobuf:"bytes,3,opt,name=solidityBlock,proto3" json:"solidityBlock,omitempty"` + // connect information + CurrentConnectCount int32 `protobuf:"varint,4,opt,name=currentConnectCount,proto3" json:"currentConnectCount,omitempty"` + ActiveConnectCount int32 `protobuf:"varint,5,opt,name=activeConnectCount,proto3" json:"activeConnectCount,omitempty"` + PassiveConnectCount int32 `protobuf:"varint,6,opt,name=passiveConnectCount,proto3" json:"passiveConnectCount,omitempty"` + TotalFlow int64 `protobuf:"varint,7,opt,name=totalFlow,proto3" json:"totalFlow,omitempty"` + PeerInfoList []*NodeInfo_PeerInfo `protobuf:"bytes,8,rep,name=peerInfoList,proto3" json:"peerInfoList,omitempty"` + ConfigNodeInfo *NodeInfo_ConfigNodeInfo `protobuf:"bytes,9,opt,name=configNodeInfo,proto3" json:"configNodeInfo,omitempty"` + MachineInfo *NodeInfo_MachineInfo `protobuf:"bytes,10,opt,name=machineInfo,proto3" json:"machineInfo,omitempty"` + CheatWitnessInfoMap map[string]string `protobuf:"bytes,11,rep,name=cheatWitnessInfoMap,proto3" json:"cheatWitnessInfoMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *NodeInfo) Reset() { + *x = NodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo) ProtoMessage() {} + +func (x *NodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40} +} + +func (x *NodeInfo) GetBeginSyncNum() int64 { + if x != nil { + return x.BeginSyncNum + } + return 0 +} + +func (x *NodeInfo) GetBlock() string { + if x != nil { + return x.Block + } + return "" +} + +func (x *NodeInfo) GetSolidityBlock() string { + if x != nil { + return x.SolidityBlock + } + return "" +} + +func (x *NodeInfo) GetCurrentConnectCount() int32 { + if x != nil { + return x.CurrentConnectCount + } + return 0 +} + +func (x *NodeInfo) GetActiveConnectCount() int32 { + if x != nil { + return x.ActiveConnectCount + } + return 0 +} + +func (x *NodeInfo) GetPassiveConnectCount() int32 { + if x != nil { + return x.PassiveConnectCount + } + return 0 +} + +func (x *NodeInfo) GetTotalFlow() int64 { + if x != nil { + return x.TotalFlow + } + return 0 +} + +func (x *NodeInfo) GetPeerInfoList() []*NodeInfo_PeerInfo { + if x != nil { + return x.PeerInfoList + } + return nil +} + +func (x *NodeInfo) GetConfigNodeInfo() *NodeInfo_ConfigNodeInfo { + if x != nil { + return x.ConfigNodeInfo + } + return nil +} + +func (x *NodeInfo) GetMachineInfo() *NodeInfo_MachineInfo { + if x != nil { + return x.MachineInfo + } + return nil +} + +func (x *NodeInfo) GetCheatWitnessInfoMap() map[string]string { + if x != nil { + return x.CheatWitnessInfoMap + } + return nil +} + +type MetricsInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Interval int64 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"` + Node *MetricsInfo_NodeInfo `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` + Blockchain *MetricsInfo_BlockChainInfo `protobuf:"bytes,3,opt,name=blockchain,proto3" json:"blockchain,omitempty"` + Net *MetricsInfo_NetInfo `protobuf:"bytes,4,opt,name=net,proto3" json:"net,omitempty"` +} + +func (x *MetricsInfo) Reset() { + *x = MetricsInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo) ProtoMessage() {} + +func (x *MetricsInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41} +} + +func (x *MetricsInfo) GetInterval() int64 { + if x != nil { + return x.Interval + } + return 0 +} + +func (x *MetricsInfo) GetNode() *MetricsInfo_NodeInfo { + if x != nil { + return x.Node + } + return nil +} + +func (x *MetricsInfo) GetBlockchain() *MetricsInfo_BlockChainInfo { + if x != nil { + return x.Blockchain + } + return nil +} + +func (x *MetricsInfo) GetNet() *MetricsInfo_NetInfo { + if x != nil { + return x.Net + } + return nil +} + +type PBFTMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawData *PBFTMessage_Raw `protobuf:"bytes,1,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *PBFTMessage) Reset() { + *x = PBFTMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PBFTMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBFTMessage) ProtoMessage() {} + +func (x *PBFTMessage) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBFTMessage.ProtoReflect.Descriptor instead. +func (*PBFTMessage) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42} +} + +func (x *PBFTMessage) GetRawData() *PBFTMessage_Raw { + if x != nil { + return x.RawData + } + return nil +} + +func (x *PBFTMessage) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type PBFTCommitResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *PBFTCommitResult) Reset() { + *x = PBFTCommitResult{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PBFTCommitResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBFTCommitResult) ProtoMessage() {} + +func (x *PBFTCommitResult) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBFTCommitResult.ProtoReflect.Descriptor instead. +func (*PBFTCommitResult) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{43} +} + +func (x *PBFTCommitResult) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *PBFTCommitResult) GetSignature() [][]byte { + if x != nil { + return x.Signature + } + return nil +} + +type SRL struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SrAddress [][]byte `protobuf:"bytes,1,rep,name=srAddress,proto3" json:"srAddress,omitempty"` +} + +func (x *SRL) Reset() { + *x = SRL{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SRL) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SRL) ProtoMessage() {} + +func (x *SRL) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SRL.ProtoReflect.Descriptor instead. +func (*SRL) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{44} +} + +func (x *SRL) GetSrAddress() [][]byte { + if x != nil { + return x.SrAddress + } + return nil +} + +type ChainParameters_ChainParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *ChainParameters_ChainParameter) Reset() { + *x = ChainParameters_ChainParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainParameters_ChainParameter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainParameters_ChainParameter) ProtoMessage() {} + +func (x *ChainParameters_ChainParameter) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChainParameters_ChainParameter.ProtoReflect.Descriptor instead. +func (*ChainParameters_ChainParameter) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{12, 0} +} + +func (x *ChainParameters_ChainParameter) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *ChainParameters_ChainParameter) GetValue() int64 { + if x != nil { + return x.Value + } + return 0 +} + +// frozen balance +type Account_Frozen struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrozenBalance int64 `protobuf:"varint,1,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` // the frozen trx balance + ExpireTime int64 `protobuf:"varint,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // the expire time +} + +func (x *Account_Frozen) Reset() { + *x = Account_Frozen{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account_Frozen) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account_Frozen) ProtoMessage() {} + +func (x *Account_Frozen) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Account_Frozen.ProtoReflect.Descriptor instead. +func (*Account_Frozen) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 0} +} + +func (x *Account_Frozen) GetFrozenBalance() int64 { + if x != nil { + return x.FrozenBalance + } + return 0 +} + +func (x *Account_Frozen) GetExpireTime() int64 { + if x != nil { + return x.ExpireTime + } + return 0 +} + +type Account_AccountResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // energy resource, get from frozen + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + // the frozen balance for energy + FrozenBalanceForEnergy *Account_Frozen `protobuf:"bytes,2,opt,name=frozen_balance_for_energy,json=frozenBalanceForEnergy,proto3" json:"frozen_balance_for_energy,omitempty"` + LatestConsumeTimeForEnergy int64 `protobuf:"varint,3,opt,name=latest_consume_time_for_energy,json=latestConsumeTimeForEnergy,proto3" json:"latest_consume_time_for_energy,omitempty"` + // Frozen balance provided by other accounts to this account + AcquiredDelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,4,opt,name=acquired_delegated_frozen_balance_for_energy,json=acquiredDelegatedFrozenBalanceForEnergy,proto3" json:"acquired_delegated_frozen_balance_for_energy,omitempty"` + // Frozen balances provided to other accounts + DelegatedFrozenBalanceForEnergy int64 `protobuf:"varint,5,opt,name=delegated_frozen_balance_for_energy,json=delegatedFrozenBalanceForEnergy,proto3" json:"delegated_frozen_balance_for_energy,omitempty"` + // storage resource, get from market + StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"` + StorageUsage int64 `protobuf:"varint,7,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` + LatestExchangeStorageTime int64 `protobuf:"varint,8,opt,name=latest_exchange_storage_time,json=latestExchangeStorageTime,proto3" json:"latest_exchange_storage_time,omitempty"` + EnergyWindowSize int64 `protobuf:"varint,9,opt,name=energy_window_size,json=energyWindowSize,proto3" json:"energy_window_size,omitempty"` + DelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,10,opt,name=delegated_frozenV2_balance_for_energy,json=delegatedFrozenV2BalanceForEnergy,proto3" json:"delegated_frozenV2_balance_for_energy,omitempty"` + AcquiredDelegatedFrozenV2BalanceForEnergy int64 `protobuf:"varint,11,opt,name=acquired_delegated_frozenV2_balance_for_energy,json=acquiredDelegatedFrozenV2BalanceForEnergy,proto3" json:"acquired_delegated_frozenV2_balance_for_energy,omitempty"` + EnergyWindowOptimized bool `protobuf:"varint,12,opt,name=energy_window_optimized,json=energyWindowOptimized,proto3" json:"energy_window_optimized,omitempty"` +} + +func (x *Account_AccountResource) Reset() { + *x = Account_AccountResource{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account_AccountResource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account_AccountResource) ProtoMessage() {} + +func (x *Account_AccountResource) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Account_AccountResource.ProtoReflect.Descriptor instead. +func (*Account_AccountResource) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 7} +} + +func (x *Account_AccountResource) GetEnergyUsage() int64 { + if x != nil { + return x.EnergyUsage + } + return 0 +} + +func (x *Account_AccountResource) GetFrozenBalanceForEnergy() *Account_Frozen { + if x != nil { + return x.FrozenBalanceForEnergy + } + return nil +} + +func (x *Account_AccountResource) GetLatestConsumeTimeForEnergy() int64 { + if x != nil { + return x.LatestConsumeTimeForEnergy + } + return 0 +} + +func (x *Account_AccountResource) GetAcquiredDelegatedFrozenBalanceForEnergy() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenBalanceForEnergy + } + return 0 +} + +func (x *Account_AccountResource) GetDelegatedFrozenBalanceForEnergy() int64 { + if x != nil { + return x.DelegatedFrozenBalanceForEnergy + } + return 0 +} + +func (x *Account_AccountResource) GetStorageLimit() int64 { + if x != nil { + return x.StorageLimit + } + return 0 +} + +func (x *Account_AccountResource) GetStorageUsage() int64 { + if x != nil { + return x.StorageUsage + } + return 0 +} + +func (x *Account_AccountResource) GetLatestExchangeStorageTime() int64 { + if x != nil { + return x.LatestExchangeStorageTime + } + return 0 +} + +func (x *Account_AccountResource) GetEnergyWindowSize() int64 { + if x != nil { + return x.EnergyWindowSize + } + return 0 +} + +func (x *Account_AccountResource) GetDelegatedFrozenV2BalanceForEnergy() int64 { + if x != nil { + return x.DelegatedFrozenV2BalanceForEnergy + } + return 0 +} + +func (x *Account_AccountResource) GetAcquiredDelegatedFrozenV2BalanceForEnergy() int64 { + if x != nil { + return x.AcquiredDelegatedFrozenV2BalanceForEnergy + } + return 0 +} + +func (x *Account_AccountResource) GetEnergyWindowOptimized() bool { + if x != nil { + return x.EnergyWindowOptimized + } + return false +} + +type Account_FreezeV2 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *Account_FreezeV2) Reset() { + *x = Account_FreezeV2{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account_FreezeV2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account_FreezeV2) ProtoMessage() {} + +func (x *Account_FreezeV2) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Account_FreezeV2.ProtoReflect.Descriptor instead. +func (*Account_FreezeV2) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 8} +} + +func (x *Account_FreezeV2) GetType() ResourceCode { + if x != nil { + return x.Type + } + return ResourceCode_BANDWIDTH +} + +func (x *Account_FreezeV2) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type Account_UnFreezeV2 struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type ResourceCode `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.ResourceCode" json:"type,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,3,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + UnfreezeExpireTime int64 `protobuf:"varint,4,opt,name=unfreeze_expire_time,json=unfreezeExpireTime,proto3" json:"unfreeze_expire_time,omitempty"` +} + +func (x *Account_UnFreezeV2) Reset() { + *x = Account_UnFreezeV2{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account_UnFreezeV2) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account_UnFreezeV2) ProtoMessage() {} + +func (x *Account_UnFreezeV2) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Account_UnFreezeV2.ProtoReflect.Descriptor instead. +func (*Account_UnFreezeV2) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{13, 9} +} + +func (x *Account_UnFreezeV2) GetType() ResourceCode { + if x != nil { + return x.Type + } + return ResourceCode_BANDWIDTH +} + +func (x *Account_UnFreezeV2) GetUnfreezeAmount() int64 { + if x != nil { + return x.UnfreezeAmount + } + return 0 +} + +func (x *Account_UnFreezeV2) GetUnfreezeExpireTime() int64 { + if x != nil { + return x.UnfreezeExpireTime + } + return 0 +} + +type TXInputRaw struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TxID []byte `protobuf:"bytes,1,opt,name=txID,proto3" json:"txID,omitempty"` + Vout int64 `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"` + PubKey []byte `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` +} + +func (x *TXInputRaw) Reset() { + *x = TXInputRaw{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TXInputRaw) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TXInputRaw) ProtoMessage() {} + +func (x *TXInputRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TXInputRaw.ProtoReflect.Descriptor instead. +func (*TXInputRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{21, 0} +} + +func (x *TXInputRaw) GetTxID() []byte { + if x != nil { + return x.TxID + } + return nil +} + +func (x *TXInputRaw) GetVout() int64 { + if x != nil { + return x.Vout + } + return 0 +} + +func (x *TXInputRaw) GetPubKey() []byte { + if x != nil { + return x.PubKey + } + return nil +} + +type Transaction_Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Transaction_Contract_ContractType `protobuf:"varint,1,opt,name=type,proto3,enum=protocol.Transaction_Contract_ContractType" json:"type,omitempty"` + Parameter *anypb.Any `protobuf:"bytes,2,opt,name=parameter,proto3" json:"parameter,omitempty"` + Provider []byte `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` + ContractName []byte `protobuf:"bytes,4,opt,name=ContractName,proto3" json:"ContractName,omitempty"` + PermissionId int32 `protobuf:"varint,5,opt,name=Permission_id,json=PermissionId,proto3" json:"Permission_id,omitempty"` +} + +func (x *Transaction_Contract) Reset() { + *x = Transaction_Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction_Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction_Contract) ProtoMessage() {} + +func (x *Transaction_Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transaction_Contract.ProtoReflect.Descriptor instead. +func (*Transaction_Contract) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 0} +} + +func (x *Transaction_Contract) GetType() Transaction_Contract_ContractType { + if x != nil { + return x.Type + } + return Transaction_Contract_AccountCreateContract +} + +func (x *Transaction_Contract) GetParameter() *anypb.Any { + if x != nil { + return x.Parameter + } + return nil +} + +func (x *Transaction_Contract) GetProvider() []byte { + if x != nil { + return x.Provider + } + return nil +} + +func (x *Transaction_Contract) GetContractName() []byte { + if x != nil { + return x.ContractName + } + return nil +} + +func (x *Transaction_Contract) GetPermissionId() int32 { + if x != nil { + return x.PermissionId + } + return 0 +} + +type Transaction_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fee int64 `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"` + Ret Transaction_ResultCode `protobuf:"varint,2,opt,name=ret,proto3,enum=protocol.Transaction_ResultCode" json:"ret,omitempty"` + ContractRet Transaction_ResultContractResult `protobuf:"varint,3,opt,name=contractRet,proto3,enum=protocol.Transaction_ResultContractResult" json:"contractRet,omitempty"` + AssetIssueID string `protobuf:"bytes,14,opt,name=assetIssueID,proto3" json:"assetIssueID,omitempty"` + WithdrawAmount int64 `protobuf:"varint,15,opt,name=withdraw_amount,json=withdrawAmount,proto3" json:"withdraw_amount,omitempty"` + UnfreezeAmount int64 `protobuf:"varint,16,opt,name=unfreeze_amount,json=unfreezeAmount,proto3" json:"unfreeze_amount,omitempty"` + ExchangeReceivedAmount int64 `protobuf:"varint,18,opt,name=exchange_received_amount,json=exchangeReceivedAmount,proto3" json:"exchange_received_amount,omitempty"` + ExchangeInjectAnotherAmount int64 `protobuf:"varint,19,opt,name=exchange_inject_another_amount,json=exchangeInjectAnotherAmount,proto3" json:"exchange_inject_another_amount,omitempty"` + ExchangeWithdrawAnotherAmount int64 `protobuf:"varint,20,opt,name=exchange_withdraw_another_amount,json=exchangeWithdrawAnotherAmount,proto3" json:"exchange_withdraw_another_amount,omitempty"` + ExchangeId int64 `protobuf:"varint,21,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + ShieldedTransactionFee int64 `protobuf:"varint,22,opt,name=shielded_transaction_fee,json=shieldedTransactionFee,proto3" json:"shielded_transaction_fee,omitempty"` + OrderId []byte `protobuf:"bytes,25,opt,name=orderId,proto3" json:"orderId,omitempty"` + OrderDetails []*MarketOrderDetail `protobuf:"bytes,26,rep,name=orderDetails,proto3" json:"orderDetails,omitempty"` + WithdrawExpireAmount int64 `protobuf:"varint,27,opt,name=withdraw_expire_amount,json=withdrawExpireAmount,proto3" json:"withdraw_expire_amount,omitempty"` + CancelUnfreezeV2Amount map[string]int64 `protobuf:"bytes,28,rep,name=cancel_unfreezeV2_amount,json=cancelUnfreezeV2Amount,proto3" json:"cancel_unfreezeV2_amount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *Transaction_Result) Reset() { + *x = Transaction_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Transaction_Result) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Transaction_Result) ProtoMessage() {} + +func (x *Transaction_Result) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Transaction_Result.ProtoReflect.Descriptor instead. +func (*Transaction_Result) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 1} +} + +func (x *Transaction_Result) GetFee() int64 { + if x != nil { + return x.Fee + } + return 0 +} + +func (x *Transaction_Result) GetRet() Transaction_ResultCode { + if x != nil { + return x.Ret + } + return Transaction_Result_SUCESS +} + +func (x *Transaction_Result) GetContractRet() Transaction_ResultContractResult { + if x != nil { + return x.ContractRet + } + return Transaction_Result_DEFAULT +} + +func (x *Transaction_Result) GetAssetIssueID() string { + if x != nil { + return x.AssetIssueID + } + return "" +} + +func (x *Transaction_Result) GetWithdrawAmount() int64 { + if x != nil { + return x.WithdrawAmount + } + return 0 +} + +func (x *Transaction_Result) GetUnfreezeAmount() int64 { + if x != nil { + return x.UnfreezeAmount + } + return 0 +} + +func (x *Transaction_Result) GetExchangeReceivedAmount() int64 { + if x != nil { + return x.ExchangeReceivedAmount + } + return 0 +} + +func (x *Transaction_Result) GetExchangeInjectAnotherAmount() int64 { + if x != nil { + return x.ExchangeInjectAnotherAmount + } + return 0 +} + +func (x *Transaction_Result) GetExchangeWithdrawAnotherAmount() int64 { + if x != nil { + return x.ExchangeWithdrawAnotherAmount + } + return 0 +} + +func (x *Transaction_Result) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *Transaction_Result) GetShieldedTransactionFee() int64 { + if x != nil { + return x.ShieldedTransactionFee + } + return 0 +} + +func (x *Transaction_Result) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +func (x *Transaction_Result) GetOrderDetails() []*MarketOrderDetail { + if x != nil { + return x.OrderDetails + } + return nil +} + +func (x *Transaction_Result) GetWithdrawExpireAmount() int64 { + if x != nil { + return x.WithdrawExpireAmount + } + return 0 +} + +func (x *Transaction_Result) GetCancelUnfreezeV2Amount() map[string]int64 { + if x != nil { + return x.CancelUnfreezeV2Amount + } + return nil +} + +type TransactionRaw struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefBlockBytes []byte `protobuf:"bytes,1,opt,name=ref_block_bytes,json=refBlockBytes,proto3" json:"ref_block_bytes,omitempty"` + RefBlockNum int64 `protobuf:"varint,3,opt,name=ref_block_num,json=refBlockNum,proto3" json:"ref_block_num,omitempty"` + RefBlockHash []byte `protobuf:"bytes,4,opt,name=ref_block_hash,json=refBlockHash,proto3" json:"ref_block_hash,omitempty"` + Expiration int64 `protobuf:"varint,8,opt,name=expiration,proto3" json:"expiration,omitempty"` + Auths []*Authority `protobuf:"bytes,9,rep,name=auths,proto3" json:"auths,omitempty"` + // data not used + Data []byte `protobuf:"bytes,10,opt,name=data,proto3" json:"data,omitempty"` + // only support size = 1, repeated list here for extension + Contract []*Transaction_Contract `protobuf:"bytes,11,rep,name=contract,proto3" json:"contract,omitempty"` + // scripts not used + Scripts []byte `protobuf:"bytes,12,opt,name=scripts,proto3" json:"scripts,omitempty"` + Timestamp int64 `protobuf:"varint,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + FeeLimit int64 `protobuf:"varint,18,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` +} + +func (x *TransactionRaw) Reset() { + *x = TransactionRaw{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionRaw) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionRaw) ProtoMessage() {} + +func (x *TransactionRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionRaw.ProtoReflect.Descriptor instead. +func (*TransactionRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{25, 2} +} + +func (x *TransactionRaw) GetRefBlockBytes() []byte { + if x != nil { + return x.RefBlockBytes + } + return nil +} + +func (x *TransactionRaw) GetRefBlockNum() int64 { + if x != nil { + return x.RefBlockNum + } + return 0 +} + +func (x *TransactionRaw) GetRefBlockHash() []byte { + if x != nil { + return x.RefBlockHash + } + return nil +} + +func (x *TransactionRaw) GetExpiration() int64 { + if x != nil { + return x.Expiration + } + return 0 +} + +func (x *TransactionRaw) GetAuths() []*Authority { + if x != nil { + return x.Auths + } + return nil +} + +func (x *TransactionRaw) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *TransactionRaw) GetContract() []*Transaction_Contract { + if x != nil { + return x.Contract + } + return nil +} + +func (x *TransactionRaw) GetScripts() []byte { + if x != nil { + return x.Scripts + } + return nil +} + +func (x *TransactionRaw) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *TransactionRaw) GetFeeLimit() int64 { + if x != nil { + return x.FeeLimit + } + return 0 +} + +type TransactionInfo_Log struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *TransactionInfo_Log) Reset() { + *x = TransactionInfo_Log{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionInfo_Log) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionInfo_Log) ProtoMessage() {} + +func (x *TransactionInfo_Log) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionInfo_Log.ProtoReflect.Descriptor instead. +func (*TransactionInfo_Log) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{26, 0} +} + +func (x *TransactionInfo_Log) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *TransactionInfo_Log) GetTopics() [][]byte { + if x != nil { + return x.Topics + } + return nil +} + +func (x *TransactionInfo_Log) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +type BlockHeaderRaw struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TxTrieRoot []byte `protobuf:"bytes,2,opt,name=txTrieRoot,proto3" json:"txTrieRoot,omitempty"` + ParentHash []byte `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"` + // bytes nonce = 5; + // bytes difficulty = 6; + Number int64 `protobuf:"varint,7,opt,name=number,proto3" json:"number,omitempty"` + WitnessId int64 `protobuf:"varint,8,opt,name=witness_id,json=witnessId,proto3" json:"witness_id,omitempty"` + WitnessAddress []byte `protobuf:"bytes,9,opt,name=witness_address,json=witnessAddress,proto3" json:"witness_address,omitempty"` + Version int32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"` + AccountStateRoot []byte `protobuf:"bytes,11,opt,name=accountStateRoot,proto3" json:"accountStateRoot,omitempty"` +} + +func (x *BlockHeaderRaw) Reset() { + *x = BlockHeaderRaw{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockHeaderRaw) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockHeaderRaw) ProtoMessage() {} + +func (x *BlockHeaderRaw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockHeaderRaw.ProtoReflect.Descriptor instead. +func (*BlockHeaderRaw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{29, 0} +} + +func (x *BlockHeaderRaw) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *BlockHeaderRaw) GetTxTrieRoot() []byte { + if x != nil { + return x.TxTrieRoot + } + return nil +} + +func (x *BlockHeaderRaw) GetParentHash() []byte { + if x != nil { + return x.ParentHash + } + return nil +} + +func (x *BlockHeaderRaw) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +func (x *BlockHeaderRaw) GetWitnessId() int64 { + if x != nil { + return x.WitnessId + } + return 0 +} + +func (x *BlockHeaderRaw) GetWitnessAddress() []byte { + if x != nil { + return x.WitnessAddress + } + return nil +} + +func (x *BlockHeaderRaw) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *BlockHeaderRaw) GetAccountStateRoot() []byte { + if x != nil { + return x.AccountStateRoot + } + return nil +} + +type ChainInventory_BlockId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` +} + +func (x *ChainInventory_BlockId) Reset() { + *x = ChainInventory_BlockId{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainInventory_BlockId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainInventory_BlockId) ProtoMessage() {} + +func (x *ChainInventory_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChainInventory_BlockId.ProtoReflect.Descriptor instead. +func (*ChainInventory_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{31, 0} +} + +func (x *ChainInventory_BlockId) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *ChainInventory_BlockId) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +type BlockInventory_BlockId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` +} + +func (x *BlockInventory_BlockId) Reset() { + *x = BlockInventory_BlockId{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockInventory_BlockId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockInventory_BlockId) ProtoMessage() {} + +func (x *BlockInventory_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockInventory_BlockId.ProtoReflect.Descriptor instead. +func (*BlockInventory_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{32, 0} +} + +func (x *BlockInventory_BlockId) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *BlockInventory_BlockId) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +type HelloMessage_BlockId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` +} + +func (x *HelloMessage_BlockId) Reset() { + *x = HelloMessage_BlockId{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HelloMessage_BlockId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HelloMessage_BlockId) ProtoMessage() {} + +func (x *HelloMessage_BlockId) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HelloMessage_BlockId.ProtoReflect.Descriptor instead. +func (*HelloMessage_BlockId) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{37, 0} +} + +func (x *HelloMessage_BlockId) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *HelloMessage_BlockId) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +type InternalTransaction_CallValueInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // trx (TBD: or token) value + CallValue int64 `protobuf:"varint,1,opt,name=callValue,proto3" json:"callValue,omitempty"` + // TBD: tokenName, trx should be empty + TokenId string `protobuf:"bytes,2,opt,name=tokenId,proto3" json:"tokenId,omitempty"` +} + +func (x *InternalTransaction_CallValueInfo) Reset() { + *x = InternalTransaction_CallValueInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InternalTransaction_CallValueInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InternalTransaction_CallValueInfo) ProtoMessage() {} + +func (x *InternalTransaction_CallValueInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InternalTransaction_CallValueInfo.ProtoReflect.Descriptor instead. +func (*InternalTransaction_CallValueInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{38, 0} +} + +func (x *InternalTransaction_CallValueInfo) GetCallValue() int64 { + if x != nil { + return x.CallValue + } + return 0 +} + +func (x *InternalTransaction_CallValueInfo) GetTokenId() string { + if x != nil { + return x.TokenId + } + return "" +} + +type NodeInfo_PeerInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastSyncBlock string `protobuf:"bytes,1,opt,name=lastSyncBlock,proto3" json:"lastSyncBlock,omitempty"` + RemainNum int64 `protobuf:"varint,2,opt,name=remainNum,proto3" json:"remainNum,omitempty"` + LastBlockUpdateTime int64 `protobuf:"varint,3,opt,name=lastBlockUpdateTime,proto3" json:"lastBlockUpdateTime,omitempty"` + SyncFlag bool `protobuf:"varint,4,opt,name=syncFlag,proto3" json:"syncFlag,omitempty"` + HeadBlockTimeWeBothHave int64 `protobuf:"varint,5,opt,name=headBlockTimeWeBothHave,proto3" json:"headBlockTimeWeBothHave,omitempty"` + NeedSyncFromPeer bool `protobuf:"varint,6,opt,name=needSyncFromPeer,proto3" json:"needSyncFromPeer,omitempty"` + NeedSyncFromUs bool `protobuf:"varint,7,opt,name=needSyncFromUs,proto3" json:"needSyncFromUs,omitempty"` + Host string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"` + Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` + NodeId string `protobuf:"bytes,10,opt,name=nodeId,proto3" json:"nodeId,omitempty"` + ConnectTime int64 `protobuf:"varint,11,opt,name=connectTime,proto3" json:"connectTime,omitempty"` + AvgLatency float64 `protobuf:"fixed64,12,opt,name=avgLatency,proto3" json:"avgLatency,omitempty"` + SyncToFetchSize int32 `protobuf:"varint,13,opt,name=syncToFetchSize,proto3" json:"syncToFetchSize,omitempty"` + SyncToFetchSizePeekNum int64 `protobuf:"varint,14,opt,name=syncToFetchSizePeekNum,proto3" json:"syncToFetchSizePeekNum,omitempty"` + SyncBlockRequestedSize int32 `protobuf:"varint,15,opt,name=syncBlockRequestedSize,proto3" json:"syncBlockRequestedSize,omitempty"` + UnFetchSynNum int64 `protobuf:"varint,16,opt,name=unFetchSynNum,proto3" json:"unFetchSynNum,omitempty"` + BlockInPorcSize int32 `protobuf:"varint,17,opt,name=blockInPorcSize,proto3" json:"blockInPorcSize,omitempty"` + HeadBlockWeBothHave string `protobuf:"bytes,18,opt,name=headBlockWeBothHave,proto3" json:"headBlockWeBothHave,omitempty"` + IsActive bool `protobuf:"varint,19,opt,name=isActive,proto3" json:"isActive,omitempty"` + Score int32 `protobuf:"varint,20,opt,name=score,proto3" json:"score,omitempty"` + NodeCount int32 `protobuf:"varint,21,opt,name=nodeCount,proto3" json:"nodeCount,omitempty"` + InFlow int64 `protobuf:"varint,22,opt,name=inFlow,proto3" json:"inFlow,omitempty"` + DisconnectTimes int32 `protobuf:"varint,23,opt,name=disconnectTimes,proto3" json:"disconnectTimes,omitempty"` + LocalDisconnectReason string `protobuf:"bytes,24,opt,name=localDisconnectReason,proto3" json:"localDisconnectReason,omitempty"` + RemoteDisconnectReason string `protobuf:"bytes,25,opt,name=remoteDisconnectReason,proto3" json:"remoteDisconnectReason,omitempty"` +} + +func (x *NodeInfo_PeerInfo) Reset() { + *x = NodeInfo_PeerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo_PeerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo_PeerInfo) ProtoMessage() {} + +func (x *NodeInfo_PeerInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo_PeerInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_PeerInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40, 1} +} + +func (x *NodeInfo_PeerInfo) GetLastSyncBlock() string { + if x != nil { + return x.LastSyncBlock + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetRemainNum() int64 { + if x != nil { + return x.RemainNum + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetLastBlockUpdateTime() int64 { + if x != nil { + return x.LastBlockUpdateTime + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetSyncFlag() bool { + if x != nil { + return x.SyncFlag + } + return false +} + +func (x *NodeInfo_PeerInfo) GetHeadBlockTimeWeBothHave() int64 { + if x != nil { + return x.HeadBlockTimeWeBothHave + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetNeedSyncFromPeer() bool { + if x != nil { + return x.NeedSyncFromPeer + } + return false +} + +func (x *NodeInfo_PeerInfo) GetNeedSyncFromUs() bool { + if x != nil { + return x.NeedSyncFromUs + } + return false +} + +func (x *NodeInfo_PeerInfo) GetHost() string { + if x != nil { + return x.Host + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetPort() int32 { + if x != nil { + return x.Port + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetNodeId() string { + if x != nil { + return x.NodeId + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetConnectTime() int64 { + if x != nil { + return x.ConnectTime + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetAvgLatency() float64 { + if x != nil { + return x.AvgLatency + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetSyncToFetchSize() int32 { + if x != nil { + return x.SyncToFetchSize + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetSyncToFetchSizePeekNum() int64 { + if x != nil { + return x.SyncToFetchSizePeekNum + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetSyncBlockRequestedSize() int32 { + if x != nil { + return x.SyncBlockRequestedSize + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetUnFetchSynNum() int64 { + if x != nil { + return x.UnFetchSynNum + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetBlockInPorcSize() int32 { + if x != nil { + return x.BlockInPorcSize + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetHeadBlockWeBothHave() string { + if x != nil { + return x.HeadBlockWeBothHave + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetIsActive() bool { + if x != nil { + return x.IsActive + } + return false +} + +func (x *NodeInfo_PeerInfo) GetScore() int32 { + if x != nil { + return x.Score + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetNodeCount() int32 { + if x != nil { + return x.NodeCount + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetInFlow() int64 { + if x != nil { + return x.InFlow + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetDisconnectTimes() int32 { + if x != nil { + return x.DisconnectTimes + } + return 0 +} + +func (x *NodeInfo_PeerInfo) GetLocalDisconnectReason() string { + if x != nil { + return x.LocalDisconnectReason + } + return "" +} + +func (x *NodeInfo_PeerInfo) GetRemoteDisconnectReason() string { + if x != nil { + return x.RemoteDisconnectReason + } + return "" +} + +type NodeInfo_ConfigNodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CodeVersion string `protobuf:"bytes,1,opt,name=codeVersion,proto3" json:"codeVersion,omitempty"` + P2PVersion string `protobuf:"bytes,2,opt,name=p2pVersion,proto3" json:"p2pVersion,omitempty"` + ListenPort int32 `protobuf:"varint,3,opt,name=listenPort,proto3" json:"listenPort,omitempty"` + DiscoverEnable bool `protobuf:"varint,4,opt,name=discoverEnable,proto3" json:"discoverEnable,omitempty"` + ActiveNodeSize int32 `protobuf:"varint,5,opt,name=activeNodeSize,proto3" json:"activeNodeSize,omitempty"` + PassiveNodeSize int32 `protobuf:"varint,6,opt,name=passiveNodeSize,proto3" json:"passiveNodeSize,omitempty"` + SendNodeSize int32 `protobuf:"varint,7,opt,name=sendNodeSize,proto3" json:"sendNodeSize,omitempty"` + MaxConnectCount int32 `protobuf:"varint,8,opt,name=maxConnectCount,proto3" json:"maxConnectCount,omitempty"` + SameIpMaxConnectCount int32 `protobuf:"varint,9,opt,name=sameIpMaxConnectCount,proto3" json:"sameIpMaxConnectCount,omitempty"` + BackupListenPort int32 `protobuf:"varint,10,opt,name=backupListenPort,proto3" json:"backupListenPort,omitempty"` + BackupMemberSize int32 `protobuf:"varint,11,opt,name=backupMemberSize,proto3" json:"backupMemberSize,omitempty"` + BackupPriority int32 `protobuf:"varint,12,opt,name=backupPriority,proto3" json:"backupPriority,omitempty"` + DbVersion int32 `protobuf:"varint,13,opt,name=dbVersion,proto3" json:"dbVersion,omitempty"` + MinParticipationRate int32 `protobuf:"varint,14,opt,name=minParticipationRate,proto3" json:"minParticipationRate,omitempty"` + SupportConstant bool `protobuf:"varint,15,opt,name=supportConstant,proto3" json:"supportConstant,omitempty"` + MinTimeRatio float64 `protobuf:"fixed64,16,opt,name=minTimeRatio,proto3" json:"minTimeRatio,omitempty"` + MaxTimeRatio float64 `protobuf:"fixed64,17,opt,name=maxTimeRatio,proto3" json:"maxTimeRatio,omitempty"` + AllowCreationOfContracts int64 `protobuf:"varint,18,opt,name=allowCreationOfContracts,proto3" json:"allowCreationOfContracts,omitempty"` + AllowAdaptiveEnergy int64 `protobuf:"varint,19,opt,name=allowAdaptiveEnergy,proto3" json:"allowAdaptiveEnergy,omitempty"` +} + +func (x *NodeInfo_ConfigNodeInfo) Reset() { + *x = NodeInfo_ConfigNodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo_ConfigNodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo_ConfigNodeInfo) ProtoMessage() {} + +func (x *NodeInfo_ConfigNodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo_ConfigNodeInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_ConfigNodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40, 2} +} + +func (x *NodeInfo_ConfigNodeInfo) GetCodeVersion() string { + if x != nil { + return x.CodeVersion + } + return "" +} + +func (x *NodeInfo_ConfigNodeInfo) GetP2PVersion() string { + if x != nil { + return x.P2PVersion + } + return "" +} + +func (x *NodeInfo_ConfigNodeInfo) GetListenPort() int32 { + if x != nil { + return x.ListenPort + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetDiscoverEnable() bool { + if x != nil { + return x.DiscoverEnable + } + return false +} + +func (x *NodeInfo_ConfigNodeInfo) GetActiveNodeSize() int32 { + if x != nil { + return x.ActiveNodeSize + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetPassiveNodeSize() int32 { + if x != nil { + return x.PassiveNodeSize + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetSendNodeSize() int32 { + if x != nil { + return x.SendNodeSize + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetMaxConnectCount() int32 { + if x != nil { + return x.MaxConnectCount + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetSameIpMaxConnectCount() int32 { + if x != nil { + return x.SameIpMaxConnectCount + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetBackupListenPort() int32 { + if x != nil { + return x.BackupListenPort + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetBackupMemberSize() int32 { + if x != nil { + return x.BackupMemberSize + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetBackupPriority() int32 { + if x != nil { + return x.BackupPriority + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetDbVersion() int32 { + if x != nil { + return x.DbVersion + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetMinParticipationRate() int32 { + if x != nil { + return x.MinParticipationRate + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetSupportConstant() bool { + if x != nil { + return x.SupportConstant + } + return false +} + +func (x *NodeInfo_ConfigNodeInfo) GetMinTimeRatio() float64 { + if x != nil { + return x.MinTimeRatio + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetMaxTimeRatio() float64 { + if x != nil { + return x.MaxTimeRatio + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetAllowCreationOfContracts() int64 { + if x != nil { + return x.AllowCreationOfContracts + } + return 0 +} + +func (x *NodeInfo_ConfigNodeInfo) GetAllowAdaptiveEnergy() int64 { + if x != nil { + return x.AllowAdaptiveEnergy + } + return 0 +} + +type NodeInfo_MachineInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ThreadCount int32 `protobuf:"varint,1,opt,name=threadCount,proto3" json:"threadCount,omitempty"` + DeadLockThreadCount int32 `protobuf:"varint,2,opt,name=deadLockThreadCount,proto3" json:"deadLockThreadCount,omitempty"` + CpuCount int32 `protobuf:"varint,3,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` + TotalMemory int64 `protobuf:"varint,4,opt,name=totalMemory,proto3" json:"totalMemory,omitempty"` + FreeMemory int64 `protobuf:"varint,5,opt,name=freeMemory,proto3" json:"freeMemory,omitempty"` + CpuRate float64 `protobuf:"fixed64,6,opt,name=cpuRate,proto3" json:"cpuRate,omitempty"` + JavaVersion string `protobuf:"bytes,7,opt,name=javaVersion,proto3" json:"javaVersion,omitempty"` + OsName string `protobuf:"bytes,8,opt,name=osName,proto3" json:"osName,omitempty"` + JvmTotalMemory int64 `protobuf:"varint,9,opt,name=jvmTotalMemory,proto3" json:"jvmTotalMemory,omitempty"` + JvmFreeMemory int64 `protobuf:"varint,10,opt,name=jvmFreeMemory,proto3" json:"jvmFreeMemory,omitempty"` + ProcessCpuRate float64 `protobuf:"fixed64,11,opt,name=processCpuRate,proto3" json:"processCpuRate,omitempty"` + MemoryDescInfoList []*NodeInfo_MachineInfo_MemoryDescInfo `protobuf:"bytes,12,rep,name=memoryDescInfoList,proto3" json:"memoryDescInfoList,omitempty"` + DeadLockThreadInfoList []*NodeInfo_MachineInfo_DeadLockThreadInfo `protobuf:"bytes,13,rep,name=deadLockThreadInfoList,proto3" json:"deadLockThreadInfoList,omitempty"` +} + +func (x *NodeInfo_MachineInfo) Reset() { + *x = NodeInfo_MachineInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo_MachineInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo_MachineInfo) ProtoMessage() {} + +func (x *NodeInfo_MachineInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo_MachineInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3} +} + +func (x *NodeInfo_MachineInfo) GetThreadCount() int32 { + if x != nil { + return x.ThreadCount + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetDeadLockThreadCount() int32 { + if x != nil { + return x.DeadLockThreadCount + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetCpuCount() int32 { + if x != nil { + return x.CpuCount + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetTotalMemory() int64 { + if x != nil { + return x.TotalMemory + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetFreeMemory() int64 { + if x != nil { + return x.FreeMemory + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetCpuRate() float64 { + if x != nil { + return x.CpuRate + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetJavaVersion() string { + if x != nil { + return x.JavaVersion + } + return "" +} + +func (x *NodeInfo_MachineInfo) GetOsName() string { + if x != nil { + return x.OsName + } + return "" +} + +func (x *NodeInfo_MachineInfo) GetJvmTotalMemory() int64 { + if x != nil { + return x.JvmTotalMemory + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetJvmFreeMemory() int64 { + if x != nil { + return x.JvmFreeMemory + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetProcessCpuRate() float64 { + if x != nil { + return x.ProcessCpuRate + } + return 0 +} + +func (x *NodeInfo_MachineInfo) GetMemoryDescInfoList() []*NodeInfo_MachineInfo_MemoryDescInfo { + if x != nil { + return x.MemoryDescInfoList + } + return nil +} + +func (x *NodeInfo_MachineInfo) GetDeadLockThreadInfoList() []*NodeInfo_MachineInfo_DeadLockThreadInfo { + if x != nil { + return x.DeadLockThreadInfoList + } + return nil +} + +type NodeInfo_MachineInfo_MemoryDescInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + InitSize int64 `protobuf:"varint,2,opt,name=initSize,proto3" json:"initSize,omitempty"` + UseSize int64 `protobuf:"varint,3,opt,name=useSize,proto3" json:"useSize,omitempty"` + MaxSize int64 `protobuf:"varint,4,opt,name=maxSize,proto3" json:"maxSize,omitempty"` + UseRate float64 `protobuf:"fixed64,5,opt,name=useRate,proto3" json:"useRate,omitempty"` +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) Reset() { + *x = NodeInfo_MachineInfo_MemoryDescInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo_MachineInfo_MemoryDescInfo) ProtoMessage() {} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo_MachineInfo_MemoryDescInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo_MemoryDescInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3, 0} +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetInitSize() int64 { + if x != nil { + return x.InitSize + } + return 0 +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseSize() int64 { + if x != nil { + return x.UseSize + } + return 0 +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetMaxSize() int64 { + if x != nil { + return x.MaxSize + } + return 0 +} + +func (x *NodeInfo_MachineInfo_MemoryDescInfo) GetUseRate() float64 { + if x != nil { + return x.UseRate + } + return 0 +} + +type NodeInfo_MachineInfo_DeadLockThreadInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + LockName string `protobuf:"bytes,2,opt,name=lockName,proto3" json:"lockName,omitempty"` + LockOwner string `protobuf:"bytes,3,opt,name=lockOwner,proto3" json:"lockOwner,omitempty"` + State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` + BlockTime int64 `protobuf:"varint,5,opt,name=blockTime,proto3" json:"blockTime,omitempty"` + WaitTime int64 `protobuf:"varint,6,opt,name=waitTime,proto3" json:"waitTime,omitempty"` + StackTrace string `protobuf:"bytes,7,opt,name=stackTrace,proto3" json:"stackTrace,omitempty"` +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) Reset() { + *x = NodeInfo_MachineInfo_DeadLockThreadInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoMessage() {} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NodeInfo_MachineInfo_DeadLockThreadInfo.ProtoReflect.Descriptor instead. +func (*NodeInfo_MachineInfo_DeadLockThreadInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{40, 3, 1} +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockName() string { + if x != nil { + return x.LockName + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetLockOwner() string { + if x != nil { + return x.LockOwner + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetState() string { + if x != nil { + return x.State + } + return "" +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetBlockTime() int64 { + if x != nil { + return x.BlockTime + } + return 0 +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetWaitTime() int64 { + if x != nil { + return x.WaitTime + } + return 0 +} + +func (x *NodeInfo_MachineInfo_DeadLockThreadInfo) GetStackTrace() string { + if x != nil { + return x.StackTrace + } + return "" +} + +type MetricsInfo_NodeInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` + NodeType int32 `protobuf:"varint,2,opt,name=nodeType,proto3" json:"nodeType,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + BackupStatus int32 `protobuf:"varint,4,opt,name=backupStatus,proto3" json:"backupStatus,omitempty"` +} + +func (x *MetricsInfo_NodeInfo) Reset() { + *x = MetricsInfo_NodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NodeInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NodeInfo) ProtoMessage() {} + +func (x *MetricsInfo_NodeInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NodeInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NodeInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 0} +} + +func (x *MetricsInfo_NodeInfo) GetIp() string { + if x != nil { + return x.Ip + } + return "" +} + +func (x *MetricsInfo_NodeInfo) GetNodeType() int32 { + if x != nil { + return x.NodeType + } + return 0 +} + +func (x *MetricsInfo_NodeInfo) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *MetricsInfo_NodeInfo) GetBackupStatus() int32 { + if x != nil { + return x.BackupStatus + } + return 0 +} + +type MetricsInfo_BlockChainInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HeadBlockNum int64 `protobuf:"varint,1,opt,name=headBlockNum,proto3" json:"headBlockNum,omitempty"` + HeadBlockTimestamp int64 `protobuf:"varint,2,opt,name=headBlockTimestamp,proto3" json:"headBlockTimestamp,omitempty"` + HeadBlockHash string `protobuf:"bytes,3,opt,name=headBlockHash,proto3" json:"headBlockHash,omitempty"` + ForkCount int32 `protobuf:"varint,4,opt,name=forkCount,proto3" json:"forkCount,omitempty"` + FailForkCount int32 `protobuf:"varint,5,opt,name=failForkCount,proto3" json:"failForkCount,omitempty"` + BlockProcessTime *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=blockProcessTime,proto3" json:"blockProcessTime,omitempty"` + Tps *MetricsInfo_RateInfo `protobuf:"bytes,7,opt,name=tps,proto3" json:"tps,omitempty"` + TransactionCacheSize int32 `protobuf:"varint,8,opt,name=transactionCacheSize,proto3" json:"transactionCacheSize,omitempty"` + MissedTransaction *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=missedTransaction,proto3" json:"missedTransaction,omitempty"` + Witnesses []*MetricsInfo_BlockChainInfo_Witness `protobuf:"bytes,10,rep,name=witnesses,proto3" json:"witnesses,omitempty"` + FailProcessBlockNum int64 `protobuf:"varint,11,opt,name=failProcessBlockNum,proto3" json:"failProcessBlockNum,omitempty"` + FailProcessBlockReason string `protobuf:"bytes,12,opt,name=failProcessBlockReason,proto3" json:"failProcessBlockReason,omitempty"` + DupWitness []*MetricsInfo_BlockChainInfo_DupWitness `protobuf:"bytes,13,rep,name=dupWitness,proto3" json:"dupWitness,omitempty"` +} + +func (x *MetricsInfo_BlockChainInfo) Reset() { + *x = MetricsInfo_BlockChainInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_BlockChainInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_BlockChainInfo) ProtoMessage() {} + +func (x *MetricsInfo_BlockChainInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_BlockChainInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1} +} + +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockNum() int64 { + if x != nil { + return x.HeadBlockNum + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockTimestamp() int64 { + if x != nil { + return x.HeadBlockTimestamp + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetHeadBlockHash() string { + if x != nil { + return x.HeadBlockHash + } + return "" +} + +func (x *MetricsInfo_BlockChainInfo) GetForkCount() int32 { + if x != nil { + return x.ForkCount + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetFailForkCount() int32 { + if x != nil { + return x.FailForkCount + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetBlockProcessTime() *MetricsInfo_RateInfo { + if x != nil { + return x.BlockProcessTime + } + return nil +} + +func (x *MetricsInfo_BlockChainInfo) GetTps() *MetricsInfo_RateInfo { + if x != nil { + return x.Tps + } + return nil +} + +func (x *MetricsInfo_BlockChainInfo) GetTransactionCacheSize() int32 { + if x != nil { + return x.TransactionCacheSize + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetMissedTransaction() *MetricsInfo_RateInfo { + if x != nil { + return x.MissedTransaction + } + return nil +} + +func (x *MetricsInfo_BlockChainInfo) GetWitnesses() []*MetricsInfo_BlockChainInfo_Witness { + if x != nil { + return x.Witnesses + } + return nil +} + +func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockNum() int64 { + if x != nil { + return x.FailProcessBlockNum + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo) GetFailProcessBlockReason() string { + if x != nil { + return x.FailProcessBlockReason + } + return "" +} + +func (x *MetricsInfo_BlockChainInfo) GetDupWitness() []*MetricsInfo_BlockChainInfo_DupWitness { + if x != nil { + return x.DupWitness + } + return nil +} + +type MetricsInfo_RateInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + MeanRate float64 `protobuf:"fixed64,2,opt,name=meanRate,proto3" json:"meanRate,omitempty"` + OneMinuteRate float64 `protobuf:"fixed64,3,opt,name=oneMinuteRate,proto3" json:"oneMinuteRate,omitempty"` + FiveMinuteRate float64 `protobuf:"fixed64,4,opt,name=fiveMinuteRate,proto3" json:"fiveMinuteRate,omitempty"` + FifteenMinuteRate float64 `protobuf:"fixed64,5,opt,name=fifteenMinuteRate,proto3" json:"fifteenMinuteRate,omitempty"` +} + +func (x *MetricsInfo_RateInfo) Reset() { + *x = MetricsInfo_RateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_RateInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_RateInfo) ProtoMessage() {} + +func (x *MetricsInfo_RateInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_RateInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_RateInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 2} +} + +func (x *MetricsInfo_RateInfo) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *MetricsInfo_RateInfo) GetMeanRate() float64 { + if x != nil { + return x.MeanRate + } + return 0 +} + +func (x *MetricsInfo_RateInfo) GetOneMinuteRate() float64 { + if x != nil { + return x.OneMinuteRate + } + return 0 +} + +func (x *MetricsInfo_RateInfo) GetFiveMinuteRate() float64 { + if x != nil { + return x.FiveMinuteRate + } + return 0 +} + +func (x *MetricsInfo_RateInfo) GetFifteenMinuteRate() float64 { + if x != nil { + return x.FifteenMinuteRate + } + return 0 +} + +type MetricsInfo_NetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ErrorProtoCount int32 `protobuf:"varint,1,opt,name=errorProtoCount,proto3" json:"errorProtoCount,omitempty"` + Api *MetricsInfo_NetInfo_ApiInfo `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` + ConnectionCount int32 `protobuf:"varint,3,opt,name=connectionCount,proto3" json:"connectionCount,omitempty"` + ValidConnectionCount int32 `protobuf:"varint,4,opt,name=validConnectionCount,proto3" json:"validConnectionCount,omitempty"` + TcpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,5,opt,name=tcpInTraffic,proto3" json:"tcpInTraffic,omitempty"` + TcpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,6,opt,name=tcpOutTraffic,proto3" json:"tcpOutTraffic,omitempty"` + DisconnectionCount int32 `protobuf:"varint,7,opt,name=disconnectionCount,proto3" json:"disconnectionCount,omitempty"` + DisconnectionDetail []*MetricsInfo_NetInfo_DisconnectionDetailInfo `protobuf:"bytes,8,rep,name=disconnectionDetail,proto3" json:"disconnectionDetail,omitempty"` + UdpInTraffic *MetricsInfo_RateInfo `protobuf:"bytes,9,opt,name=udpInTraffic,proto3" json:"udpInTraffic,omitempty"` + UdpOutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,10,opt,name=udpOutTraffic,proto3" json:"udpOutTraffic,omitempty"` + Latency *MetricsInfo_NetInfo_LatencyInfo `protobuf:"bytes,11,opt,name=latency,proto3" json:"latency,omitempty"` +} + +func (x *MetricsInfo_NetInfo) Reset() { + *x = MetricsInfo_NetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3} +} + +func (x *MetricsInfo_NetInfo) GetErrorProtoCount() int32 { + if x != nil { + return x.ErrorProtoCount + } + return 0 +} + +func (x *MetricsInfo_NetInfo) GetApi() *MetricsInfo_NetInfo_ApiInfo { + if x != nil { + return x.Api + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetConnectionCount() int32 { + if x != nil { + return x.ConnectionCount + } + return 0 +} + +func (x *MetricsInfo_NetInfo) GetValidConnectionCount() int32 { + if x != nil { + return x.ValidConnectionCount + } + return 0 +} + +func (x *MetricsInfo_NetInfo) GetTcpInTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.TcpInTraffic + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetTcpOutTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.TcpOutTraffic + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetDisconnectionCount() int32 { + if x != nil { + return x.DisconnectionCount + } + return 0 +} + +func (x *MetricsInfo_NetInfo) GetDisconnectionDetail() []*MetricsInfo_NetInfo_DisconnectionDetailInfo { + if x != nil { + return x.DisconnectionDetail + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetUdpInTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.UdpInTraffic + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetUdpOutTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.UdpOutTraffic + } + return nil +} + +func (x *MetricsInfo_NetInfo) GetLatency() *MetricsInfo_NetInfo_LatencyInfo { + if x != nil { + return x.Latency + } + return nil +} + +type MetricsInfo_BlockChainInfo_Witness struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *MetricsInfo_BlockChainInfo_Witness) Reset() { + *x = MetricsInfo_BlockChainInfo_Witness{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_BlockChainInfo_Witness) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_BlockChainInfo_Witness) ProtoMessage() {} + +func (x *MetricsInfo_BlockChainInfo_Witness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_BlockChainInfo_Witness.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo_Witness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1, 0} +} + +func (x *MetricsInfo_BlockChainInfo_Witness) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *MetricsInfo_BlockChainInfo_Witness) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +type MetricsInfo_BlockChainInfo_DupWitness struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + BlockNum int64 `protobuf:"varint,2,opt,name=blockNum,proto3" json:"blockNum,omitempty"` + Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) Reset() { + *x = MetricsInfo_BlockChainInfo_DupWitness{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_BlockChainInfo_DupWitness) ProtoMessage() {} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_BlockChainInfo_DupWitness.ProtoReflect.Descriptor instead. +func (*MetricsInfo_BlockChainInfo_DupWitness) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 1, 1} +} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetBlockNum() int64 { + if x != nil { + return x.BlockNum + } + return 0 +} + +func (x *MetricsInfo_BlockChainInfo_DupWitness) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +type MetricsInfo_NetInfo_ApiInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Qps *MetricsInfo_RateInfo `protobuf:"bytes,1,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` + Detail []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo `protobuf:"bytes,4,rep,name=detail,proto3" json:"detail,omitempty"` +} + +func (x *MetricsInfo_NetInfo_ApiInfo) Reset() { + *x = MetricsInfo_NetInfo_ApiInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo_ApiInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_ApiInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_ApiInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_ApiInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_ApiInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0} +} + +func (x *MetricsInfo_NetInfo_ApiInfo) GetQps() *MetricsInfo_RateInfo { + if x != nil { + return x.Qps + } + return nil +} + +func (x *MetricsInfo_NetInfo_ApiInfo) GetFailQps() *MetricsInfo_RateInfo { + if x != nil { + return x.FailQps + } + return nil +} + +func (x *MetricsInfo_NetInfo_ApiInfo) GetOutTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.OutTraffic + } + return nil +} + +func (x *MetricsInfo_NetInfo_ApiInfo) GetDetail() []*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo { + if x != nil { + return x.Detail + } + return nil +} + +type MetricsInfo_NetInfo_DisconnectionDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_DisconnectionDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_DisconnectionDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_DisconnectionDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 1} +} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +func (x *MetricsInfo_NetInfo_DisconnectionDetailInfo) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +type MetricsInfo_NetInfo_LatencyInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Top99 int32 `protobuf:"varint,1,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,2,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,3,opt,name=top75,proto3" json:"top75,omitempty"` + TotalCount int32 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` + Delay1S int32 `protobuf:"varint,5,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,6,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,7,opt,name=delay3S,proto3" json:"delay3S,omitempty"` + Detail []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo `protobuf:"bytes,8,rep,name=detail,proto3" json:"detail,omitempty"` +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) Reset() { + *x = MetricsInfo_NetInfo_LatencyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_LatencyInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_LatencyInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_LatencyInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_LatencyInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 2} +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop99() int32 { + if x != nil { + return x.Top99 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop95() int32 { + if x != nil { + return x.Top95 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTop75() int32 { + if x != nil { + return x.Top75 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetTotalCount() int32 { + if x != nil { + return x.TotalCount + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay1S() int32 { + if x != nil { + return x.Delay1S + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay2S() int32 { + if x != nil { + return x.Delay2S + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDelay3S() int32 { + if x != nil { + return x.Delay3S + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo) GetDetail() []*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo { + if x != nil { + return x.Detail + } + return nil +} + +type MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Qps *MetricsInfo_RateInfo `protobuf:"bytes,2,opt,name=qps,proto3" json:"qps,omitempty"` + FailQps *MetricsInfo_RateInfo `protobuf:"bytes,3,opt,name=failQps,proto3" json:"failQps,omitempty"` + OutTraffic *MetricsInfo_RateInfo `protobuf:"bytes,4,opt,name=outTraffic,proto3" json:"outTraffic,omitempty"` +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 0, 0} +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetQps() *MetricsInfo_RateInfo { + if x != nil { + return x.Qps + } + return nil +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetFailQps() *MetricsInfo_RateInfo { + if x != nil { + return x.FailQps + } + return nil +} + +func (x *MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo) GetOutTraffic() *MetricsInfo_RateInfo { + if x != nil { + return x.OutTraffic + } + return nil +} + +type MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Witness string `protobuf:"bytes,1,opt,name=witness,proto3" json:"witness,omitempty"` + Top99 int32 `protobuf:"varint,2,opt,name=top99,proto3" json:"top99,omitempty"` + Top95 int32 `protobuf:"varint,3,opt,name=top95,proto3" json:"top95,omitempty"` + Top75 int32 `protobuf:"varint,4,opt,name=top75,proto3" json:"top75,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` + Delay1S int32 `protobuf:"varint,6,opt,name=delay1S,proto3" json:"delay1S,omitempty"` + Delay2S int32 `protobuf:"varint,7,opt,name=delay2S,proto3" json:"delay2S,omitempty"` + Delay3S int32 `protobuf:"varint,8,opt,name=delay3S,proto3" json:"delay3S,omitempty"` +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Reset() { + *x = MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoMessage() {} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo.ProtoReflect.Descriptor instead. +func (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{41, 3, 2, 0} +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetWitness() string { + if x != nil { + return x.Witness + } + return "" +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop99() int32 { + if x != nil { + return x.Top99 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop95() int32 { + if x != nil { + return x.Top95 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetTop75() int32 { + if x != nil { + return x.Top75 + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay1S() int32 { + if x != nil { + return x.Delay1S + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay2S() int32 { + if x != nil { + return x.Delay2S + } + return 0 +} + +func (x *MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo) GetDelay3S() int32 { + if x != nil { + return x.Delay3S + } + return 0 +} + +type PBFTMessage_Raw struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MsgType PBFTMessage_MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=protocol.PBFTMessage_MsgType" json:"msg_type,omitempty"` + DataType PBFTMessage_DataType `protobuf:"varint,2,opt,name=data_type,json=dataType,proto3,enum=protocol.PBFTMessage_DataType" json:"data_type,omitempty"` + ViewN int64 `protobuf:"varint,3,opt,name=view_n,json=viewN,proto3" json:"view_n,omitempty"` + Epoch int64 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` + Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *PBFTMessage_Raw) Reset() { + *x = PBFTMessage_Raw{} + if protoimpl.UnsafeEnabled { + mi := &file_core_Tron_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PBFTMessage_Raw) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PBFTMessage_Raw) ProtoMessage() {} + +func (x *PBFTMessage_Raw) ProtoReflect() protoreflect.Message { + mi := &file_core_Tron_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PBFTMessage_Raw.ProtoReflect.Descriptor instead. +func (*PBFTMessage_Raw) Descriptor() ([]byte, []int) { + return file_core_Tron_proto_rawDescGZIP(), []int{42, 0} +} + +func (x *PBFTMessage_Raw) GetMsgType() PBFTMessage_MsgType { + if x != nil { + return x.MsgType + } + return PBFTMessage_VIEW_CHANGE +} + +func (x *PBFTMessage_Raw) GetDataType() PBFTMessage_DataType { + if x != nil { + return x.DataType + } + return PBFTMessage_BLOCK +} + +func (x *PBFTMessage_Raw) GetViewN() int64 { + if x != nil { + return x.ViewN + } + return 0 +} + +func (x *PBFTMessage_Raw) GetEpoch() int64 { + if x != nil { + return x.Epoch + } + return 0 +} + +func (x *PBFTMessage_Raw) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +var File_core_Tron_proto protoreflect.FileDescriptor + +var file_core_Tron_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x1a, 0x19, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x72, + 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x48, 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, + 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, + 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb4, 0x03, 0x0a, + 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, + 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x41, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x49, 0x53, 0x41, 0x50, 0x50, + 0x52, 0x4f, 0x56, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x50, 0x52, 0x4f, + 0x56, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, + 0x44, 0x10, 0x03, 0x22, 0xa5, 0x02, 0x0a, 0x08, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, + 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x98, 0x04, 0x0a, 0x0b, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, + 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, + 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, + 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, + 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x12, 0x3b, 0x0a, 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3b, 0x0a, + 0x1a, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x17, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x72, 0x65, + 0x76, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x2f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, + 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, + 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, + 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x40, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0x4e, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x37, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x09, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x22, 0x57, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x22, 0x88, 0x01, 0x0a, 0x12, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x0b, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, + 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x62, + 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x86, 0x01, 0x0a, 0x0f, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, + 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, + 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x65, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, + 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0xca, 0x1e, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, + 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, + 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x56, 0x32, 0x18, 0x38, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x56, + 0x32, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x06, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x63, 0x0a, 0x2f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, + 0x64, 0x74, 0x68, 0x18, 0x29, 0x20, 0x01, 0x28, 0x03, 0x52, 0x2a, 0x61, 0x63, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, + 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x52, 0x0a, 0x26, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, + 0x2a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x22, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, + 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, + 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, + 0x5f, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2e, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x54, 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, + 0x37, 0x0a, 0x0a, 0x74, 0x72, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x2f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x09, 0x74, + 0x72, 0x6f, 0x6e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x3c, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, + 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x12, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x65, 0x12, 0x3d, 0x0a, 0x0d, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x10, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x0c, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, + 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x49, 0x44, 0x18, 0x39, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x64, 0x49, 0x44, 0x12, 0x6e, 0x0a, + 0x1b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x74, 0x0a, + 0x1d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x32, 0x18, 0x3a, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x56, 0x32, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x65, + 0x65, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x14, 0x66, 0x72, 0x65, + 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x18, 0x3b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x13, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, + 0x61, 0x67, 0x65, 0x56, 0x32, 0x12, 0x2e, 0x0a, 0x13, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, + 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x46, 0x72, 0x65, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0f, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6e, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x65, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, + 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x3f, 0x0a, 0x10, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x0f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, + 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x56, 0x32, 0x12, 0x3c, 0x0a, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x18, 0x23, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x46, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x56, 0x32, 0x52, 0x0a, 0x75, 0x6e, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, + 0x12, 0x56, 0x0a, 0x28, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x24, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x24, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, + 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x67, 0x0a, 0x31, 0x61, 0x63, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x25, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, + 0x68, 0x1a, 0x50, 0x0a, 0x06, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, + 0x0c, 0x41, 0x73, 0x73, 0x65, 0x74, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x1d, 0x4c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4d, 0x0a, 0x1f, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, + 0x6d, 0x65, 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x46, + 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, + 0x56, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0xa0, 0x06, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x53, 0x0a, 0x19, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, + 0x42, 0x0a, 0x1e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x12, 0x5d, 0x0a, 0x2c, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x27, 0x61, 0x63, 0x71, 0x75, 0x69, + 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, + 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x12, 0x4c, 0x0a, 0x23, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x1f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x61, + 0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x19, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x50, 0x0a, 0x25, 0x64, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, + 0x67, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x21, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x61, 0x0a, 0x2e, 0x61, + 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, + 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x29, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x44, 0x65, 0x6c, + 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x56, 0x32, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x36, + 0x0a, 0x17, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x15, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x4f, 0x70, 0x74, + 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x64, 0x1a, 0x4e, 0x0a, 0x08, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x93, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x46, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x56, 0x32, 0x12, 0x2a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x75, 0x6e, + 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x37, 0x0a, 0x03, + 0x4b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0xa3, 0x02, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, + 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, + 0x3f, 0x0a, 0x1c, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, + 0x12, 0x39, 0x0a, 0x19, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x62, + 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, + 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x42, 0x61, 0x6e, + 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x16, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22, 0x63, 0x0a, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0xb2, 0x02, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, + 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x04, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, + 0x34, 0x0a, 0x0e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x10, 0x02, 0x22, 0x99, 0x02, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x76, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, + 0x76, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, + 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, + 0x79, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x64, + 0x75, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x6c, 0x6f, + 0x74, 0x4e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, + 0x73, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x4a, + 0x6f, 0x62, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4a, 0x6f, 0x62, + 0x73, 0x22, 0x7b, 0x0a, 0x05, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, 0x6f, 0x74, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, 0x6f, 0x74, 0x65, + 0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x56, 0x6f, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x22, 0x40, + 0x0a, 0x08, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x48, 0x61, 0x73, 0x68, + 0x22, 0xa0, 0x01, 0x0a, 0x07, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x30, 0x0a, 0x08, + 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x45, 0x0a, 0x03, + 0x72, 0x61, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x76, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, + 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, + 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x09, 0x54, 0x58, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x2c, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x58, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x22, 0xde, + 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x46, 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, + 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, + 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x10, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x74, + 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x06, 0x6e, 0x65, 0x74, 0x46, 0x65, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, + 0x14, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x70, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x5f, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x65, + 0x72, 0x67, 0x79, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, + 0xb1, 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x6b, + 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x6b, + 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, + 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x6c, 0x6c, 0x53, 0x65, 0x6c, + 0x6c, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x6c, + 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x42, 0x75, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x22, 0xdd, 0x18, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x72, 0x61, 0x77, + 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x05, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x52, 0x03, 0x72, 0x65, 0x74, 0x1a, 0xef, 0x0a, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x88, + 0x09, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x19, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, + 0x12, 0x19, 0x0a, 0x15, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x56, + 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x06, 0x12, 0x19, + 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x08, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0a, 0x12, 0x19, 0x0a, 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0c, 0x12, + 0x1b, 0x0a, 0x17, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0d, 0x12, 0x19, 0x0a, 0x15, + 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0e, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x0f, + 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x10, 0x12, 0x1b, 0x0a, 0x17, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x11, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x10, 0x12, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x13, 0x12, + 0x12, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x14, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, + 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x1e, 0x12, 0x18, 0x0a, 0x14, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x1f, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x20, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x10, 0x21, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x29, 0x12, 0x1a, + 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2a, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2b, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2c, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2d, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x2e, 0x12, 0x14, 0x0a, + 0x10, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x10, 0x30, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x31, + 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x33, 0x12, 0x1b, + 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x34, 0x12, 0x1d, 0x0a, 0x19, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x35, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x36, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x10, 0x37, 0x12, 0x22, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x38, 0x12, 0x1c, 0x0a, 0x18, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x39, 0x12, 0x1e, 0x0a, 0x1a, 0x55, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3a, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x3b, 0x1a, 0xed, 0x09, 0x0a, 0x06, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, + 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x38, 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, + 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, + 0x63, 0x74, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x47, 0x0a, 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, + 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, + 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, + 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x46, 0x65, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, + 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x34, + 0x0a, 0x16, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x72, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, + 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x16, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, + 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, + 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x01, 0x22, 0xc3, 0x02, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, + 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, + 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, + 0x42, 0x41, 0x44, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x5f, 0x44, 0x45, 0x53, 0x54, 0x49, 0x4e, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, + 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x45, + 0x43, 0x4f, 0x4d, 0x50, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, + 0x54, 0x10, 0x05, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x54, 0x4f, 0x4f, + 0x5f, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x41, 0x43, + 0x4b, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, + 0x11, 0x49, 0x4c, 0x4c, 0x45, 0x47, 0x41, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, + 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x5f, + 0x4f, 0x46, 0x5f, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, 0x0a, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, + 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, + 0x4a, 0x56, 0x4d, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x46, + 0x4c, 0x4f, 0x57, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x56, 0x41, 0x4c, + 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x0f, 0x1a, 0xe7, 0x02, 0x0a, 0x03, 0x72, 0x61, + 0x77, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x66, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x24, 0x0a, + 0x0e, 0x72, 0x65, 0x66, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x61, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0b, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0xd5, 0x0a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, + 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x70, 0x74, 0x52, 0x07, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x2f, 0x0a, 0x03, 0x6c, + 0x6f, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x06, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x49, 0x44, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x49, 0x44, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x5f, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x75, 0x6e, 0x66, 0x72, + 0x65, 0x65, 0x7a, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x15, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, + 0x0a, 0x18, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x16, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x1e, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x6e, 0x6f, 0x74, + 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x1b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, + 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, + 0x20, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x5f, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x68, 0x69, 0x65, 0x6c, + 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x19, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0c, + 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1e, 0x0a, 0x0a, + 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x12, 0x34, 0x0a, 0x16, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x6f, 0x0a, 0x18, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x75, 0x6e, 0x66, + 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, + 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x16, 0x63, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x1a, 0x4b, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x1a, 0x49, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, + 0x7a, 0x65, 0x56, 0x32, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x43, 0x45, 0x53, 0x53, 0x10, 0x00, 0x12, + 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x22, 0x9f, 0x01, 0x0a, 0x0e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x12, 0x20, + 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, + 0x69, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49, 0x0a, + 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x0a, + 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x2e, 0x72, 0x61, 0x77, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, + 0x0a, 0x11, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x89, 0x02, 0x0a, 0x03, + 0x72, 0x61, 0x77, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x54, 0x72, 0x69, 0x65, 0x52, 0x6f, 0x6f, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0e, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x7c, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0c, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, + 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x22, 0xd8, 0x01, 0x0a, 0x0e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, + 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x49, 0x64, 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x31, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, + 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x35, 0x0a, 0x07, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x22, 0x28, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x53, + 0x59, 0x4e, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x44, 0x56, 0x54, 0x49, 0x53, 0x45, + 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x54, 0x43, 0x48, 0x10, 0x02, 0x22, 0x79, 0x0a, + 0x09, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x49, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x03, + 0x69, 0x64, 0x73, 0x22, 0x23, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x00, 0x12, 0x09, 0x0a, + 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x22, 0x8f, 0x02, 0x0a, 0x05, 0x49, 0x74, 0x65, + 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x74, 0x65, 0x6d, + 0x73, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x27, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x38, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, + 0x45, 0x52, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x52, 0x58, 0x10, 0x01, 0x12, 0x09, + 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4c, 0x4f, + 0x43, 0x4b, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x11, 0x44, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x35, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x14, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x22, 0x41, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, + 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xef, 0x03, 0x0a, 0x0c, 0x48, 0x65, + 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x66, 0x72, + 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x66, 0x72, + 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x46, 0x0a, 0x0e, 0x67, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, + 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x52, 0x0e, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x52, 0x0b, 0x68, 0x65, 0x61, + 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, 0x0e, + 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6c, 0x6f, 0x77, 0x65, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x4e, 0x75, 0x6d, 0x1a, 0x35, 0x0a, 0x07, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, + 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xe1, 0x02, 0x0a, 0x13, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, + 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x51, 0x0a, + 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x1a, 0x47, 0x0a, 0x0d, 0x43, 0x61, 0x6c, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, + 0x9b, 0x01, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, + 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, + 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x6f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, + 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbd, 0x1a, + 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x65, + 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x53, 0x79, 0x6e, 0x63, 0x4e, 0x75, 0x6d, 0x12, 0x14, + 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x75, + 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, + 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, + 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x3f, 0x0a, 0x0c, + 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0c, 0x70, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x49, 0x0a, + 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5d, 0x0a, 0x13, 0x63, 0x68, + 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, + 0x70, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x61, + 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x63, 0x68, 0x65, 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, 0x1a, 0x46, 0x0a, 0x18, 0x43, 0x68, 0x65, + 0x61, 0x74, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x4d, 0x61, 0x70, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0xc8, 0x07, 0x0a, 0x08, 0x50, 0x65, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, + 0x0a, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x75, + 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x4e, + 0x75, 0x6d, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x13, 0x6c, 0x61, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x46, 0x6c, 0x61, 0x67, + 0x12, 0x38, 0x0a, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x17, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, + 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x65, + 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, + 0x6f, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, + 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, + 0x6e, 0x65, 0x65, 0x64, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x73, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, + 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x61, 0x76, 0x67, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, + 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x54, + 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, + 0x6e, 0x63, 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, + 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, + 0x54, 0x6f, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x50, 0x65, 0x65, 0x6b, 0x4e, + 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x16, 0x73, 0x79, 0x6e, 0x63, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x6e, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0d, 0x75, 0x6e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x79, 0x6e, 0x4e, 0x75, 0x6d, + 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, + 0x69, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x49, 0x6e, 0x50, 0x6f, 0x72, 0x63, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x68, 0x65, + 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x57, 0x65, 0x42, 0x6f, 0x74, 0x68, 0x48, 0x61, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x69, 0x6e, 0x46, 0x6c, 0x6f, 0x77, 0x18, 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, + 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x34, + 0x0a, 0x15, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, + 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x19, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x1a, 0xa2, 0x06, 0x0a, + 0x0e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x32, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, + 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x70, 0x61, 0x73, 0x73, + 0x69, 0x76, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, + 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, + 0x28, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x61, 0x6d, + 0x65, 0x49, 0x70, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x73, 0x61, 0x6d, 0x65, 0x49, 0x70, + 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x2a, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, + 0x6f, 0x72, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, + 0x1c, 0x0a, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x09, 0x64, 0x62, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, + 0x14, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x6d, 0x69, 0x6e, + 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, + 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, + 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, + 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, + 0x74, 0x69, 0x6f, 0x12, 0x3a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x66, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x12, + 0x30, 0x0a, 0x13, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, + 0x79, 0x1a, 0xb9, 0x07, 0x0a, 0x0b, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, + 0x68, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x13, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x70, 0x75, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x16, 0x0a, 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x6f, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, + 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x6a, 0x76, 0x6d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, + 0x24, 0x0a, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6a, 0x76, 0x6d, 0x46, 0x72, 0x65, 0x65, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x70, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x43, 0x70, 0x75, 0x52, 0x61, 0x74, 0x65, 0x12, 0x5d, 0x0a, + 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, + 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, + 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x69, 0x0a, 0x16, + 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, + 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x16, 0x64, 0x65, 0x61, 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, + 0x6e, 0x66, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x8e, 0x01, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x44, 0x65, 0x73, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x69, 0x6e, 0x69, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x75, 0x73, 0x65, + 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x07, 0x75, 0x73, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xd2, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x61, + 0x64, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x77, 0x61, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0xc0, 0x18, + 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x32, 0x0a, 0x04, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x44, 0x0a, + 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, + 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x12, 0x2f, 0x0a, 0x03, 0x6e, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x03, 0x6e, 0x65, 0x74, 0x1a, 0x74, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, + 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xee, 0x06, 0x0a, 0x0e, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, + 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x12, 0x2e, 0x0a, 0x12, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x68, + 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, + 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6b, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6b, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x46, 0x6f, 0x72, + 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x66, 0x61, + 0x69, 0x6c, 0x46, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x10, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x70, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x74, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x63, 0x68, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4c, 0x0a, + 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, + 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x09, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x09, 0x77, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x61, 0x69, + 0x6c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x66, 0x61, 0x69, 0x6c, 0x50, + 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x12, 0x4f, 0x0a, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, + 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x75, 0x70, 0x57, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x0a, 0x64, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x1a, 0x3d, 0x0a, 0x07, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x1a, 0x58, 0x0a, 0x0a, 0x44, 0x75, 0x70, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xb8, 0x01, 0x0a, 0x08, + 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x08, 0x6d, 0x65, 0x61, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x6e, + 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0d, 0x6f, 0x6e, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, + 0x12, 0x26, 0x0a, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, + 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e, 0x66, 0x69, 0x76, 0x65, 0x4d, 0x69, + 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x66, 0x74, + 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x69, 0x66, 0x74, 0x65, 0x65, 0x6e, 0x4d, 0x69, 0x6e, 0x75, + 0x74, 0x65, 0x52, 0x61, 0x74, 0x65, 0x1a, 0xc7, 0x0d, 0x0a, 0x07, 0x4e, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x03, + 0x61, 0x70, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x32, 0x0a, 0x14, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, + 0x66, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x63, 0x70, 0x49, 0x6e, + 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x74, 0x63, 0x70, 0x4f, 0x75, + 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, + 0x74, 0x63, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x2e, 0x0a, + 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x67, 0x0a, + 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, + 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x42, 0x0a, 0x0c, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x54, + 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, + 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x75, 0x64, + 0x70, 0x49, 0x6e, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x44, 0x0a, 0x0d, 0x75, 0x64, + 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0d, 0x75, 0x64, 0x70, 0x4f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, + 0x12, 0x43, 0x0a, 0x07, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c, 0x61, + 0x74, 0x65, 0x6e, 0x63, 0x79, 0x1a, 0xd4, 0x03, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, + 0x71, 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, + 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x12, 0x4b, 0x0a, + 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xcf, 0x01, 0x0a, 0x0d, 0x41, + 0x70, 0x69, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x30, 0x0a, 0x03, 0x71, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x03, 0x71, + 0x70, 0x73, 0x12, 0x38, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x51, 0x70, 0x73, 0x12, 0x3e, 0x0a, 0x0a, + 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4d, 0x65, 0x74, 0x72, + 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x1a, 0x47, 0x0a, 0x17, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xe8, 0x03, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, + 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x6f, 0x70, 0x39, 0x35, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, + 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, + 0x31, 0x53, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, + 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, + 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, + 0x6c, 0x61, 0x79, 0x33, 0x53, 0x12, 0x53, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, + 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4e, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, + 0x2e, 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x1a, 0xd3, 0x01, 0x0a, 0x11, 0x4c, + 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, + 0x70, 0x39, 0x39, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x39, + 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x74, 0x6f, 0x70, 0x39, 0x35, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x37, 0x35, 0x12, 0x14, 0x0a, 0x05, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x31, 0x53, 0x12, 0x18, 0x0a, 0x07, + 0x64, 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, + 0x65, 0x6c, 0x61, 0x79, 0x32, 0x53, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, + 0x53, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x33, 0x53, + 0x22, 0x93, 0x03, 0x0a, 0x0b, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x34, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, + 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x52, 0x07, 0x72, + 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x1a, 0xbd, 0x01, 0x0a, 0x03, 0x52, 0x61, 0x77, 0x12, 0x38, 0x0a, 0x08, + 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6d, + 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x42, 0x46, 0x54, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x2e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x50, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0f, 0x0a, 0x0b, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, + 0x0a, 0x50, 0x52, 0x45, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, + 0x07, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, + 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x22, 0x1e, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x00, 0x12, 0x07, 0x0a, + 0x03, 0x53, 0x52, 0x4c, 0x10, 0x01, 0x22, 0x44, 0x0a, 0x10, 0x50, 0x42, 0x46, 0x54, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x23, 0x0a, 0x03, + 0x53, 0x52, 0x4c, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x2a, 0x37, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x02, 0x2a, 0x9f, 0x04, 0x0a, 0x0a, 0x52, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x51, + 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x41, 0x44, 0x5f, + 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x4f, + 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x10, 0x04, 0x12, 0x12, + 0x0a, 0x0e, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x45, 0x52, + 0x10, 0x05, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, + 0x4c, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x16, 0x0a, + 0x12, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x5f, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x4e, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x51, 0x55, + 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x45, 0x58, 0x50, + 0x45, 0x43, 0x54, 0x45, 0x44, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x10, 0x09, + 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x49, 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, + 0x45, 0x4f, 0x55, 0x54, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, 0x10, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x53, 0x45, 0x54, + 0x10, 0x11, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, + 0x13, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x14, 0x12, 0x0d, 0x0a, + 0x09, 0x42, 0x41, 0x44, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x15, 0x12, 0x0a, 0x0a, 0x06, + 0x46, 0x4f, 0x52, 0x4b, 0x45, 0x44, 0x10, 0x16, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x4c, 0x49, + 0x4e, 0x4b, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x17, 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x43, 0x4f, + 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, + 0x10, 0x18, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x54, 0x49, 0x42, + 0x4c, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x10, 0x19, 0x12, 0x0c, 0x0a, 0x08, 0x54, 0x49, + 0x4d, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x20, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4e, 0x4e, + 0x45, 0x43, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x21, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x4f, + 0x4f, 0x5f, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x53, 0x5f, 0x57, 0x49, 0x54, + 0x48, 0x5f, 0x53, 0x41, 0x4d, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x22, 0x12, 0x18, 0x0a, 0x14, 0x4c, + 0x49, 0x47, 0x48, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x10, 0x23, 0x12, 0x11, 0x0a, 0x0d, 0x42, 0x45, 0x4c, 0x4f, 0x57, 0x5f, 0x54, + 0x48, 0x41, 0x4e, 0x5f, 0x4d, 0x45, 0x10, 0x24, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, + 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x10, 0x25, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, + 0x53, 0x55, 0x43, 0x48, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x26, 0x12, 0x0c, + 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0xff, 0x01, 0x42, 0x46, 0x0a, 0x0f, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, + 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, + 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_Tron_proto_rawDescOnce sync.Once + file_core_Tron_proto_rawDescData = file_core_Tron_proto_rawDesc +) + +func file_core_Tron_proto_rawDescGZIP() []byte { + file_core_Tron_proto_rawDescOnce.Do(func() { + file_core_Tron_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_Tron_proto_rawDescData) + }) + return file_core_Tron_proto_rawDescData +} + +var file_core_Tron_proto_enumTypes = make([]protoimpl.EnumInfo, 14) +var file_core_Tron_proto_msgTypes = make([]protoimpl.MessageInfo, 87) +var file_core_Tron_proto_goTypes = []interface{}{ + (AccountType)(0), // 0: protocol.AccountType + (ReasonCode)(0), // 1: protocol.ReasonCode + (Proposal_State)(0), // 2: protocol.Proposal.State + (MarketOrder_State)(0), // 3: protocol.MarketOrder.State + (Permission_PermissionType)(0), // 4: protocol.Permission.PermissionType + (Transaction_Contract_ContractType)(0), // 5: protocol.Transaction.Contract.ContractType + (Transaction_ResultCode)(0), // 6: protocol.Transaction.Result.code + (Transaction_ResultContractResult)(0), // 7: protocol.Transaction.Result.contractResult + (TransactionInfoCode)(0), // 8: protocol.TransactionInfo.code + (BlockInventory_Type)(0), // 9: protocol.BlockInventory.Type + (Inventory_InventoryType)(0), // 10: protocol.Inventory.InventoryType + (Items_ItemType)(0), // 11: protocol.Items.ItemType + (PBFTMessage_MsgType)(0), // 12: protocol.PBFTMessage.MsgType + (PBFTMessage_DataType)(0), // 13: protocol.PBFTMessage.DataType + (*AccountId)(nil), // 14: protocol.AccountId + (*Vote)(nil), // 15: protocol.Vote + (*Proposal)(nil), // 16: protocol.Proposal + (*Exchange)(nil), // 17: protocol.Exchange + (*MarketOrder)(nil), // 18: protocol.MarketOrder + (*MarketOrderList)(nil), // 19: protocol.MarketOrderList + (*MarketOrderPairList)(nil), // 20: protocol.MarketOrderPairList + (*MarketOrderPair)(nil), // 21: protocol.MarketOrderPair + (*MarketAccountOrder)(nil), // 22: protocol.MarketAccountOrder + (*MarketPrice)(nil), // 23: protocol.MarketPrice + (*MarketPriceList)(nil), // 24: protocol.MarketPriceList + (*MarketOrderIdList)(nil), // 25: protocol.MarketOrderIdList + (*ChainParameters)(nil), // 26: protocol.ChainParameters + (*Account)(nil), // 27: protocol.Account + (*Key)(nil), // 28: protocol.Key + (*DelegatedResource)(nil), // 29: protocol.DelegatedResource + (*Authority)(nil), // 30: protocol.authority + (*Permission)(nil), // 31: protocol.Permission + (*Witness)(nil), // 32: protocol.Witness + (*Votes)(nil), // 33: protocol.Votes + (*TXOutput)(nil), // 34: protocol.TXOutput + (*TXInput)(nil), // 35: protocol.TXInput + (*TXOutputs)(nil), // 36: protocol.TXOutputs + (*ResourceReceipt)(nil), // 37: protocol.ResourceReceipt + (*MarketOrderDetail)(nil), // 38: protocol.MarketOrderDetail + (*Transaction)(nil), // 39: protocol.Transaction + (*TransactionInfo)(nil), // 40: protocol.TransactionInfo + (*TransactionRet)(nil), // 41: protocol.TransactionRet + (*Transactions)(nil), // 42: protocol.Transactions + (*BlockHeader)(nil), // 43: protocol.BlockHeader + (*Block)(nil), // 44: protocol.Block + (*ChainInventory)(nil), // 45: protocol.ChainInventory + (*BlockInventory)(nil), // 46: protocol.BlockInventory + (*Inventory)(nil), // 47: protocol.Inventory + (*Items)(nil), // 48: protocol.Items + (*DynamicProperties)(nil), // 49: protocol.DynamicProperties + (*DisconnectMessage)(nil), // 50: protocol.DisconnectMessage + (*HelloMessage)(nil), // 51: protocol.HelloMessage + (*InternalTransaction)(nil), // 52: protocol.InternalTransaction + (*DelegatedResourceAccountIndex)(nil), // 53: protocol.DelegatedResourceAccountIndex + (*NodeInfo)(nil), // 54: protocol.NodeInfo + (*MetricsInfo)(nil), // 55: protocol.MetricsInfo + (*PBFTMessage)(nil), // 56: protocol.PBFTMessage + (*PBFTCommitResult)(nil), // 57: protocol.PBFTCommitResult + (*SRL)(nil), // 58: protocol.SRL + nil, // 59: protocol.Proposal.ParametersEntry + (*ChainParameters_ChainParameter)(nil), // 60: protocol.ChainParameters.ChainParameter + (*Account_Frozen)(nil), // 61: protocol.Account.Frozen + nil, // 62: protocol.Account.AssetEntry + nil, // 63: protocol.Account.AssetV2Entry + nil, // 64: protocol.Account.LatestAssetOperationTimeEntry + nil, // 65: protocol.Account.LatestAssetOperationTimeV2Entry + nil, // 66: protocol.Account.FreeAssetNetUsageEntry + nil, // 67: protocol.Account.FreeAssetNetUsageV2Entry + (*Account_AccountResource)(nil), // 68: protocol.Account.AccountResource + (*Account_FreezeV2)(nil), // 69: protocol.Account.FreezeV2 + (*Account_UnFreezeV2)(nil), // 70: protocol.Account.UnFreezeV2 + (*TXInputRaw)(nil), // 71: protocol.TXInput.raw + (*Transaction_Contract)(nil), // 72: protocol.Transaction.Contract + (*Transaction_Result)(nil), // 73: protocol.Transaction.Result + (*TransactionRaw)(nil), // 74: protocol.Transaction.raw + nil, // 75: protocol.Transaction.Result.CancelUnfreezeV2AmountEntry + (*TransactionInfo_Log)(nil), // 76: protocol.TransactionInfo.Log + nil, // 77: protocol.TransactionInfo.CancelUnfreezeV2AmountEntry + (*BlockHeaderRaw)(nil), // 78: protocol.BlockHeader.raw + (*ChainInventory_BlockId)(nil), // 79: protocol.ChainInventory.BlockId + (*BlockInventory_BlockId)(nil), // 80: protocol.BlockInventory.BlockId + (*HelloMessage_BlockId)(nil), // 81: protocol.HelloMessage.BlockId + (*InternalTransaction_CallValueInfo)(nil), // 82: protocol.InternalTransaction.CallValueInfo + nil, // 83: protocol.NodeInfo.CheatWitnessInfoMapEntry + (*NodeInfo_PeerInfo)(nil), // 84: protocol.NodeInfo.PeerInfo + (*NodeInfo_ConfigNodeInfo)(nil), // 85: protocol.NodeInfo.ConfigNodeInfo + (*NodeInfo_MachineInfo)(nil), // 86: protocol.NodeInfo.MachineInfo + (*NodeInfo_MachineInfo_MemoryDescInfo)(nil), // 87: protocol.NodeInfo.MachineInfo.MemoryDescInfo + (*NodeInfo_MachineInfo_DeadLockThreadInfo)(nil), // 88: protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + (*MetricsInfo_NodeInfo)(nil), // 89: protocol.MetricsInfo.NodeInfo + (*MetricsInfo_BlockChainInfo)(nil), // 90: protocol.MetricsInfo.BlockChainInfo + (*MetricsInfo_RateInfo)(nil), // 91: protocol.MetricsInfo.RateInfo + (*MetricsInfo_NetInfo)(nil), // 92: protocol.MetricsInfo.NetInfo + (*MetricsInfo_BlockChainInfo_Witness)(nil), // 93: protocol.MetricsInfo.BlockChainInfo.Witness + (*MetricsInfo_BlockChainInfo_DupWitness)(nil), // 94: protocol.MetricsInfo.BlockChainInfo.DupWitness + (*MetricsInfo_NetInfo_ApiInfo)(nil), // 95: protocol.MetricsInfo.NetInfo.ApiInfo + (*MetricsInfo_NetInfo_DisconnectionDetailInfo)(nil), // 96: protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo)(nil), // 97: protocol.MetricsInfo.NetInfo.LatencyInfo + (*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo)(nil), // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + (*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo)(nil), // 99: protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + (*PBFTMessage_Raw)(nil), // 100: protocol.PBFTMessage.Raw + (*Endpoint)(nil), // 101: protocol.Endpoint + (ResourceCode)(0), // 102: protocol.ResourceCode + (*anypb.Any)(nil), // 103: google.protobuf.Any +} +var file_core_Tron_proto_depIdxs = []int32{ + 59, // 0: protocol.Proposal.parameters:type_name -> protocol.Proposal.ParametersEntry + 2, // 1: protocol.Proposal.state:type_name -> protocol.Proposal.State + 3, // 2: protocol.MarketOrder.state:type_name -> protocol.MarketOrder.State + 18, // 3: protocol.MarketOrderList.orders:type_name -> protocol.MarketOrder + 21, // 4: protocol.MarketOrderPairList.orderPair:type_name -> protocol.MarketOrderPair + 23, // 5: protocol.MarketPriceList.prices:type_name -> protocol.MarketPrice + 60, // 6: protocol.ChainParameters.chainParameter:type_name -> protocol.ChainParameters.ChainParameter + 0, // 7: protocol.Account.type:type_name -> protocol.AccountType + 15, // 8: protocol.Account.votes:type_name -> protocol.Vote + 62, // 9: protocol.Account.asset:type_name -> protocol.Account.AssetEntry + 63, // 10: protocol.Account.assetV2:type_name -> protocol.Account.AssetV2Entry + 61, // 11: protocol.Account.frozen:type_name -> protocol.Account.Frozen + 61, // 12: protocol.Account.tron_power:type_name -> protocol.Account.Frozen + 61, // 13: protocol.Account.frozen_supply:type_name -> protocol.Account.Frozen + 64, // 14: protocol.Account.latest_asset_operation_time:type_name -> protocol.Account.LatestAssetOperationTimeEntry + 65, // 15: protocol.Account.latest_asset_operation_timeV2:type_name -> protocol.Account.LatestAssetOperationTimeV2Entry + 66, // 16: protocol.Account.free_asset_net_usage:type_name -> protocol.Account.FreeAssetNetUsageEntry + 67, // 17: protocol.Account.free_asset_net_usageV2:type_name -> protocol.Account.FreeAssetNetUsageV2Entry + 68, // 18: protocol.Account.account_resource:type_name -> protocol.Account.AccountResource + 31, // 19: protocol.Account.owner_permission:type_name -> protocol.Permission + 31, // 20: protocol.Account.witness_permission:type_name -> protocol.Permission + 31, // 21: protocol.Account.active_permission:type_name -> protocol.Permission + 69, // 22: protocol.Account.frozenV2:type_name -> protocol.Account.FreezeV2 + 70, // 23: protocol.Account.unfrozenV2:type_name -> protocol.Account.UnFreezeV2 + 14, // 24: protocol.authority.account:type_name -> protocol.AccountId + 4, // 25: protocol.Permission.type:type_name -> protocol.Permission.PermissionType + 28, // 26: protocol.Permission.keys:type_name -> protocol.Key + 15, // 27: protocol.Votes.old_votes:type_name -> protocol.Vote + 15, // 28: protocol.Votes.new_votes:type_name -> protocol.Vote + 71, // 29: protocol.TXInput.raw_data:type_name -> protocol.TXInput.raw + 34, // 30: protocol.TXOutputs.outputs:type_name -> protocol.TXOutput + 7, // 31: protocol.ResourceReceipt.result:type_name -> protocol.Transaction.Result.contractResult + 74, // 32: protocol.Transaction.raw_data:type_name -> protocol.Transaction.raw + 73, // 33: protocol.Transaction.ret:type_name -> protocol.Transaction.Result + 37, // 34: protocol.TransactionInfo.receipt:type_name -> protocol.ResourceReceipt + 76, // 35: protocol.TransactionInfo.log:type_name -> protocol.TransactionInfo.Log + 8, // 36: protocol.TransactionInfo.result:type_name -> protocol.TransactionInfo.code + 52, // 37: protocol.TransactionInfo.internal_transactions:type_name -> protocol.InternalTransaction + 38, // 38: protocol.TransactionInfo.orderDetails:type_name -> protocol.MarketOrderDetail + 77, // 39: protocol.TransactionInfo.cancel_unfreezeV2_amount:type_name -> protocol.TransactionInfo.CancelUnfreezeV2AmountEntry + 40, // 40: protocol.TransactionRet.transactioninfo:type_name -> protocol.TransactionInfo + 39, // 41: protocol.Transactions.transactions:type_name -> protocol.Transaction + 78, // 42: protocol.BlockHeader.raw_data:type_name -> protocol.BlockHeader.raw + 39, // 43: protocol.Block.transactions:type_name -> protocol.Transaction + 43, // 44: protocol.Block.block_header:type_name -> protocol.BlockHeader + 79, // 45: protocol.ChainInventory.ids:type_name -> protocol.ChainInventory.BlockId + 80, // 46: protocol.BlockInventory.ids:type_name -> protocol.BlockInventory.BlockId + 9, // 47: protocol.BlockInventory.type:type_name -> protocol.BlockInventory.Type + 10, // 48: protocol.Inventory.type:type_name -> protocol.Inventory.InventoryType + 11, // 49: protocol.Items.type:type_name -> protocol.Items.ItemType + 44, // 50: protocol.Items.blocks:type_name -> protocol.Block + 43, // 51: protocol.Items.block_headers:type_name -> protocol.BlockHeader + 39, // 52: protocol.Items.transactions:type_name -> protocol.Transaction + 1, // 53: protocol.DisconnectMessage.reason:type_name -> protocol.ReasonCode + 101, // 54: protocol.HelloMessage.from:type_name -> protocol.Endpoint + 81, // 55: protocol.HelloMessage.genesisBlockId:type_name -> protocol.HelloMessage.BlockId + 81, // 56: protocol.HelloMessage.solidBlockId:type_name -> protocol.HelloMessage.BlockId + 81, // 57: protocol.HelloMessage.headBlockId:type_name -> protocol.HelloMessage.BlockId + 82, // 58: protocol.InternalTransaction.callValueInfo:type_name -> protocol.InternalTransaction.CallValueInfo + 84, // 59: protocol.NodeInfo.peerInfoList:type_name -> protocol.NodeInfo.PeerInfo + 85, // 60: protocol.NodeInfo.configNodeInfo:type_name -> protocol.NodeInfo.ConfigNodeInfo + 86, // 61: protocol.NodeInfo.machineInfo:type_name -> protocol.NodeInfo.MachineInfo + 83, // 62: protocol.NodeInfo.cheatWitnessInfoMap:type_name -> protocol.NodeInfo.CheatWitnessInfoMapEntry + 89, // 63: protocol.MetricsInfo.node:type_name -> protocol.MetricsInfo.NodeInfo + 90, // 64: protocol.MetricsInfo.blockchain:type_name -> protocol.MetricsInfo.BlockChainInfo + 92, // 65: protocol.MetricsInfo.net:type_name -> protocol.MetricsInfo.NetInfo + 100, // 66: protocol.PBFTMessage.raw_data:type_name -> protocol.PBFTMessage.Raw + 61, // 67: protocol.Account.AccountResource.frozen_balance_for_energy:type_name -> protocol.Account.Frozen + 102, // 68: protocol.Account.FreezeV2.type:type_name -> protocol.ResourceCode + 102, // 69: protocol.Account.UnFreezeV2.type:type_name -> protocol.ResourceCode + 5, // 70: protocol.Transaction.Contract.type:type_name -> protocol.Transaction.Contract.ContractType + 103, // 71: protocol.Transaction.Contract.parameter:type_name -> google.protobuf.Any + 6, // 72: protocol.Transaction.Result.ret:type_name -> protocol.Transaction.Result.code + 7, // 73: protocol.Transaction.Result.contractRet:type_name -> protocol.Transaction.Result.contractResult + 38, // 74: protocol.Transaction.Result.orderDetails:type_name -> protocol.MarketOrderDetail + 75, // 75: protocol.Transaction.Result.cancel_unfreezeV2_amount:type_name -> protocol.Transaction.Result.CancelUnfreezeV2AmountEntry + 30, // 76: protocol.Transaction.raw.auths:type_name -> protocol.authority + 72, // 77: protocol.Transaction.raw.contract:type_name -> protocol.Transaction.Contract + 87, // 78: protocol.NodeInfo.MachineInfo.memoryDescInfoList:type_name -> protocol.NodeInfo.MachineInfo.MemoryDescInfo + 88, // 79: protocol.NodeInfo.MachineInfo.deadLockThreadInfoList:type_name -> protocol.NodeInfo.MachineInfo.DeadLockThreadInfo + 91, // 80: protocol.MetricsInfo.BlockChainInfo.blockProcessTime:type_name -> protocol.MetricsInfo.RateInfo + 91, // 81: protocol.MetricsInfo.BlockChainInfo.tps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 82: protocol.MetricsInfo.BlockChainInfo.missedTransaction:type_name -> protocol.MetricsInfo.RateInfo + 93, // 83: protocol.MetricsInfo.BlockChainInfo.witnesses:type_name -> protocol.MetricsInfo.BlockChainInfo.Witness + 94, // 84: protocol.MetricsInfo.BlockChainInfo.dupWitness:type_name -> protocol.MetricsInfo.BlockChainInfo.DupWitness + 95, // 85: protocol.MetricsInfo.NetInfo.api:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo + 91, // 86: protocol.MetricsInfo.NetInfo.tcpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 91, // 87: protocol.MetricsInfo.NetInfo.tcpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 96, // 88: protocol.MetricsInfo.NetInfo.disconnectionDetail:type_name -> protocol.MetricsInfo.NetInfo.DisconnectionDetailInfo + 91, // 89: protocol.MetricsInfo.NetInfo.udpInTraffic:type_name -> protocol.MetricsInfo.RateInfo + 91, // 90: protocol.MetricsInfo.NetInfo.udpOutTraffic:type_name -> protocol.MetricsInfo.RateInfo + 97, // 91: protocol.MetricsInfo.NetInfo.latency:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo + 91, // 92: protocol.MetricsInfo.NetInfo.ApiInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 93: protocol.MetricsInfo.NetInfo.ApiInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 94: protocol.MetricsInfo.NetInfo.ApiInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 98, // 95: protocol.MetricsInfo.NetInfo.ApiInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo + 99, // 96: protocol.MetricsInfo.NetInfo.LatencyInfo.detail:type_name -> protocol.MetricsInfo.NetInfo.LatencyInfo.LatencyDetailInfo + 91, // 97: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.qps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 98: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.failQps:type_name -> protocol.MetricsInfo.RateInfo + 91, // 99: protocol.MetricsInfo.NetInfo.ApiInfo.ApiDetailInfo.outTraffic:type_name -> protocol.MetricsInfo.RateInfo + 12, // 100: protocol.PBFTMessage.Raw.msg_type:type_name -> protocol.PBFTMessage.MsgType + 13, // 101: protocol.PBFTMessage.Raw.data_type:type_name -> protocol.PBFTMessage.DataType + 102, // [102:102] is the sub-list for method output_type + 102, // [102:102] is the sub-list for method input_type + 102, // [102:102] is the sub-list for extension type_name + 102, // [102:102] is the sub-list for extension extendee + 0, // [0:102] is the sub-list for field type_name +} + +func init() { file_core_Tron_proto_init() } +func file_core_Tron_proto_init() { + if File_core_Tron_proto != nil { + return + } + file_core_Discover_proto_init() + file_core_contract_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_Tron_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Exchange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrder); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderPairList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderPair); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketAccountOrder); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketPrice); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketPriceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderIdList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Key); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Authority); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Permission); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Witness); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Votes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXOutput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXInput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXOutputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResourceReceipt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketOrderDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionRet); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transactions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Block); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainInventory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockInventory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Inventory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Items); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicProperties); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HelloMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalTransaction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegatedResourceAccountIndex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTCommitResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SRL); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainParameters_ChainParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_Frozen); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_AccountResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_FreezeV2); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account_UnFreezeV2); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TXInputRaw); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transaction_Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Transaction_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionRaw); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionInfo_Log); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockHeaderRaw); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainInventory_BlockId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockInventory_BlockId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HelloMessage_BlockId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalTransaction_CallValueInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo_PeerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo_ConfigNodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo_MachineInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo_MachineInfo_MemoryDescInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeInfo_MachineInfo_DeadLockThreadInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NodeInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_RateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo_Witness); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_BlockChainInfo_DupWitness); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_ApiInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_DisconnectionDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_LatencyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_ApiInfo_ApiDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetricsInfo_NetInfo_LatencyInfo_LatencyDetailInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_Tron_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PBFTMessage_Raw); 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_core_Tron_proto_rawDesc, + NumEnums: 14, + NumMessages: 87, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_Tron_proto_goTypes, + DependencyIndexes: file_core_Tron_proto_depIdxs, + EnumInfos: file_core_Tron_proto_enumTypes, + MessageInfos: file_core_Tron_proto_msgTypes, + }.Build() + File_core_Tron_proto = out.File + file_core_Tron_proto_rawDesc = nil + file_core_Tron_proto_goTypes = nil + file_core_Tron_proto_depIdxs = nil +} diff --git a/gen/core/TronInventoryItems.pb.go b/gen/core/TronInventoryItems.pb.go new file mode 100644 index 0000000..19673b8 --- /dev/null +++ b/gen/core/TronInventoryItems.pb.go @@ -0,0 +1,156 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/TronInventoryItems.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type InventoryItems struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Items [][]byte `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` +} + +func (x *InventoryItems) Reset() { + *x = InventoryItems{} + if protoimpl.UnsafeEnabled { + mi := &file_core_TronInventoryItems_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InventoryItems) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InventoryItems) ProtoMessage() {} + +func (x *InventoryItems) ProtoReflect() protoreflect.Message { + mi := &file_core_TronInventoryItems_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InventoryItems.ProtoReflect.Descriptor instead. +func (*InventoryItems) Descriptor() ([]byte, []int) { + return file_core_TronInventoryItems_proto_rawDescGZIP(), []int{0} +} + +func (x *InventoryItems) GetType() int32 { + if x != nil { + return x.Type + } + return 0 +} + +func (x *InventoryItems) GetItems() [][]byte { + if x != nil { + return x.Items + } + return nil +} + +var File_core_TronInventoryItems_proto protoreflect.FileDescriptor + +var file_core_TronInventoryItems_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x6e, + 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x3a, 0x0a, 0x0e, 0x49, 0x6e, 0x76, + 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x50, 0x0a, 0x0f, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x12, 0x54, 0x72, 0x6f, 0x6e, 0x49, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x5a, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_TronInventoryItems_proto_rawDescOnce sync.Once + file_core_TronInventoryItems_proto_rawDescData = file_core_TronInventoryItems_proto_rawDesc +) + +func file_core_TronInventoryItems_proto_rawDescGZIP() []byte { + file_core_TronInventoryItems_proto_rawDescOnce.Do(func() { + file_core_TronInventoryItems_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_TronInventoryItems_proto_rawDescData) + }) + return file_core_TronInventoryItems_proto_rawDescData +} + +var file_core_TronInventoryItems_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_core_TronInventoryItems_proto_goTypes = []interface{}{ + (*InventoryItems)(nil), // 0: protocol.InventoryItems +} +var file_core_TronInventoryItems_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_core_TronInventoryItems_proto_init() } +func file_core_TronInventoryItems_proto_init() { + if File_core_TronInventoryItems_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_TronInventoryItems_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InventoryItems); 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_core_TronInventoryItems_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_TronInventoryItems_proto_goTypes, + DependencyIndexes: file_core_TronInventoryItems_proto_depIdxs, + MessageInfos: file_core_TronInventoryItems_proto_msgTypes, + }.Build() + File_core_TronInventoryItems_proto = out.File + file_core_TronInventoryItems_proto_rawDesc = nil + file_core_TronInventoryItems_proto_goTypes = nil + file_core_TronInventoryItems_proto_depIdxs = nil +} diff --git a/gen/core/account_contract.pb.go b/gen/core/account_contract.pb.go new file mode 100644 index 0000000..5d31f50 --- /dev/null +++ b/gen/core/account_contract.pb.go @@ -0,0 +1,439 @@ +// +// java-tron is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// java-tron is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/account_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type AccountCreateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + AccountAddress []byte `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` + Type AccountType `protobuf:"varint,3,opt,name=type,proto3,enum=protocol.AccountType" json:"type,omitempty"` +} + +func (x *AccountCreateContract) Reset() { + *x = AccountCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_account_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountCreateContract) ProtoMessage() {} + +func (x *AccountCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_account_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountCreateContract.ProtoReflect.Descriptor instead. +func (*AccountCreateContract) Descriptor() ([]byte, []int) { + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *AccountCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *AccountCreateContract) GetAccountAddress() []byte { + if x != nil { + return x.AccountAddress + } + return nil +} + +func (x *AccountCreateContract) GetType() AccountType { + if x != nil { + return x.Type + } + return AccountType_Normal +} + +// Update account name. Account name is not unique now. +type AccountUpdateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountName []byte `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *AccountUpdateContract) Reset() { + *x = AccountUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_account_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountUpdateContract) ProtoMessage() {} + +func (x *AccountUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_account_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccountUpdateContract.ProtoReflect.Descriptor instead. +func (*AccountUpdateContract) Descriptor() ([]byte, []int) { + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *AccountUpdateContract) GetAccountName() []byte { + if x != nil { + return x.AccountName + } + return nil +} + +func (x *AccountUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +// Set account id if the account has no id. Account id is unique and case insensitive. +type SetAccountIdContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *SetAccountIdContract) Reset() { + *x = SetAccountIdContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_account_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetAccountIdContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetAccountIdContract) ProtoMessage() {} + +func (x *SetAccountIdContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_account_contract_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) +} + +// Deprecated: Use SetAccountIdContract.ProtoReflect.Descriptor instead. +func (*SetAccountIdContract) Descriptor() ([]byte, []int) { + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *SetAccountIdContract) GetAccountId() []byte { + if x != nil { + return x.AccountId + } + return nil +} + +func (x *SetAccountIdContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type AccountPermissionUpdateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Owner *Permission `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` //Empty is invalidate + Witness *Permission `protobuf:"bytes,3,opt,name=witness,proto3" json:"witness,omitempty"` //Can be empty + Actives []*Permission `protobuf:"bytes,4,rep,name=actives,proto3" json:"actives,omitempty"` //Empty is invalidate +} + +func (x *AccountPermissionUpdateContract) Reset() { + *x = AccountPermissionUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_account_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountPermissionUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountPermissionUpdateContract) ProtoMessage() {} + +func (x *AccountPermissionUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_account_contract_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) +} + +// Deprecated: Use AccountPermissionUpdateContract.ProtoReflect.Descriptor instead. +func (*AccountPermissionUpdateContract) Descriptor() ([]byte, []int) { + return file_core_contract_account_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *AccountPermissionUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *AccountPermissionUpdateContract) GetOwner() *Permission { + if x != nil { + return x.Owner + } + return nil +} + +func (x *AccountPermissionUpdateContract) GetWitness() *Permission { + if x != nil { + return x.Witness + } + return nil +} + +func (x *AccountPermissionUpdateContract) GetActives() []*Permission { + if x != nil { + return x.Actives + } + return nil +} + +var File_core_contract_account_contract_proto protoreflect.FileDescriptor + +var file_core_contract_account_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x1a, 0x0f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x54, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5a, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2e, 0x0a, 0x07, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x77, + 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x73, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, + 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_account_contract_proto_rawDescOnce sync.Once + file_core_contract_account_contract_proto_rawDescData = file_core_contract_account_contract_proto_rawDesc +) + +func file_core_contract_account_contract_proto_rawDescGZIP() []byte { + file_core_contract_account_contract_proto_rawDescOnce.Do(func() { + file_core_contract_account_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_account_contract_proto_rawDescData) + }) + return file_core_contract_account_contract_proto_rawDescData +} + +var file_core_contract_account_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_account_contract_proto_goTypes = []interface{}{ + (*AccountCreateContract)(nil), // 0: protocol.AccountCreateContract + (*AccountUpdateContract)(nil), // 1: protocol.AccountUpdateContract + (*SetAccountIdContract)(nil), // 2: protocol.SetAccountIdContract + (*AccountPermissionUpdateContract)(nil), // 3: protocol.AccountPermissionUpdateContract + (AccountType)(0), // 4: protocol.AccountType + (*Permission)(nil), // 5: protocol.Permission +} +var file_core_contract_account_contract_proto_depIdxs = []int32{ + 4, // 0: protocol.AccountCreateContract.type:type_name -> protocol.AccountType + 5, // 1: protocol.AccountPermissionUpdateContract.owner:type_name -> protocol.Permission + 5, // 2: protocol.AccountPermissionUpdateContract.witness:type_name -> protocol.Permission + 5, // 3: protocol.AccountPermissionUpdateContract.actives:type_name -> protocol.Permission + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_core_contract_account_contract_proto_init() } +func file_core_contract_account_contract_proto_init() { + if File_core_contract_account_contract_proto != nil { + return + } + file_core_Tron_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_contract_account_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_account_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountUpdateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_account_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAccountIdContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_account_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountPermissionUpdateContract); 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_core_contract_account_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_account_contract_proto_goTypes, + DependencyIndexes: file_core_contract_account_contract_proto_depIdxs, + MessageInfos: file_core_contract_account_contract_proto_msgTypes, + }.Build() + File_core_contract_account_contract_proto = out.File + file_core_contract_account_contract_proto_rawDesc = nil + file_core_contract_account_contract_proto_goTypes = nil + file_core_contract_account_contract_proto_depIdxs = nil +} diff --git a/gen/core/asset_issue_contract.pb.go b/gen/core/asset_issue_contract.pb.go new file mode 100644 index 0000000..0addb42 --- /dev/null +++ b/gen/core/asset_issue_contract.pb.go @@ -0,0 +1,761 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/asset_issue_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type AssetIssueContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,41,opt,name=id,proto3" json:"id,omitempty"` + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Abbr []byte `protobuf:"bytes,3,opt,name=abbr,proto3" json:"abbr,omitempty"` + TotalSupply int64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` + FrozenSupply []*AssetIssueContract_FrozenSupply `protobuf:"bytes,5,rep,name=frozen_supply,json=frozenSupply,proto3" json:"frozen_supply,omitempty"` + TrxNum int32 `protobuf:"varint,6,opt,name=trx_num,json=trxNum,proto3" json:"trx_num,omitempty"` + Precision int32 `protobuf:"varint,7,opt,name=precision,proto3" json:"precision,omitempty"` + Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` + StartTime int64 `protobuf:"varint,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime int64 `protobuf:"varint,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + Order int64 `protobuf:"varint,11,opt,name=order,proto3" json:"order,omitempty"` // useless + VoteScore int32 `protobuf:"varint,16,opt,name=vote_score,json=voteScore,proto3" json:"vote_score,omitempty"` + Description []byte `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"` + Url []byte `protobuf:"bytes,21,opt,name=url,proto3" json:"url,omitempty"` + FreeAssetNetLimit int64 `protobuf:"varint,22,opt,name=free_asset_net_limit,json=freeAssetNetLimit,proto3" json:"free_asset_net_limit,omitempty"` + PublicFreeAssetNetLimit int64 `protobuf:"varint,23,opt,name=public_free_asset_net_limit,json=publicFreeAssetNetLimit,proto3" json:"public_free_asset_net_limit,omitempty"` + PublicFreeAssetNetUsage int64 `protobuf:"varint,24,opt,name=public_free_asset_net_usage,json=publicFreeAssetNetUsage,proto3" json:"public_free_asset_net_usage,omitempty"` + PublicLatestFreeNetTime int64 `protobuf:"varint,25,opt,name=public_latest_free_net_time,json=publicLatestFreeNetTime,proto3" json:"public_latest_free_net_time,omitempty"` +} + +func (x *AssetIssueContract) Reset() { + *x = AssetIssueContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssetIssueContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssetIssueContract) ProtoMessage() {} + +func (x *AssetIssueContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AssetIssueContract.ProtoReflect.Descriptor instead. +func (*AssetIssueContract) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *AssetIssueContract) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *AssetIssueContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *AssetIssueContract) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *AssetIssueContract) GetAbbr() []byte { + if x != nil { + return x.Abbr + } + return nil +} + +func (x *AssetIssueContract) GetTotalSupply() int64 { + if x != nil { + return x.TotalSupply + } + return 0 +} + +func (x *AssetIssueContract) GetFrozenSupply() []*AssetIssueContract_FrozenSupply { + if x != nil { + return x.FrozenSupply + } + return nil +} + +func (x *AssetIssueContract) GetTrxNum() int32 { + if x != nil { + return x.TrxNum + } + return 0 +} + +func (x *AssetIssueContract) GetPrecision() int32 { + if x != nil { + return x.Precision + } + return 0 +} + +func (x *AssetIssueContract) GetNum() int32 { + if x != nil { + return x.Num + } + return 0 +} + +func (x *AssetIssueContract) GetStartTime() int64 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *AssetIssueContract) GetEndTime() int64 { + if x != nil { + return x.EndTime + } + return 0 +} + +func (x *AssetIssueContract) GetOrder() int64 { + if x != nil { + return x.Order + } + return 0 +} + +func (x *AssetIssueContract) GetVoteScore() int32 { + if x != nil { + return x.VoteScore + } + return 0 +} + +func (x *AssetIssueContract) GetDescription() []byte { + if x != nil { + return x.Description + } + return nil +} + +func (x *AssetIssueContract) GetUrl() []byte { + if x != nil { + return x.Url + } + return nil +} + +func (x *AssetIssueContract) GetFreeAssetNetLimit() int64 { + if x != nil { + return x.FreeAssetNetLimit + } + return 0 +} + +func (x *AssetIssueContract) GetPublicFreeAssetNetLimit() int64 { + if x != nil { + return x.PublicFreeAssetNetLimit + } + return 0 +} + +func (x *AssetIssueContract) GetPublicFreeAssetNetUsage() int64 { + if x != nil { + return x.PublicFreeAssetNetUsage + } + return 0 +} + +func (x *AssetIssueContract) GetPublicLatestFreeNetTime() int64 { + if x != nil { + return x.PublicLatestFreeNetTime + } + return 0 +} + +type TransferAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssetName []byte `protobuf:"bytes,1,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *TransferAssetContract) Reset() { + *x = TransferAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransferAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransferAssetContract) ProtoMessage() {} + +func (x *TransferAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransferAssetContract.ProtoReflect.Descriptor instead. +func (*TransferAssetContract) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *TransferAssetContract) GetAssetName() []byte { + if x != nil { + return x.AssetName + } + return nil +} + +func (x *TransferAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *TransferAssetContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *TransferAssetContract) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type UnfreezeAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *UnfreezeAssetContract) Reset() { + *x = UnfreezeAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeAssetContract) ProtoMessage() {} + +func (x *UnfreezeAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_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) +} + +// Deprecated: Use UnfreezeAssetContract.ProtoReflect.Descriptor instead. +func (*UnfreezeAssetContract) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *UnfreezeAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type UpdateAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Description []byte `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Url []byte `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + NewLimit int64 `protobuf:"varint,4,opt,name=new_limit,json=newLimit,proto3" json:"new_limit,omitempty"` + NewPublicLimit int64 `protobuf:"varint,5,opt,name=new_public_limit,json=newPublicLimit,proto3" json:"new_public_limit,omitempty"` +} + +func (x *UpdateAssetContract) Reset() { + *x = UpdateAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateAssetContract) ProtoMessage() {} + +func (x *UpdateAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_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) +} + +// Deprecated: Use UpdateAssetContract.ProtoReflect.Descriptor instead. +func (*UpdateAssetContract) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *UpdateAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UpdateAssetContract) GetDescription() []byte { + if x != nil { + return x.Description + } + return nil +} + +func (x *UpdateAssetContract) GetUrl() []byte { + if x != nil { + return x.Url + } + return nil +} + +func (x *UpdateAssetContract) GetNewLimit() int64 { + if x != nil { + return x.NewLimit + } + return 0 +} + +func (x *UpdateAssetContract) GetNewPublicLimit() int64 { + if x != nil { + return x.NewPublicLimit + } + return 0 +} + +type ParticipateAssetIssueContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + AssetName []byte `protobuf:"bytes,3,opt,name=asset_name,json=assetName,proto3" json:"asset_name,omitempty"` // this field is token name before the proposal ALLOW_SAME_TOKEN_NAME is active, otherwise it is token id and token is should be in string format. + Amount int64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // the amount of drops +} + +func (x *ParticipateAssetIssueContract) Reset() { + *x = ParticipateAssetIssueContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParticipateAssetIssueContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParticipateAssetIssueContract) ProtoMessage() {} + +func (x *ParticipateAssetIssueContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_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) +} + +// Deprecated: Use ParticipateAssetIssueContract.ProtoReflect.Descriptor instead. +func (*ParticipateAssetIssueContract) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{4} +} + +func (x *ParticipateAssetIssueContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ParticipateAssetIssueContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *ParticipateAssetIssueContract) GetAssetName() []byte { + if x != nil { + return x.AssetName + } + return nil +} + +func (x *ParticipateAssetIssueContract) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type AssetIssueContract_FrozenSupply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrozenAmount int64 `protobuf:"varint,1,opt,name=frozen_amount,json=frozenAmount,proto3" json:"frozen_amount,omitempty"` + FrozenDays int64 `protobuf:"varint,2,opt,name=frozen_days,json=frozenDays,proto3" json:"frozen_days,omitempty"` +} + +func (x *AssetIssueContract_FrozenSupply) Reset() { + *x = AssetIssueContract_FrozenSupply{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_asset_issue_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AssetIssueContract_FrozenSupply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AssetIssueContract_FrozenSupply) ProtoMessage() {} + +func (x *AssetIssueContract_FrozenSupply) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_asset_issue_contract_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) +} + +// Deprecated: Use AssetIssueContract_FrozenSupply.ProtoReflect.Descriptor instead. +func (*AssetIssueContract_FrozenSupply) Descriptor() ([]byte, []int) { + return file_core_contract_asset_issue_contract_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *AssetIssueContract_FrozenSupply) GetFrozenAmount() int64 { + if x != nil { + return x.FrozenAmount + } + return 0 +} + +func (x *AssetIssueContract_FrozenSupply) GetFrozenDays() int64 { + if x != nil { + return x.FrozenDays + } + return 0 +} + +var File_core_contract_asset_issue_contract_proto protoreflect.FileDescriptor + +var file_core_contract_asset_issue_contract_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x91, 0x06, 0x0a, 0x12, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x62, 0x62, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x61, 0x62, 0x62, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x0c, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, + 0x72, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x72, + 0x78, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x63, 0x6f, + 0x72, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x6f, 0x74, 0x65, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x15, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x2f, 0x0a, 0x14, 0x66, 0x72, 0x65, 0x65, 0x5f, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x16, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x4e, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, + 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, + 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x65, 0x74, 0x5f, + 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x46, 0x72, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x5f, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x46, 0x72, 0x65, 0x65, 0x4e, 0x65, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x1a, 0x54, 0x0a, 0x0c, 0x46, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, + 0x6f, 0x7a, 0x65, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x15, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3c, 0x0a, + 0x15, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x65, 0x77, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x6e, 0x65, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x77, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, + 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, + 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, + 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_asset_issue_contract_proto_rawDescOnce sync.Once + file_core_contract_asset_issue_contract_proto_rawDescData = file_core_contract_asset_issue_contract_proto_rawDesc +) + +func file_core_contract_asset_issue_contract_proto_rawDescGZIP() []byte { + file_core_contract_asset_issue_contract_proto_rawDescOnce.Do(func() { + file_core_contract_asset_issue_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_asset_issue_contract_proto_rawDescData) + }) + return file_core_contract_asset_issue_contract_proto_rawDescData +} + +var file_core_contract_asset_issue_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_core_contract_asset_issue_contract_proto_goTypes = []interface{}{ + (*AssetIssueContract)(nil), // 0: protocol.AssetIssueContract + (*TransferAssetContract)(nil), // 1: protocol.TransferAssetContract + (*UnfreezeAssetContract)(nil), // 2: protocol.UnfreezeAssetContract + (*UpdateAssetContract)(nil), // 3: protocol.UpdateAssetContract + (*ParticipateAssetIssueContract)(nil), // 4: protocol.ParticipateAssetIssueContract + (*AssetIssueContract_FrozenSupply)(nil), // 5: protocol.AssetIssueContract.FrozenSupply +} +var file_core_contract_asset_issue_contract_proto_depIdxs = []int32{ + 5, // 0: protocol.AssetIssueContract.frozen_supply:type_name -> protocol.AssetIssueContract.FrozenSupply + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_contract_asset_issue_contract_proto_init() } +func file_core_contract_asset_issue_contract_proto_init() { + if File_core_contract_asset_issue_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_asset_issue_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_asset_issue_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_asset_issue_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_asset_issue_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_asset_issue_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParticipateAssetIssueContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_asset_issue_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AssetIssueContract_FrozenSupply); 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_core_contract_asset_issue_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_asset_issue_contract_proto_goTypes, + DependencyIndexes: file_core_contract_asset_issue_contract_proto_depIdxs, + MessageInfos: file_core_contract_asset_issue_contract_proto_msgTypes, + }.Build() + File_core_contract_asset_issue_contract_proto = out.File + file_core_contract_asset_issue_contract_proto_rawDesc = nil + file_core_contract_asset_issue_contract_proto_goTypes = nil + file_core_contract_asset_issue_contract_proto_depIdxs = nil +} diff --git a/gen/core/balance_contract.pb.go b/gen/core/balance_contract.pb.go new file mode 100644 index 0000000..6fb3ea1 --- /dev/null +++ b/gen/core/balance_contract.pb.go @@ -0,0 +1,1586 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/balance_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type FreezeBalanceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + FrozenDuration int64 `protobuf:"varint,3,opt,name=frozen_duration,json=frozenDuration,proto3" json:"frozen_duration,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` +} + +func (x *FreezeBalanceContract) Reset() { + *x = FreezeBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FreezeBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FreezeBalanceContract) ProtoMessage() {} + +func (x *FreezeBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FreezeBalanceContract.ProtoReflect.Descriptor instead. +func (*FreezeBalanceContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *FreezeBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *FreezeBalanceContract) GetFrozenBalance() int64 { + if x != nil { + return x.FrozenBalance + } + return 0 +} + +func (x *FreezeBalanceContract) GetFrozenDuration() int64 { + if x != nil { + return x.FrozenDuration + } + return 0 +} + +func (x *FreezeBalanceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *FreezeBalanceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil +} + +type UnfreezeBalanceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,10,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,15,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` +} + +func (x *UnfreezeBalanceContract) Reset() { + *x = UnfreezeBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeBalanceContract) ProtoMessage() {} + +func (x *UnfreezeBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnfreezeBalanceContract.ProtoReflect.Descriptor instead. +func (*UnfreezeBalanceContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *UnfreezeBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UnfreezeBalanceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *UnfreezeBalanceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil +} + +type WithdrawBalanceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *WithdrawBalanceContract) Reset() { + *x = WithdrawBalanceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WithdrawBalanceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WithdrawBalanceContract) ProtoMessage() {} + +func (x *WithdrawBalanceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use WithdrawBalanceContract.ProtoReflect.Descriptor instead. +func (*WithdrawBalanceContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *WithdrawBalanceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type TransferContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ToAddress []byte `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *TransferContract) Reset() { + *x = TransferContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransferContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransferContract) ProtoMessage() {} + +func (x *TransferContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use TransferContract.ProtoReflect.Descriptor instead. +func (*TransferContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *TransferContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *TransferContract) GetToAddress() []byte { + if x != nil { + return x.ToAddress + } + return nil +} + +func (x *TransferContract) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type TransactionBalanceTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionIdentifier []byte `protobuf:"bytes,1,opt,name=transaction_identifier,json=transactionIdentifier,proto3" json:"transaction_identifier,omitempty"` + Operation []*TransactionBalanceTrace_Operation `protobuf:"bytes,2,rep,name=operation,proto3" json:"operation,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` +} + +func (x *TransactionBalanceTrace) Reset() { + *x = TransactionBalanceTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionBalanceTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionBalanceTrace) ProtoMessage() {} + +func (x *TransactionBalanceTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use TransactionBalanceTrace.ProtoReflect.Descriptor instead. +func (*TransactionBalanceTrace) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{4} +} + +func (x *TransactionBalanceTrace) GetTransactionIdentifier() []byte { + if x != nil { + return x.TransactionIdentifier + } + return nil +} + +func (x *TransactionBalanceTrace) GetOperation() []*TransactionBalanceTrace_Operation { + if x != nil { + return x.Operation + } + return nil +} + +func (x *TransactionBalanceTrace) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *TransactionBalanceTrace) GetStatus() string { + if x != nil { + return x.Status + } + return "" +} + +type BlockBalanceTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,1,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + TransactionBalanceTrace []*TransactionBalanceTrace `protobuf:"bytes,3,rep,name=transaction_balance_trace,json=transactionBalanceTrace,proto3" json:"transaction_balance_trace,omitempty"` // BlockIdentifier parent_block_identifier = 4; +} + +func (x *BlockBalanceTrace) Reset() { + *x = BlockBalanceTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockBalanceTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockBalanceTrace) ProtoMessage() {} + +func (x *BlockBalanceTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use BlockBalanceTrace.ProtoReflect.Descriptor instead. +func (*BlockBalanceTrace) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{5} +} + +func (x *BlockBalanceTrace) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +func (x *BlockBalanceTrace) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *BlockBalanceTrace) GetTransactionBalanceTrace() []*TransactionBalanceTrace { + if x != nil { + return x.TransactionBalanceTrace + } + return nil +} + +type AccountTrace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + Placeholder int64 `protobuf:"varint,99,opt,name=placeholder,proto3" json:"placeholder,omitempty"` +} + +func (x *AccountTrace) Reset() { + *x = AccountTrace{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountTrace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountTrace) ProtoMessage() {} + +func (x *AccountTrace) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use AccountTrace.ProtoReflect.Descriptor instead. +func (*AccountTrace) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{6} +} + +func (x *AccountTrace) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *AccountTrace) GetPlaceholder() int64 { + if x != nil { + return x.Placeholder + } + return 0 +} + +type AccountIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *AccountIdentifier) Reset() { + *x = AccountIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountIdentifier) ProtoMessage() {} + +func (x *AccountIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use AccountIdentifier.ProtoReflect.Descriptor instead. +func (*AccountIdentifier) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{7} +} + +func (x *AccountIdentifier) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +type AccountBalanceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccountIdentifier *AccountIdentifier `protobuf:"bytes,1,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"` + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` +} + +func (x *AccountBalanceRequest) Reset() { + *x = AccountBalanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountBalanceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountBalanceRequest) ProtoMessage() {} + +func (x *AccountBalanceRequest) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use AccountBalanceRequest.ProtoReflect.Descriptor instead. +func (*AccountBalanceRequest) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{8} +} + +func (x *AccountBalanceRequest) GetAccountIdentifier() *AccountIdentifier { + if x != nil { + return x.AccountIdentifier + } + return nil +} + +func (x *AccountBalanceRequest) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +type AccountBalanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` + BlockIdentifier *BlockBalanceTrace_BlockIdentifier `protobuf:"bytes,2,opt,name=block_identifier,json=blockIdentifier,proto3" json:"block_identifier,omitempty"` +} + +func (x *AccountBalanceResponse) Reset() { + *x = AccountBalanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccountBalanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccountBalanceResponse) ProtoMessage() {} + +func (x *AccountBalanceResponse) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use AccountBalanceResponse.ProtoReflect.Descriptor instead. +func (*AccountBalanceResponse) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{9} +} + +func (x *AccountBalanceResponse) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *AccountBalanceResponse) GetBlockIdentifier() *BlockBalanceTrace_BlockIdentifier { + if x != nil { + return x.BlockIdentifier + } + return nil +} + +type FreezeBalanceV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FrozenBalance int64 `protobuf:"varint,2,opt,name=frozen_balance,json=frozenBalance,proto3" json:"frozen_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` +} + +func (x *FreezeBalanceV2Contract) Reset() { + *x = FreezeBalanceV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FreezeBalanceV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FreezeBalanceV2Contract) ProtoMessage() {} + +func (x *FreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use FreezeBalanceV2Contract.ProtoReflect.Descriptor instead. +func (*FreezeBalanceV2Contract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{10} +} + +func (x *FreezeBalanceV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *FreezeBalanceV2Contract) GetFrozenBalance() int64 { + if x != nil { + return x.FrozenBalance + } + return 0 +} + +func (x *FreezeBalanceV2Contract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +type UnfreezeBalanceV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UnfreezeBalance int64 `protobuf:"varint,2,opt,name=unfreeze_balance,json=unfreezeBalance,proto3" json:"unfreeze_balance,omitempty"` + Resource ResourceCode `protobuf:"varint,3,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` +} + +func (x *UnfreezeBalanceV2Contract) Reset() { + *x = UnfreezeBalanceV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnfreezeBalanceV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnfreezeBalanceV2Contract) ProtoMessage() {} + +func (x *UnfreezeBalanceV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use UnfreezeBalanceV2Contract.ProtoReflect.Descriptor instead. +func (*UnfreezeBalanceV2Contract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{11} +} + +func (x *UnfreezeBalanceV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UnfreezeBalanceV2Contract) GetUnfreezeBalance() int64 { + if x != nil { + return x.UnfreezeBalance + } + return 0 +} + +func (x *UnfreezeBalanceV2Contract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +type WithdrawExpireUnfreezeContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *WithdrawExpireUnfreezeContract) Reset() { + *x = WithdrawExpireUnfreezeContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WithdrawExpireUnfreezeContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WithdrawExpireUnfreezeContract) ProtoMessage() {} + +func (x *WithdrawExpireUnfreezeContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use WithdrawExpireUnfreezeContract.ProtoReflect.Descriptor instead. +func (*WithdrawExpireUnfreezeContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{12} +} + +func (x *WithdrawExpireUnfreezeContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type DelegateResourceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` + Lock bool `protobuf:"varint,5,opt,name=lock,proto3" json:"lock,omitempty"` + LockPeriod int64 `protobuf:"varint,6,opt,name=lock_period,json=lockPeriod,proto3" json:"lock_period,omitempty"` +} + +func (x *DelegateResourceContract) Reset() { + *x = DelegateResourceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DelegateResourceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DelegateResourceContract) ProtoMessage() {} + +func (x *DelegateResourceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use DelegateResourceContract.ProtoReflect.Descriptor instead. +func (*DelegateResourceContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{13} +} + +func (x *DelegateResourceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *DelegateResourceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *DelegateResourceContract) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *DelegateResourceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil +} + +func (x *DelegateResourceContract) GetLock() bool { + if x != nil { + return x.Lock + } + return false +} + +func (x *DelegateResourceContract) GetLockPeriod() int64 { + if x != nil { + return x.LockPeriod + } + return 0 +} + +type UnDelegateResourceContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Resource ResourceCode `protobuf:"varint,2,opt,name=resource,proto3,enum=protocol.ResourceCode" json:"resource,omitempty"` + Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` + ReceiverAddress []byte `protobuf:"bytes,4,opt,name=receiver_address,json=receiverAddress,proto3" json:"receiver_address,omitempty"` +} + +func (x *UnDelegateResourceContract) Reset() { + *x = UnDelegateResourceContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnDelegateResourceContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnDelegateResourceContract) ProtoMessage() {} + +func (x *UnDelegateResourceContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_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) +} + +// Deprecated: Use UnDelegateResourceContract.ProtoReflect.Descriptor instead. +func (*UnDelegateResourceContract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{14} +} + +func (x *UnDelegateResourceContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UnDelegateResourceContract) GetResource() ResourceCode { + if x != nil { + return x.Resource + } + return ResourceCode_BANDWIDTH +} + +func (x *UnDelegateResourceContract) GetBalance() int64 { + if x != nil { + return x.Balance + } + return 0 +} + +func (x *UnDelegateResourceContract) GetReceiverAddress() []byte { + if x != nil { + return x.ReceiverAddress + } + return nil +} + +type CancelAllUnfreezeV2Contract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` +} + +func (x *CancelAllUnfreezeV2Contract) Reset() { + *x = CancelAllUnfreezeV2Contract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelAllUnfreezeV2Contract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelAllUnfreezeV2Contract) ProtoMessage() {} + +func (x *CancelAllUnfreezeV2Contract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CancelAllUnfreezeV2Contract.ProtoReflect.Descriptor instead. +func (*CancelAllUnfreezeV2Contract) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{15} +} + +func (x *CancelAllUnfreezeV2Contract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +type TransactionBalanceTrace_Operation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OperationIdentifier int64 `protobuf:"varint,1,opt,name=operation_identifier,json=operationIdentifier,proto3" json:"operation_identifier,omitempty"` + Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *TransactionBalanceTrace_Operation) Reset() { + *x = TransactionBalanceTrace_Operation{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionBalanceTrace_Operation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionBalanceTrace_Operation) ProtoMessage() {} + +func (x *TransactionBalanceTrace_Operation) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TransactionBalanceTrace_Operation.ProtoReflect.Descriptor instead. +func (*TransactionBalanceTrace_Operation) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *TransactionBalanceTrace_Operation) GetOperationIdentifier() int64 { + if x != nil { + return x.OperationIdentifier + } + return 0 +} + +func (x *TransactionBalanceTrace_Operation) GetAddress() []byte { + if x != nil { + return x.Address + } + return nil +} + +func (x *TransactionBalanceTrace_Operation) GetAmount() int64 { + if x != nil { + return x.Amount + } + return 0 +} + +type BlockBalanceTrace_BlockIdentifier struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` +} + +func (x *BlockBalanceTrace_BlockIdentifier) Reset() { + *x = BlockBalanceTrace_BlockIdentifier{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_balance_contract_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockBalanceTrace_BlockIdentifier) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockBalanceTrace_BlockIdentifier) ProtoMessage() {} + +func (x *BlockBalanceTrace_BlockIdentifier) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_balance_contract_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BlockBalanceTrace_BlockIdentifier.ProtoReflect.Descriptor instead. +func (*BlockBalanceTrace_BlockIdentifier) Descriptor() ([]byte, []int) { + return file_core_contract_balance_contract_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *BlockBalanceTrace_BlockIdentifier) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *BlockBalanceTrace_BlockIdentifier) GetNumber() int64 { + if x != nil { + return x.Number + } + return 0 +} + +var File_core_contract_balance_contract_proto protoreflect.FileDescriptor + +var file_core_contract_balance_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x1a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xeb, 0x01, 0x0a, + 0x15, 0x46, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, + 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x72, 0x6f, + 0x7a, 0x65, 0x6e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x55, + 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x08, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, + 0x29, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3e, 0x0a, 0x17, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x10, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 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, 0x22, 0xb9, 0x02, 0x0a, 0x17, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, + 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x1a, 0x70, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x31, 0x0a, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x13, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 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, 0x22, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x10, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, + 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x12, 0x5d, 0x0a, 0x19, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x17, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x1a, 0x3d, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x22, 0x4a, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x63, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x11, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x15, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x72, 0x12, 0x56, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x56, + 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x22, 0x99, 0x01, 0x0a, 0x17, 0x46, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x72, 0x6f, 0x7a, 0x65, + 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0d, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x32, + 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x19, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, + 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0f, 0x75, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x22, 0x45, 0x0a, 0x1e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x18, + 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, + 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, + 0x63, 0x6b, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0xba, 0x01, 0x0a, 0x1a, + 0x55, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x32, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, + 0x10, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x42, 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x66, 0x72, 0x65, 0x65, 0x7a, 0x65, 0x56, 0x32, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x45, 0x0a, 0x18, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_balance_contract_proto_rawDescOnce sync.Once + file_core_contract_balance_contract_proto_rawDescData = file_core_contract_balance_contract_proto_rawDesc +) + +func file_core_contract_balance_contract_proto_rawDescGZIP() []byte { + file_core_contract_balance_contract_proto_rawDescOnce.Do(func() { + file_core_contract_balance_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_balance_contract_proto_rawDescData) + }) + return file_core_contract_balance_contract_proto_rawDescData +} + +var file_core_contract_balance_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_core_contract_balance_contract_proto_goTypes = []interface{}{ + (*FreezeBalanceContract)(nil), // 0: protocol.FreezeBalanceContract + (*UnfreezeBalanceContract)(nil), // 1: protocol.UnfreezeBalanceContract + (*WithdrawBalanceContract)(nil), // 2: protocol.WithdrawBalanceContract + (*TransferContract)(nil), // 3: protocol.TransferContract + (*TransactionBalanceTrace)(nil), // 4: protocol.TransactionBalanceTrace + (*BlockBalanceTrace)(nil), // 5: protocol.BlockBalanceTrace + (*AccountTrace)(nil), // 6: protocol.AccountTrace + (*AccountIdentifier)(nil), // 7: protocol.AccountIdentifier + (*AccountBalanceRequest)(nil), // 8: protocol.AccountBalanceRequest + (*AccountBalanceResponse)(nil), // 9: protocol.AccountBalanceResponse + (*FreezeBalanceV2Contract)(nil), // 10: protocol.FreezeBalanceV2Contract + (*UnfreezeBalanceV2Contract)(nil), // 11: protocol.UnfreezeBalanceV2Contract + (*WithdrawExpireUnfreezeContract)(nil), // 12: protocol.WithdrawExpireUnfreezeContract + (*DelegateResourceContract)(nil), // 13: protocol.DelegateResourceContract + (*UnDelegateResourceContract)(nil), // 14: protocol.UnDelegateResourceContract + (*CancelAllUnfreezeV2Contract)(nil), // 15: protocol.CancelAllUnfreezeV2Contract + (*TransactionBalanceTrace_Operation)(nil), // 16: protocol.TransactionBalanceTrace.Operation + (*BlockBalanceTrace_BlockIdentifier)(nil), // 17: protocol.BlockBalanceTrace.BlockIdentifier + (ResourceCode)(0), // 18: protocol.ResourceCode +} +var file_core_contract_balance_contract_proto_depIdxs = []int32{ + 18, // 0: protocol.FreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 18, // 1: protocol.UnfreezeBalanceContract.resource:type_name -> protocol.ResourceCode + 16, // 2: protocol.TransactionBalanceTrace.operation:type_name -> protocol.TransactionBalanceTrace.Operation + 17, // 3: protocol.BlockBalanceTrace.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 4, // 4: protocol.BlockBalanceTrace.transaction_balance_trace:type_name -> protocol.TransactionBalanceTrace + 7, // 5: protocol.AccountBalanceRequest.account_identifier:type_name -> protocol.AccountIdentifier + 17, // 6: protocol.AccountBalanceRequest.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 17, // 7: protocol.AccountBalanceResponse.block_identifier:type_name -> protocol.BlockBalanceTrace.BlockIdentifier + 18, // 8: protocol.FreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 18, // 9: protocol.UnfreezeBalanceV2Contract.resource:type_name -> protocol.ResourceCode + 18, // 10: protocol.DelegateResourceContract.resource:type_name -> protocol.ResourceCode + 18, // 11: protocol.UnDelegateResourceContract.resource:type_name -> protocol.ResourceCode + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_core_contract_balance_contract_proto_init() } +func file_core_contract_balance_contract_proto_init() { + if File_core_contract_balance_contract_proto != nil { + return + } + file_core_contract_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_core_contract_balance_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FreezeBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WithdrawBalanceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransferContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionBalanceTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockBalanceTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountTrace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountIdentifier); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountBalanceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccountBalanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FreezeBalanceV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnfreezeBalanceV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WithdrawExpireUnfreezeContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelegateResourceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnDelegateResourceContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelAllUnfreezeV2Contract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionBalanceTrace_Operation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_balance_contract_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockBalanceTrace_BlockIdentifier); 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_core_contract_balance_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 18, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_balance_contract_proto_goTypes, + DependencyIndexes: file_core_contract_balance_contract_proto_depIdxs, + MessageInfos: file_core_contract_balance_contract_proto_msgTypes, + }.Build() + File_core_contract_balance_contract_proto = out.File + file_core_contract_balance_contract_proto_rawDesc = nil + file_core_contract_balance_contract_proto_goTypes = nil + file_core_contract_balance_contract_proto_depIdxs = nil +} diff --git a/gen/core/common.pb.go b/gen/core/common.pb.go new file mode 100644 index 0000000..bbf2d35 --- /dev/null +++ b/gen/core/common.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/common.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type ResourceCode int32 + +const ( + ResourceCode_BANDWIDTH ResourceCode = 0 + ResourceCode_ENERGY ResourceCode = 1 + ResourceCode_TRON_POWER ResourceCode = 2 +) + +// Enum value maps for ResourceCode. +var ( + ResourceCode_name = map[int32]string{ + 0: "BANDWIDTH", + 1: "ENERGY", + 2: "TRON_POWER", + } + ResourceCode_value = map[string]int32{ + "BANDWIDTH": 0, + "ENERGY": 1, + "TRON_POWER": 2, + } +) + +func (x ResourceCode) Enum() *ResourceCode { + p := new(ResourceCode) + *p = x + return p +} + +func (x ResourceCode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceCode) Descriptor() protoreflect.EnumDescriptor { + return file_core_contract_common_proto_enumTypes[0].Descriptor() +} + +func (ResourceCode) Type() protoreflect.EnumType { + return &file_core_contract_common_proto_enumTypes[0] +} + +func (x ResourceCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceCode.Descriptor instead. +func (ResourceCode) EnumDescriptor() ([]byte, []int) { + return file_core_contract_common_proto_rawDescGZIP(), []int{0} +} + +var File_core_contract_common_proto protoreflect.FileDescriptor + +var file_core_contract_common_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2a, 0x39, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x42, 0x41, 0x4e, 0x44, 0x57, 0x49, + 0x44, 0x54, 0x48, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x45, 0x52, 0x47, 0x59, 0x10, + 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x10, + 0x02, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_common_proto_rawDescOnce sync.Once + file_core_contract_common_proto_rawDescData = file_core_contract_common_proto_rawDesc +) + +func file_core_contract_common_proto_rawDescGZIP() []byte { + file_core_contract_common_proto_rawDescOnce.Do(func() { + file_core_contract_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_common_proto_rawDescData) + }) + return file_core_contract_common_proto_rawDescData +} + +var file_core_contract_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_core_contract_common_proto_goTypes = []interface{}{ + (ResourceCode)(0), // 0: protocol.ResourceCode +} +var file_core_contract_common_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_core_contract_common_proto_init() } +func file_core_contract_common_proto_init() { + if File_core_contract_common_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_core_contract_common_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_common_proto_goTypes, + DependencyIndexes: file_core_contract_common_proto_depIdxs, + EnumInfos: file_core_contract_common_proto_enumTypes, + }.Build() + File_core_contract_common_proto = out.File + file_core_contract_common_proto_rawDesc = nil + file_core_contract_common_proto_goTypes = nil + file_core_contract_common_proto_depIdxs = nil +} diff --git a/gen/core/exchange_contract.pb.go b/gen/core/exchange_contract.pb.go new file mode 100644 index 0000000..f2f126c --- /dev/null +++ b/gen/core/exchange_contract.pb.go @@ -0,0 +1,481 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/exchange_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type ExchangeCreateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + FirstTokenId []byte `protobuf:"bytes,2,opt,name=first_token_id,json=firstTokenId,proto3" json:"first_token_id,omitempty"` + FirstTokenBalance int64 `protobuf:"varint,3,opt,name=first_token_balance,json=firstTokenBalance,proto3" json:"first_token_balance,omitempty"` + SecondTokenId []byte `protobuf:"bytes,4,opt,name=second_token_id,json=secondTokenId,proto3" json:"second_token_id,omitempty"` + SecondTokenBalance int64 `protobuf:"varint,5,opt,name=second_token_balance,json=secondTokenBalance,proto3" json:"second_token_balance,omitempty"` +} + +func (x *ExchangeCreateContract) Reset() { + *x = ExchangeCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_exchange_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExchangeCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExchangeCreateContract) ProtoMessage() {} + +func (x *ExchangeCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_exchange_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExchangeCreateContract.ProtoReflect.Descriptor instead. +func (*ExchangeCreateContract) Descriptor() ([]byte, []int) { + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *ExchangeCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ExchangeCreateContract) GetFirstTokenId() []byte { + if x != nil { + return x.FirstTokenId + } + return nil +} + +func (x *ExchangeCreateContract) GetFirstTokenBalance() int64 { + if x != nil { + return x.FirstTokenBalance + } + return 0 +} + +func (x *ExchangeCreateContract) GetSecondTokenId() []byte { + if x != nil { + return x.SecondTokenId + } + return nil +} + +func (x *ExchangeCreateContract) GetSecondTokenBalance() int64 { + if x != nil { + return x.SecondTokenBalance + } + return 0 +} + +type ExchangeInjectContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` +} + +func (x *ExchangeInjectContract) Reset() { + *x = ExchangeInjectContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_exchange_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExchangeInjectContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExchangeInjectContract) ProtoMessage() {} + +func (x *ExchangeInjectContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_exchange_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExchangeInjectContract.ProtoReflect.Descriptor instead. +func (*ExchangeInjectContract) Descriptor() ([]byte, []int) { + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *ExchangeInjectContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ExchangeInjectContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *ExchangeInjectContract) GetTokenId() []byte { + if x != nil { + return x.TokenId + } + return nil +} + +func (x *ExchangeInjectContract) GetQuant() int64 { + if x != nil { + return x.Quant + } + return 0 +} + +type ExchangeWithdrawContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` +} + +func (x *ExchangeWithdrawContract) Reset() { + *x = ExchangeWithdrawContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_exchange_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExchangeWithdrawContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExchangeWithdrawContract) ProtoMessage() {} + +func (x *ExchangeWithdrawContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_exchange_contract_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) +} + +// Deprecated: Use ExchangeWithdrawContract.ProtoReflect.Descriptor instead. +func (*ExchangeWithdrawContract) Descriptor() ([]byte, []int) { + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *ExchangeWithdrawContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ExchangeWithdrawContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *ExchangeWithdrawContract) GetTokenId() []byte { + if x != nil { + return x.TokenId + } + return nil +} + +func (x *ExchangeWithdrawContract) GetQuant() int64 { + if x != nil { + return x.Quant + } + return 0 +} + +type ExchangeTransactionContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ExchangeId int64 `protobuf:"varint,2,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"` + TokenId []byte `protobuf:"bytes,3,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` + Quant int64 `protobuf:"varint,4,opt,name=quant,proto3" json:"quant,omitempty"` + Expected int64 `protobuf:"varint,5,opt,name=expected,proto3" json:"expected,omitempty"` +} + +func (x *ExchangeTransactionContract) Reset() { + *x = ExchangeTransactionContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_exchange_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExchangeTransactionContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExchangeTransactionContract) ProtoMessage() {} + +func (x *ExchangeTransactionContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_exchange_contract_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) +} + +// Deprecated: Use ExchangeTransactionContract.ProtoReflect.Descriptor instead. +func (*ExchangeTransactionContract) Descriptor() ([]byte, []int) { + return file_core_contract_exchange_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *ExchangeTransactionContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ExchangeTransactionContract) GetExchangeId() int64 { + if x != nil { + return x.ExchangeId + } + return 0 +} + +func (x *ExchangeTransactionContract) GetTokenId() []byte { + if x != nil { + return x.TokenId + } + return nil +} + +func (x *ExchangeTransactionContract) GetQuant() int64 { + if x != nil { + return x.Quant + } + return 0 +} + +func (x *ExchangeTransactionContract) GetExpected() int64 { + if x != nil { + return x.Expected + } + return 0 +} + +var File_core_contract_exchange_contract_proto protoreflect.FileDescriptor + +var file_core_contract_exchange_contract_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, + 0x30, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, + 0x6a, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, + 0x61, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x1b, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, + 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0a, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, + 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, + 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_exchange_contract_proto_rawDescOnce sync.Once + file_core_contract_exchange_contract_proto_rawDescData = file_core_contract_exchange_contract_proto_rawDesc +) + +func file_core_contract_exchange_contract_proto_rawDescGZIP() []byte { + file_core_contract_exchange_contract_proto_rawDescOnce.Do(func() { + file_core_contract_exchange_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_exchange_contract_proto_rawDescData) + }) + return file_core_contract_exchange_contract_proto_rawDescData +} + +var file_core_contract_exchange_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_exchange_contract_proto_goTypes = []interface{}{ + (*ExchangeCreateContract)(nil), // 0: protocol.ExchangeCreateContract + (*ExchangeInjectContract)(nil), // 1: protocol.ExchangeInjectContract + (*ExchangeWithdrawContract)(nil), // 2: protocol.ExchangeWithdrawContract + (*ExchangeTransactionContract)(nil), // 3: protocol.ExchangeTransactionContract +} +var file_core_contract_exchange_contract_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_core_contract_exchange_contract_proto_init() } +func file_core_contract_exchange_contract_proto_init() { + if File_core_contract_exchange_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_exchange_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_exchange_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeInjectContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_exchange_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeWithdrawContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_exchange_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeTransactionContract); 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_core_contract_exchange_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_exchange_contract_proto_goTypes, + DependencyIndexes: file_core_contract_exchange_contract_proto_depIdxs, + MessageInfos: file_core_contract_exchange_contract_proto_msgTypes, + }.Build() + File_core_contract_exchange_contract_proto = out.File + file_core_contract_exchange_contract_proto_rawDesc = nil + file_core_contract_exchange_contract_proto_goTypes = nil + file_core_contract_exchange_contract_proto_depIdxs = nil +} diff --git a/gen/core/market_contract.pb.go b/gen/core/market_contract.pb.go new file mode 100644 index 0000000..e5e2ae3 --- /dev/null +++ b/gen/core/market_contract.pb.go @@ -0,0 +1,264 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/market_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type MarketSellAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + SellTokenId []byte `protobuf:"bytes,2,opt,name=sell_token_id,json=sellTokenId,proto3" json:"sell_token_id,omitempty"` + SellTokenQuantity int64 `protobuf:"varint,3,opt,name=sell_token_quantity,json=sellTokenQuantity,proto3" json:"sell_token_quantity,omitempty"` + BuyTokenId []byte `protobuf:"bytes,4,opt,name=buy_token_id,json=buyTokenId,proto3" json:"buy_token_id,omitempty"` + BuyTokenQuantity int64 `protobuf:"varint,5,opt,name=buy_token_quantity,json=buyTokenQuantity,proto3" json:"buy_token_quantity,omitempty"` // min to receive +} + +func (x *MarketSellAssetContract) Reset() { + *x = MarketSellAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_market_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketSellAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketSellAssetContract) ProtoMessage() {} + +func (x *MarketSellAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_market_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketSellAssetContract.ProtoReflect.Descriptor instead. +func (*MarketSellAssetContract) Descriptor() ([]byte, []int) { + return file_core_contract_market_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *MarketSellAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketSellAssetContract) GetSellTokenId() []byte { + if x != nil { + return x.SellTokenId + } + return nil +} + +func (x *MarketSellAssetContract) GetSellTokenQuantity() int64 { + if x != nil { + return x.SellTokenQuantity + } + return 0 +} + +func (x *MarketSellAssetContract) GetBuyTokenId() []byte { + if x != nil { + return x.BuyTokenId + } + return nil +} + +func (x *MarketSellAssetContract) GetBuyTokenQuantity() int64 { + if x != nil { + return x.BuyTokenQuantity + } + return 0 +} + +type MarketCancelOrderContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + OrderId []byte `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` +} + +func (x *MarketCancelOrderContract) Reset() { + *x = MarketCancelOrderContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_market_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketCancelOrderContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketCancelOrderContract) ProtoMessage() {} + +func (x *MarketCancelOrderContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_market_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketCancelOrderContract.ProtoReflect.Descriptor instead. +func (*MarketCancelOrderContract) Descriptor() ([]byte, []int) { + return file_core_contract_market_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *MarketCancelOrderContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *MarketCancelOrderContract) GetOrderId() []byte { + if x != nil { + return x.OrderId + } + return nil +} + +var File_core_contract_market_contract_proto protoreflect.FileDescriptor + +var file_core_contract_market_contract_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0xe2, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x6c, 0x6c, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x11, 0x73, 0x65, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x75, 0x79, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x62, 0x75, 0x79, 0x5f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x10, 0x62, 0x75, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x61, + 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_market_contract_proto_rawDescOnce sync.Once + file_core_contract_market_contract_proto_rawDescData = file_core_contract_market_contract_proto_rawDesc +) + +func file_core_contract_market_contract_proto_rawDescGZIP() []byte { + file_core_contract_market_contract_proto_rawDescOnce.Do(func() { + file_core_contract_market_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_market_contract_proto_rawDescData) + }) + return file_core_contract_market_contract_proto_rawDescData +} + +var file_core_contract_market_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_core_contract_market_contract_proto_goTypes = []interface{}{ + (*MarketSellAssetContract)(nil), // 0: protocol.MarketSellAssetContract + (*MarketCancelOrderContract)(nil), // 1: protocol.MarketCancelOrderContract +} +var file_core_contract_market_contract_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_core_contract_market_contract_proto_init() } +func file_core_contract_market_contract_proto_init() { + if File_core_contract_market_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_market_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketSellAssetContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_market_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketCancelOrderContract); 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_core_contract_market_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_market_contract_proto_goTypes, + DependencyIndexes: file_core_contract_market_contract_proto_depIdxs, + MessageInfos: file_core_contract_market_contract_proto_msgTypes, + }.Build() + File_core_contract_market_contract_proto = out.File + file_core_contract_market_contract_proto_rawDesc = nil + file_core_contract_market_contract_proto_goTypes = nil + file_core_contract_market_contract_proto_depIdxs = nil +} diff --git a/gen/core/proposal_contract.pb.go b/gen/core/proposal_contract.pb.go new file mode 100644 index 0000000..e5e5afd --- /dev/null +++ b/gen/core/proposal_contract.pb.go @@ -0,0 +1,326 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/proposal_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type ProposalApproveContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` + IsAddApproval bool `protobuf:"varint,3,opt,name=is_add_approval,json=isAddApproval,proto3" json:"is_add_approval,omitempty"` // add or remove approval +} + +func (x *ProposalApproveContract) Reset() { + *x = ProposalApproveContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_proposal_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalApproveContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalApproveContract) ProtoMessage() {} + +func (x *ProposalApproveContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_proposal_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalApproveContract.ProtoReflect.Descriptor instead. +func (*ProposalApproveContract) Descriptor() ([]byte, []int) { + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *ProposalApproveContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ProposalApproveContract) GetProposalId() int64 { + if x != nil { + return x.ProposalId + } + return 0 +} + +func (x *ProposalApproveContract) GetIsAddApproval() bool { + if x != nil { + return x.IsAddApproval + } + return false +} + +type ProposalCreateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Parameters map[int64]int64 `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` +} + +func (x *ProposalCreateContract) Reset() { + *x = ProposalCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_proposal_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalCreateContract) ProtoMessage() {} + +func (x *ProposalCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_proposal_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalCreateContract.ProtoReflect.Descriptor instead. +func (*ProposalCreateContract) Descriptor() ([]byte, []int) { + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *ProposalCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ProposalCreateContract) GetParameters() map[int64]int64 { + if x != nil { + return x.Parameters + } + return nil +} + +type ProposalDeleteContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ProposalId int64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"` +} + +func (x *ProposalDeleteContract) Reset() { + *x = ProposalDeleteContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_proposal_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalDeleteContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalDeleteContract) ProtoMessage() {} + +func (x *ProposalDeleteContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_proposal_contract_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) +} + +// Deprecated: Use ProposalDeleteContract.ProtoReflect.Descriptor instead. +func (*ProposalDeleteContract) Descriptor() ([]byte, []int) { + return file_core_contract_proposal_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *ProposalDeleteContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ProposalDeleteContract) GetProposalId() int64 { + if x != nil { + return x.ProposalId + } + return 0 +} + +var File_core_contract_proposal_contract_proto protoreflect.FileDescriptor + +var file_core_contract_proposal_contract_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x41, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, + 0x41, 0x64, 0x64, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x22, 0xce, 0x01, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x50, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x3d, 0x0a, + 0x0f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x42, 0x45, 0x0a, 0x18, + 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, + 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_proposal_contract_proto_rawDescOnce sync.Once + file_core_contract_proposal_contract_proto_rawDescData = file_core_contract_proposal_contract_proto_rawDesc +) + +func file_core_contract_proposal_contract_proto_rawDescGZIP() []byte { + file_core_contract_proposal_contract_proto_rawDescOnce.Do(func() { + file_core_contract_proposal_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_proposal_contract_proto_rawDescData) + }) + return file_core_contract_proposal_contract_proto_rawDescData +} + +var file_core_contract_proposal_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_proposal_contract_proto_goTypes = []interface{}{ + (*ProposalApproveContract)(nil), // 0: protocol.ProposalApproveContract + (*ProposalCreateContract)(nil), // 1: protocol.ProposalCreateContract + (*ProposalDeleteContract)(nil), // 2: protocol.ProposalDeleteContract + nil, // 3: protocol.ProposalCreateContract.ParametersEntry +} +var file_core_contract_proposal_contract_proto_depIdxs = []int32{ + 3, // 0: protocol.ProposalCreateContract.parameters:type_name -> protocol.ProposalCreateContract.ParametersEntry + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_contract_proposal_contract_proto_init() } +func file_core_contract_proposal_contract_proto_init() { + if File_core_contract_proposal_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_proposal_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalApproveContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_proposal_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_proposal_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalDeleteContract); 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_core_contract_proposal_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_proposal_contract_proto_goTypes, + DependencyIndexes: file_core_contract_proposal_contract_proto_depIdxs, + MessageInfos: file_core_contract_proposal_contract_proto_msgTypes, + }.Build() + File_core_contract_proposal_contract_proto = out.File + file_core_contract_proposal_contract_proto_rawDesc = nil + file_core_contract_proposal_contract_proto_goTypes = nil + file_core_contract_proposal_contract_proto_depIdxs = nil +} diff --git a/gen/core/shield_contract.pb.go b/gen/core/shield_contract.pb.go new file mode 100644 index 0000000..00d42d5 --- /dev/null +++ b/gen/core/shield_contract.pb.go @@ -0,0 +1,1091 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/shield_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type AuthenticationPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value []bool `protobuf:"varint,1,rep,packed,name=value,proto3" json:"value,omitempty"` +} + +func (x *AuthenticationPath) Reset() { + *x = AuthenticationPath{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AuthenticationPath) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthenticationPath) ProtoMessage() {} + +func (x *AuthenticationPath) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AuthenticationPath.ProtoReflect.Descriptor instead. +func (*AuthenticationPath) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *AuthenticationPath) GetValue() []bool { + if x != nil { + return x.Value + } + return nil +} + +type MerklePath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthenticationPaths []*AuthenticationPath `protobuf:"bytes,1,rep,name=authentication_paths,json=authenticationPaths,proto3" json:"authentication_paths,omitempty"` + Index []bool `protobuf:"varint,2,rep,packed,name=index,proto3" json:"index,omitempty"` + Rt []byte `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` +} + +func (x *MerklePath) Reset() { + *x = MerklePath{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MerklePath) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MerklePath) ProtoMessage() {} + +func (x *MerklePath) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MerklePath.ProtoReflect.Descriptor instead. +func (*MerklePath) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *MerklePath) GetAuthenticationPaths() []*AuthenticationPath { + if x != nil { + return x.AuthenticationPaths + } + return nil +} + +func (x *MerklePath) GetIndex() []bool { + if x != nil { + return x.Index + } + return nil +} + +func (x *MerklePath) GetRt() []byte { + if x != nil { + return x.Rt + } + return nil +} + +type OutputPoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *OutputPoint) Reset() { + *x = OutputPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OutputPoint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OutputPoint) ProtoMessage() {} + +func (x *OutputPoint) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use OutputPoint.ProtoReflect.Descriptor instead. +func (*OutputPoint) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *OutputPoint) GetHash() []byte { + if x != nil { + return x.Hash + } + return nil +} + +func (x *OutputPoint) GetIndex() int32 { + if x != nil { + return x.Index + } + return 0 +} + +type OutputPointInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OutPoints []*OutputPoint `protobuf:"bytes,1,rep,name=out_points,json=outPoints,proto3" json:"out_points,omitempty"` + BlockNum int32 `protobuf:"varint,2,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` +} + +func (x *OutputPointInfo) Reset() { + *x = OutputPointInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OutputPointInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OutputPointInfo) ProtoMessage() {} + +func (x *OutputPointInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use OutputPointInfo.ProtoReflect.Descriptor instead. +func (*OutputPointInfo) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *OutputPointInfo) GetOutPoints() []*OutputPoint { + if x != nil { + return x.OutPoints + } + return nil +} + +func (x *OutputPointInfo) GetBlockNum() int32 { + if x != nil { + return x.BlockNum + } + return 0 +} + +type PedersenHash struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *PedersenHash) Reset() { + *x = PedersenHash{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PedersenHash) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PedersenHash) ProtoMessage() {} + +func (x *PedersenHash) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use PedersenHash.ProtoReflect.Descriptor instead. +func (*PedersenHash) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{4} +} + +func (x *PedersenHash) GetContent() []byte { + if x != nil { + return x.Content + } + return nil +} + +type IncrementalMerkleTree struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Left *PedersenHash `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"` + Right *PedersenHash `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"` + Parents []*PedersenHash `protobuf:"bytes,3,rep,name=parents,proto3" json:"parents,omitempty"` +} + +func (x *IncrementalMerkleTree) Reset() { + *x = IncrementalMerkleTree{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IncrementalMerkleTree) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncrementalMerkleTree) ProtoMessage() {} + +func (x *IncrementalMerkleTree) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use IncrementalMerkleTree.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleTree) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{5} +} + +func (x *IncrementalMerkleTree) GetLeft() *PedersenHash { + if x != nil { + return x.Left + } + return nil +} + +func (x *IncrementalMerkleTree) GetRight() *PedersenHash { + if x != nil { + return x.Right + } + return nil +} + +func (x *IncrementalMerkleTree) GetParents() []*PedersenHash { + if x != nil { + return x.Parents + } + return nil +} + +type IncrementalMerkleVoucher struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tree *IncrementalMerkleTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"` + Filled []*PedersenHash `protobuf:"bytes,2,rep,name=filled,proto3" json:"filled,omitempty"` + Cursor *IncrementalMerkleTree `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` + CursorDepth int64 `protobuf:"varint,4,opt,name=cursor_depth,json=cursorDepth,proto3" json:"cursor_depth,omitempty"` + Rt []byte `protobuf:"bytes,5,opt,name=rt,proto3" json:"rt,omitempty"` + OutputPoint *OutputPoint `protobuf:"bytes,10,opt,name=output_point,json=outputPoint,proto3" json:"output_point,omitempty"` +} + +func (x *IncrementalMerkleVoucher) Reset() { + *x = IncrementalMerkleVoucher{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IncrementalMerkleVoucher) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncrementalMerkleVoucher) ProtoMessage() {} + +func (x *IncrementalMerkleVoucher) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use IncrementalMerkleVoucher.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleVoucher) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{6} +} + +func (x *IncrementalMerkleVoucher) GetTree() *IncrementalMerkleTree { + if x != nil { + return x.Tree + } + return nil +} + +func (x *IncrementalMerkleVoucher) GetFilled() []*PedersenHash { + if x != nil { + return x.Filled + } + return nil +} + +func (x *IncrementalMerkleVoucher) GetCursor() *IncrementalMerkleTree { + if x != nil { + return x.Cursor + } + return nil +} + +func (x *IncrementalMerkleVoucher) GetCursorDepth() int64 { + if x != nil { + return x.CursorDepth + } + return 0 +} + +func (x *IncrementalMerkleVoucher) GetRt() []byte { + if x != nil { + return x.Rt + } + return nil +} + +func (x *IncrementalMerkleVoucher) GetOutputPoint() *OutputPoint { + if x != nil { + return x.OutputPoint + } + return nil +} + +type IncrementalMerkleVoucherInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Vouchers []*IncrementalMerkleVoucher `protobuf:"bytes,1,rep,name=vouchers,proto3" json:"vouchers,omitempty"` + Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` +} + +func (x *IncrementalMerkleVoucherInfo) Reset() { + *x = IncrementalMerkleVoucherInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IncrementalMerkleVoucherInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IncrementalMerkleVoucherInfo) ProtoMessage() {} + +func (x *IncrementalMerkleVoucherInfo) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use IncrementalMerkleVoucherInfo.ProtoReflect.Descriptor instead. +func (*IncrementalMerkleVoucherInfo) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{7} +} + +func (x *IncrementalMerkleVoucherInfo) GetVouchers() []*IncrementalMerkleVoucher { + if x != nil { + return x.Vouchers + } + return nil +} + +func (x *IncrementalMerkleVoucherInfo) GetPaths() [][]byte { + if x != nil { + return x.Paths + } + return nil +} + +type SpendDescription struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + Anchor []byte `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"` // merkle root + Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // used for check double spend + Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` // used for check spend authority signature + Zkproof []byte `protobuf:"bytes,5,opt,name=zkproof,proto3" json:"zkproof,omitempty"` + SpendAuthoritySignature []byte `protobuf:"bytes,6,opt,name=spend_authority_signature,json=spendAuthoritySignature,proto3" json:"spend_authority_signature,omitempty"` +} + +func (x *SpendDescription) Reset() { + *x = SpendDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendDescription) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendDescription) ProtoMessage() {} + +func (x *SpendDescription) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use SpendDescription.ProtoReflect.Descriptor instead. +func (*SpendDescription) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{8} +} + +func (x *SpendDescription) GetValueCommitment() []byte { + if x != nil { + return x.ValueCommitment + } + return nil +} + +func (x *SpendDescription) GetAnchor() []byte { + if x != nil { + return x.Anchor + } + return nil +} + +func (x *SpendDescription) GetNullifier() []byte { + if x != nil { + return x.Nullifier + } + return nil +} + +func (x *SpendDescription) GetRk() []byte { + if x != nil { + return x.Rk + } + return nil +} + +func (x *SpendDescription) GetZkproof() []byte { + if x != nil { + return x.Zkproof + } + return nil +} + +func (x *SpendDescription) GetSpendAuthoritySignature() []byte { + if x != nil { + return x.SpendAuthoritySignature + } + return nil +} + +type ReceiveDescription struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ValueCommitment []byte `protobuf:"bytes,1,opt,name=value_commitment,json=valueCommitment,proto3" json:"value_commitment,omitempty"` + NoteCommitment []byte `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + Epk []byte `protobuf:"bytes,3,opt,name=epk,proto3" json:"epk,omitempty"` // for Encryption + CEnc []byte `protobuf:"bytes,4,opt,name=c_enc,json=cEnc,proto3" json:"c_enc,omitempty"` // Encryption for incoming, decrypt it with ivk + COut []byte `protobuf:"bytes,5,opt,name=c_out,json=cOut,proto3" json:"c_out,omitempty"` // Encryption for audit, decrypt it with ovk + Zkproof []byte `protobuf:"bytes,6,opt,name=zkproof,proto3" json:"zkproof,omitempty"` +} + +func (x *ReceiveDescription) Reset() { + *x = ReceiveDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReceiveDescription) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReceiveDescription) ProtoMessage() {} + +func (x *ReceiveDescription) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use ReceiveDescription.ProtoReflect.Descriptor instead. +func (*ReceiveDescription) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{9} +} + +func (x *ReceiveDescription) GetValueCommitment() []byte { + if x != nil { + return x.ValueCommitment + } + return nil +} + +func (x *ReceiveDescription) GetNoteCommitment() []byte { + if x != nil { + return x.NoteCommitment + } + return nil +} + +func (x *ReceiveDescription) GetEpk() []byte { + if x != nil { + return x.Epk + } + return nil +} + +func (x *ReceiveDescription) GetCEnc() []byte { + if x != nil { + return x.CEnc + } + return nil +} + +func (x *ReceiveDescription) GetCOut() []byte { + if x != nil { + return x.COut + } + return nil +} + +func (x *ReceiveDescription) GetZkproof() []byte { + if x != nil { + return x.Zkproof + } + return nil +} + +type ShieldedTransferContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransparentFromAddress []byte `protobuf:"bytes,1,opt,name=transparent_from_address,json=transparentFromAddress,proto3" json:"transparent_from_address,omitempty"` // transparent address + FromAmount int64 `protobuf:"varint,2,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"` + SpendDescription []*SpendDescription `protobuf:"bytes,3,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"` + ReceiveDescription []*ReceiveDescription `protobuf:"bytes,4,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"` + BindingSignature []byte `protobuf:"bytes,5,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"` + TransparentToAddress []byte `protobuf:"bytes,6,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"` // transparent address + ToAmount int64 `protobuf:"varint,7,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"` // the amount to transparent to_address +} + +func (x *ShieldedTransferContract) Reset() { + *x = ShieldedTransferContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_shield_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShieldedTransferContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShieldedTransferContract) ProtoMessage() {} + +func (x *ShieldedTransferContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_shield_contract_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) +} + +// Deprecated: Use ShieldedTransferContract.ProtoReflect.Descriptor instead. +func (*ShieldedTransferContract) Descriptor() ([]byte, []int) { + return file_core_contract_shield_contract_proto_rawDescGZIP(), []int{10} +} + +func (x *ShieldedTransferContract) GetTransparentFromAddress() []byte { + if x != nil { + return x.TransparentFromAddress + } + return nil +} + +func (x *ShieldedTransferContract) GetFromAmount() int64 { + if x != nil { + return x.FromAmount + } + return 0 +} + +func (x *ShieldedTransferContract) GetSpendDescription() []*SpendDescription { + if x != nil { + return x.SpendDescription + } + return nil +} + +func (x *ShieldedTransferContract) GetReceiveDescription() []*ReceiveDescription { + if x != nil { + return x.ReceiveDescription + } + return nil +} + +func (x *ShieldedTransferContract) GetBindingSignature() []byte { + if x != nil { + return x.BindingSignature + } + return nil +} + +func (x *ShieldedTransferContract) GetTransparentToAddress() []byte { + if x != nil { + return x.TransparentToAddress + } + return nil +} + +func (x *ShieldedTransferContract) GetToAmount() int64 { + if x != nil { + return x.ToAmount + } + return 0 +} + +var File_core_contract_shield_contract_proto protoreflect.FileDescriptor + +var file_core_contract_shield_contract_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, + 0x2a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0a, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x08, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, + 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x64, 0x0a, 0x0f, 0x4f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, + 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, + 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x65, 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x15, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, + 0x54, 0x72, 0x65, 0x65, 0x12, 0x2a, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, + 0x12, 0x2c, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x30, + 0x0a, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x07, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, + 0x22, 0xa5, 0x02, 0x0a, 0x18, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x12, 0x33, 0x0a, + 0x04, 0x74, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, 0x72, 0x65, 0x65, 0x52, 0x04, 0x74, 0x72, + 0x65, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x50, 0x65, + 0x64, 0x65, 0x72, 0x73, 0x65, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x6c, + 0x65, 0x64, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, + 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x54, + 0x72, 0x65, 0x65, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x75, 0x72, 0x73, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, + 0x0a, 0x02, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x72, 0x74, 0x12, 0x38, + 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, + 0x63, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3e, 0x0a, 0x08, 0x76, 0x6f, 0x75, 0x63, + 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x6c, 0x4d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x56, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x52, 0x08, + 0x76, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0xd9, + 0x01, 0x0a, 0x10, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x02, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x3a, + 0x0a, 0x19, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x17, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, + 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x70, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x65, 0x70, 0x6b, 0x12, 0x13, 0x0a, 0x05, 0x63, 0x5f, 0x65, 0x6e, 0x63, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x45, 0x6e, 0x63, 0x12, 0x13, 0x0a, 0x05, + 0x63, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x4f, 0x75, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x7a, 0x6b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x22, 0x8d, 0x03, 0x0a, 0x18, + 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, + 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x13, + 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x62, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, + 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x74, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, + 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, + 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_shield_contract_proto_rawDescOnce sync.Once + file_core_contract_shield_contract_proto_rawDescData = file_core_contract_shield_contract_proto_rawDesc +) + +func file_core_contract_shield_contract_proto_rawDescGZIP() []byte { + file_core_contract_shield_contract_proto_rawDescOnce.Do(func() { + file_core_contract_shield_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_shield_contract_proto_rawDescData) + }) + return file_core_contract_shield_contract_proto_rawDescData +} + +var file_core_contract_shield_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_contract_shield_contract_proto_goTypes = []interface{}{ + (*AuthenticationPath)(nil), // 0: protocol.AuthenticationPath + (*MerklePath)(nil), // 1: protocol.MerklePath + (*OutputPoint)(nil), // 2: protocol.OutputPoint + (*OutputPointInfo)(nil), // 3: protocol.OutputPointInfo + (*PedersenHash)(nil), // 4: protocol.PedersenHash + (*IncrementalMerkleTree)(nil), // 5: protocol.IncrementalMerkleTree + (*IncrementalMerkleVoucher)(nil), // 6: protocol.IncrementalMerkleVoucher + (*IncrementalMerkleVoucherInfo)(nil), // 7: protocol.IncrementalMerkleVoucherInfo + (*SpendDescription)(nil), // 8: protocol.SpendDescription + (*ReceiveDescription)(nil), // 9: protocol.ReceiveDescription + (*ShieldedTransferContract)(nil), // 10: protocol.ShieldedTransferContract +} +var file_core_contract_shield_contract_proto_depIdxs = []int32{ + 0, // 0: protocol.MerklePath.authentication_paths:type_name -> protocol.AuthenticationPath + 2, // 1: protocol.OutputPointInfo.out_points:type_name -> protocol.OutputPoint + 4, // 2: protocol.IncrementalMerkleTree.left:type_name -> protocol.PedersenHash + 4, // 3: protocol.IncrementalMerkleTree.right:type_name -> protocol.PedersenHash + 4, // 4: protocol.IncrementalMerkleTree.parents:type_name -> protocol.PedersenHash + 5, // 5: protocol.IncrementalMerkleVoucher.tree:type_name -> protocol.IncrementalMerkleTree + 4, // 6: protocol.IncrementalMerkleVoucher.filled:type_name -> protocol.PedersenHash + 5, // 7: protocol.IncrementalMerkleVoucher.cursor:type_name -> protocol.IncrementalMerkleTree + 2, // 8: protocol.IncrementalMerkleVoucher.output_point:type_name -> protocol.OutputPoint + 6, // 9: protocol.IncrementalMerkleVoucherInfo.vouchers:type_name -> protocol.IncrementalMerkleVoucher + 8, // 10: protocol.ShieldedTransferContract.spend_description:type_name -> protocol.SpendDescription + 9, // 11: protocol.ShieldedTransferContract.receive_description:type_name -> protocol.ReceiveDescription + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_core_contract_shield_contract_proto_init() } +func file_core_contract_shield_contract_proto_init() { + if File_core_contract_shield_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_shield_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthenticationPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MerklePath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutputPoint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutputPointInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PedersenHash); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleVoucher); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IncrementalMerkleVoucherInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReceiveDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_shield_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShieldedTransferContract); 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_core_contract_shield_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_shield_contract_proto_goTypes, + DependencyIndexes: file_core_contract_shield_contract_proto_depIdxs, + MessageInfos: file_core_contract_shield_contract_proto_msgTypes, + }.Build() + File_core_contract_shield_contract_proto = out.File + file_core_contract_shield_contract_proto_rawDesc = nil + file_core_contract_shield_contract_proto_goTypes = nil + file_core_contract_shield_contract_proto_depIdxs = nil +} diff --git a/gen/core/smart_contract.pb.go b/gen/core/smart_contract.pb.go new file mode 100644 index 0000000..f8cf8c8 --- /dev/null +++ b/gen/core/smart_contract.pb.go @@ -0,0 +1,1308 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/smart_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type SmartContract_ABI_Entry_EntryType int32 + +const ( + SmartContract_ABI_Entry_UnknownEntryType SmartContract_ABI_Entry_EntryType = 0 + SmartContract_ABI_Entry_Constructor SmartContract_ABI_Entry_EntryType = 1 + SmartContract_ABI_Entry_Function SmartContract_ABI_Entry_EntryType = 2 + SmartContract_ABI_Entry_Event SmartContract_ABI_Entry_EntryType = 3 + SmartContract_ABI_Entry_Fallback SmartContract_ABI_Entry_EntryType = 4 + SmartContract_ABI_Entry_Receive SmartContract_ABI_Entry_EntryType = 5 + SmartContract_ABI_Entry_Error SmartContract_ABI_Entry_EntryType = 6 +) + +// Enum value maps for SmartContract_ABI_Entry_EntryType. +var ( + SmartContract_ABI_Entry_EntryType_name = map[int32]string{ + 0: "UnknownEntryType", + 1: "Constructor", + 2: "Function", + 3: "Event", + 4: "Fallback", + 5: "Receive", + 6: "Error", + } + SmartContract_ABI_Entry_EntryType_value = map[string]int32{ + "UnknownEntryType": 0, + "Constructor": 1, + "Function": 2, + "Event": 3, + "Fallback": 4, + "Receive": 5, + "Error": 6, + } +) + +func (x SmartContract_ABI_Entry_EntryType) Enum() *SmartContract_ABI_Entry_EntryType { + p := new(SmartContract_ABI_Entry_EntryType) + *p = x + return p +} + +func (x SmartContract_ABI_Entry_EntryType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SmartContract_ABI_Entry_EntryType) Descriptor() protoreflect.EnumDescriptor { + return file_core_contract_smart_contract_proto_enumTypes[0].Descriptor() +} + +func (SmartContract_ABI_Entry_EntryType) Type() protoreflect.EnumType { + return &file_core_contract_smart_contract_proto_enumTypes[0] +} + +func (x SmartContract_ABI_Entry_EntryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SmartContract_ABI_Entry_EntryType.Descriptor instead. +func (SmartContract_ABI_Entry_EntryType) EnumDescriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} +} + +type SmartContract_ABI_Entry_StateMutabilityType int32 + +const ( + SmartContract_ABI_Entry_UnknownMutabilityType SmartContract_ABI_Entry_StateMutabilityType = 0 + SmartContract_ABI_Entry_Pure SmartContract_ABI_Entry_StateMutabilityType = 1 + SmartContract_ABI_Entry_View SmartContract_ABI_Entry_StateMutabilityType = 2 + SmartContract_ABI_Entry_Nonpayable SmartContract_ABI_Entry_StateMutabilityType = 3 + SmartContract_ABI_Entry_Payable SmartContract_ABI_Entry_StateMutabilityType = 4 +) + +// Enum value maps for SmartContract_ABI_Entry_StateMutabilityType. +var ( + SmartContract_ABI_Entry_StateMutabilityType_name = map[int32]string{ + 0: "UnknownMutabilityType", + 1: "Pure", + 2: "View", + 3: "Nonpayable", + 4: "Payable", + } + SmartContract_ABI_Entry_StateMutabilityType_value = map[string]int32{ + "UnknownMutabilityType": 0, + "Pure": 1, + "View": 2, + "Nonpayable": 3, + "Payable": 4, + } +) + +func (x SmartContract_ABI_Entry_StateMutabilityType) Enum() *SmartContract_ABI_Entry_StateMutabilityType { + p := new(SmartContract_ABI_Entry_StateMutabilityType) + *p = x + return p +} + +func (x SmartContract_ABI_Entry_StateMutabilityType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SmartContract_ABI_Entry_StateMutabilityType) Descriptor() protoreflect.EnumDescriptor { + return file_core_contract_smart_contract_proto_enumTypes[1].Descriptor() +} + +func (SmartContract_ABI_Entry_StateMutabilityType) Type() protoreflect.EnumType { + return &file_core_contract_smart_contract_proto_enumTypes[1] +} + +func (x SmartContract_ABI_Entry_StateMutabilityType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SmartContract_ABI_Entry_StateMutabilityType.Descriptor instead. +func (SmartContract_ABI_Entry_StateMutabilityType) EnumDescriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 1} +} + +type SmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OriginAddress []byte `protobuf:"bytes,1,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + Abi *SmartContract_ABI `protobuf:"bytes,3,opt,name=abi,proto3" json:"abi,omitempty"` + Bytecode []byte `protobuf:"bytes,4,opt,name=bytecode,proto3" json:"bytecode,omitempty"` + CallValue int64 `protobuf:"varint,5,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` + ConsumeUserResourcePercent int64 `protobuf:"varint,6,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + OriginEnergyLimit int64 `protobuf:"varint,8,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` + CodeHash []byte `protobuf:"bytes,9,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` + TrxHash []byte `protobuf:"bytes,10,opt,name=trx_hash,json=trxHash,proto3" json:"trx_hash,omitempty"` + Version int32 `protobuf:"varint,11,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *SmartContract) Reset() { + *x = SmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SmartContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContract) ProtoMessage() {} + +func (x *SmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SmartContract.ProtoReflect.Descriptor instead. +func (*SmartContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *SmartContract) GetOriginAddress() []byte { + if x != nil { + return x.OriginAddress + } + return nil +} + +func (x *SmartContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *SmartContract) GetAbi() *SmartContract_ABI { + if x != nil { + return x.Abi + } + return nil +} + +func (x *SmartContract) GetBytecode() []byte { + if x != nil { + return x.Bytecode + } + return nil +} + +func (x *SmartContract) GetCallValue() int64 { + if x != nil { + return x.CallValue + } + return 0 +} + +func (x *SmartContract) GetConsumeUserResourcePercent() int64 { + if x != nil { + return x.ConsumeUserResourcePercent + } + return 0 +} + +func (x *SmartContract) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SmartContract) GetOriginEnergyLimit() int64 { + if x != nil { + return x.OriginEnergyLimit + } + return 0 +} + +func (x *SmartContract) GetCodeHash() []byte { + if x != nil { + return x.CodeHash + } + return nil +} + +func (x *SmartContract) GetTrxHash() []byte { + if x != nil { + return x.TrxHash + } + return nil +} + +func (x *SmartContract) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +type ContractState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EnergyUsage int64 `protobuf:"varint,1,opt,name=energy_usage,json=energyUsage,proto3" json:"energy_usage,omitempty"` + EnergyFactor int64 `protobuf:"varint,2,opt,name=energy_factor,json=energyFactor,proto3" json:"energy_factor,omitempty"` + UpdateCycle int64 `protobuf:"varint,3,opt,name=update_cycle,json=updateCycle,proto3" json:"update_cycle,omitempty"` +} + +func (x *ContractState) Reset() { + *x = ContractState{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContractState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContractState) ProtoMessage() {} + +func (x *ContractState) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContractState.ProtoReflect.Descriptor instead. +func (*ContractState) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *ContractState) GetEnergyUsage() int64 { + if x != nil { + return x.EnergyUsage + } + return 0 +} + +func (x *ContractState) GetEnergyFactor() int64 { + if x != nil { + return x.EnergyFactor + } + return 0 +} + +func (x *ContractState) GetUpdateCycle() int64 { + if x != nil { + return x.UpdateCycle + } + return 0 +} + +type CreateSmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + NewContract *SmartContract `protobuf:"bytes,2,opt,name=new_contract,json=newContract,proto3" json:"new_contract,omitempty"` + CallTokenValue int64 `protobuf:"varint,3,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,4,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` +} + +func (x *CreateSmartContract) Reset() { + *x = CreateSmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateSmartContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateSmartContract) ProtoMessage() {} + +func (x *CreateSmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use CreateSmartContract.ProtoReflect.Descriptor instead. +func (*CreateSmartContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *CreateSmartContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *CreateSmartContract) GetNewContract() *SmartContract { + if x != nil { + return x.NewContract + } + return nil +} + +func (x *CreateSmartContract) GetCallTokenValue() int64 { + if x != nil { + return x.CallTokenValue + } + return 0 +} + +func (x *CreateSmartContract) GetTokenId() int64 { + if x != nil { + return x.TokenId + } + return 0 +} + +type TriggerSmartContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + CallValue int64 `protobuf:"varint,3,opt,name=call_value,json=callValue,proto3" json:"call_value,omitempty"` + Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` + CallTokenValue int64 `protobuf:"varint,5,opt,name=call_token_value,json=callTokenValue,proto3" json:"call_token_value,omitempty"` + TokenId int64 `protobuf:"varint,6,opt,name=token_id,json=tokenId,proto3" json:"token_id,omitempty"` +} + +func (x *TriggerSmartContract) Reset() { + *x = TriggerSmartContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TriggerSmartContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TriggerSmartContract) ProtoMessage() {} + +func (x *TriggerSmartContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use TriggerSmartContract.ProtoReflect.Descriptor instead. +func (*TriggerSmartContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *TriggerSmartContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *TriggerSmartContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *TriggerSmartContract) GetCallValue() int64 { + if x != nil { + return x.CallValue + } + return 0 +} + +func (x *TriggerSmartContract) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *TriggerSmartContract) GetCallTokenValue() int64 { + if x != nil { + return x.CallTokenValue + } + return 0 +} + +func (x *TriggerSmartContract) GetTokenId() int64 { + if x != nil { + return x.TokenId + } + return 0 +} + +type ClearABIContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` +} + +func (x *ClearABIContract) Reset() { + *x = ClearABIContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClearABIContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClearABIContract) ProtoMessage() {} + +func (x *ClearABIContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use ClearABIContract.ProtoReflect.Descriptor instead. +func (*ClearABIContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{4} +} + +func (x *ClearABIContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *ClearABIContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +type UpdateSettingContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + ConsumeUserResourcePercent int64 `protobuf:"varint,3,opt,name=consume_user_resource_percent,json=consumeUserResourcePercent,proto3" json:"consume_user_resource_percent,omitempty"` +} + +func (x *UpdateSettingContract) Reset() { + *x = UpdateSettingContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateSettingContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateSettingContract) ProtoMessage() {} + +func (x *UpdateSettingContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use UpdateSettingContract.ProtoReflect.Descriptor instead. +func (*UpdateSettingContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{5} +} + +func (x *UpdateSettingContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UpdateSettingContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *UpdateSettingContract) GetConsumeUserResourcePercent() int64 { + if x != nil { + return x.ConsumeUserResourcePercent + } + return 0 +} + +type UpdateEnergyLimitContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + ContractAddress []byte `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + OriginEnergyLimit int64 `protobuf:"varint,3,opt,name=origin_energy_limit,json=originEnergyLimit,proto3" json:"origin_energy_limit,omitempty"` +} + +func (x *UpdateEnergyLimitContract) Reset() { + *x = UpdateEnergyLimitContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateEnergyLimitContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateEnergyLimitContract) ProtoMessage() {} + +func (x *UpdateEnergyLimitContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use UpdateEnergyLimitContract.ProtoReflect.Descriptor instead. +func (*UpdateEnergyLimitContract) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{6} +} + +func (x *UpdateEnergyLimitContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UpdateEnergyLimitContract) GetContractAddress() []byte { + if x != nil { + return x.ContractAddress + } + return nil +} + +func (x *UpdateEnergyLimitContract) GetOriginEnergyLimit() int64 { + if x != nil { + return x.OriginEnergyLimit + } + return 0 +} + +type SmartContractDataWrapper struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SmartContract *SmartContract `protobuf:"bytes,1,opt,name=smart_contract,json=smartContract,proto3" json:"smart_contract,omitempty"` + Runtimecode []byte `protobuf:"bytes,2,opt,name=runtimecode,proto3" json:"runtimecode,omitempty"` + ContractState *ContractState `protobuf:"bytes,3,opt,name=contract_state,json=contractState,proto3" json:"contract_state,omitempty"` +} + +func (x *SmartContractDataWrapper) Reset() { + *x = SmartContractDataWrapper{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SmartContractDataWrapper) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContractDataWrapper) ProtoMessage() {} + +func (x *SmartContractDataWrapper) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use SmartContractDataWrapper.ProtoReflect.Descriptor instead. +func (*SmartContractDataWrapper) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{7} +} + +func (x *SmartContractDataWrapper) GetSmartContract() *SmartContract { + if x != nil { + return x.SmartContract + } + return nil +} + +func (x *SmartContractDataWrapper) GetRuntimecode() []byte { + if x != nil { + return x.Runtimecode + } + return nil +} + +func (x *SmartContractDataWrapper) GetContractState() *ContractState { + if x != nil { + return x.ContractState + } + return nil +} + +type SmartContract_ABI struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Entrys []*SmartContract_ABI_Entry `protobuf:"bytes,1,rep,name=entrys,proto3" json:"entrys,omitempty"` +} + +func (x *SmartContract_ABI) Reset() { + *x = SmartContract_ABI{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SmartContract_ABI) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContract_ABI) ProtoMessage() {} + +func (x *SmartContract_ABI) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use SmartContract_ABI.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *SmartContract_ABI) GetEntrys() []*SmartContract_ABI_Entry { + if x != nil { + return x.Entrys + } + return nil +} + +type SmartContract_ABI_Entry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Anonymous bool `protobuf:"varint,1,opt,name=anonymous,proto3" json:"anonymous,omitempty"` + Constant bool `protobuf:"varint,2,opt,name=constant,proto3" json:"constant,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Inputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"` + Outputs []*SmartContract_ABI_Entry_Param `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"` + Type SmartContract_ABI_Entry_EntryType `protobuf:"varint,6,opt,name=type,proto3,enum=protocol.SmartContract_ABI_Entry_EntryType" json:"type,omitempty"` + Payable bool `protobuf:"varint,7,opt,name=payable,proto3" json:"payable,omitempty"` + StateMutability SmartContract_ABI_Entry_StateMutabilityType `protobuf:"varint,8,opt,name=stateMutability,proto3,enum=protocol.SmartContract_ABI_Entry_StateMutabilityType" json:"stateMutability,omitempty"` +} + +func (x *SmartContract_ABI_Entry) Reset() { + *x = SmartContract_ABI_Entry{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SmartContract_ABI_Entry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContract_ABI_Entry) ProtoMessage() {} + +func (x *SmartContract_ABI_Entry) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use SmartContract_ABI_Entry.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI_Entry) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0} +} + +func (x *SmartContract_ABI_Entry) GetAnonymous() bool { + if x != nil { + return x.Anonymous + } + return false +} + +func (x *SmartContract_ABI_Entry) GetConstant() bool { + if x != nil { + return x.Constant + } + return false +} + +func (x *SmartContract_ABI_Entry) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SmartContract_ABI_Entry) GetInputs() []*SmartContract_ABI_Entry_Param { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *SmartContract_ABI_Entry) GetOutputs() []*SmartContract_ABI_Entry_Param { + if x != nil { + return x.Outputs + } + return nil +} + +func (x *SmartContract_ABI_Entry) GetType() SmartContract_ABI_Entry_EntryType { + if x != nil { + return x.Type + } + return SmartContract_ABI_Entry_UnknownEntryType +} + +func (x *SmartContract_ABI_Entry) GetPayable() bool { + if x != nil { + return x.Payable + } + return false +} + +func (x *SmartContract_ABI_Entry) GetStateMutability() SmartContract_ABI_Entry_StateMutabilityType { + if x != nil { + return x.StateMutability + } + return SmartContract_ABI_Entry_UnknownMutabilityType +} + +type SmartContract_ABI_Entry_Param struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Indexed bool `protobuf:"varint,1,opt,name=indexed,proto3" json:"indexed,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // SolidityType type = 3; +} + +func (x *SmartContract_ABI_Entry_Param) Reset() { + *x = SmartContract_ABI_Entry_Param{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_smart_contract_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SmartContract_ABI_Entry_Param) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SmartContract_ABI_Entry_Param) ProtoMessage() {} + +func (x *SmartContract_ABI_Entry_Param) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_smart_contract_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) +} + +// Deprecated: Use SmartContract_ABI_Entry_Param.ProtoReflect.Descriptor instead. +func (*SmartContract_ABI_Entry_Param) Descriptor() ([]byte, []int) { + return file_core_contract_smart_contract_proto_rawDescGZIP(), []int{0, 0, 0, 0} +} + +func (x *SmartContract_ABI_Entry_Param) GetIndexed() bool { + if x != nil { + return x.Indexed + } + return false +} + +func (x *SmartContract_ABI_Entry_Param) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SmartContract_ABI_Entry_Param) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +var File_core_contract_smart_contract_proto protoreflect.FileDescriptor + +var file_core_contract_smart_contract_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x6d, 0x61, 0x72, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0xa0, + 0x09, 0x0a, 0x0d, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x62, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x52, 0x03, 0x61, 0x62, + 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x79, 0x74, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a, 0x1d, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xf9, 0x05, 0x0a, 0x03, 0x41, 0x42, 0x49, 0x12, 0x39, 0x0a, + 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x06, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x73, 0x1a, 0xb6, 0x05, 0x0a, 0x05, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x3f, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, + 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x07, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, + 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x5f, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x2e, 0x41, 0x42, 0x49, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x1a, 0x49, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x71, 0x0a, 0x09, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x55, 0x6e, 0x6b, 0x6e, + 0x6f, 0x77, 0x6e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, 0x12, 0x0f, + 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, + 0x0c, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x02, 0x12, 0x09, 0x0a, + 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x61, 0x6c, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x06, 0x22, 0x61, + 0x0a, 0x13, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, + 0x4d, 0x75, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x50, 0x75, 0x72, 0x65, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x69, + 0x65, 0x77, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x6e, 0x70, 0x61, 0x79, 0x61, 0x62, + 0x6c, 0x65, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x10, + 0x04, 0x22, 0x7a, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x75, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, + 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, + 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, + 0x65, 0x72, 0x67, 0x79, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xbb, 0x01, + 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x6e, 0x65, + 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x14, + 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x61, 0x6c, 0x6c, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x10, + 0x43, 0x6c, 0x65, 0x61, 0x72, 0x41, 0x42, 0x49, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x63, 0x6f, + 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x1a, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x22, 0x9b, 0x01, + 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, + 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6f, + 0x72, 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x18, + 0x53, 0x6d, 0x61, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x57, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x72, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x53, 0x6d, 0x61, 0x72, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x0d, 0x73, 0x6d, 0x61, 0x72, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, + 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, + 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, + 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, + 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_smart_contract_proto_rawDescOnce sync.Once + file_core_contract_smart_contract_proto_rawDescData = file_core_contract_smart_contract_proto_rawDesc +) + +func file_core_contract_smart_contract_proto_rawDescGZIP() []byte { + file_core_contract_smart_contract_proto_rawDescOnce.Do(func() { + file_core_contract_smart_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_smart_contract_proto_rawDescData) + }) + return file_core_contract_smart_contract_proto_rawDescData +} + +var file_core_contract_smart_contract_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_core_contract_smart_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_core_contract_smart_contract_proto_goTypes = []interface{}{ + (SmartContract_ABI_Entry_EntryType)(0), // 0: protocol.SmartContract.ABI.Entry.EntryType + (SmartContract_ABI_Entry_StateMutabilityType)(0), // 1: protocol.SmartContract.ABI.Entry.StateMutabilityType + (*SmartContract)(nil), // 2: protocol.SmartContract + (*ContractState)(nil), // 3: protocol.ContractState + (*CreateSmartContract)(nil), // 4: protocol.CreateSmartContract + (*TriggerSmartContract)(nil), // 5: protocol.TriggerSmartContract + (*ClearABIContract)(nil), // 6: protocol.ClearABIContract + (*UpdateSettingContract)(nil), // 7: protocol.UpdateSettingContract + (*UpdateEnergyLimitContract)(nil), // 8: protocol.UpdateEnergyLimitContract + (*SmartContractDataWrapper)(nil), // 9: protocol.SmartContractDataWrapper + (*SmartContract_ABI)(nil), // 10: protocol.SmartContract.ABI + (*SmartContract_ABI_Entry)(nil), // 11: protocol.SmartContract.ABI.Entry + (*SmartContract_ABI_Entry_Param)(nil), // 12: protocol.SmartContract.ABI.Entry.Param +} +var file_core_contract_smart_contract_proto_depIdxs = []int32{ + 10, // 0: protocol.SmartContract.abi:type_name -> protocol.SmartContract.ABI + 2, // 1: protocol.CreateSmartContract.new_contract:type_name -> protocol.SmartContract + 2, // 2: protocol.SmartContractDataWrapper.smart_contract:type_name -> protocol.SmartContract + 3, // 3: protocol.SmartContractDataWrapper.contract_state:type_name -> protocol.ContractState + 11, // 4: protocol.SmartContract.ABI.entrys:type_name -> protocol.SmartContract.ABI.Entry + 12, // 5: protocol.SmartContract.ABI.Entry.inputs:type_name -> protocol.SmartContract.ABI.Entry.Param + 12, // 6: protocol.SmartContract.ABI.Entry.outputs:type_name -> protocol.SmartContract.ABI.Entry.Param + 0, // 7: protocol.SmartContract.ABI.Entry.type:type_name -> protocol.SmartContract.ABI.Entry.EntryType + 1, // 8: protocol.SmartContract.ABI.Entry.stateMutability:type_name -> protocol.SmartContract.ABI.Entry.StateMutabilityType + 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_core_contract_smart_contract_proto_init() } +func file_core_contract_smart_contract_proto_init() { + if File_core_contract_smart_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_smart_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContractState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateSmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TriggerSmartContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClearABIContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateSettingContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateEnergyLimitContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContractDataWrapper); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI_Entry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_smart_contract_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SmartContract_ABI_Entry_Param); 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_core_contract_smart_contract_proto_rawDesc, + NumEnums: 2, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_smart_contract_proto_goTypes, + DependencyIndexes: file_core_contract_smart_contract_proto_depIdxs, + EnumInfos: file_core_contract_smart_contract_proto_enumTypes, + MessageInfos: file_core_contract_smart_contract_proto_msgTypes, + }.Build() + File_core_contract_smart_contract_proto = out.File + file_core_contract_smart_contract_proto_rawDesc = nil + file_core_contract_smart_contract_proto_goTypes = nil + file_core_contract_smart_contract_proto_depIdxs = nil +} diff --git a/gen/core/storage_contract.pb.go b/gen/core/storage_contract.pb.go new file mode 100644 index 0000000..13d3e5b --- /dev/null +++ b/gen/core/storage_contract.pb.go @@ -0,0 +1,379 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/storage_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type BuyStorageBytesContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` // storage bytes for buy +} + +func (x *BuyStorageBytesContract) Reset() { + *x = BuyStorageBytesContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_storage_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyStorageBytesContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyStorageBytesContract) ProtoMessage() {} + +func (x *BuyStorageBytesContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_storage_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyStorageBytesContract.ProtoReflect.Descriptor instead. +func (*BuyStorageBytesContract) Descriptor() ([]byte, []int) { + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *BuyStorageBytesContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *BuyStorageBytesContract) GetBytes() int64 { + if x != nil { + return x.Bytes + } + return 0 +} + +type BuyStorageContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Quant int64 `protobuf:"varint,2,opt,name=quant,proto3" json:"quant,omitempty"` // trx quantity for buy storage (sun) +} + +func (x *BuyStorageContract) Reset() { + *x = BuyStorageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_storage_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuyStorageContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuyStorageContract) ProtoMessage() {} + +func (x *BuyStorageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_storage_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BuyStorageContract.ProtoReflect.Descriptor instead. +func (*BuyStorageContract) Descriptor() ([]byte, []int) { + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *BuyStorageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *BuyStorageContract) GetQuant() int64 { + if x != nil { + return x.Quant + } + return 0 +} + +type SellStorageContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + StorageBytes int64 `protobuf:"varint,2,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` +} + +func (x *SellStorageContract) Reset() { + *x = SellStorageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_storage_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SellStorageContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SellStorageContract) ProtoMessage() {} + +func (x *SellStorageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_storage_contract_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) +} + +// Deprecated: Use SellStorageContract.ProtoReflect.Descriptor instead. +func (*SellStorageContract) Descriptor() ([]byte, []int) { + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *SellStorageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *SellStorageContract) GetStorageBytes() int64 { + if x != nil { + return x.StorageBytes + } + return 0 +} + +type UpdateBrokerageContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Brokerage int32 `protobuf:"varint,2,opt,name=brokerage,proto3" json:"brokerage,omitempty"` // 1 mean 1% +} + +func (x *UpdateBrokerageContract) Reset() { + *x = UpdateBrokerageContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_storage_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateBrokerageContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateBrokerageContract) ProtoMessage() {} + +func (x *UpdateBrokerageContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_storage_contract_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) +} + +// Deprecated: Use UpdateBrokerageContract.ProtoReflect.Descriptor instead. +func (*UpdateBrokerageContract) Descriptor() ([]byte, []int) { + return file_core_contract_storage_contract_proto_rawDescGZIP(), []int{3} +} + +func (x *UpdateBrokerageContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *UpdateBrokerageContract) GetBrokerage() int32 { + if x != nil { + return x.Brokerage + } + return 0 +} + +var File_core_contract_storage_contract_proto protoreflect.FileDescriptor + +var file_core_contract_storage_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x22, 0x54, 0x0a, 0x17, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x79, + 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x12, 0x42, 0x75, 0x79, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x13, 0x53, 0x65, 0x6c, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, + 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x72, 0x6f, 0x6b, + 0x65, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x62, 0x72, 0x6f, + 0x6b, 0x65, 0x72, 0x61, 0x67, 0x65, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, + 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_storage_contract_proto_rawDescOnce sync.Once + file_core_contract_storage_contract_proto_rawDescData = file_core_contract_storage_contract_proto_rawDesc +) + +func file_core_contract_storage_contract_proto_rawDescGZIP() []byte { + file_core_contract_storage_contract_proto_rawDescOnce.Do(func() { + file_core_contract_storage_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_storage_contract_proto_rawDescData) + }) + return file_core_contract_storage_contract_proto_rawDescData +} + +var file_core_contract_storage_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_storage_contract_proto_goTypes = []interface{}{ + (*BuyStorageBytesContract)(nil), // 0: protocol.BuyStorageBytesContract + (*BuyStorageContract)(nil), // 1: protocol.BuyStorageContract + (*SellStorageContract)(nil), // 2: protocol.SellStorageContract + (*UpdateBrokerageContract)(nil), // 3: protocol.UpdateBrokerageContract +} +var file_core_contract_storage_contract_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_core_contract_storage_contract_proto_init() } +func file_core_contract_storage_contract_proto_init() { + if File_core_contract_storage_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_storage_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyStorageBytesContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_storage_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuyStorageContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_storage_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SellStorageContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_storage_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateBrokerageContract); 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_core_contract_storage_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_storage_contract_proto_goTypes, + DependencyIndexes: file_core_contract_storage_contract_proto_depIdxs, + MessageInfos: file_core_contract_storage_contract_proto_msgTypes, + }.Build() + File_core_contract_storage_contract_proto = out.File + file_core_contract_storage_contract_proto_rawDesc = nil + file_core_contract_storage_contract_proto_goTypes = nil + file_core_contract_storage_contract_proto_depIdxs = nil +} diff --git a/gen/core/vote_asset_contract.pb.go b/gen/core/vote_asset_contract.pb.go new file mode 100644 index 0000000..8e12a6b --- /dev/null +++ b/gen/core/vote_asset_contract.pb.go @@ -0,0 +1,177 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/vote_asset_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type VoteAssetContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + VoteAddress [][]byte `protobuf:"bytes,2,rep,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` + Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *VoteAssetContract) Reset() { + *x = VoteAssetContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VoteAssetContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VoteAssetContract) ProtoMessage() {} + +func (x *VoteAssetContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_vote_asset_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VoteAssetContract.ProtoReflect.Descriptor instead. +func (*VoteAssetContract) Descriptor() ([]byte, []int) { + return file_core_contract_vote_asset_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *VoteAssetContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *VoteAssetContract) GetVoteAddress() [][]byte { + if x != nil { + return x.VoteAddress + } + return nil +} + +func (x *VoteAssetContract) GetSupport() bool { + if x != nil { + return x.Support + } + return false +} + +func (x *VoteAssetContract) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +var File_core_contract_vote_asset_contract_proto protoreflect.FileDescriptor + +var file_core_contract_vote_asset_contract_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, + 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_vote_asset_contract_proto_rawDescOnce sync.Once + file_core_contract_vote_asset_contract_proto_rawDescData = file_core_contract_vote_asset_contract_proto_rawDesc +) + +func file_core_contract_vote_asset_contract_proto_rawDescGZIP() []byte { + file_core_contract_vote_asset_contract_proto_rawDescOnce.Do(func() { + file_core_contract_vote_asset_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_vote_asset_contract_proto_rawDescData) + }) + return file_core_contract_vote_asset_contract_proto_rawDescData +} + +var file_core_contract_vote_asset_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_core_contract_vote_asset_contract_proto_goTypes = []interface{}{ + (*VoteAssetContract)(nil), // 0: protocol.VoteAssetContract +} +var file_core_contract_vote_asset_contract_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_core_contract_vote_asset_contract_proto_init() } +func file_core_contract_vote_asset_contract_proto_init() { + if File_core_contract_vote_asset_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_vote_asset_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteAssetContract); 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_core_contract_vote_asset_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_vote_asset_contract_proto_goTypes, + DependencyIndexes: file_core_contract_vote_asset_contract_proto_depIdxs, + MessageInfos: file_core_contract_vote_asset_contract_proto_msgTypes, + }.Build() + File_core_contract_vote_asset_contract_proto = out.File + file_core_contract_vote_asset_contract_proto_rawDesc = nil + file_core_contract_vote_asset_contract_proto_goTypes = nil + file_core_contract_vote_asset_contract_proto_depIdxs = nil +} diff --git a/gen/core/witness_contract.pb.go b/gen/core/witness_contract.pb.go new file mode 100644 index 0000000..8ebc15f --- /dev/null +++ b/gen/core/witness_contract.pb.go @@ -0,0 +1,390 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v4.25.1 +// source: core/contract/witness_contract.proto + +package core + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type WitnessCreateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Url []byte `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` +} + +func (x *WitnessCreateContract) Reset() { + *x = WitnessCreateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_witness_contract_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WitnessCreateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WitnessCreateContract) ProtoMessage() {} + +func (x *WitnessCreateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_witness_contract_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WitnessCreateContract.ProtoReflect.Descriptor instead. +func (*WitnessCreateContract) Descriptor() ([]byte, []int) { + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{0} +} + +func (x *WitnessCreateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *WitnessCreateContract) GetUrl() []byte { + if x != nil { + return x.Url + } + return nil +} + +type WitnessUpdateContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + UpdateUrl []byte `protobuf:"bytes,12,opt,name=update_url,json=updateUrl,proto3" json:"update_url,omitempty"` +} + +func (x *WitnessUpdateContract) Reset() { + *x = WitnessUpdateContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_witness_contract_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WitnessUpdateContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WitnessUpdateContract) ProtoMessage() {} + +func (x *WitnessUpdateContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_witness_contract_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WitnessUpdateContract.ProtoReflect.Descriptor instead. +func (*WitnessUpdateContract) Descriptor() ([]byte, []int) { + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{1} +} + +func (x *WitnessUpdateContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *WitnessUpdateContract) GetUpdateUrl() []byte { + if x != nil { + return x.UpdateUrl + } + return nil +} + +type VoteWitnessContract struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` + Votes []*VoteWitnessContract_Vote `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` + Support bool `protobuf:"varint,3,opt,name=support,proto3" json:"support,omitempty"` +} + +func (x *VoteWitnessContract) Reset() { + *x = VoteWitnessContract{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_witness_contract_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VoteWitnessContract) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VoteWitnessContract) ProtoMessage() {} + +func (x *VoteWitnessContract) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_witness_contract_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) +} + +// Deprecated: Use VoteWitnessContract.ProtoReflect.Descriptor instead. +func (*VoteWitnessContract) Descriptor() ([]byte, []int) { + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2} +} + +func (x *VoteWitnessContract) GetOwnerAddress() []byte { + if x != nil { + return x.OwnerAddress + } + return nil +} + +func (x *VoteWitnessContract) GetVotes() []*VoteWitnessContract_Vote { + if x != nil { + return x.Votes + } + return nil +} + +func (x *VoteWitnessContract) GetSupport() bool { + if x != nil { + return x.Support + } + return false +} + +type VoteWitnessContract_Vote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VoteAddress []byte `protobuf:"bytes,1,opt,name=vote_address,json=voteAddress,proto3" json:"vote_address,omitempty"` + VoteCount int64 `protobuf:"varint,2,opt,name=vote_count,json=voteCount,proto3" json:"vote_count,omitempty"` +} + +func (x *VoteWitnessContract_Vote) Reset() { + *x = VoteWitnessContract_Vote{} + if protoimpl.UnsafeEnabled { + mi := &file_core_contract_witness_contract_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VoteWitnessContract_Vote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VoteWitnessContract_Vote) ProtoMessage() {} + +func (x *VoteWitnessContract_Vote) ProtoReflect() protoreflect.Message { + mi := &file_core_contract_witness_contract_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) +} + +// Deprecated: Use VoteWitnessContract_Vote.ProtoReflect.Descriptor instead. +func (*VoteWitnessContract_Vote) Descriptor() ([]byte, []int) { + return file_core_contract_witness_contract_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *VoteWitnessContract_Vote) GetVoteAddress() []byte { + if x != nil { + return x.VoteAddress + } + return nil +} + +func (x *VoteWitnessContract_Vote) GetVoteCount() int64 { + if x != nil { + return x.VoteCount + } + return 0 +} + +var File_core_contract_witness_contract_proto protoreflect.FileDescriptor + +var file_core_contract_witness_contract_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2f, + 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x22, 0x4e, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x22, 0x5b, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, + 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x22, 0xd8, 0x01, + 0x0a, 0x13, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x6f, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, + 0x6f, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x48, + 0x0a, 0x04, 0x56, 0x6f, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x74, 0x65, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x76, 0x6f, + 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x74, + 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, + 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x45, 0x0a, 0x18, 0x6f, 0x72, 0x67, 0x2e, + 0x74, 0x72, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x72, 0x6f, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_core_contract_witness_contract_proto_rawDescOnce sync.Once + file_core_contract_witness_contract_proto_rawDescData = file_core_contract_witness_contract_proto_rawDesc +) + +func file_core_contract_witness_contract_proto_rawDescGZIP() []byte { + file_core_contract_witness_contract_proto_rawDescOnce.Do(func() { + file_core_contract_witness_contract_proto_rawDescData = protoimpl.X.CompressGZIP(file_core_contract_witness_contract_proto_rawDescData) + }) + return file_core_contract_witness_contract_proto_rawDescData +} + +var file_core_contract_witness_contract_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_core_contract_witness_contract_proto_goTypes = []interface{}{ + (*WitnessCreateContract)(nil), // 0: protocol.WitnessCreateContract + (*WitnessUpdateContract)(nil), // 1: protocol.WitnessUpdateContract + (*VoteWitnessContract)(nil), // 2: protocol.VoteWitnessContract + (*VoteWitnessContract_Vote)(nil), // 3: protocol.VoteWitnessContract.Vote +} +var file_core_contract_witness_contract_proto_depIdxs = []int32{ + 3, // 0: protocol.VoteWitnessContract.votes:type_name -> protocol.VoteWitnessContract.Vote + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_core_contract_witness_contract_proto_init() } +func file_core_contract_witness_contract_proto_init() { + if File_core_contract_witness_contract_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_core_contract_witness_contract_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessCreateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_witness_contract_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WitnessUpdateContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_witness_contract_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteWitnessContract); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_core_contract_witness_contract_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteWitnessContract_Vote); 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_core_contract_witness_contract_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_core_contract_witness_contract_proto_goTypes, + DependencyIndexes: file_core_contract_witness_contract_proto_depIdxs, + MessageInfos: file_core_contract_witness_contract_proto_msgTypes, + }.Build() + File_core_contract_witness_contract_proto = out.File + file_core_contract_witness_contract_proto_rawDesc = nil + file_core_contract_witness_contract_proto_goTypes = nil + file_core_contract_witness_contract_proto_depIdxs = nil +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..19cfa54 --- /dev/null +++ b/go.mod @@ -0,0 +1,16 @@ +module gitea.capitan.black/pirate/gotron + +go 1.23.1 + +require ( + google.golang.org/genproto/googleapis/api v0.0.0-20241113154021-e0fbfb71d213 + google.golang.org/grpc v1.68.0 + google.golang.org/protobuf v1.35.1 +) + +require ( + golang.org/x/net v0.29.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/text v0.18.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c1ac789 --- /dev/null +++ b/go.sum @@ -0,0 +1,18 @@ +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +google.golang.org/genproto/googleapis/api v0.0.0-20241113154021-e0fbfb71d213 h1:cNftAhx0Q32f3Fz2+BLargfsMD6pGINE+/mUZneTMyk= +google.golang.org/genproto/googleapis/api v0.0.0-20241113154021-e0fbfb71d213/go.mod h1:Yo94eF2nj7igQt+TiJ49KxjIH8ndLYPZMIRSiRcEbg0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= +google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= +google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= +google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= +google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=