2025-10-06 13:38:53 +07:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.36.9
|
|
|
|
|
// protoc v3.20.3
|
|
|
|
|
// source: service.proto
|
|
|
|
|
|
|
|
|
|
package nockchain
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
sync "sync"
|
|
|
|
|
unsafe "unsafe"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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 KeygenRequest struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenRequest) Reset() {
|
|
|
|
|
*x = KeygenRequest{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*KeygenRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[0]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use KeygenRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*KeygenRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *KeygenRequest) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type KeygenResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
|
|
|
|
Seed string `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
|
|
|
|
|
ChainCode string `protobuf:"bytes,4,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
|
|
|
|
|
ImportPrivateKey string `protobuf:"bytes,5,opt,name=import_private_key,json=importPrivateKey,proto3" json:"import_private_key,omitempty"`
|
|
|
|
|
ImportPublicKey string `protobuf:"bytes,6,opt,name=import_public_key,json=importPublicKey,proto3" json:"import_public_key,omitempty"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) Reset() {
|
|
|
|
|
*x = KeygenResponse{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*KeygenResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[1]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use KeygenResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*KeygenResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *KeygenResponse) GetAddress() string {
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
2025-10-24 10:32:44 +07:00
|
|
|
return x.Address
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) GetPrivateKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PrivateKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) GetSeed() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Seed
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) GetChainCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ChainCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) GetImportPrivateKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportPrivateKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeygenResponse) GetImportPublicKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportPublicKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *KeygenResponse) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type ImportKeysRequest struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
|
2025-11-04 10:38:31 +07:00
|
|
|
ImportType ImportType `protobuf:"varint,3,opt,name=import_type,json=importType,proto3,enum=nockchain.public.v2.ImportType" json:"import_type,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysRequest) Reset() {
|
|
|
|
|
*x = ImportKeysRequest{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ImportKeysRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[2]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ImportKeysRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ImportKeysRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysRequest) GetKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Key
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *ImportKeysRequest) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
func (x *ImportKeysRequest) GetImportType() ImportType {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportType
|
|
|
|
|
}
|
|
|
|
|
return ImportType_UNDEFINED
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ImportKeysResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
|
|
|
|
Seed string `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
|
|
|
|
|
ChainCode string `protobuf:"bytes,4,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
|
|
|
|
|
ImportPrivateKey string `protobuf:"bytes,5,opt,name=import_private_key,json=importPrivateKey,proto3" json:"import_private_key,omitempty"`
|
|
|
|
|
ImportPublicKey string `protobuf:"bytes,6,opt,name=import_public_key,json=importPublicKey,proto3" json:"import_public_key,omitempty"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) Reset() {
|
|
|
|
|
*x = ImportKeysResponse{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ImportKeysResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[3]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ImportKeysResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ImportKeysResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *ImportKeysResponse) GetAddress() string {
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
2025-10-24 10:32:44 +07:00
|
|
|
return x.Address
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) GetPrivateKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PrivateKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) GetSeed() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Seed
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) GetChainCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ChainCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) GetImportPrivateKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportPrivateKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ImportKeysResponse) GetImportPublicKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportPublicKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *ImportKeysResponse) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type DeriveChildRequest struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
ImportedKey string `protobuf:"bytes,1,opt,name=imported_key,json=importedKey,proto3" json:"imported_key,omitempty"`
|
|
|
|
|
Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
|
|
|
|
Hardened bool `protobuf:"varint,3,opt,name=hardened,proto3" json:"hardened,omitempty"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) Reset() {
|
|
|
|
|
*x = DeriveChildRequest{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[4]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DeriveChildRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[4]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeriveChildRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeriveChildRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) GetImportedKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ImportedKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) GetIndex() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Index
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildRequest) GetHardened() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hardened
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *DeriveChildRequest) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type DeriveChildResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
|
|
|
|
|
ChainCode string `protobuf:"bytes,3,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
|
2025-10-24 10:32:44 +07:00
|
|
|
Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildResponse) Reset() {
|
|
|
|
|
*x = DeriveChildResponse{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[5]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*DeriveChildResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[5]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use DeriveChildResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*DeriveChildResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{5}
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *DeriveChildResponse) GetAddress() string {
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
2025-10-24 10:32:44 +07:00
|
|
|
return x.Address
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildResponse) GetPrivateKey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PrivateKey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DeriveChildResponse) GetChainCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ChainCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *DeriveChildResponse) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type CreateTxRequest struct {
|
2025-11-04 10:38:31 +07:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Names string `protobuf:"bytes,1,opt,name=names,proto3" json:"names,omitempty"`
|
|
|
|
|
Recipients string `protobuf:"bytes,2,opt,name=recipients,proto3" json:"recipients,omitempty"`
|
|
|
|
|
Fee uint64 `protobuf:"varint,3,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
|
|
|
IsMasterKey bool `protobuf:"varint,4,opt,name=is_master_key,json=isMasterKey,proto3" json:"is_master_key,omitempty"`
|
|
|
|
|
Seed string `protobuf:"bytes,5,opt,name=seed,proto3" json:"seed,omitempty"`
|
|
|
|
|
Index uint64 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
|
|
|
|
|
Hardened bool `protobuf:"varint,7,opt,name=hardened,proto3" json:"hardened,omitempty"`
|
|
|
|
|
Version uint64 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
|
RefundAddress string `protobuf:"bytes,9,opt,name=refund_address,json=refundAddress,proto3" json:"refund_address,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) Reset() {
|
|
|
|
|
*x = CreateTxRequest{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[6]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateTxRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[6]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateTxRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateTxRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{6}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetNames() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Names
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetRecipients() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Recipients
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetFee() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Fee
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetIsMasterKey() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IsMasterKey
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
func (x *CreateTxRequest) GetSeed() string {
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
2025-11-04 10:38:31 +07:00
|
|
|
return x.Seed
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetIndex() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Index
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxRequest) GetHardened() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Hardened
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
func (x *CreateTxRequest) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
func (x *CreateTxRequest) GetRefundAddress() string {
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
2025-11-04 10:38:31 +07:00
|
|
|
return x.RefundAddress
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
2025-11-04 10:38:31 +07:00
|
|
|
return ""
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CreateTxResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
RawTx *RawTx `protobuf:"bytes,1,opt,name=rawTx,proto3" json:"rawTx,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxResponse) Reset() {
|
|
|
|
|
*x = CreateTxResponse{}
|
|
|
|
|
mi := &file_service_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*CreateTxResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_service_proto_msgTypes[7]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use CreateTxResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*CreateTxResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_service_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateTxResponse) GetRawTx() *RawTx {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RawTx
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ScanRequest struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
MasterPubkey string `protobuf:"bytes,1,opt,name=master_pubkey,json=masterPubkey,proto3" json:"master_pubkey,omitempty"`
|
|
|
|
|
ChainCode string `protobuf:"bytes,2,opt,name=chain_code,json=chainCode,proto3" json:"chain_code,omitempty"`
|
|
|
|
|
SearchDepth uint64 `protobuf:"varint,3,opt,name=search_depth,json=searchDepth,proto3" json:"search_depth,omitempty"`
|
|
|
|
|
IncludeTimelocks bool `protobuf:"varint,4,opt,name=include_timelocks,json=includeTimelocks,proto3" json:"include_timelocks,omitempty"`
|
|
|
|
|
IncludeMultisig bool `protobuf:"varint,5,opt,name=include_multisig,json=includeMultisig,proto3" json:"include_multisig,omitempty"`
|
2025-11-04 10:38:31 +07:00
|
|
|
Version uint64 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
|
2025-10-06 13:38:53 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) Reset() {
|
|
|
|
|
*x = ScanRequest{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[8]
|
2025-10-06 13:38:53 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ScanRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[8]
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ScanRequest) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{8}
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) GetMasterPubkey() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MasterPubkey
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) GetChainCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ChainCode
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) GetSearchDepth() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SearchDepth
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) GetIncludeTimelocks() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IncludeTimelocks
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanRequest) GetIncludeMultisig() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IncludeMultisig
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
func (x *ScanRequest) GetVersion() uint64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Version
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
type ScanResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
ScanData []*ScanData `protobuf:"bytes,1,rep,name=scan_data,json=scanData,proto3" json:"scan_data,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanResponse) Reset() {
|
|
|
|
|
*x = ScanResponse{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[9]
|
2025-10-06 13:38:53 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ScanResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ScanResponse) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[9]
|
2025-10-06 13:38:53 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use ScanResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ScanResponse) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{9}
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ScanResponse) GetScanData() []*ScanData {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ScanData
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-08 09:48:11 +07:00
|
|
|
type GetBalanceRequest struct {
|
2025-11-04 10:38:31 +07:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
// Types that are valid to be assigned to Selector:
|
|
|
|
|
//
|
|
|
|
|
// *GetBalanceRequest_Address
|
|
|
|
|
// *GetBalanceRequest_FirstName
|
|
|
|
|
Selector isGetBalanceRequest_Selector `protobuf_oneof:"selector"`
|
2025-10-08 09:48:11 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceRequest) Reset() {
|
|
|
|
|
*x = GetBalanceRequest{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[10]
|
2025-10-08 09:48:11 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetBalanceRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[10]
|
2025-10-08 09:48:11 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBalanceRequest) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{10}
|
2025-10-08 09:48:11 +07:00
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
func (x *GetBalanceRequest) GetSelector() isGetBalanceRequest_Selector {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Selector
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-08 09:48:11 +07:00
|
|
|
func (x *GetBalanceRequest) GetAddress() string {
|
|
|
|
|
if x != nil {
|
2025-11-04 10:38:31 +07:00
|
|
|
if x, ok := x.Selector.(*GetBalanceRequest_Address); ok {
|
|
|
|
|
return x.Address
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceRequest) GetFirstName() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
if x, ok := x.Selector.(*GetBalanceRequest_FirstName); ok {
|
|
|
|
|
return x.FirstName
|
|
|
|
|
}
|
2025-10-08 09:48:11 +07:00
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
type isGetBalanceRequest_Selector interface {
|
|
|
|
|
isGetBalanceRequest_Selector()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetBalanceRequest_Address struct {
|
|
|
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetBalanceRequest_FirstName struct {
|
|
|
|
|
FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetBalanceRequest_Address) isGetBalanceRequest_Selector() {}
|
|
|
|
|
|
|
|
|
|
func (*GetBalanceRequest_FirstName) isGetBalanceRequest_Selector() {}
|
|
|
|
|
|
2025-10-08 09:48:11 +07:00
|
|
|
type GetBalanceResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2025-11-04 10:38:31 +07:00
|
|
|
Data *Balance `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
2025-10-08 09:48:11 +07:00
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceResponse) Reset() {
|
|
|
|
|
*x = GetBalanceResponse{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[11]
|
2025-10-08 09:48:11 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*GetBalanceResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[11]
|
2025-10-08 09:48:11 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBalanceResponse) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{11}
|
2025-10-08 09:48:11 +07:00
|
|
|
}
|
|
|
|
|
|
2025-11-04 10:38:31 +07:00
|
|
|
func (x *GetBalanceResponse) GetData() *Balance {
|
2025-10-08 09:48:11 +07:00
|
|
|
if x != nil {
|
|
|
|
|
return x.Data
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SendTransactionRequest struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
RawTx *RawTx `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionRequest) Reset() {
|
|
|
|
|
*x = SendTransactionRequest{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[12]
|
2025-10-08 09:48:11 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionRequest) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SendTransactionRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionRequest) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[12]
|
2025-10-08 09:48:11 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SendTransactionRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SendTransactionRequest) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{12}
|
2025-10-08 09:48:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionRequest) GetRawTx() *RawTx {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RawTx
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SendTransactionResponse struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Response *WalletSendTransactionResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionResponse) Reset() {
|
|
|
|
|
*x = SendTransactionResponse{}
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[13]
|
2025-10-08 09:48:11 +07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionResponse) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SendTransactionResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionResponse) ProtoReflect() protoreflect.Message {
|
2025-10-24 10:32:44 +07:00
|
|
|
mi := &file_service_proto_msgTypes[13]
|
2025-10-08 09:48:11 +07:00
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
return ms
|
|
|
|
|
}
|
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SendTransactionResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SendTransactionResponse) Descriptor() ([]byte, []int) {
|
2025-10-24 10:32:44 +07:00
|
|
|
return file_service_proto_rawDescGZIP(), []int{13}
|
2025-10-08 09:48:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SendTransactionResponse) GetResponse() *WalletSendTransactionResponse {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Response
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-06 13:38:53 +07:00
|
|
|
var File_service_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
const file_service_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\rservice.proto\x12\x13nockchain.public.v2\x1a\vtypes.proto\x1a\x10blockchain.proto\x1a\x0fnockchain.proto\")\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"\rKeygenRequest\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\x01 \x01(\x04R\aversion\"\xf2\x01\n" +
|
|
|
|
|
"\x0eKeygenResponse\x12\x18\n" +
|
|
|
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1f\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\vprivate_key\x18\x02 \x01(\tR\n" +
|
|
|
|
|
"privateKey\x12\x12\n" +
|
|
|
|
|
"\x04seed\x18\x03 \x01(\tR\x04seed\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"chain_code\x18\x04 \x01(\tR\tchainCode\x12,\n" +
|
|
|
|
|
"\x12import_private_key\x18\x05 \x01(\tR\x10importPrivateKey\x12*\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"\x11import_public_key\x18\x06 \x01(\tR\x0fimportPublicKey\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\a \x01(\x04R\aversion\"\x81\x01\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\x11ImportKeysRequest\x12\x10\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\x02 \x01(\x04R\aversion\x12@\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\vimport_type\x18\x03 \x01(\x0e2\x1f.nockchain.public.v2.ImportTypeR\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"importType\"\xf6\x01\n" +
|
|
|
|
|
"\x12ImportKeysResponse\x12\x18\n" +
|
|
|
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1f\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\vprivate_key\x18\x02 \x01(\tR\n" +
|
|
|
|
|
"privateKey\x12\x12\n" +
|
|
|
|
|
"\x04seed\x18\x03 \x01(\tR\x04seed\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"chain_code\x18\x04 \x01(\tR\tchainCode\x12,\n" +
|
|
|
|
|
"\x12import_private_key\x18\x05 \x01(\tR\x10importPrivateKey\x12*\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"\x11import_public_key\x18\x06 \x01(\tR\x0fimportPublicKey\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\a \x01(\x04R\aversion\"\x83\x01\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\x12DeriveChildRequest\x12!\n" +
|
|
|
|
|
"\fimported_key\x18\x01 \x01(\tR\vimportedKey\x12\x14\n" +
|
|
|
|
|
"\x05index\x18\x02 \x01(\x04R\x05index\x12\x1a\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"\bhardened\x18\x03 \x01(\bR\bhardened\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\x04 \x01(\x04R\aversion\"\x89\x01\n" +
|
|
|
|
|
"\x13DeriveChildResponse\x12\x18\n" +
|
|
|
|
|
"\aaddress\x18\x01 \x01(\tR\aaddress\x12\x1f\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\vprivate_key\x18\x02 \x01(\tR\n" +
|
|
|
|
|
"privateKey\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
2025-10-24 10:32:44 +07:00
|
|
|
"chain_code\x18\x03 \x01(\tR\tchainCode\x12\x18\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\aversion\x18\x04 \x01(\x04R\aversion\"\x84\x02\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\x0fCreateTxRequest\x12\x14\n" +
|
|
|
|
|
"\x05names\x18\x01 \x01(\tR\x05names\x12\x1e\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"recipients\x18\x02 \x01(\tR\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"recipients\x12\x10\n" +
|
|
|
|
|
"\x03fee\x18\x03 \x01(\x04R\x03fee\x12\"\n" +
|
|
|
|
|
"\ris_master_key\x18\x04 \x01(\bR\visMasterKey\x12\x12\n" +
|
|
|
|
|
"\x04seed\x18\x05 \x01(\tR\x04seed\x12\x14\n" +
|
|
|
|
|
"\x05index\x18\x06 \x01(\x04R\x05index\x12\x1a\n" +
|
|
|
|
|
"\bhardened\x18\a \x01(\bR\bhardened\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\b \x01(\x04R\aversion\x12%\n" +
|
|
|
|
|
"\x0erefund_address\x18\t \x01(\tR\rrefundAddress\"D\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\x10CreateTxResponse\x120\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\x05rawTx\x18\x01 \x01(\v2\x1a.nockchain.public.v2.RawTxR\x05rawTx\"\xe6\x01\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\vScanRequest\x12#\n" +
|
|
|
|
|
"\rmaster_pubkey\x18\x01 \x01(\tR\fmasterPubkey\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"chain_code\x18\x02 \x01(\tR\tchainCode\x12!\n" +
|
|
|
|
|
"\fsearch_depth\x18\x03 \x01(\x04R\vsearchDepth\x12+\n" +
|
|
|
|
|
"\x11include_timelocks\x18\x04 \x01(\bR\x10includeTimelocks\x12)\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\x10include_multisig\x18\x05 \x01(\bR\x0fincludeMultisig\x12\x18\n" +
|
|
|
|
|
"\aversion\x18\x06 \x01(\x04R\aversion\"J\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\fScanResponse\x12:\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\tscan_data\x18\x01 \x03(\v2\x1d.nockchain.public.v2.ScanDataR\bscanData\"\\\n" +
|
|
|
|
|
"\x11GetBalanceRequest\x12\x1a\n" +
|
|
|
|
|
"\aaddress\x18\x01 \x01(\tH\x00R\aaddress\x12\x1f\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"first_name\x18\x02 \x01(\tH\x00R\tfirstNameB\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\bselector\"F\n" +
|
|
|
|
|
"\x12GetBalanceResponse\x120\n" +
|
|
|
|
|
"\x04data\x18\x01 \x01(\v2\x1c.nockchain.public.v2.BalanceR\x04data\"K\n" +
|
2025-10-08 09:48:11 +07:00
|
|
|
"\x16SendTransactionRequest\x121\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\x06raw_tx\x18\x01 \x01(\v2\x1a.nockchain.public.v2.RawTxR\x05rawTx\"i\n" +
|
2025-10-08 09:48:11 +07:00
|
|
|
"\x17SendTransactionResponse\x12N\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\bresponse\x18\x01 \x01(\v22.nockchain.public.v2.WalletSendTransactionResponseR\bresponse2\x9c\x06\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\rWalletService\x12Q\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"\x06Keygen\x12\".nockchain.public.v2.KeygenRequest\x1a#.nockchain.public.v2.KeygenResponse\x12]\n" +
|
2025-10-06 13:38:53 +07:00
|
|
|
"\n" +
|
2025-11-04 10:38:31 +07:00
|
|
|
"ImportKeys\x12&.nockchain.public.v2.ImportKeysRequest\x1a'.nockchain.public.v2.ImportKeysResponse\x12`\n" +
|
|
|
|
|
"\vDeriveChild\x12'.nockchain.public.v2.DeriveChildRequest\x1a(.nockchain.public.v2.DeriveChildResponse\x12W\n" +
|
|
|
|
|
"\bCreateTx\x12$.nockchain.public.v2.CreateTxRequest\x1a%.nockchain.public.v2.CreateTxResponse\x12K\n" +
|
|
|
|
|
"\x04Scan\x12 .nockchain.public.v2.ScanRequest\x1a!.nockchain.public.v2.ScanResponse\x12c\n" +
|
|
|
|
|
"\x10WalletGetBalance\x12&.nockchain.public.v2.GetBalanceRequest\x1a'.nockchain.public.v2.GetBalanceResponse\x12r\n" +
|
|
|
|
|
"\x15WalletSendTransaction\x12+.nockchain.public.v2.SendTransactionRequest\x1a,.nockchain.public.v2.SendTransactionResponse\x12x\n" +
|
|
|
|
|
"\x13TransactionAccepted\x12/.nockchain.public.v2.TransactionAcceptedRequest\x1a0.nockchain.public.v2.TransactionAcceptedResponseB\x0eZ\f./;nockchainb\x06proto3"
|
2025-10-06 13:38:53 +07:00
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_service_proto_rawDescOnce sync.Once
|
|
|
|
|
file_service_proto_rawDescData []byte
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_service_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_service_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc)))
|
|
|
|
|
})
|
|
|
|
|
return file_service_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-24 10:32:44 +07:00
|
|
|
var file_service_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
2025-10-06 13:38:53 +07:00
|
|
|
var file_service_proto_goTypes = []any{
|
2025-11-04 10:38:31 +07:00
|
|
|
(*KeygenRequest)(nil), // 0: nockchain.public.v2.KeygenRequest
|
|
|
|
|
(*KeygenResponse)(nil), // 1: nockchain.public.v2.KeygenResponse
|
|
|
|
|
(*ImportKeysRequest)(nil), // 2: nockchain.public.v2.ImportKeysRequest
|
|
|
|
|
(*ImportKeysResponse)(nil), // 3: nockchain.public.v2.ImportKeysResponse
|
|
|
|
|
(*DeriveChildRequest)(nil), // 4: nockchain.public.v2.DeriveChildRequest
|
|
|
|
|
(*DeriveChildResponse)(nil), // 5: nockchain.public.v2.DeriveChildResponse
|
|
|
|
|
(*CreateTxRequest)(nil), // 6: nockchain.public.v2.CreateTxRequest
|
|
|
|
|
(*CreateTxResponse)(nil), // 7: nockchain.public.v2.CreateTxResponse
|
|
|
|
|
(*ScanRequest)(nil), // 8: nockchain.public.v2.ScanRequest
|
|
|
|
|
(*ScanResponse)(nil), // 9: nockchain.public.v2.ScanResponse
|
|
|
|
|
(*GetBalanceRequest)(nil), // 10: nockchain.public.v2.GetBalanceRequest
|
|
|
|
|
(*GetBalanceResponse)(nil), // 11: nockchain.public.v2.GetBalanceResponse
|
|
|
|
|
(*SendTransactionRequest)(nil), // 12: nockchain.public.v2.SendTransactionRequest
|
|
|
|
|
(*SendTransactionResponse)(nil), // 13: nockchain.public.v2.SendTransactionResponse
|
|
|
|
|
(ImportType)(0), // 14: nockchain.public.v2.ImportType
|
|
|
|
|
(*RawTx)(nil), // 15: nockchain.public.v2.RawTx
|
|
|
|
|
(*ScanData)(nil), // 16: nockchain.public.v2.ScanData
|
|
|
|
|
(*Balance)(nil), // 17: nockchain.public.v2.Balance
|
|
|
|
|
(*WalletSendTransactionResponse)(nil), // 18: nockchain.public.v2.WalletSendTransactionResponse
|
|
|
|
|
(*TransactionAcceptedRequest)(nil), // 19: nockchain.public.v2.TransactionAcceptedRequest
|
|
|
|
|
(*TransactionAcceptedResponse)(nil), // 20: nockchain.public.v2.TransactionAcceptedResponse
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
var file_service_proto_depIdxs = []int32{
|
2025-11-04 10:38:31 +07:00
|
|
|
14, // 0: nockchain.public.v2.ImportKeysRequest.import_type:type_name -> nockchain.public.v2.ImportType
|
|
|
|
|
15, // 1: nockchain.public.v2.CreateTxResponse.rawTx:type_name -> nockchain.public.v2.RawTx
|
|
|
|
|
16, // 2: nockchain.public.v2.ScanResponse.scan_data:type_name -> nockchain.public.v2.ScanData
|
|
|
|
|
17, // 3: nockchain.public.v2.GetBalanceResponse.data:type_name -> nockchain.public.v2.Balance
|
|
|
|
|
15, // 4: nockchain.public.v2.SendTransactionRequest.raw_tx:type_name -> nockchain.public.v2.RawTx
|
|
|
|
|
18, // 5: nockchain.public.v2.SendTransactionResponse.response:type_name -> nockchain.public.v2.WalletSendTransactionResponse
|
|
|
|
|
0, // 6: nockchain.public.v2.WalletService.Keygen:input_type -> nockchain.public.v2.KeygenRequest
|
|
|
|
|
2, // 7: nockchain.public.v2.WalletService.ImportKeys:input_type -> nockchain.public.v2.ImportKeysRequest
|
|
|
|
|
4, // 8: nockchain.public.v2.WalletService.DeriveChild:input_type -> nockchain.public.v2.DeriveChildRequest
|
|
|
|
|
6, // 9: nockchain.public.v2.WalletService.CreateTx:input_type -> nockchain.public.v2.CreateTxRequest
|
|
|
|
|
8, // 10: nockchain.public.v2.WalletService.Scan:input_type -> nockchain.public.v2.ScanRequest
|
|
|
|
|
10, // 11: nockchain.public.v2.WalletService.WalletGetBalance:input_type -> nockchain.public.v2.GetBalanceRequest
|
|
|
|
|
12, // 12: nockchain.public.v2.WalletService.WalletSendTransaction:input_type -> nockchain.public.v2.SendTransactionRequest
|
|
|
|
|
19, // 13: nockchain.public.v2.WalletService.TransactionAccepted:input_type -> nockchain.public.v2.TransactionAcceptedRequest
|
|
|
|
|
1, // 14: nockchain.public.v2.WalletService.Keygen:output_type -> nockchain.public.v2.KeygenResponse
|
|
|
|
|
3, // 15: nockchain.public.v2.WalletService.ImportKeys:output_type -> nockchain.public.v2.ImportKeysResponse
|
|
|
|
|
5, // 16: nockchain.public.v2.WalletService.DeriveChild:output_type -> nockchain.public.v2.DeriveChildResponse
|
|
|
|
|
7, // 17: nockchain.public.v2.WalletService.CreateTx:output_type -> nockchain.public.v2.CreateTxResponse
|
|
|
|
|
9, // 18: nockchain.public.v2.WalletService.Scan:output_type -> nockchain.public.v2.ScanResponse
|
|
|
|
|
11, // 19: nockchain.public.v2.WalletService.WalletGetBalance:output_type -> nockchain.public.v2.GetBalanceResponse
|
|
|
|
|
13, // 20: nockchain.public.v2.WalletService.WalletSendTransaction:output_type -> nockchain.public.v2.SendTransactionResponse
|
|
|
|
|
20, // 21: nockchain.public.v2.WalletService.TransactionAccepted:output_type -> nockchain.public.v2.TransactionAcceptedResponse
|
|
|
|
|
14, // [14:22] is the sub-list for method output_type
|
|
|
|
|
6, // [6:14] 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
|
2025-10-06 13:38:53 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_service_proto_init() }
|
|
|
|
|
func file_service_proto_init() {
|
|
|
|
|
if File_service_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_types_proto_init()
|
2025-10-08 09:48:11 +07:00
|
|
|
file_blockchain_proto_init()
|
|
|
|
|
file_nockchain_proto_init()
|
2025-11-04 10:38:31 +07:00
|
|
|
file_service_proto_msgTypes[10].OneofWrappers = []any{
|
|
|
|
|
(*GetBalanceRequest_Address)(nil),
|
|
|
|
|
(*GetBalanceRequest_FirstName)(nil),
|
|
|
|
|
}
|
2025-10-06 13:38:53 +07:00
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_proto_rawDesc), len(file_service_proto_rawDesc)),
|
|
|
|
|
NumEnums: 0,
|
2025-10-24 10:32:44 +07:00
|
|
|
NumMessages: 14,
|
2025-10-06 13:38:53 +07:00
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 1,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_service_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_service_proto_depIdxs,
|
|
|
|
|
MessageInfos: file_service_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_service_proto = out.File
|
|
|
|
|
file_service_proto_goTypes = nil
|
|
|
|
|
file_service_proto_depIdxs = nil
|
|
|
|
|
}
|