| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0
- // protoc v3.20.0
- // source: common.proto
- package pb
- 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 OrderType int32
- const (
- // 升序
- OrderType_ASC OrderType = 0
- // 降序
- OrderType_DESC OrderType = 1
- )
- // Enum value maps for OrderType.
- var (
- OrderType_name = map[int32]string{
- 0: "ASC",
- 1: "DESC",
- }
- OrderType_value = map[string]int32{
- "ASC": 0,
- "DESC": 1,
- }
- )
- func (x OrderType) Enum() *OrderType {
- p := new(OrderType)
- *p = x
- return p
- }
- func (x OrderType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (OrderType) Descriptor() protoreflect.EnumDescriptor {
- return file_common_proto_enumTypes[0].Descriptor()
- }
- func (OrderType) Type() protoreflect.EnumType {
- return &file_common_proto_enumTypes[0]
- }
- func (x OrderType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use OrderType.Descriptor instead.
- func (OrderType) EnumDescriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{0}
- }
- // 用户状态
- type Status int32
- const (
- Status_DISABLED Status = 0
- Status_ENABLED Status = 1
- )
- // Enum value maps for Status.
- var (
- Status_name = map[int32]string{
- 0: "DISABLED",
- 1: "ENABLED",
- }
- Status_value = map[string]int32{
- "DISABLED": 0,
- "ENABLED": 1,
- }
- )
- func (x Status) Enum() *Status {
- p := new(Status)
- *p = x
- return p
- }
- func (x Status) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (Status) Descriptor() protoreflect.EnumDescriptor {
- return file_common_proto_enumTypes[1].Descriptor()
- }
- func (Status) Type() protoreflect.EnumType {
- return &file_common_proto_enumTypes[1]
- }
- func (x Status) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Use Status.Descriptor instead.
- func (Status) EnumDescriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{1}
- }
- type Request struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 请求信息
- Body *anypb.Any `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
- // 认证信息
- AuthInfo *AuthInfo `protobuf:"bytes,2,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"`
- // 签名结果
- Signatures []string `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
- }
- func (x *Request) Reset() {
- *x = Request{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Request) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Request) ProtoMessage() {}
- func (x *Request) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 Request.ProtoReflect.Descriptor instead.
- func (*Request) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{0}
- }
- func (x *Request) GetBody() *anypb.Any {
- if x != nil {
- return x.Body
- }
- return nil
- }
- func (x *Request) GetAuthInfo() *AuthInfo {
- if x != nil {
- return x.AuthInfo
- }
- return nil
- }
- func (x *Request) GetSignatures() []string {
- if x != nil {
- return x.Signatures
- }
- return nil
- }
- // 交易体
- type TxBody struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Messages []*anypb.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // 具体交易类型
- }
- func (x *TxBody) Reset() {
- *x = TxBody{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TxBody) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TxBody) ProtoMessage() {}
- func (x *TxBody) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 TxBody.ProtoReflect.Descriptor instead.
- func (*TxBody) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{1}
- }
- func (x *TxBody) GetMessages() []*anypb.Any {
- if x != nil {
- return x.Messages
- }
- return nil
- }
- // 认证信息
- type AuthInfo struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
- Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // 用户交易唯一标识
- ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // 子链 ID
- SignerInfos []*SignerInfos `protobuf:"bytes,4,rep,name=signer_infos,json=signerInfos,proto3" json:"signer_infos,omitempty"` // 签名者信息
- }
- func (x *AuthInfo) Reset() {
- *x = AuthInfo{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AuthInfo) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AuthInfo) ProtoMessage() {}
- func (x *AuthInfo) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 AuthInfo.ProtoReflect.Descriptor instead.
- func (*AuthInfo) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{2}
- }
- func (x *AuthInfo) GetMemo() string {
- if x != nil {
- return x.Memo
- }
- return ""
- }
- func (x *AuthInfo) GetUuid() string {
- if x != nil {
- return x.Uuid
- }
- return ""
- }
- func (x *AuthInfo) GetChainId() string {
- if x != nil {
- return x.ChainId
- }
- return ""
- }
- func (x *AuthInfo) GetSignerInfos() []*SignerInfos {
- if x != nil {
- return x.SignerInfos
- }
- return nil
- }
- type SignerInfos struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 签名者公钥
- PublicKey *PublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
- // 用户交易唯一标识
- Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
- // 指定子链
- ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
- }
- func (x *SignerInfos) Reset() {
- *x = SignerInfos{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SignerInfos) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SignerInfos) ProtoMessage() {}
- func (x *SignerInfos) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 SignerInfos.ProtoReflect.Descriptor instead.
- func (*SignerInfos) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{3}
- }
- func (x *SignerInfos) GetPublicKey() *PublicKey {
- if x != nil {
- return x.PublicKey
- }
- return nil
- }
- func (x *SignerInfos) GetUuid() string {
- if x != nil {
- return x.Uuid
- }
- return ""
- }
- func (x *SignerInfos) GetChainId() string {
- if x != nil {
- return x.ChainId
- }
- return ""
- }
- type PublicKey struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 签名方法
- Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
- // 公钥
- Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
- }
- func (x *PublicKey) Reset() {
- *x = PublicKey{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PublicKey) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PublicKey) ProtoMessage() {}
- func (x *PublicKey) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 PublicKey.ProtoReflect.Descriptor instead.
- func (*PublicKey) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{4}
- }
- func (x *PublicKey) GetType() string {
- if x != nil {
- return x.Type
- }
- return ""
- }
- func (x *PublicKey) GetKey() string {
- if x != nil {
- return x.Key
- }
- return ""
- }
- type Response struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // 结果码
- Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
- // 结果消息
- Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
- // 结果详情
- Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *Response) Reset() {
- *x = Response{}
- if protoimpl.UnsafeEnabled {
- mi := &file_common_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Response) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Response) ProtoMessage() {}
- func (x *Response) ProtoReflect() protoreflect.Message {
- mi := &file_common_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 Response.ProtoReflect.Descriptor instead.
- func (*Response) Descriptor() ([]byte, []int) {
- return file_common_proto_rawDescGZIP(), []int{5}
- }
- func (x *Response) GetCode() string {
- if x != nil {
- return x.Code
- }
- return ""
- }
- func (x *Response) GetMsg() string {
- if x != nil {
- return x.Msg
- }
- return ""
- }
- func (x *Response) GetData() *anypb.Any {
- if x != nil {
- return x.Data
- }
- return nil
- }
- var File_common_proto protoreflect.FileDescriptor
- var file_common_proto_rawDesc = []byte{
- 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
- 0x70, 0x62, 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, 0x22, 0x7e, 0x0a,
- 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
- 0x18, 0x01, 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, 0x04, 0x62, 0x6f,
- 0x64, 0x79, 0x12, 0x29, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x49,
- 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x0a,
- 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x3a, 0x0a,
- 0x06, 0x54, 0x78, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 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,
- 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x81, 0x01, 0x0a, 0x08, 0x41, 0x75,
- 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x19,
- 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0c, 0x73, 0x69, 0x67,
- 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73,
- 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0x6a, 0x0a,
- 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2c, 0x0a, 0x0a,
- 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52,
- 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x19,
- 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x22, 0x31, 0x0a, 0x09, 0x50, 0x75, 0x62,
- 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
- 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x5a, 0x0a, 0x08,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03,
- 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x28,
- 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 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, 0x04, 0x64, 0x61, 0x74, 0x61, 0x2a, 0x1e, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x53, 0x43, 0x10, 0x00, 0x12, 0x08,
- 0x0a, 0x04, 0x44, 0x45, 0x53, 0x43, 0x10, 0x01, 0x2a, 0x23, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x00,
- 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x42, 0x06, 0x5a,
- 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_common_proto_rawDescOnce sync.Once
- file_common_proto_rawDescData = file_common_proto_rawDesc
- )
- func file_common_proto_rawDescGZIP() []byte {
- file_common_proto_rawDescOnce.Do(func() {
- file_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_proto_rawDescData)
- })
- return file_common_proto_rawDescData
- }
- var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
- var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
- var file_common_proto_goTypes = []interface{}{
- (OrderType)(0), // 0: pb.OrderType
- (Status)(0), // 1: pb.Status
- (*Request)(nil), // 2: pb.Request
- (*TxBody)(nil), // 3: pb.TxBody
- (*AuthInfo)(nil), // 4: pb.AuthInfo
- (*SignerInfos)(nil), // 5: pb.SignerInfos
- (*PublicKey)(nil), // 6: pb.PublicKey
- (*Response)(nil), // 7: pb.Response
- (*anypb.Any)(nil), // 8: google.protobuf.Any
- }
- var file_common_proto_depIdxs = []int32{
- 8, // 0: pb.Request.body:type_name -> google.protobuf.Any
- 4, // 1: pb.Request.auth_info:type_name -> pb.AuthInfo
- 8, // 2: pb.TxBody.messages:type_name -> google.protobuf.Any
- 5, // 3: pb.AuthInfo.signer_infos:type_name -> pb.SignerInfos
- 6, // 4: pb.SignerInfos.public_key:type_name -> pb.PublicKey
- 8, // 5: pb.Response.data:type_name -> google.protobuf.Any
- 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_common_proto_init() }
- func file_common_proto_init() {
- if File_common_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Request); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TxBody); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AuthInfo); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SignerInfos); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PublicKey); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Response); 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_common_proto_rawDesc,
- NumEnums: 2,
- NumMessages: 6,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_common_proto_goTypes,
- DependencyIndexes: file_common_proto_depIdxs,
- EnumInfos: file_common_proto_enumTypes,
- MessageInfos: file_common_proto_msgTypes,
- }.Build()
- File_common_proto = out.File
- file_common_proto_rawDesc = nil
- file_common_proto_goTypes = nil
- file_common_proto_depIdxs = nil
- }
|