From aed2d6d4c6361ce9f2f776b3949c24bfbdffb533 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 7 Mar 2024 11:25:15 +0000 Subject: [PATCH] Rename RPC method to reserve authority and fix proto lint errors (#17) - Rename RPC method to reserve authority from `ReserveName` to `ReserveAuthority` and `GetBondsModuleBalance` to `GetBondModuleBalance` - Run lint formatter - Fix proto lint errors and regenerate proto bindings Reviewed-on: https://git.vdb.to/deep-stack/laconic2d/pulls/17 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- api/cerc/auction/v1/auction.pulsar.go | 1 + api/cerc/auction/v1/query.pulsar.go | 1241 +++++++++-------- api/cerc/auction/v1/query_grpc.pb.go | 42 +- api/cerc/bond/v1/query.pulsar.go | 587 ++++---- api/cerc/bond/v1/query_grpc.pb.go | 48 +- api/cerc/registry/v1/query.pulsar.go | 1050 +++++++------- api/cerc/registry/v1/query_grpc.pb.go | 28 +- api/cerc/registry/v1/tx.pulsar.go | 662 +++++---- api/cerc/registry/v1/tx_grpc.pb.go | 82 +- gql/resolver.go | 12 +- proto/cerc/auction/v1/auction.proto | 34 +- proto/cerc/auction/v1/genesis.proto | 5 +- proto/cerc/auction/v1/query.proto | 50 +- proto/cerc/auction/v1/tx.proto | 39 +- proto/cerc/bond/v1/bond.proto | 4 +- proto/cerc/bond/v1/genesis.proto | 5 +- proto/cerc/bond/v1/query.proto | 44 +- proto/cerc/bond/v1/tx.proto | 28 +- proto/cerc/registry/v1/genesis.proto | 2 +- proto/cerc/registry/v1/query.proto | 106 +- proto/cerc/registry/v1/registry.proto | 104 +- proto/cerc/registry/v1/tx.proto | 93 +- tests/e2e/auction/grpc.go | 6 +- tests/e2e/bond/grpc.go | 2 +- tests/e2e/bond/query.go | 2 +- tests/e2e/bond/suite.go | 2 +- tests/e2e/registry/grpc.go | 4 +- tests/e2e/registry/suite.go | 6 +- .../auction/keeper/query_server_test.go | 20 +- .../bond/keeper/query_server_test.go | 14 +- .../registry/keeper/query_server_test.go | 12 +- x/auction/auction.pb.go | 1 + x/auction/keeper/query_server.go | 12 +- x/auction/query.pb.go | 447 +++--- x/auction/query.pb.gw.go | 12 +- x/bond/client/cli/query.go | 2 +- x/bond/keeper/query_server.go | 8 +- x/bond/module/autocli.go | 2 +- x/bond/query.pb.go | 246 ++-- x/bond/query.pb.gw.go | 28 +- x/registry/client/cli/tx.go | 4 +- x/registry/codec.go | 2 +- x/registry/events.go | 18 +- x/registry/keeper/msg_server.go | 8 +- x/registry/keeper/naming_keeper.go | 2 +- x/registry/keeper/query_server.go | 8 +- x/registry/module/autocli.go | 6 +- x/registry/msgs.go | 2 +- x/registry/query.pb.go | 400 +++--- x/registry/query.pb.gw.go | 8 +- x/registry/tx.pb.go | 310 ++-- x/registry/tx.pb.gw.go | 170 +-- 52 files changed, 3052 insertions(+), 2979 deletions(-) diff --git a/api/cerc/auction/v1/auction.pulsar.go b/api/cerc/auction/v1/auction.pulsar.go index 390e4313d..46e12f81e 100644 --- a/api/cerc/auction/v1/auction.pulsar.go +++ b/api/cerc/auction/v1/auction.pulsar.go @@ -3732,6 +3732,7 @@ func (x *Auction) GetWinningPrice() *v1beta1.Coin { return nil } +// Auctions represent all the auctions in the module type Auctions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/api/cerc/auction/v1/query.pulsar.go b/api/cerc/auction/v1/query.pulsar.go index ff4466a4a..703644faa 100644 --- a/api/cerc/auction/v1/query.pulsar.go +++ b/api/cerc/auction/v1/query.pulsar.go @@ -1757,25 +1757,25 @@ func (x *fastReflection_QueryAuctionsResponse) ProtoMethods() *protoiface.Method } var ( - md_QueryAuctionRequest protoreflect.MessageDescriptor - fd_QueryAuctionRequest_id protoreflect.FieldDescriptor + md_QueryGetAuctionRequest protoreflect.MessageDescriptor + fd_QueryGetAuctionRequest_id protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryAuctionRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryAuctionRequest") - fd_QueryAuctionRequest_id = md_QueryAuctionRequest.Fields().ByName("id") + md_QueryGetAuctionRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetAuctionRequest") + fd_QueryGetAuctionRequest_id = md_QueryGetAuctionRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryAuctionRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetAuctionRequest)(nil) -type fastReflection_QueryAuctionRequest QueryAuctionRequest +type fastReflection_QueryGetAuctionRequest QueryGetAuctionRequest -func (x *QueryAuctionRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAuctionRequest)(x) +func (x *QueryGetAuctionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAuctionRequest)(x) } -func (x *QueryAuctionRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetAuctionRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1787,43 +1787,43 @@ func (x *QueryAuctionRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAuctionRequest_messageType fastReflection_QueryAuctionRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAuctionRequest_messageType{} +var _fastReflection_QueryGetAuctionRequest_messageType fastReflection_QueryGetAuctionRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAuctionRequest_messageType{} -type fastReflection_QueryAuctionRequest_messageType struct{} +type fastReflection_QueryGetAuctionRequest_messageType struct{} -func (x fastReflection_QueryAuctionRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAuctionRequest)(nil) +func (x fastReflection_QueryGetAuctionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAuctionRequest)(nil) } -func (x fastReflection_QueryAuctionRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAuctionRequest) +func (x fastReflection_QueryGetAuctionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAuctionRequest) } -func (x fastReflection_QueryAuctionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAuctionRequest +func (x fastReflection_QueryGetAuctionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAuctionRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAuctionRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAuctionRequest +func (x *fastReflection_QueryGetAuctionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAuctionRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryAuctionRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAuctionRequest_messageType +func (x *fastReflection_QueryGetAuctionRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAuctionRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAuctionRequest) New() protoreflect.Message { - return new(fastReflection_QueryAuctionRequest) +func (x *fastReflection_QueryGetAuctionRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetAuctionRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAuctionRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAuctionRequest)(x) +func (x *fastReflection_QueryGetAuctionRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetAuctionRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -1831,10 +1831,10 @@ func (x *fastReflection_QueryAuctionRequest) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAuctionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetAuctionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != "" { value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryAuctionRequest_id, value) { + if !f(fd_QueryGetAuctionRequest_id, value) { return } } @@ -1851,15 +1851,15 @@ func (x *fastReflection_QueryAuctionRequest) Range(f func(protoreflect.FieldDesc // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryAuctionRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetAuctionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": + case "cerc.auction.v1.QueryGetAuctionRequest.id": return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", fd.FullName())) } } @@ -1869,15 +1869,15 @@ func (x *fastReflection_QueryAuctionRequest) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetAuctionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": + case "cerc.auction.v1.QueryGetAuctionRequest.id": x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", fd.FullName())) } } @@ -1887,16 +1887,16 @@ func (x *fastReflection_QueryAuctionRequest) Clear(fd protoreflect.FieldDescript // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryAuctionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": + case "cerc.auction.v1.QueryGetAuctionRequest.id": value := x.Id return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", descriptor.FullName())) } } @@ -1910,15 +1910,15 @@ func (x *fastReflection_QueryAuctionRequest) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetAuctionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": + case "cerc.auction.v1.QueryGetAuctionRequest.id": x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", fd.FullName())) } } @@ -1932,40 +1932,40 @@ func (x *fastReflection_QueryAuctionRequest) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": - panic(fmt.Errorf("field id of message cerc.auction.v1.QueryAuctionRequest is not mutable")) + case "cerc.auction.v1.QueryGetAuctionRequest.id": + panic(fmt.Errorf("field id of message cerc.auction.v1.QueryGetAuctionRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryAuctionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionRequest.id": + case "cerc.auction.v1.QueryGetAuctionRequest.id": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryAuctionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetAuctionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryAuctionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetAuctionRequest", d.FullName())) } panic("unreachable") } @@ -1973,7 +1973,7 @@ func (x *fastReflection_QueryAuctionRequest) WhichOneof(d protoreflect.OneofDesc // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryAuctionRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetAuctionRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1984,7 +1984,7 @@ func (x *fastReflection_QueryAuctionRequest) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetAuctionRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1996,7 +1996,7 @@ func (x *fastReflection_QueryAuctionRequest) SetUnknown(fields protoreflect.RawF // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryAuctionRequest) IsValid() bool { +func (x *fastReflection_QueryGetAuctionRequest) IsValid() bool { return x != nil } @@ -2006,9 +2006,9 @@ func (x *fastReflection_QueryAuctionRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAuctionRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetAuctionRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAuctionRequest) + x := input.Message.Interface().(*QueryGetAuctionRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2034,7 +2034,7 @@ func (x *fastReflection_QueryAuctionRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAuctionRequest) + x := input.Message.Interface().(*QueryGetAuctionRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2071,7 +2071,7 @@ func (x *fastReflection_QueryAuctionRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAuctionRequest) + x := input.Message.Interface().(*QueryGetAuctionRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2103,10 +2103,10 @@ func (x *fastReflection_QueryAuctionRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAuctionRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAuctionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAuctionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAuctionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2177,25 +2177,25 @@ func (x *fastReflection_QueryAuctionRequest) ProtoMethods() *protoiface.Methods } var ( - md_QueryAuctionResponse protoreflect.MessageDescriptor - fd_QueryAuctionResponse_auction protoreflect.FieldDescriptor + md_QueryGetAuctionResponse protoreflect.MessageDescriptor + fd_QueryGetAuctionResponse_auction protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryAuctionResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryAuctionResponse") - fd_QueryAuctionResponse_auction = md_QueryAuctionResponse.Fields().ByName("auction") + md_QueryGetAuctionResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetAuctionResponse") + fd_QueryGetAuctionResponse_auction = md_QueryGetAuctionResponse.Fields().ByName("auction") } -var _ protoreflect.Message = (*fastReflection_QueryAuctionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetAuctionResponse)(nil) -type fastReflection_QueryAuctionResponse QueryAuctionResponse +type fastReflection_QueryGetAuctionResponse QueryGetAuctionResponse -func (x *QueryAuctionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAuctionResponse)(x) +func (x *QueryGetAuctionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAuctionResponse)(x) } -func (x *QueryAuctionResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetAuctionResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2207,43 +2207,43 @@ func (x *QueryAuctionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAuctionResponse_messageType fastReflection_QueryAuctionResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAuctionResponse_messageType{} +var _fastReflection_QueryGetAuctionResponse_messageType fastReflection_QueryGetAuctionResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAuctionResponse_messageType{} -type fastReflection_QueryAuctionResponse_messageType struct{} +type fastReflection_QueryGetAuctionResponse_messageType struct{} -func (x fastReflection_QueryAuctionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAuctionResponse)(nil) +func (x fastReflection_QueryGetAuctionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAuctionResponse)(nil) } -func (x fastReflection_QueryAuctionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAuctionResponse) +func (x fastReflection_QueryGetAuctionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAuctionResponse) } -func (x fastReflection_QueryAuctionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAuctionResponse +func (x fastReflection_QueryGetAuctionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAuctionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAuctionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAuctionResponse +func (x *fastReflection_QueryGetAuctionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAuctionResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryAuctionResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAuctionResponse_messageType +func (x *fastReflection_QueryGetAuctionResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAuctionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAuctionResponse) New() protoreflect.Message { - return new(fastReflection_QueryAuctionResponse) +func (x *fastReflection_QueryGetAuctionResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetAuctionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAuctionResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAuctionResponse)(x) +func (x *fastReflection_QueryGetAuctionResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetAuctionResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -2251,10 +2251,10 @@ func (x *fastReflection_QueryAuctionResponse) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAuctionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetAuctionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Auction != nil { value := protoreflect.ValueOfMessage(x.Auction.ProtoReflect()) - if !f(fd_QueryAuctionResponse_auction, value) { + if !f(fd_QueryGetAuctionResponse_auction, value) { return } } @@ -2271,15 +2271,15 @@ func (x *fastReflection_QueryAuctionResponse) Range(f func(protoreflect.FieldDes // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryAuctionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetAuctionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": return x.Auction != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", fd.FullName())) } } @@ -2289,15 +2289,15 @@ func (x *fastReflection_QueryAuctionResponse) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetAuctionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": x.Auction = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", fd.FullName())) } } @@ -2307,16 +2307,16 @@ func (x *fastReflection_QueryAuctionResponse) Clear(fd protoreflect.FieldDescrip // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryAuctionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": value := x.Auction return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", descriptor.FullName())) } } @@ -2330,15 +2330,15 @@ func (x *fastReflection_QueryAuctionResponse) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetAuctionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": x.Auction = value.Message().Interface().(*Auction) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", fd.FullName())) } } @@ -2352,44 +2352,44 @@ func (x *fastReflection_QueryAuctionResponse) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": if x.Auction == nil { x.Auction = new(Auction) } return protoreflect.ValueOfMessage(x.Auction.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryAuctionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAuctionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryAuctionResponse.auction": + case "cerc.auction.v1.QueryGetAuctionResponse.auction": m := new(Auction) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryAuctionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetAuctionResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryAuctionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetAuctionResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryAuctionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetAuctionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryAuctionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetAuctionResponse", d.FullName())) } panic("unreachable") } @@ -2397,7 +2397,7 @@ func (x *fastReflection_QueryAuctionResponse) WhichOneof(d protoreflect.OneofDes // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryAuctionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetAuctionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2408,7 +2408,7 @@ func (x *fastReflection_QueryAuctionResponse) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAuctionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetAuctionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2420,7 +2420,7 @@ func (x *fastReflection_QueryAuctionResponse) SetUnknown(fields protoreflect.Raw // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryAuctionResponse) IsValid() bool { +func (x *fastReflection_QueryGetAuctionResponse) IsValid() bool { return x != nil } @@ -2430,9 +2430,9 @@ func (x *fastReflection_QueryAuctionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAuctionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetAuctionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAuctionResponse) + x := input.Message.Interface().(*QueryGetAuctionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2458,7 +2458,7 @@ func (x *fastReflection_QueryAuctionResponse) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAuctionResponse) + x := input.Message.Interface().(*QueryGetAuctionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2502,7 +2502,7 @@ func (x *fastReflection_QueryAuctionResponse) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAuctionResponse) + x := input.Message.Interface().(*QueryGetAuctionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2534,10 +2534,10 @@ func (x *fastReflection_QueryAuctionResponse) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAuctionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAuctionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAuctionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAuctionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2612,27 +2612,27 @@ func (x *fastReflection_QueryAuctionResponse) ProtoMethods() *protoiface.Methods } var ( - md_QueryBidRequest protoreflect.MessageDescriptor - fd_QueryBidRequest_auction_id protoreflect.FieldDescriptor - fd_QueryBidRequest_bidder protoreflect.FieldDescriptor + md_QueryGetBidRequest protoreflect.MessageDescriptor + fd_QueryGetBidRequest_auction_id protoreflect.FieldDescriptor + fd_QueryGetBidRequest_bidder protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryBidRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryBidRequest") - fd_QueryBidRequest_auction_id = md_QueryBidRequest.Fields().ByName("auction_id") - fd_QueryBidRequest_bidder = md_QueryBidRequest.Fields().ByName("bidder") + md_QueryGetBidRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetBidRequest") + fd_QueryGetBidRequest_auction_id = md_QueryGetBidRequest.Fields().ByName("auction_id") + fd_QueryGetBidRequest_bidder = md_QueryGetBidRequest.Fields().ByName("bidder") } -var _ protoreflect.Message = (*fastReflection_QueryBidRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetBidRequest)(nil) -type fastReflection_QueryBidRequest QueryBidRequest +type fastReflection_QueryGetBidRequest QueryGetBidRequest -func (x *QueryBidRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryBidRequest)(x) +func (x *QueryGetBidRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetBidRequest)(x) } -func (x *QueryBidRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetBidRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2644,43 +2644,43 @@ func (x *QueryBidRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryBidRequest_messageType fastReflection_QueryBidRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryBidRequest_messageType{} +var _fastReflection_QueryGetBidRequest_messageType fastReflection_QueryGetBidRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetBidRequest_messageType{} -type fastReflection_QueryBidRequest_messageType struct{} +type fastReflection_QueryGetBidRequest_messageType struct{} -func (x fastReflection_QueryBidRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryBidRequest)(nil) +func (x fastReflection_QueryGetBidRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetBidRequest)(nil) } -func (x fastReflection_QueryBidRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryBidRequest) +func (x fastReflection_QueryGetBidRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetBidRequest) } -func (x fastReflection_QueryBidRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidRequest +func (x fastReflection_QueryGetBidRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryBidRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidRequest +func (x *fastReflection_QueryGetBidRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryBidRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryBidRequest_messageType +func (x *fastReflection_QueryGetBidRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetBidRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryBidRequest) New() protoreflect.Message { - return new(fastReflection_QueryBidRequest) +func (x *fastReflection_QueryGetBidRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetBidRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryBidRequest) Interface() protoreflect.ProtoMessage { - return (*QueryBidRequest)(x) +func (x *fastReflection_QueryGetBidRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetBidRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -2688,16 +2688,16 @@ func (x *fastReflection_QueryBidRequest) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryBidRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetBidRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.AuctionId != "" { value := protoreflect.ValueOfString(x.AuctionId) - if !f(fd_QueryBidRequest_auction_id, value) { + if !f(fd_QueryGetBidRequest_auction_id, value) { return } } if x.Bidder != "" { value := protoreflect.ValueOfString(x.Bidder) - if !f(fd_QueryBidRequest_bidder, value) { + if !f(fd_QueryGetBidRequest_bidder, value) { return } } @@ -2714,17 +2714,17 @@ func (x *fastReflection_QueryBidRequest) Range(f func(protoreflect.FieldDescript // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryBidRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetBidRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": + case "cerc.auction.v1.QueryGetBidRequest.auction_id": return x.AuctionId != "" - case "cerc.auction.v1.QueryBidRequest.bidder": + case "cerc.auction.v1.QueryGetBidRequest.bidder": return x.Bidder != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", fd.FullName())) } } @@ -2734,17 +2734,17 @@ func (x *fastReflection_QueryBidRequest) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetBidRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": + case "cerc.auction.v1.QueryGetBidRequest.auction_id": x.AuctionId = "" - case "cerc.auction.v1.QueryBidRequest.bidder": + case "cerc.auction.v1.QueryGetBidRequest.bidder": x.Bidder = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", fd.FullName())) } } @@ -2754,19 +2754,19 @@ func (x *fastReflection_QueryBidRequest) Clear(fd protoreflect.FieldDescriptor) // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryBidRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": + case "cerc.auction.v1.QueryGetBidRequest.auction_id": value := x.AuctionId return protoreflect.ValueOfString(value) - case "cerc.auction.v1.QueryBidRequest.bidder": + case "cerc.auction.v1.QueryGetBidRequest.bidder": value := x.Bidder return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", descriptor.FullName())) } } @@ -2780,17 +2780,17 @@ func (x *fastReflection_QueryBidRequest) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetBidRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": + case "cerc.auction.v1.QueryGetBidRequest.auction_id": x.AuctionId = value.Interface().(string) - case "cerc.auction.v1.QueryBidRequest.bidder": + case "cerc.auction.v1.QueryGetBidRequest.bidder": x.Bidder = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", fd.FullName())) } } @@ -2804,44 +2804,44 @@ func (x *fastReflection_QueryBidRequest) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": - panic(fmt.Errorf("field auction_id of message cerc.auction.v1.QueryBidRequest is not mutable")) - case "cerc.auction.v1.QueryBidRequest.bidder": - panic(fmt.Errorf("field bidder of message cerc.auction.v1.QueryBidRequest is not mutable")) + case "cerc.auction.v1.QueryGetBidRequest.auction_id": + panic(fmt.Errorf("field auction_id of message cerc.auction.v1.QueryGetBidRequest is not mutable")) + case "cerc.auction.v1.QueryGetBidRequest.bidder": + panic(fmt.Errorf("field bidder of message cerc.auction.v1.QueryGetBidRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryBidRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidRequest.auction_id": + case "cerc.auction.v1.QueryGetBidRequest.auction_id": return protoreflect.ValueOfString("") - case "cerc.auction.v1.QueryBidRequest.bidder": + case "cerc.auction.v1.QueryGetBidRequest.bidder": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryBidRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetBidRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryBidRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetBidRequest", d.FullName())) } panic("unreachable") } @@ -2849,7 +2849,7 @@ func (x *fastReflection_QueryBidRequest) WhichOneof(d protoreflect.OneofDescript // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryBidRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetBidRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2860,7 +2860,7 @@ func (x *fastReflection_QueryBidRequest) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetBidRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2872,7 +2872,7 @@ func (x *fastReflection_QueryBidRequest) SetUnknown(fields protoreflect.RawField // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryBidRequest) IsValid() bool { +func (x *fastReflection_QueryGetBidRequest) IsValid() bool { return x != nil } @@ -2882,9 +2882,9 @@ func (x *fastReflection_QueryBidRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryBidRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetBidRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryBidRequest) + x := input.Message.Interface().(*QueryGetBidRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2914,7 +2914,7 @@ func (x *fastReflection_QueryBidRequest) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryBidRequest) + x := input.Message.Interface().(*QueryGetBidRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2958,7 +2958,7 @@ func (x *fastReflection_QueryBidRequest) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryBidRequest) + x := input.Message.Interface().(*QueryGetBidRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2990,10 +2990,10 @@ func (x *fastReflection_QueryBidRequest) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3096,25 +3096,25 @@ func (x *fastReflection_QueryBidRequest) ProtoMethods() *protoiface.Methods { } var ( - md_QueryBidResponse protoreflect.MessageDescriptor - fd_QueryBidResponse_bid protoreflect.FieldDescriptor + md_QueryGetBidResponse protoreflect.MessageDescriptor + fd_QueryGetBidResponse_bid protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryBidResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryBidResponse") - fd_QueryBidResponse_bid = md_QueryBidResponse.Fields().ByName("bid") + md_QueryGetBidResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetBidResponse") + fd_QueryGetBidResponse_bid = md_QueryGetBidResponse.Fields().ByName("bid") } -var _ protoreflect.Message = (*fastReflection_QueryBidResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetBidResponse)(nil) -type fastReflection_QueryBidResponse QueryBidResponse +type fastReflection_QueryGetBidResponse QueryGetBidResponse -func (x *QueryBidResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryBidResponse)(x) +func (x *QueryGetBidResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetBidResponse)(x) } -func (x *QueryBidResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetBidResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3126,43 +3126,43 @@ func (x *QueryBidResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryBidResponse_messageType fastReflection_QueryBidResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryBidResponse_messageType{} +var _fastReflection_QueryGetBidResponse_messageType fastReflection_QueryGetBidResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetBidResponse_messageType{} -type fastReflection_QueryBidResponse_messageType struct{} +type fastReflection_QueryGetBidResponse_messageType struct{} -func (x fastReflection_QueryBidResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryBidResponse)(nil) +func (x fastReflection_QueryGetBidResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetBidResponse)(nil) } -func (x fastReflection_QueryBidResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryBidResponse) +func (x fastReflection_QueryGetBidResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetBidResponse) } -func (x fastReflection_QueryBidResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidResponse +func (x fastReflection_QueryGetBidResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryBidResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidResponse +func (x *fastReflection_QueryGetBidResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryBidResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryBidResponse_messageType +func (x *fastReflection_QueryGetBidResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetBidResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryBidResponse) New() protoreflect.Message { - return new(fastReflection_QueryBidResponse) +func (x *fastReflection_QueryGetBidResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetBidResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryBidResponse) Interface() protoreflect.ProtoMessage { - return (*QueryBidResponse)(x) +func (x *fastReflection_QueryGetBidResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetBidResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -3170,10 +3170,10 @@ func (x *fastReflection_QueryBidResponse) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryBidResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetBidResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Bid != nil { value := protoreflect.ValueOfMessage(x.Bid.ProtoReflect()) - if !f(fd_QueryBidResponse_bid, value) { + if !f(fd_QueryGetBidResponse_bid, value) { return } } @@ -3190,15 +3190,15 @@ func (x *fastReflection_QueryBidResponse) Range(f func(protoreflect.FieldDescrip // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryBidResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetBidResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": return x.Bid != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", fd.FullName())) } } @@ -3208,15 +3208,15 @@ func (x *fastReflection_QueryBidResponse) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetBidResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": x.Bid = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", fd.FullName())) } } @@ -3226,16 +3226,16 @@ func (x *fastReflection_QueryBidResponse) Clear(fd protoreflect.FieldDescriptor) // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryBidResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": value := x.Bid return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", descriptor.FullName())) } } @@ -3249,15 +3249,15 @@ func (x *fastReflection_QueryBidResponse) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetBidResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": x.Bid = value.Message().Interface().(*Bid) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", fd.FullName())) } } @@ -3271,44 +3271,44 @@ func (x *fastReflection_QueryBidResponse) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": if x.Bid == nil { x.Bid = new(Bid) } return protoreflect.ValueOfMessage(x.Bid.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryBidResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidResponse.bid": + case "cerc.auction.v1.QueryGetBidResponse.bid": m := new(Bid) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryBidResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetBidResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryBidResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetBidResponse", d.FullName())) } panic("unreachable") } @@ -3316,7 +3316,7 @@ func (x *fastReflection_QueryBidResponse) WhichOneof(d protoreflect.OneofDescrip // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryBidResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetBidResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3327,7 +3327,7 @@ func (x *fastReflection_QueryBidResponse) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetBidResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3339,7 +3339,7 @@ func (x *fastReflection_QueryBidResponse) SetUnknown(fields protoreflect.RawFiel // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryBidResponse) IsValid() bool { +func (x *fastReflection_QueryGetBidResponse) IsValid() bool { return x != nil } @@ -3349,9 +3349,9 @@ func (x *fastReflection_QueryBidResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryBidResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetBidResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryBidResponse) + x := input.Message.Interface().(*QueryGetBidResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3377,7 +3377,7 @@ func (x *fastReflection_QueryBidResponse) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryBidResponse) + x := input.Message.Interface().(*QueryGetBidResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3421,7 +3421,7 @@ func (x *fastReflection_QueryBidResponse) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryBidResponse) + x := input.Message.Interface().(*QueryGetBidResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3453,10 +3453,10 @@ func (x *fastReflection_QueryBidResponse) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3531,25 +3531,25 @@ func (x *fastReflection_QueryBidResponse) ProtoMethods() *protoiface.Methods { } var ( - md_QueryBidsRequest protoreflect.MessageDescriptor - fd_QueryBidsRequest_auction_id protoreflect.FieldDescriptor + md_QueryGetBidsRequest protoreflect.MessageDescriptor + fd_QueryGetBidsRequest_auction_id protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryBidsRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryBidsRequest") - fd_QueryBidsRequest_auction_id = md_QueryBidsRequest.Fields().ByName("auction_id") + md_QueryGetBidsRequest = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetBidsRequest") + fd_QueryGetBidsRequest_auction_id = md_QueryGetBidsRequest.Fields().ByName("auction_id") } -var _ protoreflect.Message = (*fastReflection_QueryBidsRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetBidsRequest)(nil) -type fastReflection_QueryBidsRequest QueryBidsRequest +type fastReflection_QueryGetBidsRequest QueryGetBidsRequest -func (x *QueryBidsRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryBidsRequest)(x) +func (x *QueryGetBidsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetBidsRequest)(x) } -func (x *QueryBidsRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetBidsRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3561,43 +3561,43 @@ func (x *QueryBidsRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryBidsRequest_messageType fastReflection_QueryBidsRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryBidsRequest_messageType{} +var _fastReflection_QueryGetBidsRequest_messageType fastReflection_QueryGetBidsRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetBidsRequest_messageType{} -type fastReflection_QueryBidsRequest_messageType struct{} +type fastReflection_QueryGetBidsRequest_messageType struct{} -func (x fastReflection_QueryBidsRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryBidsRequest)(nil) +func (x fastReflection_QueryGetBidsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetBidsRequest)(nil) } -func (x fastReflection_QueryBidsRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryBidsRequest) +func (x fastReflection_QueryGetBidsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetBidsRequest) } -func (x fastReflection_QueryBidsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidsRequest +func (x fastReflection_QueryGetBidsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidsRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryBidsRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidsRequest +func (x *fastReflection_QueryGetBidsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidsRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryBidsRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryBidsRequest_messageType +func (x *fastReflection_QueryGetBidsRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetBidsRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryBidsRequest) New() protoreflect.Message { - return new(fastReflection_QueryBidsRequest) +func (x *fastReflection_QueryGetBidsRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetBidsRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryBidsRequest) Interface() protoreflect.ProtoMessage { - return (*QueryBidsRequest)(x) +func (x *fastReflection_QueryGetBidsRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetBidsRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -3605,10 +3605,10 @@ func (x *fastReflection_QueryBidsRequest) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryBidsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetBidsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.AuctionId != "" { value := protoreflect.ValueOfString(x.AuctionId) - if !f(fd_QueryBidsRequest_auction_id, value) { + if !f(fd_QueryGetBidsRequest_auction_id, value) { return } } @@ -3625,15 +3625,15 @@ func (x *fastReflection_QueryBidsRequest) Range(f func(protoreflect.FieldDescrip // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryBidsRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetBidsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": return x.AuctionId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", fd.FullName())) } } @@ -3643,15 +3643,15 @@ func (x *fastReflection_QueryBidsRequest) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetBidsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": x.AuctionId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", fd.FullName())) } } @@ -3661,16 +3661,16 @@ func (x *fastReflection_QueryBidsRequest) Clear(fd protoreflect.FieldDescriptor) // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryBidsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": value := x.AuctionId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", descriptor.FullName())) } } @@ -3684,15 +3684,15 @@ func (x *fastReflection_QueryBidsRequest) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetBidsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": x.AuctionId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", fd.FullName())) } } @@ -3706,40 +3706,40 @@ func (x *fastReflection_QueryBidsRequest) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": - panic(fmt.Errorf("field auction_id of message cerc.auction.v1.QueryBidsRequest is not mutable")) + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": + panic(fmt.Errorf("field auction_id of message cerc.auction.v1.QueryGetBidsRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryBidsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsRequest.auction_id": + case "cerc.auction.v1.QueryGetBidsRequest.auction_id": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsRequest")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryBidsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetBidsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryBidsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetBidsRequest", d.FullName())) } panic("unreachable") } @@ -3747,7 +3747,7 @@ func (x *fastReflection_QueryBidsRequest) WhichOneof(d protoreflect.OneofDescrip // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryBidsRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetBidsRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3758,7 +3758,7 @@ func (x *fastReflection_QueryBidsRequest) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetBidsRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3770,7 +3770,7 @@ func (x *fastReflection_QueryBidsRequest) SetUnknown(fields protoreflect.RawFiel // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryBidsRequest) IsValid() bool { +func (x *fastReflection_QueryGetBidsRequest) IsValid() bool { return x != nil } @@ -3780,9 +3780,9 @@ func (x *fastReflection_QueryBidsRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryBidsRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetBidsRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryBidsRequest) + x := input.Message.Interface().(*QueryGetBidsRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3808,7 +3808,7 @@ func (x *fastReflection_QueryBidsRequest) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryBidsRequest) + x := input.Message.Interface().(*QueryGetBidsRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3845,7 +3845,7 @@ func (x *fastReflection_QueryBidsRequest) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryBidsRequest) + x := input.Message.Interface().(*QueryGetBidsRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3877,10 +3877,10 @@ func (x *fastReflection_QueryBidsRequest) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidsRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3950,77 +3950,77 @@ func (x *fastReflection_QueryBidsRequest) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_QueryBidsResponse_1_list)(nil) +var _ protoreflect.List = (*_QueryGetBidsResponse_1_list)(nil) -type _QueryBidsResponse_1_list struct { +type _QueryGetBidsResponse_1_list struct { list *[]*Bid } -func (x *_QueryBidsResponse_1_list) Len() int { +func (x *_QueryGetBidsResponse_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_QueryBidsResponse_1_list) Get(i int) protoreflect.Value { +func (x *_QueryGetBidsResponse_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_QueryBidsResponse_1_list) Set(i int, value protoreflect.Value) { +func (x *_QueryGetBidsResponse_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Bid) (*x.list)[i] = concreteValue } -func (x *_QueryBidsResponse_1_list) Append(value protoreflect.Value) { +func (x *_QueryGetBidsResponse_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Bid) *x.list = append(*x.list, concreteValue) } -func (x *_QueryBidsResponse_1_list) AppendMutable() protoreflect.Value { +func (x *_QueryGetBidsResponse_1_list) AppendMutable() protoreflect.Value { v := new(Bid) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryBidsResponse_1_list) Truncate(n int) { +func (x *_QueryGetBidsResponse_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_QueryBidsResponse_1_list) NewElement() protoreflect.Value { +func (x *_QueryGetBidsResponse_1_list) NewElement() protoreflect.Value { v := new(Bid) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryBidsResponse_1_list) IsValid() bool { +func (x *_QueryGetBidsResponse_1_list) IsValid() bool { return x.list != nil } var ( - md_QueryBidsResponse protoreflect.MessageDescriptor - fd_QueryBidsResponse_bids protoreflect.FieldDescriptor + md_QueryGetBidsResponse protoreflect.MessageDescriptor + fd_QueryGetBidsResponse_bids protoreflect.FieldDescriptor ) func init() { file_cerc_auction_v1_query_proto_init() - md_QueryBidsResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryBidsResponse") - fd_QueryBidsResponse_bids = md_QueryBidsResponse.Fields().ByName("bids") + md_QueryGetBidsResponse = File_cerc_auction_v1_query_proto.Messages().ByName("QueryGetBidsResponse") + fd_QueryGetBidsResponse_bids = md_QueryGetBidsResponse.Fields().ByName("bids") } -var _ protoreflect.Message = (*fastReflection_QueryBidsResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetBidsResponse)(nil) -type fastReflection_QueryBidsResponse QueryBidsResponse +type fastReflection_QueryGetBidsResponse QueryGetBidsResponse -func (x *QueryBidsResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryBidsResponse)(x) +func (x *QueryGetBidsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetBidsResponse)(x) } -func (x *QueryBidsResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetBidsResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_auction_v1_query_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4032,43 +4032,43 @@ func (x *QueryBidsResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryBidsResponse_messageType fastReflection_QueryBidsResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryBidsResponse_messageType{} +var _fastReflection_QueryGetBidsResponse_messageType fastReflection_QueryGetBidsResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetBidsResponse_messageType{} -type fastReflection_QueryBidsResponse_messageType struct{} +type fastReflection_QueryGetBidsResponse_messageType struct{} -func (x fastReflection_QueryBidsResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryBidsResponse)(nil) +func (x fastReflection_QueryGetBidsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetBidsResponse)(nil) } -func (x fastReflection_QueryBidsResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryBidsResponse) +func (x fastReflection_QueryGetBidsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetBidsResponse) } -func (x fastReflection_QueryBidsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidsResponse +func (x fastReflection_QueryGetBidsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidsResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryBidsResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryBidsResponse +func (x *fastReflection_QueryGetBidsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetBidsResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryBidsResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryBidsResponse_messageType +func (x *fastReflection_QueryGetBidsResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetBidsResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryBidsResponse) New() protoreflect.Message { - return new(fastReflection_QueryBidsResponse) +func (x *fastReflection_QueryGetBidsResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetBidsResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryBidsResponse) Interface() protoreflect.ProtoMessage { - return (*QueryBidsResponse)(x) +func (x *fastReflection_QueryGetBidsResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetBidsResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -4076,10 +4076,10 @@ func (x *fastReflection_QueryBidsResponse) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryBidsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetBidsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Bids) != 0 { - value := protoreflect.ValueOfList(&_QueryBidsResponse_1_list{list: &x.Bids}) - if !f(fd_QueryBidsResponse_bids, value) { + value := protoreflect.ValueOfList(&_QueryGetBidsResponse_1_list{list: &x.Bids}) + if !f(fd_QueryGetBidsResponse_bids, value) { return } } @@ -4096,15 +4096,15 @@ func (x *fastReflection_QueryBidsResponse) Range(f func(protoreflect.FieldDescri // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryBidsResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetBidsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": return len(x.Bids) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", fd.FullName())) } } @@ -4114,15 +4114,15 @@ func (x *fastReflection_QueryBidsResponse) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetBidsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": x.Bids = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", fd.FullName())) } } @@ -4132,19 +4132,19 @@ func (x *fastReflection_QueryBidsResponse) Clear(fd protoreflect.FieldDescriptor // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryBidsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": if len(x.Bids) == 0 { - return protoreflect.ValueOfList(&_QueryBidsResponse_1_list{}) + return protoreflect.ValueOfList(&_QueryGetBidsResponse_1_list{}) } - listValue := &_QueryBidsResponse_1_list{list: &x.Bids} + listValue := &_QueryGetBidsResponse_1_list{list: &x.Bids} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", descriptor.FullName())) } } @@ -4158,17 +4158,17 @@ func (x *fastReflection_QueryBidsResponse) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetBidsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": lv := value.List() - clv := lv.(*_QueryBidsResponse_1_list) + clv := lv.(*_QueryGetBidsResponse_1_list) x.Bids = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", fd.FullName())) } } @@ -4182,45 +4182,45 @@ func (x *fastReflection_QueryBidsResponse) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": if x.Bids == nil { x.Bids = []*Bid{} } - value := &_QueryBidsResponse_1_list{list: &x.Bids} + value := &_QueryGetBidsResponse_1_list{list: &x.Bids} return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryBidsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetBidsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.auction.v1.QueryBidsResponse.bids": + case "cerc.auction.v1.QueryGetBidsResponse.bids": list := []*Bid{} - return protoreflect.ValueOfList(&_QueryBidsResponse_1_list{list: &list}) + return protoreflect.ValueOfList(&_QueryGetBidsResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryBidsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.auction.v1.QueryGetBidsResponse")) } - panic(fmt.Errorf("message cerc.auction.v1.QueryBidsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.auction.v1.QueryGetBidsResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryBidsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetBidsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryBidsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.auction.v1.QueryGetBidsResponse", d.FullName())) } panic("unreachable") } @@ -4228,7 +4228,7 @@ func (x *fastReflection_QueryBidsResponse) WhichOneof(d protoreflect.OneofDescri // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryBidsResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetBidsResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4239,7 +4239,7 @@ func (x *fastReflection_QueryBidsResponse) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryBidsResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetBidsResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4251,7 +4251,7 @@ func (x *fastReflection_QueryBidsResponse) SetUnknown(fields protoreflect.RawFie // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryBidsResponse) IsValid() bool { +func (x *fastReflection_QueryGetBidsResponse) IsValid() bool { return x != nil } @@ -4261,9 +4261,9 @@ func (x *fastReflection_QueryBidsResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryBidsResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetBidsResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryBidsResponse) + x := input.Message.Interface().(*QueryGetBidsResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4291,7 +4291,7 @@ func (x *fastReflection_QueryBidsResponse) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryBidsResponse) + x := input.Message.Interface().(*QueryGetBidsResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4337,7 +4337,7 @@ func (x *fastReflection_QueryBidsResponse) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryBidsResponse) + x := input.Message.Interface().(*QueryGetBidsResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4369,10 +4369,10 @@ func (x *fastReflection_QueryBidsResponse) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidsResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBidsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBidsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -7017,7 +7017,8 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// QueryParamsRequest is the format to query the parameters of the auction module +// QueryParamsRequest is the format to query the parameters of the auction +// module type QueryParamsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7164,7 +7165,7 @@ func (x *QueryAuctionsResponse) GetPagination() *v1beta1.PageRequest { } // AuctionRequest is the format for querying a specific auction -type QueryAuctionRequest struct { +type QueryGetAuctionRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7173,8 +7174,8 @@ type QueryAuctionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *QueryAuctionRequest) Reset() { - *x = QueryAuctionRequest{} +func (x *QueryGetAuctionRequest) Reset() { + *x = QueryGetAuctionRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7182,18 +7183,18 @@ func (x *QueryAuctionRequest) Reset() { } } -func (x *QueryAuctionRequest) String() string { +func (x *QueryGetAuctionRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryAuctionRequest) ProtoMessage() {} +func (*QueryGetAuctionRequest) ProtoMessage() {} -// Deprecated: Use QueryAuctionRequest.ProtoReflect.Descriptor instead. -func (*QueryAuctionRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetAuctionRequest.ProtoReflect.Descriptor instead. +func (*QueryGetAuctionRequest) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{4} } -func (x *QueryAuctionRequest) GetId() string { +func (x *QueryGetAuctionRequest) GetId() string { if x != nil { return x.Id } @@ -7201,7 +7202,7 @@ func (x *QueryAuctionRequest) GetId() string { } // AuctionResponse returns the details of the queried auction -type QueryAuctionResponse struct { +type QueryGetAuctionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7210,8 +7211,8 @@ type QueryAuctionResponse struct { Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"` } -func (x *QueryAuctionResponse) Reset() { - *x = QueryAuctionResponse{} +func (x *QueryGetAuctionResponse) Reset() { + *x = QueryGetAuctionResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7219,18 +7220,18 @@ func (x *QueryAuctionResponse) Reset() { } } -func (x *QueryAuctionResponse) String() string { +func (x *QueryGetAuctionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryAuctionResponse) ProtoMessage() {} +func (*QueryGetAuctionResponse) ProtoMessage() {} -// Deprecated: Use QueryAuctionResponse.ProtoReflect.Descriptor instead. -func (*QueryAuctionResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetAuctionResponse.ProtoReflect.Descriptor instead. +func (*QueryGetAuctionResponse) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{5} } -func (x *QueryAuctionResponse) GetAuction() *Auction { +func (x *QueryGetAuctionResponse) GetAuction() *Auction { if x != nil { return x.Auction } @@ -7238,7 +7239,7 @@ func (x *QueryAuctionResponse) GetAuction() *Auction { } // BidRequest is the format for querying a specific bid in an auction -type QueryBidRequest struct { +type QueryGetBidRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7249,8 +7250,8 @@ type QueryBidRequest struct { Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` } -func (x *QueryBidRequest) Reset() { - *x = QueryBidRequest{} +func (x *QueryGetBidRequest) Reset() { + *x = QueryGetBidRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7258,25 +7259,25 @@ func (x *QueryBidRequest) Reset() { } } -func (x *QueryBidRequest) String() string { +func (x *QueryGetBidRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryBidRequest) ProtoMessage() {} +func (*QueryGetBidRequest) ProtoMessage() {} -// Deprecated: Use QueryBidRequest.ProtoReflect.Descriptor instead. -func (*QueryBidRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetBidRequest.ProtoReflect.Descriptor instead. +func (*QueryGetBidRequest) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{6} } -func (x *QueryBidRequest) GetAuctionId() string { +func (x *QueryGetBidRequest) GetAuctionId() string { if x != nil { return x.AuctionId } return "" } -func (x *QueryBidRequest) GetBidder() string { +func (x *QueryGetBidRequest) GetBidder() string { if x != nil { return x.Bidder } @@ -7284,7 +7285,7 @@ func (x *QueryBidRequest) GetBidder() string { } // BidResponse returns the details of the queried bid -type QueryBidResponse struct { +type QueryGetBidResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7293,8 +7294,8 @@ type QueryBidResponse struct { Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"` } -func (x *QueryBidResponse) Reset() { - *x = QueryBidResponse{} +func (x *QueryGetBidResponse) Reset() { + *x = QueryGetBidResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7302,18 +7303,18 @@ func (x *QueryBidResponse) Reset() { } } -func (x *QueryBidResponse) String() string { +func (x *QueryGetBidResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryBidResponse) ProtoMessage() {} +func (*QueryGetBidResponse) ProtoMessage() {} -// Deprecated: Use QueryBidResponse.ProtoReflect.Descriptor instead. -func (*QueryBidResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetBidResponse.ProtoReflect.Descriptor instead. +func (*QueryGetBidResponse) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{7} } -func (x *QueryBidResponse) GetBid() *Bid { +func (x *QueryGetBidResponse) GetBid() *Bid { if x != nil { return x.Bid } @@ -7321,7 +7322,7 @@ func (x *QueryBidResponse) GetBid() *Bid { } // BidsRequest is the format for querying all bids in an auction -type QueryBidsRequest struct { +type QueryGetBidsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7330,8 +7331,8 @@ type QueryBidsRequest struct { AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` } -func (x *QueryBidsRequest) Reset() { - *x = QueryBidsRequest{} +func (x *QueryGetBidsRequest) Reset() { + *x = QueryGetBidsRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7339,18 +7340,18 @@ func (x *QueryBidsRequest) Reset() { } } -func (x *QueryBidsRequest) String() string { +func (x *QueryGetBidsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryBidsRequest) ProtoMessage() {} +func (*QueryGetBidsRequest) ProtoMessage() {} -// Deprecated: Use QueryBidsRequest.ProtoReflect.Descriptor instead. -func (*QueryBidsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetBidsRequest.ProtoReflect.Descriptor instead. +func (*QueryGetBidsRequest) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{8} } -func (x *QueryBidsRequest) GetAuctionId() string { +func (x *QueryGetBidsRequest) GetAuctionId() string { if x != nil { return x.AuctionId } @@ -7358,7 +7359,7 @@ func (x *QueryBidsRequest) GetAuctionId() string { } // BidsResponse returns details of all bids in an auction -type QueryBidsResponse struct { +type QueryGetBidsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -7367,8 +7368,8 @@ type QueryBidsResponse struct { Bids []*Bid `protobuf:"bytes,1,rep,name=bids,proto3" json:"bids,omitempty"` } -func (x *QueryBidsResponse) Reset() { - *x = QueryBidsResponse{} +func (x *QueryGetBidsResponse) Reset() { + *x = QueryGetBidsResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_auction_v1_query_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7376,25 +7377,26 @@ func (x *QueryBidsResponse) Reset() { } } -func (x *QueryBidsResponse) String() string { +func (x *QueryGetBidsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryBidsResponse) ProtoMessage() {} +func (*QueryGetBidsResponse) ProtoMessage() {} -// Deprecated: Use QueryBidsResponse.ProtoReflect.Descriptor instead. -func (*QueryBidsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetBidsResponse.ProtoReflect.Descriptor instead. +func (*QueryGetBidsResponse) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{9} } -func (x *QueryBidsResponse) GetBids() []*Bid { +func (x *QueryGetBidsResponse) GetBids() []*Bid { if x != nil { return x.Bids } return nil } -// AuctionsByBidderRequest is the format for querying all auctions containing a bidder address +// AuctionsByBidderRequest is the format for querying all auctions containing a +// bidder address type QueryAuctionsByBidderRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7468,7 +7470,8 @@ func (x *QueryAuctionsByBidderResponse) GetAuctions() *Auctions { return nil } -// AuctionsByOwnerRequest is the format for querying all auctions created by an owner +// AuctionsByOwnerRequest is the format for querying all auctions created by an +// owner type QueryAuctionsByOwnerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7569,6 +7572,8 @@ func (*QueryGetAuctionModuleBalanceRequest) Descriptor() ([]byte, []int) { return file_cerc_auction_v1_query_proto_rawDescGZIP(), []int{14} } +// QueryGetAuctionModuleBalanceResponse is the response type for auction module +// balance rpc method type QueryGetAuctionModuleBalanceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7642,147 +7647,149 @@ var file_cerc_auction_v1_query_proto_rawDesc = []byte{ 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x14, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, - 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x0a, 0x0f, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x42, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x64, - 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, - 0x72, 0x22, 0x3a, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x03, 0x62, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x64, 0x52, 0x03, 0x62, 0x69, 0x64, 0x22, 0x31, 0x0a, - 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x22, 0x3d, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x64, 0x52, 0x04, 0x62, 0x69, 0x64, 0x73, 0x22, - 0x45, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x25, 0x0a, 0x0e, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x56, 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x65, 0x72, 0x63, - 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x42, - 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x22, 0x55, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x25, 0x0a, 0x23, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xab, 0x01, 0x0a, 0x24, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x07, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4d, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x19, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0xfa, - 0x08, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x74, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x7c, - 0x0a, 0x08, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, - 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x81, 0x01, 0x0a, - 0x0a, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x63, 0x65, - 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, - 0x12, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x76, 0x31, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, - 0x12, 0x82, 0x01, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x12, 0x20, 0x2e, 0x63, 0x65, - 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, - 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, - 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x73, 0x2f, - 0x7b, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x69, - 0x64, 0x64, 0x65, 0x72, 0x7d, 0x12, 0x7c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x73, - 0x12, 0x21, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x69, 0x64, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, - 0x22, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x69, 0x64, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x69, 0x64, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x12, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, - 0x2b, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x79, 0x2d, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x62, 0x69, 0x64, - 0x64, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xa1, 0x01, 0x0a, - 0x0f, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x12, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x28, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, + 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, + 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x0a, + 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x22, 0x3d, 0x0a, 0x13, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x26, 0x0a, 0x03, 0x62, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x79, 0x2d, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x2f, 0x7b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, - 0x12, 0xa8, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x2e, 0x63, - 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x2e, 0x42, 0x69, 0x64, 0x52, 0x03, 0x62, 0x69, 0x64, 0x22, 0x34, 0x0a, 0x13, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x40, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x64, 0x52, 0x04, 0x62, 0x69, 0x64, + 0x73, 0x22, 0x45, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x69, 0x64, 0x64, 0x65, + 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x56, 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x42, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x23, 0x0a, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x22, 0x55, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x08, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x25, 0x0a, 0x23, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, + 0x73, 0x74, 0x22, 0xab, 0x01, 0x0a, 0x24, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x07, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4d, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, + 0x1f, 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0x20, 0x79, + 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0xaa, 0xdf, 0x1f, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x32, 0x8d, 0x09, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x74, 0x0a, 0x06, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, + 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x7c, 0x0a, 0x08, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x63, + 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x87, + 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, + 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x88, 0x01, 0x0a, 0x06, 0x47, 0x65, 0x74, + 0x42, 0x69, 0x64, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, + 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x73, 0x2f, 0x7b, 0x61, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x62, 0x69, 0x64, 0x64, + 0x65, 0x72, 0x7d, 0x12, 0x82, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x73, 0x12, + 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x42, 0x69, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, 0x64, 0x64, 0x65, 0x72, 0x12, 0x2d, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, + 0x69, 0x64, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, + 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x42, 0x69, + 0x64, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x79, 0x2d, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, + 0x2f, 0x7b, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x7d, 0x12, 0xa1, 0x01, 0x0a, 0x0f, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x63, 0x65, 0x72, + 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x79, 0x2d, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xa8, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x42, 0xbb, 0x01, 0x0a, 0x13, - 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, - 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x32, 0x64, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, - 0x43, 0x41, 0x58, 0xaa, 0x02, 0x0f, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x41, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0f, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x41, 0x75, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1b, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x41, - 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x41, 0x75, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x12, 0x34, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x42, 0xbb, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, + 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, + 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x61, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x0f, 0x43, 0x65, 0x72, 0x63, 0x2e, + 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0f, 0x43, 0x65, 0x72, + 0x63, 0x5c, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1b, 0x43, + 0x65, 0x72, 0x63, 0x5c, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x43, 0x65, 0x72, + 0x63, 0x3a, 0x3a, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -7803,12 +7810,12 @@ var file_cerc_auction_v1_query_proto_goTypes = []interface{}{ (*QueryParamsResponse)(nil), // 1: cerc.auction.v1.QueryParamsResponse (*QueryAuctionsRequest)(nil), // 2: cerc.auction.v1.QueryAuctionsRequest (*QueryAuctionsResponse)(nil), // 3: cerc.auction.v1.QueryAuctionsResponse - (*QueryAuctionRequest)(nil), // 4: cerc.auction.v1.QueryAuctionRequest - (*QueryAuctionResponse)(nil), // 5: cerc.auction.v1.QueryAuctionResponse - (*QueryBidRequest)(nil), // 6: cerc.auction.v1.QueryBidRequest - (*QueryBidResponse)(nil), // 7: cerc.auction.v1.QueryBidResponse - (*QueryBidsRequest)(nil), // 8: cerc.auction.v1.QueryBidsRequest - (*QueryBidsResponse)(nil), // 9: cerc.auction.v1.QueryBidsResponse + (*QueryGetAuctionRequest)(nil), // 4: cerc.auction.v1.QueryGetAuctionRequest + (*QueryGetAuctionResponse)(nil), // 5: cerc.auction.v1.QueryGetAuctionResponse + (*QueryGetBidRequest)(nil), // 6: cerc.auction.v1.QueryGetBidRequest + (*QueryGetBidResponse)(nil), // 7: cerc.auction.v1.QueryGetBidResponse + (*QueryGetBidsRequest)(nil), // 8: cerc.auction.v1.QueryGetBidsRequest + (*QueryGetBidsResponse)(nil), // 9: cerc.auction.v1.QueryGetBidsResponse (*QueryAuctionsByBidderRequest)(nil), // 10: cerc.auction.v1.QueryAuctionsByBidderRequest (*QueryAuctionsByBidderResponse)(nil), // 11: cerc.auction.v1.QueryAuctionsByBidderResponse (*QueryAuctionsByOwnerRequest)(nil), // 12: cerc.auction.v1.QueryAuctionsByOwnerRequest @@ -7827,25 +7834,25 @@ var file_cerc_auction_v1_query_proto_depIdxs = []int32{ 17, // 1: cerc.auction.v1.QueryAuctionsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest 18, // 2: cerc.auction.v1.QueryAuctionsResponse.auctions:type_name -> cerc.auction.v1.Auctions 17, // 3: cerc.auction.v1.QueryAuctionsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 19, // 4: cerc.auction.v1.QueryAuctionResponse.auction:type_name -> cerc.auction.v1.Auction - 20, // 5: cerc.auction.v1.QueryBidResponse.bid:type_name -> cerc.auction.v1.Bid - 20, // 6: cerc.auction.v1.QueryBidsResponse.bids:type_name -> cerc.auction.v1.Bid + 19, // 4: cerc.auction.v1.QueryGetAuctionResponse.auction:type_name -> cerc.auction.v1.Auction + 20, // 5: cerc.auction.v1.QueryGetBidResponse.bid:type_name -> cerc.auction.v1.Bid + 20, // 6: cerc.auction.v1.QueryGetBidsResponse.bids:type_name -> cerc.auction.v1.Bid 18, // 7: cerc.auction.v1.QueryAuctionsByBidderResponse.auctions:type_name -> cerc.auction.v1.Auctions 18, // 8: cerc.auction.v1.QueryAuctionsByOwnerResponse.auctions:type_name -> cerc.auction.v1.Auctions 21, // 9: cerc.auction.v1.QueryGetAuctionModuleBalanceResponse.balance:type_name -> cosmos.base.v1beta1.Coin 0, // 10: cerc.auction.v1.Query.Params:input_type -> cerc.auction.v1.QueryParamsRequest 2, // 11: cerc.auction.v1.Query.Auctions:input_type -> cerc.auction.v1.QueryAuctionsRequest - 4, // 12: cerc.auction.v1.Query.GetAuction:input_type -> cerc.auction.v1.QueryAuctionRequest - 6, // 13: cerc.auction.v1.Query.GetBid:input_type -> cerc.auction.v1.QueryBidRequest - 8, // 14: cerc.auction.v1.Query.GetBids:input_type -> cerc.auction.v1.QueryBidsRequest + 4, // 12: cerc.auction.v1.Query.GetAuction:input_type -> cerc.auction.v1.QueryGetAuctionRequest + 6, // 13: cerc.auction.v1.Query.GetBid:input_type -> cerc.auction.v1.QueryGetBidRequest + 8, // 14: cerc.auction.v1.Query.GetBids:input_type -> cerc.auction.v1.QueryGetBidsRequest 10, // 15: cerc.auction.v1.Query.AuctionsByBidder:input_type -> cerc.auction.v1.QueryAuctionsByBidderRequest 12, // 16: cerc.auction.v1.Query.AuctionsByOwner:input_type -> cerc.auction.v1.QueryAuctionsByOwnerRequest 14, // 17: cerc.auction.v1.Query.GetAuctionModuleBalance:input_type -> cerc.auction.v1.QueryGetAuctionModuleBalanceRequest 1, // 18: cerc.auction.v1.Query.Params:output_type -> cerc.auction.v1.QueryParamsResponse 3, // 19: cerc.auction.v1.Query.Auctions:output_type -> cerc.auction.v1.QueryAuctionsResponse - 5, // 20: cerc.auction.v1.Query.GetAuction:output_type -> cerc.auction.v1.QueryAuctionResponse - 7, // 21: cerc.auction.v1.Query.GetBid:output_type -> cerc.auction.v1.QueryBidResponse - 9, // 22: cerc.auction.v1.Query.GetBids:output_type -> cerc.auction.v1.QueryBidsResponse + 5, // 20: cerc.auction.v1.Query.GetAuction:output_type -> cerc.auction.v1.QueryGetAuctionResponse + 7, // 21: cerc.auction.v1.Query.GetBid:output_type -> cerc.auction.v1.QueryGetBidResponse + 9, // 22: cerc.auction.v1.Query.GetBids:output_type -> cerc.auction.v1.QueryGetBidsResponse 11, // 23: cerc.auction.v1.Query.AuctionsByBidder:output_type -> cerc.auction.v1.QueryAuctionsByBidderResponse 13, // 24: cerc.auction.v1.Query.AuctionsByOwner:output_type -> cerc.auction.v1.QueryAuctionsByOwnerResponse 15, // 25: cerc.auction.v1.Query.GetAuctionModuleBalance:output_type -> cerc.auction.v1.QueryGetAuctionModuleBalanceResponse @@ -7912,7 +7919,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAuctionRequest); i { + switch v := v.(*QueryGetAuctionRequest); i { case 0: return &v.state case 1: @@ -7924,7 +7931,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAuctionResponse); i { + switch v := v.(*QueryGetAuctionResponse); i { case 0: return &v.state case 1: @@ -7936,7 +7943,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryBidRequest); i { + switch v := v.(*QueryGetBidRequest); i { case 0: return &v.state case 1: @@ -7948,7 +7955,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryBidResponse); i { + switch v := v.(*QueryGetBidResponse); i { case 0: return &v.state case 1: @@ -7960,7 +7967,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryBidsRequest); i { + switch v := v.(*QueryGetBidsRequest); i { case 0: return &v.state case 1: @@ -7972,7 +7979,7 @@ func file_cerc_auction_v1_query_proto_init() { } } file_cerc_auction_v1_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryBidsResponse); i { + switch v := v.(*QueryGetBidsResponse); i { case 0: return &v.state case 1: diff --git a/api/cerc/auction/v1/query_grpc.pb.go b/api/cerc/auction/v1/query_grpc.pb.go index 4434fb897..5323a1a6f 100644 --- a/api/cerc/auction/v1/query_grpc.pb.go +++ b/api/cerc/auction/v1/query_grpc.pb.go @@ -38,11 +38,11 @@ type QueryClient interface { // Auctions queries all auctions Auctions(ctx context.Context, in *QueryAuctionsRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error) // GetAuction queries an auction - GetAuction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) + GetAuction(ctx context.Context, in *QueryGetAuctionRequest, opts ...grpc.CallOption) (*QueryGetAuctionResponse, error) // GetBid queries an auction bid - GetBid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) + GetBid(ctx context.Context, in *QueryGetBidRequest, opts ...grpc.CallOption) (*QueryGetBidResponse, error) // GetBids queries all auction bids - GetBids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error) + GetBids(ctx context.Context, in *QueryGetBidsRequest, opts ...grpc.CallOption) (*QueryGetBidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(ctx context.Context, in *QueryAuctionsByBidderRequest, opts ...grpc.CallOption) (*QueryAuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner @@ -77,8 +77,8 @@ func (c *queryClient) Auctions(ctx context.Context, in *QueryAuctionsRequest, op return out, nil } -func (c *queryClient) GetAuction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) { - out := new(QueryAuctionResponse) +func (c *queryClient) GetAuction(ctx context.Context, in *QueryGetAuctionRequest, opts ...grpc.CallOption) (*QueryGetAuctionResponse, error) { + out := new(QueryGetAuctionResponse) err := c.cc.Invoke(ctx, Query_GetAuction_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -86,8 +86,8 @@ func (c *queryClient) GetAuction(ctx context.Context, in *QueryAuctionRequest, o return out, nil } -func (c *queryClient) GetBid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) { - out := new(QueryBidResponse) +func (c *queryClient) GetBid(ctx context.Context, in *QueryGetBidRequest, opts ...grpc.CallOption) (*QueryGetBidResponse, error) { + out := new(QueryGetBidResponse) err := c.cc.Invoke(ctx, Query_GetBid_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -95,8 +95,8 @@ func (c *queryClient) GetBid(ctx context.Context, in *QueryBidRequest, opts ...g return out, nil } -func (c *queryClient) GetBids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error) { - out := new(QueryBidsResponse) +func (c *queryClient) GetBids(ctx context.Context, in *QueryGetBidsRequest, opts ...grpc.CallOption) (*QueryGetBidsResponse, error) { + out := new(QueryGetBidsResponse) err := c.cc.Invoke(ctx, Query_GetBids_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -140,11 +140,11 @@ type QueryServer interface { // Auctions queries all auctions Auctions(context.Context, *QueryAuctionsRequest) (*QueryAuctionsResponse, error) // GetAuction queries an auction - GetAuction(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) + GetAuction(context.Context, *QueryGetAuctionRequest) (*QueryGetAuctionResponse, error) // GetBid queries an auction bid - GetBid(context.Context, *QueryBidRequest) (*QueryBidResponse, error) + GetBid(context.Context, *QueryGetBidRequest) (*QueryGetBidResponse, error) // GetBids queries all auction bids - GetBids(context.Context, *QueryBidsRequest) (*QueryBidsResponse, error) + GetBids(context.Context, *QueryGetBidsRequest) (*QueryGetBidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(context.Context, *QueryAuctionsByBidderRequest) (*QueryAuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner @@ -164,13 +164,13 @@ func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*Q func (UnimplementedQueryServer) Auctions(context.Context, *QueryAuctionsRequest) (*QueryAuctionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Auctions not implemented") } -func (UnimplementedQueryServer) GetAuction(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) { +func (UnimplementedQueryServer) GetAuction(context.Context, *QueryGetAuctionRequest) (*QueryGetAuctionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAuction not implemented") } -func (UnimplementedQueryServer) GetBid(context.Context, *QueryBidRequest) (*QueryBidResponse, error) { +func (UnimplementedQueryServer) GetBid(context.Context, *QueryGetBidRequest) (*QueryGetBidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBid not implemented") } -func (UnimplementedQueryServer) GetBids(context.Context, *QueryBidsRequest) (*QueryBidsResponse, error) { +func (UnimplementedQueryServer) GetBids(context.Context, *QueryGetBidsRequest) (*QueryGetBidsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBids not implemented") } func (UnimplementedQueryServer) AuctionsByBidder(context.Context, *QueryAuctionsByBidderRequest) (*QueryAuctionsByBidderResponse, error) { @@ -232,7 +232,7 @@ func _Query_Auctions_Handler(srv interface{}, ctx context.Context, dec func(inte } func _Query_GetAuction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAuctionRequest) + in := new(QueryGetAuctionRequest) if err := dec(in); err != nil { return nil, err } @@ -244,13 +244,13 @@ func _Query_GetAuction_Handler(srv interface{}, ctx context.Context, dec func(in FullMethod: Query_GetAuction_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetAuction(ctx, req.(*QueryAuctionRequest)) + return srv.(QueryServer).GetAuction(ctx, req.(*QueryGetAuctionRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetBid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryBidRequest) + in := new(QueryGetBidRequest) if err := dec(in); err != nil { return nil, err } @@ -262,13 +262,13 @@ func _Query_GetBid_Handler(srv interface{}, ctx context.Context, dec func(interf FullMethod: Query_GetBid_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBid(ctx, req.(*QueryBidRequest)) + return srv.(QueryServer).GetBid(ctx, req.(*QueryGetBidRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetBids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryBidsRequest) + in := new(QueryGetBidsRequest) if err := dec(in); err != nil { return nil, err } @@ -280,7 +280,7 @@ func _Query_GetBids_Handler(srv interface{}, ctx context.Context, dec func(inter FullMethod: Query_GetBids_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBids(ctx, req.(*QueryBidsRequest)) + return srv.(QueryServer).GetBids(ctx, req.(*QueryGetBidsRequest)) } return interceptor(ctx, in, info, handler) } diff --git a/api/cerc/bond/v1/query.pulsar.go b/api/cerc/bond/v1/query.pulsar.go index 16311019f..5edcdde73 100644 --- a/api/cerc/bond/v1/query.pulsar.go +++ b/api/cerc/bond/v1/query.pulsar.go @@ -808,25 +808,25 @@ func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods } var ( - md_QueryGetBondsRequest protoreflect.MessageDescriptor - fd_QueryGetBondsRequest_pagination protoreflect.FieldDescriptor + md_QueryBondsRequest protoreflect.MessageDescriptor + fd_QueryBondsRequest_pagination protoreflect.FieldDescriptor ) func init() { file_cerc_bond_v1_query_proto_init() - md_QueryGetBondsRequest = File_cerc_bond_v1_query_proto.Messages().ByName("QueryGetBondsRequest") - fd_QueryGetBondsRequest_pagination = md_QueryGetBondsRequest.Fields().ByName("pagination") + md_QueryBondsRequest = File_cerc_bond_v1_query_proto.Messages().ByName("QueryBondsRequest") + fd_QueryBondsRequest_pagination = md_QueryBondsRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetBondsRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryBondsRequest)(nil) -type fastReflection_QueryGetBondsRequest QueryGetBondsRequest +type fastReflection_QueryBondsRequest QueryBondsRequest -func (x *QueryGetBondsRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetBondsRequest)(x) +func (x *QueryBondsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryBondsRequest)(x) } -func (x *QueryGetBondsRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryBondsRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_bond_v1_query_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -838,43 +838,43 @@ func (x *QueryGetBondsRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetBondsRequest_messageType fastReflection_QueryGetBondsRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetBondsRequest_messageType{} +var _fastReflection_QueryBondsRequest_messageType fastReflection_QueryBondsRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryBondsRequest_messageType{} -type fastReflection_QueryGetBondsRequest_messageType struct{} +type fastReflection_QueryBondsRequest_messageType struct{} -func (x fastReflection_QueryGetBondsRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetBondsRequest)(nil) +func (x fastReflection_QueryBondsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryBondsRequest)(nil) } -func (x fastReflection_QueryGetBondsRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetBondsRequest) +func (x fastReflection_QueryBondsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryBondsRequest) } -func (x fastReflection_QueryGetBondsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetBondsRequest +func (x fastReflection_QueryBondsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryBondsRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetBondsRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetBondsRequest +func (x *fastReflection_QueryBondsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryBondsRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryGetBondsRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetBondsRequest_messageType +func (x *fastReflection_QueryBondsRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryBondsRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetBondsRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetBondsRequest) +func (x *fastReflection_QueryBondsRequest) New() protoreflect.Message { + return new(fastReflection_QueryBondsRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetBondsRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetBondsRequest)(x) +func (x *fastReflection_QueryBondsRequest) Interface() protoreflect.ProtoMessage { + return (*QueryBondsRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -882,10 +882,10 @@ func (x *fastReflection_QueryGetBondsRequest) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetBondsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryBondsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryGetBondsRequest_pagination, value) { + if !f(fd_QueryBondsRequest_pagination, value) { return } } @@ -902,15 +902,15 @@ func (x *fastReflection_QueryGetBondsRequest) Range(f func(protoreflect.FieldDes // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryGetBondsRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryBondsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", fd.FullName())) } } @@ -920,15 +920,15 @@ func (x *fastReflection_QueryGetBondsRequest) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryBondsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", fd.FullName())) } } @@ -938,16 +938,16 @@ func (x *fastReflection_QueryGetBondsRequest) Clear(fd protoreflect.FieldDescrip // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryGetBondsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", descriptor.FullName())) } } @@ -961,15 +961,15 @@ func (x *fastReflection_QueryGetBondsRequest) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryBondsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", fd.FullName())) } } @@ -983,44 +983,44 @@ func (x *fastReflection_QueryGetBondsRequest) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryGetBondsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsRequest.pagination": + case "cerc.bond.v1.QueryBondsRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsRequest")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryGetBondsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryBondsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.bond.v1.QueryGetBondsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.bond.v1.QueryBondsRequest", d.FullName())) } panic("unreachable") } @@ -1028,7 +1028,7 @@ func (x *fastReflection_QueryGetBondsRequest) WhichOneof(d protoreflect.OneofDes // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryGetBondsRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryBondsRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1039,7 +1039,7 @@ func (x *fastReflection_QueryGetBondsRequest) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryBondsRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1051,7 +1051,7 @@ func (x *fastReflection_QueryGetBondsRequest) SetUnknown(fields protoreflect.Raw // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryGetBondsRequest) IsValid() bool { +func (x *fastReflection_QueryBondsRequest) IsValid() bool { return x != nil } @@ -1061,9 +1061,9 @@ func (x *fastReflection_QueryGetBondsRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetBondsRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryBondsRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetBondsRequest) + x := input.Message.Interface().(*QueryBondsRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1089,7 +1089,7 @@ func (x *fastReflection_QueryGetBondsRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetBondsRequest) + x := input.Message.Interface().(*QueryBondsRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1133,7 +1133,7 @@ func (x *fastReflection_QueryGetBondsRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetBondsRequest) + x := input.Message.Interface().(*QueryBondsRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1165,10 +1165,10 @@ func (x *fastReflection_QueryGetBondsRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBondsRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBondsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBondsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBondsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1242,79 +1242,79 @@ func (x *fastReflection_QueryGetBondsRequest) ProtoMethods() *protoiface.Methods } } -var _ protoreflect.List = (*_QueryGetBondsResponse_1_list)(nil) +var _ protoreflect.List = (*_QueryBondsResponse_1_list)(nil) -type _QueryGetBondsResponse_1_list struct { +type _QueryBondsResponse_1_list struct { list *[]*Bond } -func (x *_QueryGetBondsResponse_1_list) Len() int { +func (x *_QueryBondsResponse_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_QueryGetBondsResponse_1_list) Get(i int) protoreflect.Value { +func (x *_QueryBondsResponse_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_QueryGetBondsResponse_1_list) Set(i int, value protoreflect.Value) { +func (x *_QueryBondsResponse_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Bond) (*x.list)[i] = concreteValue } -func (x *_QueryGetBondsResponse_1_list) Append(value protoreflect.Value) { +func (x *_QueryBondsResponse_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Bond) *x.list = append(*x.list, concreteValue) } -func (x *_QueryGetBondsResponse_1_list) AppendMutable() protoreflect.Value { +func (x *_QueryBondsResponse_1_list) AppendMutable() protoreflect.Value { v := new(Bond) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryGetBondsResponse_1_list) Truncate(n int) { +func (x *_QueryBondsResponse_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_QueryGetBondsResponse_1_list) NewElement() protoreflect.Value { +func (x *_QueryBondsResponse_1_list) NewElement() protoreflect.Value { v := new(Bond) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryGetBondsResponse_1_list) IsValid() bool { +func (x *_QueryBondsResponse_1_list) IsValid() bool { return x.list != nil } var ( - md_QueryGetBondsResponse protoreflect.MessageDescriptor - fd_QueryGetBondsResponse_bonds protoreflect.FieldDescriptor - fd_QueryGetBondsResponse_pagination protoreflect.FieldDescriptor + md_QueryBondsResponse protoreflect.MessageDescriptor + fd_QueryBondsResponse_bonds protoreflect.FieldDescriptor + fd_QueryBondsResponse_pagination protoreflect.FieldDescriptor ) func init() { file_cerc_bond_v1_query_proto_init() - md_QueryGetBondsResponse = File_cerc_bond_v1_query_proto.Messages().ByName("QueryGetBondsResponse") - fd_QueryGetBondsResponse_bonds = md_QueryGetBondsResponse.Fields().ByName("bonds") - fd_QueryGetBondsResponse_pagination = md_QueryGetBondsResponse.Fields().ByName("pagination") + md_QueryBondsResponse = File_cerc_bond_v1_query_proto.Messages().ByName("QueryBondsResponse") + fd_QueryBondsResponse_bonds = md_QueryBondsResponse.Fields().ByName("bonds") + fd_QueryBondsResponse_pagination = md_QueryBondsResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetBondsResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryBondsResponse)(nil) -type fastReflection_QueryGetBondsResponse QueryGetBondsResponse +type fastReflection_QueryBondsResponse QueryBondsResponse -func (x *QueryGetBondsResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetBondsResponse)(x) +func (x *QueryBondsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryBondsResponse)(x) } -func (x *QueryGetBondsResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryBondsResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_bond_v1_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1326,43 +1326,43 @@ func (x *QueryGetBondsResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetBondsResponse_messageType fastReflection_QueryGetBondsResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetBondsResponse_messageType{} +var _fastReflection_QueryBondsResponse_messageType fastReflection_QueryBondsResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryBondsResponse_messageType{} -type fastReflection_QueryGetBondsResponse_messageType struct{} +type fastReflection_QueryBondsResponse_messageType struct{} -func (x fastReflection_QueryGetBondsResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetBondsResponse)(nil) +func (x fastReflection_QueryBondsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryBondsResponse)(nil) } -func (x fastReflection_QueryGetBondsResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetBondsResponse) +func (x fastReflection_QueryBondsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryBondsResponse) } -func (x fastReflection_QueryGetBondsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetBondsResponse +func (x fastReflection_QueryBondsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryBondsResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetBondsResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetBondsResponse +func (x *fastReflection_QueryBondsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryBondsResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryGetBondsResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetBondsResponse_messageType +func (x *fastReflection_QueryBondsResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryBondsResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetBondsResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetBondsResponse) +func (x *fastReflection_QueryBondsResponse) New() protoreflect.Message { + return new(fastReflection_QueryBondsResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetBondsResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetBondsResponse)(x) +func (x *fastReflection_QueryBondsResponse) Interface() protoreflect.ProtoMessage { + return (*QueryBondsResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -1370,16 +1370,16 @@ func (x *fastReflection_QueryGetBondsResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetBondsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryBondsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Bonds) != 0 { - value := protoreflect.ValueOfList(&_QueryGetBondsResponse_1_list{list: &x.Bonds}) - if !f(fd_QueryGetBondsResponse_bonds, value) { + value := protoreflect.ValueOfList(&_QueryBondsResponse_1_list{list: &x.Bonds}) + if !f(fd_QueryBondsResponse_bonds, value) { return } } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryGetBondsResponse_pagination, value) { + if !f(fd_QueryBondsResponse_pagination, value) { return } } @@ -1396,17 +1396,17 @@ func (x *fastReflection_QueryGetBondsResponse) Range(f func(protoreflect.FieldDe // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryGetBondsResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryBondsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": return len(x.Bonds) != 0 - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + case "cerc.bond.v1.QueryBondsResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", fd.FullName())) } } @@ -1416,17 +1416,17 @@ func (x *fastReflection_QueryGetBondsResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryBondsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": x.Bonds = nil - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + case "cerc.bond.v1.QueryBondsResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", fd.FullName())) } } @@ -1436,22 +1436,22 @@ func (x *fastReflection_QueryGetBondsResponse) Clear(fd protoreflect.FieldDescri // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryGetBondsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": if len(x.Bonds) == 0 { - return protoreflect.ValueOfList(&_QueryGetBondsResponse_1_list{}) + return protoreflect.ValueOfList(&_QueryBondsResponse_1_list{}) } - listValue := &_QueryGetBondsResponse_1_list{list: &x.Bonds} + listValue := &_QueryBondsResponse_1_list{list: &x.Bonds} return protoreflect.ValueOfList(listValue) - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + case "cerc.bond.v1.QueryBondsResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", descriptor.FullName())) } } @@ -1465,19 +1465,19 @@ func (x *fastReflection_QueryGetBondsResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryBondsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": lv := value.List() - clv := lv.(*_QueryGetBondsResponse_1_list) + clv := lv.(*_QueryBondsResponse_1_list) x.Bonds = *clv.list - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + case "cerc.bond.v1.QueryBondsResponse.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", fd.FullName())) } } @@ -1491,53 +1491,53 @@ func (x *fastReflection_QueryGetBondsResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": if x.Bonds == nil { x.Bonds = []*Bond{} } - value := &_QueryGetBondsResponse_1_list{list: &x.Bonds} + value := &_QueryBondsResponse_1_list{list: &x.Bonds} return protoreflect.ValueOfList(value) - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + case "cerc.bond.v1.QueryBondsResponse.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryGetBondsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryBondsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.bond.v1.QueryGetBondsResponse.bonds": + case "cerc.bond.v1.QueryBondsResponse.bonds": list := []*Bond{} - return protoreflect.ValueOfList(&_QueryGetBondsResponse_1_list{list: &list}) - case "cerc.bond.v1.QueryGetBondsResponse.pagination": + return protoreflect.ValueOfList(&_QueryBondsResponse_1_list{list: &list}) + case "cerc.bond.v1.QueryBondsResponse.pagination": m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryGetBondsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.bond.v1.QueryBondsResponse")) } - panic(fmt.Errorf("message cerc.bond.v1.QueryGetBondsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.bond.v1.QueryBondsResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryGetBondsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryBondsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.bond.v1.QueryGetBondsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.bond.v1.QueryBondsResponse", d.FullName())) } panic("unreachable") } @@ -1545,7 +1545,7 @@ func (x *fastReflection_QueryGetBondsResponse) WhichOneof(d protoreflect.OneofDe // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryGetBondsResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryBondsResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1556,7 +1556,7 @@ func (x *fastReflection_QueryGetBondsResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetBondsResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryBondsResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1568,7 +1568,7 @@ func (x *fastReflection_QueryGetBondsResponse) SetUnknown(fields protoreflect.Ra // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryGetBondsResponse) IsValid() bool { +func (x *fastReflection_QueryBondsResponse) IsValid() bool { return x != nil } @@ -1578,9 +1578,9 @@ func (x *fastReflection_QueryGetBondsResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetBondsResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryBondsResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetBondsResponse) + x := input.Message.Interface().(*QueryBondsResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1612,7 +1612,7 @@ func (x *fastReflection_QueryGetBondsResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetBondsResponse) + x := input.Message.Interface().(*QueryBondsResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1672,7 +1672,7 @@ func (x *fastReflection_QueryGetBondsResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetBondsResponse) + x := input.Message.Interface().(*QueryBondsResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1704,10 +1704,10 @@ func (x *fastReflection_QueryGetBondsResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBondsResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBondsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetBondsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryBondsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4668,8 +4668,8 @@ func (x *QueryParamsResponse) GetParams() *Params { return nil } -// QueryGetBondById queries a bonds. -type QueryGetBondsRequest struct { +// QueryBondsRequest queries bonds +type QueryBondsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -4678,8 +4678,8 @@ type QueryGetBondsRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (x *QueryGetBondsRequest) Reset() { - *x = QueryGetBondsRequest{} +func (x *QueryBondsRequest) Reset() { + *x = QueryBondsRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_bond_v1_query_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4687,26 +4687,26 @@ func (x *QueryGetBondsRequest) Reset() { } } -func (x *QueryGetBondsRequest) String() string { +func (x *QueryBondsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryGetBondsRequest) ProtoMessage() {} +func (*QueryBondsRequest) ProtoMessage() {} -// Deprecated: Use QueryGetBondsRequest.ProtoReflect.Descriptor instead. -func (*QueryGetBondsRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryBondsRequest.ProtoReflect.Descriptor instead. +func (*QueryBondsRequest) Descriptor() ([]byte, []int) { return file_cerc_bond_v1_query_proto_rawDescGZIP(), []int{2} } -func (x *QueryGetBondsRequest) GetPagination() *v1beta1.PageRequest { +func (x *QueryBondsRequest) GetPagination() *v1beta1.PageRequest { if x != nil { return x.Pagination } return nil } -// QueryGetBondsResponse is response type for get the bonds by bond-id -type QueryGetBondsResponse struct { +// QueryBondsResponse is response type for get the bonds by bond-id +type QueryBondsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -4716,8 +4716,8 @@ type QueryGetBondsResponse struct { Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (x *QueryGetBondsResponse) Reset() { - *x = QueryGetBondsResponse{} +func (x *QueryBondsResponse) Reset() { + *x = QueryBondsResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_bond_v1_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4725,32 +4725,32 @@ func (x *QueryGetBondsResponse) Reset() { } } -func (x *QueryGetBondsResponse) String() string { +func (x *QueryBondsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryGetBondsResponse) ProtoMessage() {} +func (*QueryBondsResponse) ProtoMessage() {} -// Deprecated: Use QueryGetBondsResponse.ProtoReflect.Descriptor instead. -func (*QueryGetBondsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryBondsResponse.ProtoReflect.Descriptor instead. +func (*QueryBondsResponse) Descriptor() ([]byte, []int) { return file_cerc_bond_v1_query_proto_rawDescGZIP(), []int{3} } -func (x *QueryGetBondsResponse) GetBonds() []*Bond { +func (x *QueryBondsResponse) GetBonds() []*Bond { if x != nil { return x.Bonds } return nil } -func (x *QueryGetBondsResponse) GetPagination() *v1beta1.PageResponse { +func (x *QueryBondsResponse) GetPagination() *v1beta1.PageResponse { if x != nil { return x.Pagination } return nil } -// QueryGetBondById +// QueryGetBondById queries bond by bond id type QueryGetBondByIdRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4822,7 +4822,8 @@ func (x *QueryGetBondByIdResponse) GetBond() *Bond { return nil } -// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC +// Method type QueryGetBondsByOwnerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4867,7 +4868,8 @@ func (x *QueryGetBondsByOwnerRequest) GetPagination() *v1beta1.PageResponse { return nil } -// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC +// Method type QueryGetBondsByOwnerResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4912,7 +4914,8 @@ func (x *QueryGetBondsByOwnerResponse) GetPagination() *v1beta1.PageResponse { return nil } -// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc method +// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc +// method type QueryGetBondModuleBalanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4939,7 +4942,8 @@ func (*QueryGetBondModuleBalanceRequest) Descriptor() ([]byte, []int) { return file_cerc_bond_v1_query_proto_rawDescGZIP(), []int{8} } -// QueryGetBondModuleBalanceResponse is the response type for bond module balance rpc method +// QueryGetBondModuleBalanceResponse is the response type for bond module +// balance rpc method type QueryGetBondModuleBalanceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -4997,119 +5001,118 @@ var file_cerc_bond_v1_query_proto_rawDesc = []byte{ 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x1f, 0xf2, 0xde, 0x1f, 0x1b, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x22, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x5e, 0x0a, - 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa9, 0x01, - 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, - 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x1d, 0xf2, 0xde, 0x1f, 0x19, - 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x52, 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, - 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, - 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x42, 0x0a, 0x17, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x17, 0xf2, 0xde, 0x1f, 0x13, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x20, - 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, - 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, - 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x6f, 0x6e, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, - 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x1b, 0xf2, 0xde, 0x1f, - 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x22, 0x52, 0x04, 0x62, 0x6f, 0x6e, 0x64, 0x22, 0x7c, - 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, - 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x01, 0x0a, - 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, - 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, - 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, - 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x6e, 0x64, - 0x42, 0x21, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x72, 0x61, 0x6d, 0x73, 0x22, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x5b, 0x0a, + 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x01, 0x0a, 0x12, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x47, 0x0a, 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x1d, 0xf2, 0xde, 0x1f, 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x52, 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, - 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa8, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, - 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4d, 0xc8, 0xde, 0x1f, 0x00, - 0xf2, 0xde, 0x1f, 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, - 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0xaa, 0xdf, 0x1f, - 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x32, 0x90, 0x05, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6b, 0x0a, 0x06, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, - 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, - 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x6d, 0x0a, 0x05, 0x42, 0x6f, 0x6e, - 0x64, 0x73, 0x12, 0x22, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, - 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, - 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, - 0x76, 0x31, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x7e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x42, - 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, - 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, - 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, - 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x6f, - 0x6e, 0x64, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x90, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, - 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x63, - 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x69, 0x6f, 0x6e, 0x22, 0x42, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, + 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x17, 0xf2, 0xde, 0x1f, 0x13, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, + 0x69, 0x64, 0x22, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x62, 0x6f, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x1b, 0xf2, 0xde, 0x1f, 0x17, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, + 0x64, 0x22, 0x52, 0x04, 0x62, 0x6f, 0x6e, 0x64, 0x22, 0x7c, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, - 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, - 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x65, - 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x79, 0x2d, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, - 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, - 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, - 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, - 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x42, 0xa6, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, - 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, - 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, - 0x6f, 0x6e, 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, - 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x6f, 0x6e, 0x64, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x43, 0x42, 0x58, 0xaa, 0x02, 0x0c, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x42, 0x6f, 0x6e, 0x64, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x42, 0x6f, 0x6e, 0x64, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x18, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x42, 0x6f, 0x6e, 0x64, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, - 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x42, 0x6f, 0x6e, 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x47, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x01, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x62, 0x6f, 0x6e, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, + 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x21, 0xc8, 0xde, 0x1f, 0x00, + 0xf2, 0xde, 0x1f, 0x19, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, + 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x52, 0x05, 0x62, + 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x22, 0x0a, + 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0xa8, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, + 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x82, 0x01, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x4d, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x19, 0x6a, 0x73, + 0x6f, 0x6e, 0x3a, 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x22, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x22, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, + 0x69, 0x6e, 0x73, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0x89, 0x05, 0x0a, + 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6b, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x20, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, + 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x67, 0x0a, 0x05, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x1f, 0x2e, 0x63, + 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, + 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x7e, 0x0a, 0x0b, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x42, 0x79, + 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, + 0x31, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x90, 0x01, 0x0a, + 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x12, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x73, 0x42, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, + 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x62, + 0x79, 0x2d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x7d, 0x12, + 0x96, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, + 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x42, 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, + 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x42, 0x6f, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x17, 0x12, 0x15, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x42, 0xa6, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, + 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, + 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, + 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, + 0x72, 0x63, 0x2f, 0x62, 0x6f, 0x6e, 0x64, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x6f, 0x6e, 0x64, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x58, 0xaa, 0x02, 0x0c, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x42, + 0x6f, 0x6e, 0x64, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x42, 0x6f, + 0x6e, 0x64, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x42, 0x6f, 0x6e, + 0x64, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0e, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x42, 0x6f, 0x6e, 0x64, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -5128,8 +5131,8 @@ var file_cerc_bond_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_cerc_bond_v1_query_proto_goTypes = []interface{}{ (*QueryParamsRequest)(nil), // 0: cerc.bond.v1.QueryParamsRequest (*QueryParamsResponse)(nil), // 1: cerc.bond.v1.QueryParamsResponse - (*QueryGetBondsRequest)(nil), // 2: cerc.bond.v1.QueryGetBondsRequest - (*QueryGetBondsResponse)(nil), // 3: cerc.bond.v1.QueryGetBondsResponse + (*QueryBondsRequest)(nil), // 2: cerc.bond.v1.QueryBondsRequest + (*QueryBondsResponse)(nil), // 3: cerc.bond.v1.QueryBondsResponse (*QueryGetBondByIdRequest)(nil), // 4: cerc.bond.v1.QueryGetBondByIdRequest (*QueryGetBondByIdResponse)(nil), // 5: cerc.bond.v1.QueryGetBondByIdResponse (*QueryGetBondsByOwnerRequest)(nil), // 6: cerc.bond.v1.QueryGetBondsByOwnerRequest @@ -5144,24 +5147,24 @@ var file_cerc_bond_v1_query_proto_goTypes = []interface{}{ } var file_cerc_bond_v1_query_proto_depIdxs = []int32{ 10, // 0: cerc.bond.v1.QueryParamsResponse.params:type_name -> cerc.bond.v1.Params - 11, // 1: cerc.bond.v1.QueryGetBondsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 12, // 2: cerc.bond.v1.QueryGetBondsResponse.bonds:type_name -> cerc.bond.v1.Bond - 13, // 3: cerc.bond.v1.QueryGetBondsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 11, // 1: cerc.bond.v1.QueryBondsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 12, // 2: cerc.bond.v1.QueryBondsResponse.bonds:type_name -> cerc.bond.v1.Bond + 13, // 3: cerc.bond.v1.QueryBondsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse 12, // 4: cerc.bond.v1.QueryGetBondByIdResponse.bond:type_name -> cerc.bond.v1.Bond 13, // 5: cerc.bond.v1.QueryGetBondsByOwnerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse 12, // 6: cerc.bond.v1.QueryGetBondsByOwnerResponse.bonds:type_name -> cerc.bond.v1.Bond 13, // 7: cerc.bond.v1.QueryGetBondsByOwnerResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse 14, // 8: cerc.bond.v1.QueryGetBondModuleBalanceResponse.balance:type_name -> cosmos.base.v1beta1.Coin 0, // 9: cerc.bond.v1.Query.Params:input_type -> cerc.bond.v1.QueryParamsRequest - 2, // 10: cerc.bond.v1.Query.Bonds:input_type -> cerc.bond.v1.QueryGetBondsRequest + 2, // 10: cerc.bond.v1.Query.Bonds:input_type -> cerc.bond.v1.QueryBondsRequest 4, // 11: cerc.bond.v1.Query.GetBondById:input_type -> cerc.bond.v1.QueryGetBondByIdRequest 6, // 12: cerc.bond.v1.Query.GetBondsByOwner:input_type -> cerc.bond.v1.QueryGetBondsByOwnerRequest - 8, // 13: cerc.bond.v1.Query.GetBondsModuleBalance:input_type -> cerc.bond.v1.QueryGetBondModuleBalanceRequest + 8, // 13: cerc.bond.v1.Query.GetBondModuleBalance:input_type -> cerc.bond.v1.QueryGetBondModuleBalanceRequest 1, // 14: cerc.bond.v1.Query.Params:output_type -> cerc.bond.v1.QueryParamsResponse - 3, // 15: cerc.bond.v1.Query.Bonds:output_type -> cerc.bond.v1.QueryGetBondsResponse + 3, // 15: cerc.bond.v1.Query.Bonds:output_type -> cerc.bond.v1.QueryBondsResponse 5, // 16: cerc.bond.v1.Query.GetBondById:output_type -> cerc.bond.v1.QueryGetBondByIdResponse 7, // 17: cerc.bond.v1.Query.GetBondsByOwner:output_type -> cerc.bond.v1.QueryGetBondsByOwnerResponse - 9, // 18: cerc.bond.v1.Query.GetBondsModuleBalance:output_type -> cerc.bond.v1.QueryGetBondModuleBalanceResponse + 9, // 18: cerc.bond.v1.Query.GetBondModuleBalance:output_type -> cerc.bond.v1.QueryGetBondModuleBalanceResponse 14, // [14:19] is the sub-list for method output_type 9, // [9:14] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name @@ -5201,7 +5204,7 @@ func file_cerc_bond_v1_query_proto_init() { } } file_cerc_bond_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetBondsRequest); i { + switch v := v.(*QueryBondsRequest); i { case 0: return &v.state case 1: @@ -5213,7 +5216,7 @@ func file_cerc_bond_v1_query_proto_init() { } } file_cerc_bond_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetBondsResponse); i { + switch v := v.(*QueryBondsResponse); i { case 0: return &v.state case 1: diff --git a/api/cerc/bond/v1/query_grpc.pb.go b/api/cerc/bond/v1/query_grpc.pb.go index bb8378ed9..c429666de 100644 --- a/api/cerc/bond/v1/query_grpc.pb.go +++ b/api/cerc/bond/v1/query_grpc.pb.go @@ -19,11 +19,11 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Query_Params_FullMethodName = "/cerc.bond.v1.Query/Params" - Query_Bonds_FullMethodName = "/cerc.bond.v1.Query/Bonds" - Query_GetBondById_FullMethodName = "/cerc.bond.v1.Query/GetBondById" - Query_GetBondsByOwner_FullMethodName = "/cerc.bond.v1.Query/GetBondsByOwner" - Query_GetBondsModuleBalance_FullMethodName = "/cerc.bond.v1.Query/GetBondsModuleBalance" + Query_Params_FullMethodName = "/cerc.bond.v1.Query/Params" + Query_Bonds_FullMethodName = "/cerc.bond.v1.Query/Bonds" + Query_GetBondById_FullMethodName = "/cerc.bond.v1.Query/GetBondById" + Query_GetBondsByOwner_FullMethodName = "/cerc.bond.v1.Query/GetBondsByOwner" + Query_GetBondModuleBalance_FullMethodName = "/cerc.bond.v1.Query/GetBondModuleBalance" ) // QueryClient is the client API for Query service. @@ -33,13 +33,13 @@ type QueryClient interface { // Params queries bonds module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Bonds queries bonds list - Bonds(ctx context.Context, in *QueryGetBondsRequest, opts ...grpc.CallOption) (*QueryGetBondsResponse, error) + Bonds(ctx context.Context, in *QueryBondsRequest, opts ...grpc.CallOption) (*QueryBondsResponse, error) // GetBondById GetBondById(ctx context.Context, in *QueryGetBondByIdRequest, opts ...grpc.CallOption) (*QueryGetBondByIdResponse, error) // Get Bonds list by Owner GetBondsByOwner(ctx context.Context, in *QueryGetBondsByOwnerRequest, opts ...grpc.CallOption) (*QueryGetBondsByOwnerResponse, error) // Get Bond module balance - GetBondsModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) + GetBondModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) } type queryClient struct { @@ -59,8 +59,8 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . return out, nil } -func (c *queryClient) Bonds(ctx context.Context, in *QueryGetBondsRequest, opts ...grpc.CallOption) (*QueryGetBondsResponse, error) { - out := new(QueryGetBondsResponse) +func (c *queryClient) Bonds(ctx context.Context, in *QueryBondsRequest, opts ...grpc.CallOption) (*QueryBondsResponse, error) { + out := new(QueryBondsResponse) err := c.cc.Invoke(ctx, Query_Bonds_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -86,9 +86,9 @@ func (c *queryClient) GetBondsByOwner(ctx context.Context, in *QueryGetBondsByOw return out, nil } -func (c *queryClient) GetBondsModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) { +func (c *queryClient) GetBondModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) { out := new(QueryGetBondModuleBalanceResponse) - err := c.cc.Invoke(ctx, Query_GetBondsModuleBalance_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, Query_GetBondModuleBalance_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -102,13 +102,13 @@ type QueryServer interface { // Params queries bonds module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Bonds queries bonds list - Bonds(context.Context, *QueryGetBondsRequest) (*QueryGetBondsResponse, error) + Bonds(context.Context, *QueryBondsRequest) (*QueryBondsResponse, error) // GetBondById GetBondById(context.Context, *QueryGetBondByIdRequest) (*QueryGetBondByIdResponse, error) // Get Bonds list by Owner GetBondsByOwner(context.Context, *QueryGetBondsByOwnerRequest) (*QueryGetBondsByOwnerResponse, error) // Get Bond module balance - GetBondsModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) + GetBondModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) mustEmbedUnimplementedQueryServer() } @@ -119,7 +119,7 @@ type UnimplementedQueryServer struct { func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } -func (UnimplementedQueryServer) Bonds(context.Context, *QueryGetBondsRequest) (*QueryGetBondsResponse, error) { +func (UnimplementedQueryServer) Bonds(context.Context, *QueryBondsRequest) (*QueryBondsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Bonds not implemented") } func (UnimplementedQueryServer) GetBondById(context.Context, *QueryGetBondByIdRequest) (*QueryGetBondByIdResponse, error) { @@ -128,8 +128,8 @@ func (UnimplementedQueryServer) GetBondById(context.Context, *QueryGetBondByIdRe func (UnimplementedQueryServer) GetBondsByOwner(context.Context, *QueryGetBondsByOwnerRequest) (*QueryGetBondsByOwnerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBondsByOwner not implemented") } -func (UnimplementedQueryServer) GetBondsModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBondsModuleBalance not implemented") +func (UnimplementedQueryServer) GetBondModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBondModuleBalance not implemented") } func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {} @@ -163,7 +163,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } func _Query_Bonds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetBondsRequest) + in := new(QueryBondsRequest) if err := dec(in); err != nil { return nil, err } @@ -175,7 +175,7 @@ func _Query_Bonds_Handler(srv interface{}, ctx context.Context, dec func(interfa FullMethod: Query_Bonds_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Bonds(ctx, req.(*QueryGetBondsRequest)) + return srv.(QueryServer).Bonds(ctx, req.(*QueryBondsRequest)) } return interceptor(ctx, in, info, handler) } @@ -216,20 +216,20 @@ func _Query_GetBondsByOwner_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -func _Query_GetBondsModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _Query_GetBondModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetBondModuleBalanceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GetBondsModuleBalance(ctx, in) + return srv.(QueryServer).GetBondModuleBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Query_GetBondsModuleBalance_FullMethodName, + FullMethod: Query_GetBondModuleBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBondsModuleBalance(ctx, req.(*QueryGetBondModuleBalanceRequest)) + return srv.(QueryServer).GetBondModuleBalance(ctx, req.(*QueryGetBondModuleBalanceRequest)) } return interceptor(ctx, in, info, handler) } @@ -258,8 +258,8 @@ var Query_ServiceDesc = grpc.ServiceDesc{ Handler: _Query_GetBondsByOwner_Handler, }, { - MethodName: "GetBondsModuleBalance", - Handler: _Query_GetBondsModuleBalance_Handler, + MethodName: "GetBondModuleBalance", + Handler: _Query_GetBondModuleBalance_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/api/cerc/registry/v1/query.pulsar.go b/api/cerc/registry/v1/query.pulsar.go index c9d0f56a6..810735683 100644 --- a/api/cerc/registry/v1/query.pulsar.go +++ b/api/cerc/registry/v1/query.pulsar.go @@ -4612,25 +4612,25 @@ func (x *fastReflection_QueryRecordsResponse) ProtoMethods() *protoiface.Methods } var ( - md_QueryRecordByIdRequest protoreflect.MessageDescriptor - fd_QueryRecordByIdRequest_id protoreflect.FieldDescriptor + md_QueryGetRecordRequest protoreflect.MessageDescriptor + fd_QueryGetRecordRequest_id protoreflect.FieldDescriptor ) func init() { file_cerc_registry_v1_query_proto_init() - md_QueryRecordByIdRequest = File_cerc_registry_v1_query_proto.Messages().ByName("QueryRecordByIdRequest") - fd_QueryRecordByIdRequest_id = md_QueryRecordByIdRequest.Fields().ByName("id") + md_QueryGetRecordRequest = File_cerc_registry_v1_query_proto.Messages().ByName("QueryGetRecordRequest") + fd_QueryGetRecordRequest_id = md_QueryGetRecordRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryRecordByIdRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetRecordRequest)(nil) -type fastReflection_QueryRecordByIdRequest QueryRecordByIdRequest +type fastReflection_QueryGetRecordRequest QueryGetRecordRequest -func (x *QueryRecordByIdRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryRecordByIdRequest)(x) +func (x *QueryGetRecordRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetRecordRequest)(x) } -func (x *QueryRecordByIdRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetRecordRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4642,43 +4642,43 @@ func (x *QueryRecordByIdRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryRecordByIdRequest_messageType fastReflection_QueryRecordByIdRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryRecordByIdRequest_messageType{} +var _fastReflection_QueryGetRecordRequest_messageType fastReflection_QueryGetRecordRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetRecordRequest_messageType{} -type fastReflection_QueryRecordByIdRequest_messageType struct{} +type fastReflection_QueryGetRecordRequest_messageType struct{} -func (x fastReflection_QueryRecordByIdRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryRecordByIdRequest)(nil) +func (x fastReflection_QueryGetRecordRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetRecordRequest)(nil) } -func (x fastReflection_QueryRecordByIdRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryRecordByIdRequest) +func (x fastReflection_QueryGetRecordRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordRequest) } -func (x fastReflection_QueryRecordByIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordByIdRequest +func (x fastReflection_QueryGetRecordRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryRecordByIdRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordByIdRequest +func (x *fastReflection_QueryGetRecordRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryRecordByIdRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryRecordByIdRequest_messageType +func (x *fastReflection_QueryGetRecordRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetRecordRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryRecordByIdRequest) New() protoreflect.Message { - return new(fastReflection_QueryRecordByIdRequest) +func (x *fastReflection_QueryGetRecordRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryRecordByIdRequest) Interface() protoreflect.ProtoMessage { - return (*QueryRecordByIdRequest)(x) +func (x *fastReflection_QueryGetRecordRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetRecordRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -4686,10 +4686,10 @@ func (x *fastReflection_QueryRecordByIdRequest) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryRecordByIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetRecordRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != "" { value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryRecordByIdRequest_id, value) { + if !f(fd_QueryGetRecordRequest_id, value) { return } } @@ -4706,15 +4706,15 @@ func (x *fastReflection_QueryRecordByIdRequest) Range(f func(protoreflect.FieldD // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryRecordByIdRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetRecordRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": + case "cerc.registry.v1.QueryGetRecordRequest.id": return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", fd.FullName())) } } @@ -4724,15 +4724,15 @@ func (x *fastReflection_QueryRecordByIdRequest) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetRecordRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": + case "cerc.registry.v1.QueryGetRecordRequest.id": x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", fd.FullName())) } } @@ -4742,16 +4742,16 @@ func (x *fastReflection_QueryRecordByIdRequest) Clear(fd protoreflect.FieldDescr // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryRecordByIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": + case "cerc.registry.v1.QueryGetRecordRequest.id": value := x.Id return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", descriptor.FullName())) } } @@ -4765,15 +4765,15 @@ func (x *fastReflection_QueryRecordByIdRequest) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetRecordRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": + case "cerc.registry.v1.QueryGetRecordRequest.id": x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", fd.FullName())) } } @@ -4787,40 +4787,40 @@ func (x *fastReflection_QueryRecordByIdRequest) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": - panic(fmt.Errorf("field id of message cerc.registry.v1.QueryRecordByIdRequest is not mutable")) + case "cerc.registry.v1.QueryGetRecordRequest.id": + panic(fmt.Errorf("field id of message cerc.registry.v1.QueryGetRecordRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryRecordByIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdRequest.id": + case "cerc.registry.v1.QueryGetRecordRequest.id": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryRecordByIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetRecordRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryRecordByIdRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryGetRecordRequest", d.FullName())) } panic("unreachable") } @@ -4828,7 +4828,7 @@ func (x *fastReflection_QueryRecordByIdRequest) WhichOneof(d protoreflect.OneofD // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryRecordByIdRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetRecordRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4839,7 +4839,7 @@ func (x *fastReflection_QueryRecordByIdRequest) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetRecordRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4851,7 +4851,7 @@ func (x *fastReflection_QueryRecordByIdRequest) SetUnknown(fields protoreflect.R // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryRecordByIdRequest) IsValid() bool { +func (x *fastReflection_QueryGetRecordRequest) IsValid() bool { return x != nil } @@ -4861,9 +4861,9 @@ func (x *fastReflection_QueryRecordByIdRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryRecordByIdRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetRecordRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryRecordByIdRequest) + x := input.Message.Interface().(*QueryGetRecordRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4889,7 +4889,7 @@ func (x *fastReflection_QueryRecordByIdRequest) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordByIdRequest) + x := input.Message.Interface().(*QueryGetRecordRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4926,7 +4926,7 @@ func (x *fastReflection_QueryRecordByIdRequest) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordByIdRequest) + x := input.Message.Interface().(*QueryGetRecordRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4958,10 +4958,10 @@ func (x *fastReflection_QueryRecordByIdRequest) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordByIdRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5032,25 +5032,25 @@ func (x *fastReflection_QueryRecordByIdRequest) ProtoMethods() *protoiface.Metho } var ( - md_QueryRecordByIdResponse protoreflect.MessageDescriptor - fd_QueryRecordByIdResponse_record protoreflect.FieldDescriptor + md_QueryGetRecordResponse protoreflect.MessageDescriptor + fd_QueryGetRecordResponse_record protoreflect.FieldDescriptor ) func init() { file_cerc_registry_v1_query_proto_init() - md_QueryRecordByIdResponse = File_cerc_registry_v1_query_proto.Messages().ByName("QueryRecordByIdResponse") - fd_QueryRecordByIdResponse_record = md_QueryRecordByIdResponse.Fields().ByName("record") + md_QueryGetRecordResponse = File_cerc_registry_v1_query_proto.Messages().ByName("QueryGetRecordResponse") + fd_QueryGetRecordResponse_record = md_QueryGetRecordResponse.Fields().ByName("record") } -var _ protoreflect.Message = (*fastReflection_QueryRecordByIdResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetRecordResponse)(nil) -type fastReflection_QueryRecordByIdResponse QueryRecordByIdResponse +type fastReflection_QueryGetRecordResponse QueryGetRecordResponse -func (x *QueryRecordByIdResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryRecordByIdResponse)(x) +func (x *QueryGetRecordResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetRecordResponse)(x) } -func (x *QueryRecordByIdResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetRecordResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_query_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5062,43 +5062,43 @@ func (x *QueryRecordByIdResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryRecordByIdResponse_messageType fastReflection_QueryRecordByIdResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryRecordByIdResponse_messageType{} +var _fastReflection_QueryGetRecordResponse_messageType fastReflection_QueryGetRecordResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetRecordResponse_messageType{} -type fastReflection_QueryRecordByIdResponse_messageType struct{} +type fastReflection_QueryGetRecordResponse_messageType struct{} -func (x fastReflection_QueryRecordByIdResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryRecordByIdResponse)(nil) +func (x fastReflection_QueryGetRecordResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetRecordResponse)(nil) } -func (x fastReflection_QueryRecordByIdResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryRecordByIdResponse) +func (x fastReflection_QueryGetRecordResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordResponse) } -func (x fastReflection_QueryRecordByIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordByIdResponse +func (x fastReflection_QueryGetRecordResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryRecordByIdResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordByIdResponse +func (x *fastReflection_QueryGetRecordResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryRecordByIdResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryRecordByIdResponse_messageType +func (x *fastReflection_QueryGetRecordResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetRecordResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryRecordByIdResponse) New() protoreflect.Message { - return new(fastReflection_QueryRecordByIdResponse) +func (x *fastReflection_QueryGetRecordResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryRecordByIdResponse) Interface() protoreflect.ProtoMessage { - return (*QueryRecordByIdResponse)(x) +func (x *fastReflection_QueryGetRecordResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetRecordResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -5106,10 +5106,10 @@ func (x *fastReflection_QueryRecordByIdResponse) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryRecordByIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetRecordResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Record != nil { value := protoreflect.ValueOfMessage(x.Record.ProtoReflect()) - if !f(fd_QueryRecordByIdResponse_record, value) { + if !f(fd_QueryGetRecordResponse_record, value) { return } } @@ -5126,15 +5126,15 @@ func (x *fastReflection_QueryRecordByIdResponse) Range(f func(protoreflect.Field // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryRecordByIdResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetRecordResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": return x.Record != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", fd.FullName())) } } @@ -5144,15 +5144,15 @@ func (x *fastReflection_QueryRecordByIdResponse) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetRecordResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": x.Record = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", fd.FullName())) } } @@ -5162,16 +5162,16 @@ func (x *fastReflection_QueryRecordByIdResponse) Clear(fd protoreflect.FieldDesc // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryRecordByIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": value := x.Record return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", descriptor.FullName())) } } @@ -5185,15 +5185,15 @@ func (x *fastReflection_QueryRecordByIdResponse) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetRecordResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": x.Record = value.Message().Interface().(*Record) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", fd.FullName())) } } @@ -5207,44 +5207,44 @@ func (x *fastReflection_QueryRecordByIdResponse) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": if x.Record == nil { x.Record = new(Record) } return protoreflect.ValueOfMessage(x.Record.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryRecordByIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordByIdResponse.record": + case "cerc.registry.v1.QueryGetRecordResponse.record": m := new(Record) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordByIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordByIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryRecordByIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetRecordResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryRecordByIdResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryGetRecordResponse", d.FullName())) } panic("unreachable") } @@ -5252,7 +5252,7 @@ func (x *fastReflection_QueryRecordByIdResponse) WhichOneof(d protoreflect.Oneof // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryRecordByIdResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetRecordResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5263,7 +5263,7 @@ func (x *fastReflection_QueryRecordByIdResponse) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordByIdResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetRecordResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5275,7 +5275,7 @@ func (x *fastReflection_QueryRecordByIdResponse) SetUnknown(fields protoreflect. // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryRecordByIdResponse) IsValid() bool { +func (x *fastReflection_QueryGetRecordResponse) IsValid() bool { return x != nil } @@ -5285,9 +5285,9 @@ func (x *fastReflection_QueryRecordByIdResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryRecordByIdResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetRecordResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryRecordByIdResponse) + x := input.Message.Interface().(*QueryGetRecordResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5313,7 +5313,7 @@ func (x *fastReflection_QueryRecordByIdResponse) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordByIdResponse) + x := input.Message.Interface().(*QueryGetRecordResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5357,7 +5357,7 @@ func (x *fastReflection_QueryRecordByIdResponse) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordByIdResponse) + x := input.Message.Interface().(*QueryGetRecordResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5389,10 +5389,10 @@ func (x *fastReflection_QueryRecordByIdResponse) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordByIdResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5467,27 +5467,27 @@ func (x *fastReflection_QueryRecordByIdResponse) ProtoMethods() *protoiface.Meth } var ( - md_QueryRecordsByBondIdRequest protoreflect.MessageDescriptor - fd_QueryRecordsByBondIdRequest_id protoreflect.FieldDescriptor - fd_QueryRecordsByBondIdRequest_pagination protoreflect.FieldDescriptor + md_QueryGetRecordsByBondIdRequest protoreflect.MessageDescriptor + fd_QueryGetRecordsByBondIdRequest_id protoreflect.FieldDescriptor + fd_QueryGetRecordsByBondIdRequest_pagination protoreflect.FieldDescriptor ) func init() { file_cerc_registry_v1_query_proto_init() - md_QueryRecordsByBondIdRequest = File_cerc_registry_v1_query_proto.Messages().ByName("QueryRecordsByBondIdRequest") - fd_QueryRecordsByBondIdRequest_id = md_QueryRecordsByBondIdRequest.Fields().ByName("id") - fd_QueryRecordsByBondIdRequest_pagination = md_QueryRecordsByBondIdRequest.Fields().ByName("pagination") + md_QueryGetRecordsByBondIdRequest = File_cerc_registry_v1_query_proto.Messages().ByName("QueryGetRecordsByBondIdRequest") + fd_QueryGetRecordsByBondIdRequest_id = md_QueryGetRecordsByBondIdRequest.Fields().ByName("id") + fd_QueryGetRecordsByBondIdRequest_pagination = md_QueryGetRecordsByBondIdRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryRecordsByBondIdRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetRecordsByBondIdRequest)(nil) -type fastReflection_QueryRecordsByBondIdRequest QueryRecordsByBondIdRequest +type fastReflection_QueryGetRecordsByBondIdRequest QueryGetRecordsByBondIdRequest -func (x *QueryRecordsByBondIdRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryRecordsByBondIdRequest)(x) +func (x *QueryGetRecordsByBondIdRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetRecordsByBondIdRequest)(x) } -func (x *QueryRecordsByBondIdRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetRecordsByBondIdRequest) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_query_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5499,43 +5499,43 @@ func (x *QueryRecordsByBondIdRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryRecordsByBondIdRequest_messageType fastReflection_QueryRecordsByBondIdRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryRecordsByBondIdRequest_messageType{} +var _fastReflection_QueryGetRecordsByBondIdRequest_messageType fastReflection_QueryGetRecordsByBondIdRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetRecordsByBondIdRequest_messageType{} -type fastReflection_QueryRecordsByBondIdRequest_messageType struct{} +type fastReflection_QueryGetRecordsByBondIdRequest_messageType struct{} -func (x fastReflection_QueryRecordsByBondIdRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryRecordsByBondIdRequest)(nil) +func (x fastReflection_QueryGetRecordsByBondIdRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetRecordsByBondIdRequest)(nil) } -func (x fastReflection_QueryRecordsByBondIdRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryRecordsByBondIdRequest) +func (x fastReflection_QueryGetRecordsByBondIdRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordsByBondIdRequest) } -func (x fastReflection_QueryRecordsByBondIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordsByBondIdRequest +func (x fastReflection_QueryGetRecordsByBondIdRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordsByBondIdRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryRecordsByBondIdRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordsByBondIdRequest +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordsByBondIdRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryRecordsByBondIdRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryRecordsByBondIdRequest_messageType +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetRecordsByBondIdRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryRecordsByBondIdRequest) New() protoreflect.Message { - return new(fastReflection_QueryRecordsByBondIdRequest) +func (x *fastReflection_QueryGetRecordsByBondIdRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordsByBondIdRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryRecordsByBondIdRequest) Interface() protoreflect.ProtoMessage { - return (*QueryRecordsByBondIdRequest)(x) +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetRecordsByBondIdRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -5543,16 +5543,16 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryRecordsByBondIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != "" { value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryRecordsByBondIdRequest_id, value) { + if !f(fd_QueryGetRecordsByBondIdRequest_id, value) { return } } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryRecordsByBondIdRequest_pagination, value) { + if !f(fd_QueryGetRecordsByBondIdRequest_pagination, value) { return } } @@ -5569,17 +5569,17 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Range(f func(protoreflect.F // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryRecordsByBondIdRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": return x.Id != "" - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", fd.FullName())) } } @@ -5589,17 +5589,17 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": x.Id = "" - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", fd.FullName())) } } @@ -5609,19 +5609,19 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Clear(fd protoreflect.Field // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryRecordsByBondIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": value := x.Id return protoreflect.ValueOfString(value) - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", descriptor.FullName())) } } @@ -5635,17 +5635,17 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": x.Id = value.Interface().(string) - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", fd.FullName())) } } @@ -5659,48 +5659,48 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": - panic(fmt.Errorf("field id of message cerc.registry.v1.QueryRecordsByBondIdRequest is not mutable")) + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": + panic(fmt.Errorf("field id of message cerc.registry.v1.QueryGetRecordsByBondIdRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryRecordsByBondIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdRequest.id": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.id": return protoreflect.ValueOfString("") - case "cerc.registry.v1.QueryRecordsByBondIdRequest.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdRequest")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryRecordsByBondIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryRecordsByBondIdRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryGetRecordsByBondIdRequest", d.FullName())) } panic("unreachable") } @@ -5708,7 +5708,7 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) WhichOneof(d protoreflect.O // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryRecordsByBondIdRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5719,7 +5719,7 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5731,7 +5731,7 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) SetUnknown(fields protorefl // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryRecordsByBondIdRequest) IsValid() bool { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) IsValid() bool { return x != nil } @@ -5741,9 +5741,9 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryRecordsByBondIdRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetRecordsByBondIdRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryRecordsByBondIdRequest) + x := input.Message.Interface().(*QueryGetRecordsByBondIdRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5773,7 +5773,7 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordsByBondIdRequest) + x := input.Message.Interface().(*QueryGetRecordsByBondIdRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5824,7 +5824,7 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordsByBondIdRequest) + x := input.Message.Interface().(*QueryGetRecordsByBondIdRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5856,10 +5856,10 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordsByBondIdRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5965,79 +5965,79 @@ func (x *fastReflection_QueryRecordsByBondIdRequest) ProtoMethods() *protoiface. } } -var _ protoreflect.List = (*_QueryRecordsByBondIdResponse_1_list)(nil) +var _ protoreflect.List = (*_QueryGetRecordsByBondIdResponse_1_list)(nil) -type _QueryRecordsByBondIdResponse_1_list struct { +type _QueryGetRecordsByBondIdResponse_1_list struct { list *[]*Record } -func (x *_QueryRecordsByBondIdResponse_1_list) Len() int { +func (x *_QueryGetRecordsByBondIdResponse_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_QueryRecordsByBondIdResponse_1_list) Get(i int) protoreflect.Value { +func (x *_QueryGetRecordsByBondIdResponse_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_QueryRecordsByBondIdResponse_1_list) Set(i int, value protoreflect.Value) { +func (x *_QueryGetRecordsByBondIdResponse_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Record) (*x.list)[i] = concreteValue } -func (x *_QueryRecordsByBondIdResponse_1_list) Append(value protoreflect.Value) { +func (x *_QueryGetRecordsByBondIdResponse_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Record) *x.list = append(*x.list, concreteValue) } -func (x *_QueryRecordsByBondIdResponse_1_list) AppendMutable() protoreflect.Value { +func (x *_QueryGetRecordsByBondIdResponse_1_list) AppendMutable() protoreflect.Value { v := new(Record) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryRecordsByBondIdResponse_1_list) Truncate(n int) { +func (x *_QueryGetRecordsByBondIdResponse_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_QueryRecordsByBondIdResponse_1_list) NewElement() protoreflect.Value { +func (x *_QueryGetRecordsByBondIdResponse_1_list) NewElement() protoreflect.Value { v := new(Record) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryRecordsByBondIdResponse_1_list) IsValid() bool { +func (x *_QueryGetRecordsByBondIdResponse_1_list) IsValid() bool { return x.list != nil } var ( - md_QueryRecordsByBondIdResponse protoreflect.MessageDescriptor - fd_QueryRecordsByBondIdResponse_records protoreflect.FieldDescriptor - fd_QueryRecordsByBondIdResponse_pagination protoreflect.FieldDescriptor + md_QueryGetRecordsByBondIdResponse protoreflect.MessageDescriptor + fd_QueryGetRecordsByBondIdResponse_records protoreflect.FieldDescriptor + fd_QueryGetRecordsByBondIdResponse_pagination protoreflect.FieldDescriptor ) func init() { file_cerc_registry_v1_query_proto_init() - md_QueryRecordsByBondIdResponse = File_cerc_registry_v1_query_proto.Messages().ByName("QueryRecordsByBondIdResponse") - fd_QueryRecordsByBondIdResponse_records = md_QueryRecordsByBondIdResponse.Fields().ByName("records") - fd_QueryRecordsByBondIdResponse_pagination = md_QueryRecordsByBondIdResponse.Fields().ByName("pagination") + md_QueryGetRecordsByBondIdResponse = File_cerc_registry_v1_query_proto.Messages().ByName("QueryGetRecordsByBondIdResponse") + fd_QueryGetRecordsByBondIdResponse_records = md_QueryGetRecordsByBondIdResponse.Fields().ByName("records") + fd_QueryGetRecordsByBondIdResponse_pagination = md_QueryGetRecordsByBondIdResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryRecordsByBondIdResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetRecordsByBondIdResponse)(nil) -type fastReflection_QueryRecordsByBondIdResponse QueryRecordsByBondIdResponse +type fastReflection_QueryGetRecordsByBondIdResponse QueryGetRecordsByBondIdResponse -func (x *QueryRecordsByBondIdResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryRecordsByBondIdResponse)(x) +func (x *QueryGetRecordsByBondIdResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetRecordsByBondIdResponse)(x) } -func (x *QueryRecordsByBondIdResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetRecordsByBondIdResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_query_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6049,43 +6049,43 @@ func (x *QueryRecordsByBondIdResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryRecordsByBondIdResponse_messageType fastReflection_QueryRecordsByBondIdResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryRecordsByBondIdResponse_messageType{} +var _fastReflection_QueryGetRecordsByBondIdResponse_messageType fastReflection_QueryGetRecordsByBondIdResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetRecordsByBondIdResponse_messageType{} -type fastReflection_QueryRecordsByBondIdResponse_messageType struct{} +type fastReflection_QueryGetRecordsByBondIdResponse_messageType struct{} -func (x fastReflection_QueryRecordsByBondIdResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryRecordsByBondIdResponse)(nil) +func (x fastReflection_QueryGetRecordsByBondIdResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetRecordsByBondIdResponse)(nil) } -func (x fastReflection_QueryRecordsByBondIdResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryRecordsByBondIdResponse) +func (x fastReflection_QueryGetRecordsByBondIdResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordsByBondIdResponse) } -func (x fastReflection_QueryRecordsByBondIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordsByBondIdResponse +func (x fastReflection_QueryGetRecordsByBondIdResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordsByBondIdResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryRecordsByBondIdResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryRecordsByBondIdResponse +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetRecordsByBondIdResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_QueryRecordsByBondIdResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryRecordsByBondIdResponse_messageType +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetRecordsByBondIdResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryRecordsByBondIdResponse) New() protoreflect.Message { - return new(fastReflection_QueryRecordsByBondIdResponse) +func (x *fastReflection_QueryGetRecordsByBondIdResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetRecordsByBondIdResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryRecordsByBondIdResponse) Interface() protoreflect.ProtoMessage { - return (*QueryRecordsByBondIdResponse)(x) +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetRecordsByBondIdResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -6093,16 +6093,16 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Interface() protoreflect.P // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryRecordsByBondIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if len(x.Records) != 0 { - value := protoreflect.ValueOfList(&_QueryRecordsByBondIdResponse_1_list{list: &x.Records}) - if !f(fd_QueryRecordsByBondIdResponse_records, value) { + value := protoreflect.ValueOfList(&_QueryGetRecordsByBondIdResponse_1_list{list: &x.Records}) + if !f(fd_QueryGetRecordsByBondIdResponse_records, value) { return } } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryRecordsByBondIdResponse_pagination, value) { + if !f(fd_QueryGetRecordsByBondIdResponse_pagination, value) { return } } @@ -6119,17 +6119,17 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Range(f func(protoreflect. // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryRecordsByBondIdResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": return len(x.Records) != 0 - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", fd.FullName())) } } @@ -6139,17 +6139,17 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Has(fd protoreflect.FieldD // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": x.Records = nil - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", fd.FullName())) } } @@ -6159,22 +6159,22 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Clear(fd protoreflect.Fiel // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryRecordsByBondIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": if len(x.Records) == 0 { - return protoreflect.ValueOfList(&_QueryRecordsByBondIdResponse_1_list{}) + return protoreflect.ValueOfList(&_QueryGetRecordsByBondIdResponse_1_list{}) } - listValue := &_QueryRecordsByBondIdResponse_1_list{list: &x.Records} + listValue := &_QueryGetRecordsByBondIdResponse_1_list{list: &x.Records} return protoreflect.ValueOfList(listValue) - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", descriptor.FullName())) } } @@ -6188,19 +6188,19 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Get(descriptor protoreflec // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": lv := value.List() - clv := lv.(*_QueryRecordsByBondIdResponse_1_list) + clv := lv.(*_QueryGetRecordsByBondIdResponse_1_list) x.Records = *clv.list - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", fd.FullName())) } } @@ -6214,53 +6214,53 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) Set(fd protoreflect.FieldD // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": if x.Records == nil { x.Records = []*Record{} } - value := &_QueryRecordsByBondIdResponse_1_list{list: &x.Records} + value := &_QueryGetRecordsByBondIdResponse_1_list{list: &x.Records} return protoreflect.ValueOfList(value) - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_QueryRecordsByBondIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.QueryRecordsByBondIdResponse.records": + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.records": list := []*Record{} - return protoreflect.ValueOfList(&_QueryRecordsByBondIdResponse_1_list{list: &list}) - case "cerc.registry.v1.QueryRecordsByBondIdResponse.pagination": + return protoreflect.ValueOfList(&_QueryGetRecordsByBondIdResponse_1_list{list: &list}) + case "cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination": m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryRecordsByBondIdResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.QueryGetRecordsByBondIdResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.QueryRecordsByBondIdResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.QueryGetRecordsByBondIdResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_QueryRecordsByBondIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryRecordsByBondIdResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.QueryGetRecordsByBondIdResponse", d.FullName())) } panic("unreachable") } @@ -6268,7 +6268,7 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) WhichOneof(d protoreflect. // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryRecordsByBondIdResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6279,7 +6279,7 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) GetUnknown() protoreflect. // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryRecordsByBondIdResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6291,7 +6291,7 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) SetUnknown(fields protoref // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryRecordsByBondIdResponse) IsValid() bool { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) IsValid() bool { return x != nil } @@ -6301,9 +6301,9 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryRecordsByBondIdResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetRecordsByBondIdResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryRecordsByBondIdResponse) + x := input.Message.Interface().(*QueryGetRecordsByBondIdResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6335,7 +6335,7 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) ProtoMethods() *protoiface } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordsByBondIdResponse) + x := input.Message.Interface().(*QueryGetRecordsByBondIdResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6395,7 +6395,7 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) ProtoMethods() *protoiface }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryRecordsByBondIdResponse) + x := input.Message.Interface().(*QueryGetRecordsByBondIdResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6427,10 +6427,10 @@ func (x *fastReflection_QueryRecordsByBondIdResponse) ProtoMethods() *protoiface fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordsByBondIdResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11693,8 +11693,8 @@ func (x *QueryRecordsResponse) GetPagination() *v1beta1.PageResponse { return nil } -// QueryRecordByIdRequest is request type for registry records by id -type QueryRecordByIdRequest struct { +// QueryGetRecordRequest is request type for registry records by id +type QueryGetRecordRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -11702,8 +11702,8 @@ type QueryRecordByIdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (x *QueryRecordByIdRequest) Reset() { - *x = QueryRecordByIdRequest{} +func (x *QueryGetRecordRequest) Reset() { + *x = QueryGetRecordRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11711,26 +11711,26 @@ func (x *QueryRecordByIdRequest) Reset() { } } -func (x *QueryRecordByIdRequest) String() string { +func (x *QueryGetRecordRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryRecordByIdRequest) ProtoMessage() {} +func (*QueryGetRecordRequest) ProtoMessage() {} -// Deprecated: Use QueryRecordByIdRequest.ProtoReflect.Descriptor instead. -func (*QueryRecordByIdRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetRecordRequest.ProtoReflect.Descriptor instead. +func (*QueryGetRecordRequest) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_query_proto_rawDescGZIP(), []int{4} } -func (x *QueryRecordByIdRequest) GetId() string { +func (x *QueryGetRecordRequest) GetId() string { if x != nil { return x.Id } return "" } -// QueryRecordByIdResponse is response type for registry records by id -type QueryRecordByIdResponse struct { +// QueryGetRecordResponse is response type for registry records by id +type QueryGetRecordResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -11738,8 +11738,8 @@ type QueryRecordByIdResponse struct { Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` } -func (x *QueryRecordByIdResponse) Reset() { - *x = QueryRecordByIdResponse{} +func (x *QueryGetRecordResponse) Reset() { + *x = QueryGetRecordResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_query_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11747,26 +11747,26 @@ func (x *QueryRecordByIdResponse) Reset() { } } -func (x *QueryRecordByIdResponse) String() string { +func (x *QueryGetRecordResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryRecordByIdResponse) ProtoMessage() {} +func (*QueryGetRecordResponse) ProtoMessage() {} -// Deprecated: Use QueryRecordByIdResponse.ProtoReflect.Descriptor instead. -func (*QueryRecordByIdResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetRecordResponse.ProtoReflect.Descriptor instead. +func (*QueryGetRecordResponse) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_query_proto_rawDescGZIP(), []int{5} } -func (x *QueryRecordByIdResponse) GetRecord() *Record { +func (x *QueryGetRecordResponse) GetRecord() *Record { if x != nil { return x.Record } return nil } -// QueryRecordsByBondIdRequest is request type for get the records by bond-id -type QueryRecordsByBondIdRequest struct { +// QueryGetRecordsByBondIdRequest is request type for get the records by bond-id +type QueryGetRecordsByBondIdRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -11776,8 +11776,8 @@ type QueryRecordsByBondIdRequest struct { Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (x *QueryRecordsByBondIdRequest) Reset() { - *x = QueryRecordsByBondIdRequest{} +func (x *QueryGetRecordsByBondIdRequest) Reset() { + *x = QueryGetRecordsByBondIdRequest{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_query_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11785,33 +11785,33 @@ func (x *QueryRecordsByBondIdRequest) Reset() { } } -func (x *QueryRecordsByBondIdRequest) String() string { +func (x *QueryGetRecordsByBondIdRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryRecordsByBondIdRequest) ProtoMessage() {} +func (*QueryGetRecordsByBondIdRequest) ProtoMessage() {} -// Deprecated: Use QueryRecordsByBondIdRequest.ProtoReflect.Descriptor instead. -func (*QueryRecordsByBondIdRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetRecordsByBondIdRequest.ProtoReflect.Descriptor instead. +func (*QueryGetRecordsByBondIdRequest) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_query_proto_rawDescGZIP(), []int{6} } -func (x *QueryRecordsByBondIdRequest) GetId() string { +func (x *QueryGetRecordsByBondIdRequest) GetId() string { if x != nil { return x.Id } return "" } -func (x *QueryRecordsByBondIdRequest) GetPagination() *v1beta1.PageRequest { +func (x *QueryGetRecordsByBondIdRequest) GetPagination() *v1beta1.PageRequest { if x != nil { return x.Pagination } return nil } -// QueryRecordsByBondIdResponse is response type for records list by bond-id -type QueryRecordsByBondIdResponse struct { +// QueryGetRecordsByBondIdResponse is response type for records list by bond-id +type QueryGetRecordsByBondIdResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -11821,8 +11821,8 @@ type QueryRecordsByBondIdResponse struct { Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (x *QueryRecordsByBondIdResponse) Reset() { - *x = QueryRecordsByBondIdResponse{} +func (x *QueryGetRecordsByBondIdResponse) Reset() { + *x = QueryGetRecordsByBondIdResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_query_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11830,25 +11830,25 @@ func (x *QueryRecordsByBondIdResponse) Reset() { } } -func (x *QueryRecordsByBondIdResponse) String() string { +func (x *QueryGetRecordsByBondIdResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*QueryRecordsByBondIdResponse) ProtoMessage() {} +func (*QueryGetRecordsByBondIdResponse) ProtoMessage() {} -// Deprecated: Use QueryRecordsByBondIdResponse.ProtoReflect.Descriptor instead. -func (*QueryRecordsByBondIdResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use QueryGetRecordsByBondIdResponse.ProtoReflect.Descriptor instead. +func (*QueryGetRecordsByBondIdResponse) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_query_proto_rawDescGZIP(), []int{7} } -func (x *QueryRecordsByBondIdResponse) GetRecords() []*Record { +func (x *QueryGetRecordsByBondIdResponse) GetRecords() []*Record { if x != nil { return x.Records } return nil } -func (x *QueryRecordsByBondIdResponse) GetPagination() *v1beta1.PageResponse { +func (x *QueryGetRecordsByBondIdResponse) GetPagination() *v1beta1.PageResponse { if x != nil { return x.Pagination } @@ -12153,7 +12153,8 @@ func (x *QueryResolveLrnResponse) GetRecord() *Record { return nil } -// QueryGetRegistryModuleBalanceRequest is request type for registry module accounts balance +// QueryGetRegistryModuleBalanceRequest is request type for registry module +// accounts balance type QueryGetRegistryModuleBalanceRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12180,7 +12181,8 @@ func (*QueryGetRegistryModuleBalanceRequest) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_query_proto_rawDescGZIP(), []int{16} } -// QueryGetRegistryModuleBalanceResponse is response type for registry module accounts balance +// QueryGetRegistryModuleBalanceResponse is response type for registry module +// accounts balance type QueryGetRegistryModuleBalanceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12260,6 +12262,7 @@ func (x *AccountBalance) GetBalance() []*v1beta11.Coin { return nil } +// Array type attribute type QueryRecordsRequest_ArrayInput struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12295,6 +12298,7 @@ func (x *QueryRecordsRequest_ArrayInput) GetValues() []*QueryRecordsRequest_Valu return nil } +// Map type attribute type QueryRecordsRequest_MapInput struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12330,12 +12334,13 @@ func (x *QueryRecordsRequest_MapInput) GetValues() map[string]*QueryRecordsReque return nil } +// Type for record attribute value type QueryRecordsRequest_ValueInput struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Type of record attribute value + // Value is one of the following types // // Types that are assignable to Value: // @@ -12471,6 +12476,7 @@ func (*QueryRecordsRequest_ValueInput_Array) isQueryRecordsRequest_ValueInput_Va func (*QueryRecordsRequest_ValueInput_Map) isQueryRecordsRequest_ValueInput_Value() {} +// Type for record attribute key type QueryRecordsRequest_KeyValueInput struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12601,191 +12607,191 @@ var file_cerc_registry_v1_query_proto_rawDesc = []byte{ 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x28, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x51, 0x0a, 0x17, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, - 0x75, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, - 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa1, 0x01, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, - 0x72, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, - 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x17, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x16, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, + 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x78, 0x0a, + 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, + 0x42, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa4, 0x01, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, 0x6f, 0x6e, + 0x64, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, + 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x72, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9c, 0x01, - 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x65, 0x72, 0x63, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, - 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x11, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, - 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x0e, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x33, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x2b, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x5f, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x29, 0x0a, 0x15, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6c, 0x72, 0x6e, 0x22, 0x4a, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, - 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, + 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, + 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x27, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x7b, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x33, 0xc8, 0xde, 0x1f, 0x00, 0xf2, + 0xde, 0x1f, 0x2b, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6e, + 0x61, 0x6d, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x52, 0x0d, + 0x6e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x29, 0x0a, + 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x72, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x72, 0x6e, 0x22, 0x4a, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1c, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x6c, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x72, 0x6e, + 0x22, 0x4b, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, + 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x26, 0x0a, + 0x24, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, 0x0a, 0x25, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, + 0x0a, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xe9, 0x01, 0x0a, + 0x0e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x4e, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xf2, 0xde, 0x1f, 0x27, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x79, + 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x86, 0x01, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x51, 0xc8, 0xde, + 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x22, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, + 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, + 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x32, 0xf4, 0x09, 0x0a, 0x05, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x2a, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, - 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x72, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x72, 0x6e, 0x22, 0x4b, 0x0a, 0x17, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x52, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x26, 0x0a, 0x24, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x65, 0x0a, 0x25, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, - 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xe9, 0x01, 0x0a, 0x0e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0c, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x2b, 0xf2, 0xde, 0x1f, 0x27, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, - 0x22, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0b, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x07, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x51, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, - 0x1f, 0x1d, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, - 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0xaa, - 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x07, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x32, 0xf0, 0x09, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x77, - 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x7b, 0x0a, 0x07, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, + 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, + 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, + 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x86, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x7d, 0x12, 0xac, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, + 0x42, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, - 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, + 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, 0x6f, 0x6e, + 0x64, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x65, 0x72, + 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, + 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, + 0x2d, 0x62, 0x79, 0x2d, 0x62, 0x6f, 0x6e, 0x64, 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x69, 0x64, 0x7d, + 0x12, 0x85, 0x01, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, + 0x12, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, + 0x17, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, + 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x7a, 0x0a, 0x05, 0x57, 0x68, 0x6f, 0x69, + 0x73, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, + 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x68, 0x6f, 0x69, 0x73, 0x2f, 0x7b, 0x6e, + 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, + 0x72, 0x6e, 0x12, 0x27, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, + 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x7b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x73, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, 0x72, 0x63, - 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x73, 0x12, 0x88, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, - 0x72, 0x64, 0x12, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, - 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x42, 0x79, 0x49, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, - 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, - 0xa6, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, - 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, + 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x12, 0x84, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x12, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x73, 0x42, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, - 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, - 0x2f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x62, 0x6f, 0x6e, 0x64, - 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x0b, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x12, 0x7a, 0x0a, 0x05, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, - 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x57, 0x68, 0x6f, 0x69, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, - 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, - 0x77, 0x68, 0x6f, 0x69, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x80, 0x01, 0x0a, - 0x09, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x12, 0x27, 0x2e, 0x63, 0x65, 0x72, - 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x6f, 0x6b, - 0x75, 0x70, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x12, - 0x84, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x12, 0x28, - 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, - 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, - 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0xae, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x65, + 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, + 0x4c, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0xae, + 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, - 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x42, 0xc2, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, - 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, - 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, - 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, - 0x52, 0x58, 0xaa, 0x02, 0x10, 0x43, 0x65, 0x72, 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x65, 0x72, 0x63, 0x5c, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x42, + 0xc2, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, + 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, + 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x52, 0x58, 0xaa, 0x02, 0x10, 0x43, 0x65, 0x72, + 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, + 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x1c, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -12806,10 +12812,10 @@ var file_cerc_registry_v1_query_proto_goTypes = []interface{}{ (*QueryParamsResponse)(nil), // 1: cerc.registry.v1.QueryParamsResponse (*QueryRecordsRequest)(nil), // 2: cerc.registry.v1.QueryRecordsRequest (*QueryRecordsResponse)(nil), // 3: cerc.registry.v1.QueryRecordsResponse - (*QueryRecordByIdRequest)(nil), // 4: cerc.registry.v1.QueryRecordByIdRequest - (*QueryRecordByIdResponse)(nil), // 5: cerc.registry.v1.QueryRecordByIdResponse - (*QueryRecordsByBondIdRequest)(nil), // 6: cerc.registry.v1.QueryRecordsByBondIdRequest - (*QueryRecordsByBondIdResponse)(nil), // 7: cerc.registry.v1.QueryRecordsByBondIdResponse + (*QueryGetRecordRequest)(nil), // 4: cerc.registry.v1.QueryGetRecordRequest + (*QueryGetRecordResponse)(nil), // 5: cerc.registry.v1.QueryGetRecordResponse + (*QueryGetRecordsByBondIdRequest)(nil), // 6: cerc.registry.v1.QueryGetRecordsByBondIdRequest + (*QueryGetRecordsByBondIdResponse)(nil), // 7: cerc.registry.v1.QueryGetRecordsByBondIdResponse (*QueryNameRecordsRequest)(nil), // 8: cerc.registry.v1.QueryNameRecordsRequest (*QueryNameRecordsResponse)(nil), // 9: cerc.registry.v1.QueryNameRecordsResponse (*QueryWhoisRequest)(nil), // 10: cerc.registry.v1.QueryWhoisRequest @@ -12841,10 +12847,10 @@ var file_cerc_registry_v1_query_proto_depIdxs = []int32{ 25, // 2: cerc.registry.v1.QueryRecordsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest 26, // 3: cerc.registry.v1.QueryRecordsResponse.records:type_name -> cerc.registry.v1.Record 27, // 4: cerc.registry.v1.QueryRecordsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 26, // 5: cerc.registry.v1.QueryRecordByIdResponse.record:type_name -> cerc.registry.v1.Record - 25, // 6: cerc.registry.v1.QueryRecordsByBondIdRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 26, // 7: cerc.registry.v1.QueryRecordsByBondIdResponse.records:type_name -> cerc.registry.v1.Record - 27, // 8: cerc.registry.v1.QueryRecordsByBondIdResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 26, // 5: cerc.registry.v1.QueryGetRecordResponse.record:type_name -> cerc.registry.v1.Record + 25, // 6: cerc.registry.v1.QueryGetRecordsByBondIdRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 26, // 7: cerc.registry.v1.QueryGetRecordsByBondIdResponse.records:type_name -> cerc.registry.v1.Record + 27, // 8: cerc.registry.v1.QueryGetRecordsByBondIdResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse 25, // 9: cerc.registry.v1.QueryNameRecordsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest 28, // 10: cerc.registry.v1.QueryNameRecordsResponse.names:type_name -> cerc.registry.v1.NameEntry 27, // 11: cerc.registry.v1.QueryNameRecordsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse @@ -12861,8 +12867,8 @@ var file_cerc_registry_v1_query_proto_depIdxs = []int32{ 21, // 22: cerc.registry.v1.QueryRecordsRequest.MapInput.ValuesEntry.value:type_name -> cerc.registry.v1.QueryRecordsRequest.ValueInput 0, // 23: cerc.registry.v1.Query.Params:input_type -> cerc.registry.v1.QueryParamsRequest 2, // 24: cerc.registry.v1.Query.Records:input_type -> cerc.registry.v1.QueryRecordsRequest - 4, // 25: cerc.registry.v1.Query.GetRecord:input_type -> cerc.registry.v1.QueryRecordByIdRequest - 6, // 26: cerc.registry.v1.Query.GetRecordsByBondId:input_type -> cerc.registry.v1.QueryRecordsByBondIdRequest + 4, // 25: cerc.registry.v1.Query.GetRecord:input_type -> cerc.registry.v1.QueryGetRecordRequest + 6, // 26: cerc.registry.v1.Query.GetRecordsByBondId:input_type -> cerc.registry.v1.QueryGetRecordsByBondIdRequest 8, // 27: cerc.registry.v1.Query.NameRecords:input_type -> cerc.registry.v1.QueryNameRecordsRequest 10, // 28: cerc.registry.v1.Query.Whois:input_type -> cerc.registry.v1.QueryWhoisRequest 12, // 29: cerc.registry.v1.Query.LookupLrn:input_type -> cerc.registry.v1.QueryLookupLrnRequest @@ -12870,8 +12876,8 @@ var file_cerc_registry_v1_query_proto_depIdxs = []int32{ 16, // 31: cerc.registry.v1.Query.GetRegistryModuleBalance:input_type -> cerc.registry.v1.QueryGetRegistryModuleBalanceRequest 1, // 32: cerc.registry.v1.Query.Params:output_type -> cerc.registry.v1.QueryParamsResponse 3, // 33: cerc.registry.v1.Query.Records:output_type -> cerc.registry.v1.QueryRecordsResponse - 5, // 34: cerc.registry.v1.Query.GetRecord:output_type -> cerc.registry.v1.QueryRecordByIdResponse - 7, // 35: cerc.registry.v1.Query.GetRecordsByBondId:output_type -> cerc.registry.v1.QueryRecordsByBondIdResponse + 5, // 34: cerc.registry.v1.Query.GetRecord:output_type -> cerc.registry.v1.QueryGetRecordResponse + 7, // 35: cerc.registry.v1.Query.GetRecordsByBondId:output_type -> cerc.registry.v1.QueryGetRecordsByBondIdResponse 9, // 36: cerc.registry.v1.Query.NameRecords:output_type -> cerc.registry.v1.QueryNameRecordsResponse 11, // 37: cerc.registry.v1.Query.Whois:output_type -> cerc.registry.v1.QueryWhoisResponse 13, // 38: cerc.registry.v1.Query.LookupLrn:output_type -> cerc.registry.v1.QueryLookupLrnResponse @@ -12940,7 +12946,7 @@ func file_cerc_registry_v1_query_proto_init() { } } file_cerc_registry_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRecordByIdRequest); i { + switch v := v.(*QueryGetRecordRequest); i { case 0: return &v.state case 1: @@ -12952,7 +12958,7 @@ func file_cerc_registry_v1_query_proto_init() { } } file_cerc_registry_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRecordByIdResponse); i { + switch v := v.(*QueryGetRecordResponse); i { case 0: return &v.state case 1: @@ -12964,7 +12970,7 @@ func file_cerc_registry_v1_query_proto_init() { } } file_cerc_registry_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRecordsByBondIdRequest); i { + switch v := v.(*QueryGetRecordsByBondIdRequest); i { case 0: return &v.state case 1: @@ -12976,7 +12982,7 @@ func file_cerc_registry_v1_query_proto_init() { } } file_cerc_registry_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryRecordsByBondIdResponse); i { + switch v := v.(*QueryGetRecordsByBondIdResponse); i { case 0: return &v.state case 1: diff --git a/api/cerc/registry/v1/query_grpc.pb.go b/api/cerc/registry/v1/query_grpc.pb.go index 0cb204226..66866f5ce 100644 --- a/api/cerc/registry/v1/query_grpc.pb.go +++ b/api/cerc/registry/v1/query_grpc.pb.go @@ -39,9 +39,9 @@ type QueryClient interface { // Records queries all records Records(ctx context.Context, in *QueryRecordsRequest, opts ...grpc.CallOption) (*QueryRecordsResponse, error) // Get record by id - GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error) + GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error) // Get records by bond id - GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error) + GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error) // NameRecords queries all name records NameRecords(ctx context.Context, in *QueryNameRecordsRequest, opts ...grpc.CallOption) (*QueryNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -80,8 +80,8 @@ func (c *queryClient) Records(ctx context.Context, in *QueryRecordsRequest, opts return out, nil } -func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error) { - out := new(QueryRecordByIdResponse) +func (c *queryClient) GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error) { + out := new(QueryGetRecordResponse) err := c.cc.Invoke(ctx, Query_GetRecord_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -89,8 +89,8 @@ func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest, return out, nil } -func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error) { - out := new(QueryRecordsByBondIdResponse) +func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error) { + out := new(QueryGetRecordsByBondIdResponse) err := c.cc.Invoke(ctx, Query_GetRecordsByBondId_FullMethodName, in, out, opts...) if err != nil { return nil, err @@ -152,9 +152,9 @@ type QueryServer interface { // Records queries all records Records(context.Context, *QueryRecordsRequest) (*QueryRecordsResponse, error) // Get record by id - GetRecord(context.Context, *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error) + GetRecord(context.Context, *QueryGetRecordRequest) (*QueryGetRecordResponse, error) // Get records by bond id - GetRecordsByBondId(context.Context, *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error) + GetRecordsByBondId(context.Context, *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error) // NameRecords queries all name records NameRecords(context.Context, *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -178,10 +178,10 @@ func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*Q func (UnimplementedQueryServer) Records(context.Context, *QueryRecordsRequest) (*QueryRecordsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Records not implemented") } -func (UnimplementedQueryServer) GetRecord(context.Context, *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error) { +func (UnimplementedQueryServer) GetRecord(context.Context, *QueryGetRecordRequest) (*QueryGetRecordResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecord not implemented") } -func (UnimplementedQueryServer) GetRecordsByBondId(context.Context, *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error) { +func (UnimplementedQueryServer) GetRecordsByBondId(context.Context, *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecordsByBondId not implemented") } func (UnimplementedQueryServer) NameRecords(context.Context, *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error) { @@ -249,7 +249,7 @@ func _Query_Records_Handler(srv interface{}, ctx context.Context, dec func(inter } func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryRecordByIdRequest) + in := new(QueryGetRecordRequest) if err := dec(in); err != nil { return nil, err } @@ -261,13 +261,13 @@ func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(int FullMethod: Query_GetRecord_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetRecord(ctx, req.(*QueryRecordByIdRequest)) + return srv.(QueryServer).GetRecord(ctx, req.(*QueryGetRecordRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryRecordsByBondIdRequest) + in := new(QueryGetRecordsByBondIdRequest) if err := dec(in); err != nil { return nil, err } @@ -279,7 +279,7 @@ func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec FullMethod: Query_GetRecordsByBondId_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryRecordsByBondIdRequest)) + return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryGetRecordsByBondIdRequest)) } return interceptor(ctx, in, info, handler) } diff --git a/api/cerc/registry/v1/tx.pulsar.go b/api/cerc/registry/v1/tx.pulsar.go index 0e2c38958..298a864fe 100644 --- a/api/cerc/registry/v1/tx.pulsar.go +++ b/api/cerc/registry/v1/tx.pulsar.go @@ -4284,27 +4284,27 @@ func (x *fastReflection_MsgSetAuthorityBondResponse) ProtoMethods() *protoiface. } var ( - md_MsgDeleteNameAuthority protoreflect.MessageDescriptor - fd_MsgDeleteNameAuthority_lrn protoreflect.FieldDescriptor - fd_MsgDeleteNameAuthority_signer protoreflect.FieldDescriptor + md_MsgDeleteName protoreflect.MessageDescriptor + fd_MsgDeleteName_lrn protoreflect.FieldDescriptor + fd_MsgDeleteName_signer protoreflect.FieldDescriptor ) func init() { file_cerc_registry_v1_tx_proto_init() - md_MsgDeleteNameAuthority = File_cerc_registry_v1_tx_proto.Messages().ByName("MsgDeleteNameAuthority") - fd_MsgDeleteNameAuthority_lrn = md_MsgDeleteNameAuthority.Fields().ByName("lrn") - fd_MsgDeleteNameAuthority_signer = md_MsgDeleteNameAuthority.Fields().ByName("signer") + md_MsgDeleteName = File_cerc_registry_v1_tx_proto.Messages().ByName("MsgDeleteName") + fd_MsgDeleteName_lrn = md_MsgDeleteName.Fields().ByName("lrn") + fd_MsgDeleteName_signer = md_MsgDeleteName.Fields().ByName("signer") } -var _ protoreflect.Message = (*fastReflection_MsgDeleteNameAuthority)(nil) +var _ protoreflect.Message = (*fastReflection_MsgDeleteName)(nil) -type fastReflection_MsgDeleteNameAuthority MsgDeleteNameAuthority +type fastReflection_MsgDeleteName MsgDeleteName -func (x *MsgDeleteNameAuthority) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgDeleteNameAuthority)(x) +func (x *MsgDeleteName) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgDeleteName)(x) } -func (x *MsgDeleteNameAuthority) slowProtoReflect() protoreflect.Message { +func (x *MsgDeleteName) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_tx_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4316,43 +4316,43 @@ func (x *MsgDeleteNameAuthority) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgDeleteNameAuthority_messageType fastReflection_MsgDeleteNameAuthority_messageType -var _ protoreflect.MessageType = fastReflection_MsgDeleteNameAuthority_messageType{} +var _fastReflection_MsgDeleteName_messageType fastReflection_MsgDeleteName_messageType +var _ protoreflect.MessageType = fastReflection_MsgDeleteName_messageType{} -type fastReflection_MsgDeleteNameAuthority_messageType struct{} +type fastReflection_MsgDeleteName_messageType struct{} -func (x fastReflection_MsgDeleteNameAuthority_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgDeleteNameAuthority)(nil) +func (x fastReflection_MsgDeleteName_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgDeleteName)(nil) } -func (x fastReflection_MsgDeleteNameAuthority_messageType) New() protoreflect.Message { - return new(fastReflection_MsgDeleteNameAuthority) +func (x fastReflection_MsgDeleteName_messageType) New() protoreflect.Message { + return new(fastReflection_MsgDeleteName) } -func (x fastReflection_MsgDeleteNameAuthority_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeleteNameAuthority +func (x fastReflection_MsgDeleteName_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeleteName } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgDeleteNameAuthority) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeleteNameAuthority +func (x *fastReflection_MsgDeleteName) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeleteName } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_MsgDeleteNameAuthority) Type() protoreflect.MessageType { - return _fastReflection_MsgDeleteNameAuthority_messageType +func (x *fastReflection_MsgDeleteName) Type() protoreflect.MessageType { + return _fastReflection_MsgDeleteName_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgDeleteNameAuthority) New() protoreflect.Message { - return new(fastReflection_MsgDeleteNameAuthority) +func (x *fastReflection_MsgDeleteName) New() protoreflect.Message { + return new(fastReflection_MsgDeleteName) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgDeleteNameAuthority) Interface() protoreflect.ProtoMessage { - return (*MsgDeleteNameAuthority)(x) +func (x *fastReflection_MsgDeleteName) Interface() protoreflect.ProtoMessage { + return (*MsgDeleteName)(x) } // Range iterates over every populated field in an undefined order, @@ -4360,16 +4360,16 @@ func (x *fastReflection_MsgDeleteNameAuthority) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgDeleteNameAuthority) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgDeleteName) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Lrn != "" { value := protoreflect.ValueOfString(x.Lrn) - if !f(fd_MsgDeleteNameAuthority_lrn, value) { + if !f(fd_MsgDeleteName_lrn, value) { return } } if x.Signer != "" { value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgDeleteNameAuthority_signer, value) { + if !f(fd_MsgDeleteName_signer, value) { return } } @@ -4386,17 +4386,17 @@ func (x *fastReflection_MsgDeleteNameAuthority) Range(f func(protoreflect.FieldD // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgDeleteNameAuthority) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgDeleteName) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": + case "cerc.registry.v1.MsgDeleteName.lrn": return x.Lrn != "" - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": + case "cerc.registry.v1.MsgDeleteName.signer": return x.Signer != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", fd.FullName())) } } @@ -4406,17 +4406,17 @@ func (x *fastReflection_MsgDeleteNameAuthority) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthority) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgDeleteName) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": + case "cerc.registry.v1.MsgDeleteName.lrn": x.Lrn = "" - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": + case "cerc.registry.v1.MsgDeleteName.signer": x.Signer = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", fd.FullName())) } } @@ -4426,19 +4426,19 @@ func (x *fastReflection_MsgDeleteNameAuthority) Clear(fd protoreflect.FieldDescr // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgDeleteNameAuthority) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteName) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": + case "cerc.registry.v1.MsgDeleteName.lrn": value := x.Lrn return protoreflect.ValueOfString(value) - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": + case "cerc.registry.v1.MsgDeleteName.signer": value := x.Signer return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", descriptor.FullName())) } } @@ -4452,17 +4452,17 @@ func (x *fastReflection_MsgDeleteNameAuthority) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthority) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgDeleteName) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": + case "cerc.registry.v1.MsgDeleteName.lrn": x.Lrn = value.Interface().(string) - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": + case "cerc.registry.v1.MsgDeleteName.signer": x.Signer = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", fd.FullName())) } } @@ -4476,44 +4476,44 @@ func (x *fastReflection_MsgDeleteNameAuthority) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthority) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteName) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": - panic(fmt.Errorf("field lrn of message cerc.registry.v1.MsgDeleteNameAuthority is not mutable")) - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": - panic(fmt.Errorf("field signer of message cerc.registry.v1.MsgDeleteNameAuthority is not mutable")) + case "cerc.registry.v1.MsgDeleteName.lrn": + panic(fmt.Errorf("field lrn of message cerc.registry.v1.MsgDeleteName is not mutable")) + case "cerc.registry.v1.MsgDeleteName.signer": + panic(fmt.Errorf("field signer of message cerc.registry.v1.MsgDeleteName is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_MsgDeleteNameAuthority) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteName) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cerc.registry.v1.MsgDeleteNameAuthority.lrn": + case "cerc.registry.v1.MsgDeleteName.lrn": return protoreflect.ValueOfString("") - case "cerc.registry.v1.MsgDeleteNameAuthority.signer": + case "cerc.registry.v1.MsgDeleteName.signer": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteName")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteName does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_MsgDeleteNameAuthority) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgDeleteName) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.MsgDeleteNameAuthority", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.MsgDeleteName", d.FullName())) } panic("unreachable") } @@ -4521,7 +4521,7 @@ func (x *fastReflection_MsgDeleteNameAuthority) WhichOneof(d protoreflect.OneofD // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgDeleteNameAuthority) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgDeleteName) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4532,7 +4532,7 @@ func (x *fastReflection_MsgDeleteNameAuthority) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthority) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgDeleteName) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4544,7 +4544,7 @@ func (x *fastReflection_MsgDeleteNameAuthority) SetUnknown(fields protoreflect.R // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgDeleteNameAuthority) IsValid() bool { +func (x *fastReflection_MsgDeleteName) IsValid() bool { return x != nil } @@ -4554,9 +4554,9 @@ func (x *fastReflection_MsgDeleteNameAuthority) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgDeleteNameAuthority) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgDeleteName) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgDeleteNameAuthority) + x := input.Message.Interface().(*MsgDeleteName) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4586,7 +4586,7 @@ func (x *fastReflection_MsgDeleteNameAuthority) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgDeleteNameAuthority) + x := input.Message.Interface().(*MsgDeleteName) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4630,7 +4630,7 @@ func (x *fastReflection_MsgDeleteNameAuthority) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgDeleteNameAuthority) + x := input.Message.Interface().(*MsgDeleteName) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4662,10 +4662,10 @@ func (x *fastReflection_MsgDeleteNameAuthority) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameAuthority: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteName: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameAuthority: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteName: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4768,23 +4768,23 @@ func (x *fastReflection_MsgDeleteNameAuthority) ProtoMethods() *protoiface.Metho } var ( - md_MsgDeleteNameAuthorityResponse protoreflect.MessageDescriptor + md_MsgDeleteNameResponse protoreflect.MessageDescriptor ) func init() { file_cerc_registry_v1_tx_proto_init() - md_MsgDeleteNameAuthorityResponse = File_cerc_registry_v1_tx_proto.Messages().ByName("MsgDeleteNameAuthorityResponse") + md_MsgDeleteNameResponse = File_cerc_registry_v1_tx_proto.Messages().ByName("MsgDeleteNameResponse") } -var _ protoreflect.Message = (*fastReflection_MsgDeleteNameAuthorityResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgDeleteNameResponse)(nil) -type fastReflection_MsgDeleteNameAuthorityResponse MsgDeleteNameAuthorityResponse +type fastReflection_MsgDeleteNameResponse MsgDeleteNameResponse -func (x *MsgDeleteNameAuthorityResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgDeleteNameAuthorityResponse)(x) +func (x *MsgDeleteNameResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgDeleteNameResponse)(x) } -func (x *MsgDeleteNameAuthorityResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgDeleteNameResponse) slowProtoReflect() protoreflect.Message { mi := &file_cerc_registry_v1_tx_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4796,43 +4796,43 @@ func (x *MsgDeleteNameAuthorityResponse) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgDeleteNameAuthorityResponse_messageType fastReflection_MsgDeleteNameAuthorityResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgDeleteNameAuthorityResponse_messageType{} +var _fastReflection_MsgDeleteNameResponse_messageType fastReflection_MsgDeleteNameResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgDeleteNameResponse_messageType{} -type fastReflection_MsgDeleteNameAuthorityResponse_messageType struct{} +type fastReflection_MsgDeleteNameResponse_messageType struct{} -func (x fastReflection_MsgDeleteNameAuthorityResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgDeleteNameAuthorityResponse)(nil) +func (x fastReflection_MsgDeleteNameResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgDeleteNameResponse)(nil) } -func (x fastReflection_MsgDeleteNameAuthorityResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgDeleteNameAuthorityResponse) +func (x fastReflection_MsgDeleteNameResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgDeleteNameResponse) } -func (x fastReflection_MsgDeleteNameAuthorityResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeleteNameAuthorityResponse +func (x fastReflection_MsgDeleteNameResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeleteNameResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeleteNameAuthorityResponse +func (x *fastReflection_MsgDeleteNameResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeleteNameResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgDeleteNameAuthorityResponse_messageType +func (x *fastReflection_MsgDeleteNameResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgDeleteNameResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) New() protoreflect.Message { - return new(fastReflection_MsgDeleteNameAuthorityResponse) +func (x *fastReflection_MsgDeleteNameResponse) New() protoreflect.Message { + return new(fastReflection_MsgDeleteNameResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Interface() protoreflect.ProtoMessage { - return (*MsgDeleteNameAuthorityResponse)(x) +func (x *fastReflection_MsgDeleteNameResponse) Interface() protoreflect.ProtoMessage { + return (*MsgDeleteNameResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -4840,7 +4840,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgDeleteNameResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -4854,13 +4854,13 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Range(f func(protoreflec // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgDeleteNameResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", fd.FullName())) } } @@ -4870,13 +4870,13 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgDeleteNameResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", fd.FullName())) } } @@ -4886,13 +4886,13 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Clear(fd protoreflect.Fi // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteNameResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", descriptor.FullName())) } } @@ -4906,13 +4906,13 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgDeleteNameResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", fd.FullName())) } } @@ -4926,36 +4926,36 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteNameResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeleteNameResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cerc.registry.v1.MsgDeleteNameResponse")) } - panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cerc.registry.v1.MsgDeleteNameResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgDeleteNameResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.MsgDeleteNameAuthorityResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cerc.registry.v1.MsgDeleteNameResponse", d.FullName())) } panic("unreachable") } @@ -4963,7 +4963,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) WhichOneof(d protoreflec // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgDeleteNameResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4974,7 +4974,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgDeleteNameResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4986,7 +4986,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) SetUnknown(fields protor // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) IsValid() bool { +func (x *fastReflection_MsgDeleteNameResponse) IsValid() bool { return x != nil } @@ -4996,9 +4996,9 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgDeleteNameAuthorityResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgDeleteNameResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgDeleteNameAuthorityResponse) + x := input.Message.Interface().(*MsgDeleteNameResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5020,7 +5020,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgDeleteNameAuthorityResponse) + x := input.Message.Interface().(*MsgDeleteNameResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5050,7 +5050,7 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgDeleteNameAuthorityResponse) + x := input.Message.Interface().(*MsgDeleteNameResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5082,10 +5082,10 @@ func (x *fastReflection_MsgDeleteNameAuthorityResponse) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeleteNameResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9675,7 +9675,7 @@ func (*MsgSetNameResponse) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_tx_proto_rawDescGZIP(), []int{4} } -// MsgReserveName +// MsgReserveAuthority type MsgReserveAuthority struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9728,7 +9728,7 @@ func (x *MsgReserveAuthority) GetOwner() string { return "" } -// MsgReserveNameResponse +// MsgReserveAuthorityResponse type MsgReserveAuthorityResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9834,8 +9834,8 @@ func (*MsgSetAuthorityBondResponse) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_tx_proto_rawDescGZIP(), []int{8} } -// MsgDeleteNameAuthority -type MsgDeleteNameAuthority struct { +// MsgDeleteName +type MsgDeleteName struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9844,8 +9844,8 @@ type MsgDeleteNameAuthority struct { Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` } -func (x *MsgDeleteNameAuthority) Reset() { - *x = MsgDeleteNameAuthority{} +func (x *MsgDeleteName) Reset() { + *x = MsgDeleteName{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_tx_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9853,40 +9853,40 @@ func (x *MsgDeleteNameAuthority) Reset() { } } -func (x *MsgDeleteNameAuthority) String() string { +func (x *MsgDeleteName) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgDeleteNameAuthority) ProtoMessage() {} +func (*MsgDeleteName) ProtoMessage() {} -// Deprecated: Use MsgDeleteNameAuthority.ProtoReflect.Descriptor instead. -func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgDeleteName.ProtoReflect.Descriptor instead. +func (*MsgDeleteName) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_tx_proto_rawDescGZIP(), []int{9} } -func (x *MsgDeleteNameAuthority) GetLrn() string { +func (x *MsgDeleteName) GetLrn() string { if x != nil { return x.Lrn } return "" } -func (x *MsgDeleteNameAuthority) GetSigner() string { +func (x *MsgDeleteName) GetSigner() string { if x != nil { return x.Signer } return "" } -// MsgDeleteNameAuthorityResponse -type MsgDeleteNameAuthorityResponse struct { +// MsgDeleteNameResponse +type MsgDeleteNameResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgDeleteNameAuthorityResponse) Reset() { - *x = MsgDeleteNameAuthorityResponse{} +func (x *MsgDeleteNameResponse) Reset() { + *x = MsgDeleteNameResponse{} if protoimpl.UnsafeEnabled { mi := &file_cerc_registry_v1_tx_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9894,14 +9894,14 @@ func (x *MsgDeleteNameAuthorityResponse) Reset() { } } -func (x *MsgDeleteNameAuthorityResponse) String() string { +func (x *MsgDeleteNameResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {} +func (*MsgDeleteNameResponse) ProtoMessage() {} -// Deprecated: Use MsgDeleteNameAuthorityResponse.ProtoReflect.Descriptor instead. -func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgDeleteNameResponse.ProtoReflect.Descriptor instead. +func (*MsgDeleteNameResponse) Descriptor() ([]byte, []int) { return file_cerc_registry_v1_tx_proto_rawDescGZIP(), []int{10} } @@ -10338,173 +10338,171 @@ var file_cerc_registry_v1_tx_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, - 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x0e, 0x4d, 0x73, 0x67, - 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, - 0xf2, 0xde, 0x1f, 0x21, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, - 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6e, 0x65, 0x77, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb7, - 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, - 0x6f, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xf2, 0xde, 0x1f, 0x21, 0x6a, 0x73, 0x6f, 0x6e, - 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x08, 0x72, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x62, 0x6f, 0x6e, 0x64, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x06, 0x62, 0x6f, 0x6e, - 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, - 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x41, - 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7c, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, - 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x63, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x72, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x17, + 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xf2, 0xde, 0x1f, 0x21, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, - 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, - 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x77, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x07, 0x62, 0x6f, 0x6e, 0x64, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, - 0x6f, 0x6e, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x06, 0x62, 0x6f, 0x6e, - 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, - 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x44, - 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, - 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xf2, 0xde, 0x1f, 0x25, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x22, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, - 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, - 0x64, 0x22, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x49, 0x0a, - 0x0b, 0x6f, 0x6c, 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x29, 0xf2, 0xde, 0x1f, 0x25, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, - 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, - 0x22, 0x6f, 0x6c, 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x09, 0x6f, - 0x6c, 0x64, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, - 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, - 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1f, 0x0a, - 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8f, - 0x0b, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x79, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x12, 0x1e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x1e, 0x22, 0x1c, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x12, 0x81, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, - 0x64, 0x12, 0x20, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x65, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb7, 0x01, 0x0a, + 0x10, 0x4d, 0x73, 0x67, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, + 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xf2, 0xde, 0x1f, 0x21, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, + 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x08, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, 0x6f, 0x6e, + 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x06, 0x62, 0x6f, 0x6e, 0x64, 0x49, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x41, 0x73, 0x73, + 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x7c, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xf2, 0xde, 0x1f, 0x21, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x22, + 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x5f, 0x69, 0x64, + 0x22, 0x52, 0x08, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, + 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x77, 0x0a, + 0x14, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x3a, 0x0a, 0x07, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xf2, 0xde, 0x1f, 0x1d, 0x6a, 0x73, 0x6f, 0x6e, + 0x3a, 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x22, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x06, 0x62, 0x6f, 0x6e, 0x64, 0x49, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, + 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, + 0x12, 0x49, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xf2, 0xde, 0x1f, 0x25, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, + 0x22, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, + 0x6d, 0x6c, 0x3a, 0x22, 0x6e, 0x65, 0x77, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, + 0x52, 0x09, 0x6e, 0x65, 0x77, 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x0b, 0x6f, + 0x6c, 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x29, 0xf2, 0xde, 0x1f, 0x25, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x22, 0x6f, 0x6c, 0x64, 0x5f, + 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x20, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6f, + 0x6c, 0x64, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x22, 0x52, 0x09, 0x6f, 0x6c, 0x64, + 0x42, 0x6f, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x0b, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, + 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x86, 0x0b, 0x0a, + 0x03, 0x4d, 0x73, 0x67, 0x12, 0x79, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x12, 0x1e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x1a, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1e, 0x22, 0x1c, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x81, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, + 0x20, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x1a, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x1a, 0x28, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x5f, 0x72, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, - 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x22, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x73, - 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x1a, 0x2a, 0x2e, 0x63, 0x65, - 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, - 0x20, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, - 0x76, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x6f, 0x6e, - 0x64, 0x12, 0x8d, 0x01, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, - 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, - 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x1a, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x63, + 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x5f, 0x72, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x12, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, + 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x22, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x1a, 0x2a, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x21, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x2f, 0x64, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x6f, 0x6e, - 0x64, 0x12, 0x99, 0x01, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, + 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x20, 0x2f, + 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, + 0x2f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x12, + 0x8d, 0x01, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, + 0x6e, 0x64, 0x12, 0x23, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x1a, 0x2b, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, - 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a, - 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x69, 0x73, 0x73, 0x6f, - 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x9d, 0x01, - 0x0a, 0x12, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, - 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x2f, 0x2e, + 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x21, 0x2f, 0x63, + 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, + 0x64, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x12, + 0x99, 0x01, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x26, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, + 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x2e, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x22, 0x25, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x73, 0x73, 0x6f, - 0x63, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x71, 0x0a, - 0x07, 0x53, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, + 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x69, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x9d, 0x01, 0x0a, 0x12, + 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x2f, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x52, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x27, 0x22, 0x25, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x71, 0x0a, 0x07, 0x53, + 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x1a, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x8b, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, - 0x31, 0x2f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x8f, - 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x2e, - 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x30, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1f, 0x22, 0x1d, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x96, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x1a, 0x2d, 0x2e, 0x63, + 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x24, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1c, 0x22, 0x1a, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x7d, + 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, - 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, - 0x42, 0xbf, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x2e, 0x76, 0x64, 0x62, 0x2e, 0x74, 0x6f, - 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x63, 0x6f, 0x6e, 0x69, 0x63, - 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x52, 0x58, 0xaa, 0x02, 0x10, 0x43, 0x65, 0x72, 0x63, 0x2e, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x65, - 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x1c, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, - 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x27, 0x2e, + 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1d, + 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, + 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x95, 0x01, + 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, + 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, + 0x22, 0x23, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x96, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x12, 0x25, 0x2e, 0x63, 0x65, 0x72, + 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x6e, + 0x64, 0x1a, 0x2d, 0x2e, 0x63, 0x65, 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x42, 0x6f, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2f, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x5f, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x62, 0x6f, 0x6e, 0x64, 0x1a, 0x05, + 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xbf, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x65, + 0x72, 0x63, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x07, + 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x2e, 0x76, + 0x64, 0x62, 0x2e, 0x74, 0x6f, 0x2f, 0x63, 0x65, 0x72, 0x63, 0x2d, 0x69, 0x6f, 0x2f, 0x6c, 0x61, + 0x63, 0x6f, 0x6e, 0x69, 0x63, 0x32, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x65, 0x72, 0x63, + 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x52, 0x58, 0xaa, 0x02, 0x10, + 0x43, 0x65, 0x72, 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, + 0xca, 0x02, 0x10, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x65, 0x72, 0x63, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x12, 0x43, 0x65, 0x72, 0x63, 0x3a, 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -10521,29 +10519,29 @@ func file_cerc_registry_v1_tx_proto_rawDescGZIP() []byte { var file_cerc_registry_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_cerc_registry_v1_tx_proto_goTypes = []interface{}{ - (*MsgSetRecord)(nil), // 0: cerc.registry.v1.MsgSetRecord - (*MsgSetRecordResponse)(nil), // 1: cerc.registry.v1.MsgSetRecordResponse - (*Payload)(nil), // 2: cerc.registry.v1.Payload - (*MsgSetName)(nil), // 3: cerc.registry.v1.MsgSetName - (*MsgSetNameResponse)(nil), // 4: cerc.registry.v1.MsgSetNameResponse - (*MsgReserveAuthority)(nil), // 5: cerc.registry.v1.MsgReserveAuthority - (*MsgReserveAuthorityResponse)(nil), // 6: cerc.registry.v1.MsgReserveAuthorityResponse - (*MsgSetAuthorityBond)(nil), // 7: cerc.registry.v1.MsgSetAuthorityBond - (*MsgSetAuthorityBondResponse)(nil), // 8: cerc.registry.v1.MsgSetAuthorityBondResponse - (*MsgDeleteNameAuthority)(nil), // 9: cerc.registry.v1.MsgDeleteNameAuthority - (*MsgDeleteNameAuthorityResponse)(nil), // 10: cerc.registry.v1.MsgDeleteNameAuthorityResponse - (*MsgRenewRecord)(nil), // 11: cerc.registry.v1.MsgRenewRecord - (*MsgRenewRecordResponse)(nil), // 12: cerc.registry.v1.MsgRenewRecordResponse - (*MsgAssociateBond)(nil), // 13: cerc.registry.v1.MsgAssociateBond - (*MsgAssociateBondResponse)(nil), // 14: cerc.registry.v1.MsgAssociateBondResponse - (*MsgDissociateBond)(nil), // 15: cerc.registry.v1.MsgDissociateBond - (*MsgDissociateBondResponse)(nil), // 16: cerc.registry.v1.MsgDissociateBondResponse - (*MsgDissociateRecords)(nil), // 17: cerc.registry.v1.MsgDissociateRecords - (*MsgDissociateRecordsResponse)(nil), // 18: cerc.registry.v1.MsgDissociateRecordsResponse - (*MsgReassociateRecords)(nil), // 19: cerc.registry.v1.MsgReassociateRecords - (*MsgReassociateRecordsResponse)(nil), // 20: cerc.registry.v1.MsgReassociateRecordsResponse - (*Record)(nil), // 21: cerc.registry.v1.Record - (*Signature)(nil), // 22: cerc.registry.v1.Signature + (*MsgSetRecord)(nil), // 0: cerc.registry.v1.MsgSetRecord + (*MsgSetRecordResponse)(nil), // 1: cerc.registry.v1.MsgSetRecordResponse + (*Payload)(nil), // 2: cerc.registry.v1.Payload + (*MsgSetName)(nil), // 3: cerc.registry.v1.MsgSetName + (*MsgSetNameResponse)(nil), // 4: cerc.registry.v1.MsgSetNameResponse + (*MsgReserveAuthority)(nil), // 5: cerc.registry.v1.MsgReserveAuthority + (*MsgReserveAuthorityResponse)(nil), // 6: cerc.registry.v1.MsgReserveAuthorityResponse + (*MsgSetAuthorityBond)(nil), // 7: cerc.registry.v1.MsgSetAuthorityBond + (*MsgSetAuthorityBondResponse)(nil), // 8: cerc.registry.v1.MsgSetAuthorityBondResponse + (*MsgDeleteName)(nil), // 9: cerc.registry.v1.MsgDeleteName + (*MsgDeleteNameResponse)(nil), // 10: cerc.registry.v1.MsgDeleteNameResponse + (*MsgRenewRecord)(nil), // 11: cerc.registry.v1.MsgRenewRecord + (*MsgRenewRecordResponse)(nil), // 12: cerc.registry.v1.MsgRenewRecordResponse + (*MsgAssociateBond)(nil), // 13: cerc.registry.v1.MsgAssociateBond + (*MsgAssociateBondResponse)(nil), // 14: cerc.registry.v1.MsgAssociateBondResponse + (*MsgDissociateBond)(nil), // 15: cerc.registry.v1.MsgDissociateBond + (*MsgDissociateBondResponse)(nil), // 16: cerc.registry.v1.MsgDissociateBondResponse + (*MsgDissociateRecords)(nil), // 17: cerc.registry.v1.MsgDissociateRecords + (*MsgDissociateRecordsResponse)(nil), // 18: cerc.registry.v1.MsgDissociateRecordsResponse + (*MsgReassociateRecords)(nil), // 19: cerc.registry.v1.MsgReassociateRecords + (*MsgReassociateRecordsResponse)(nil), // 20: cerc.registry.v1.MsgReassociateRecordsResponse + (*Record)(nil), // 21: cerc.registry.v1.Record + (*Signature)(nil), // 22: cerc.registry.v1.Signature } var file_cerc_registry_v1_tx_proto_depIdxs = []int32{ 2, // 0: cerc.registry.v1.MsgSetRecord.payload:type_name -> cerc.registry.v1.Payload @@ -10556,8 +10554,8 @@ var file_cerc_registry_v1_tx_proto_depIdxs = []int32{ 17, // 7: cerc.registry.v1.Msg.DissociateRecords:input_type -> cerc.registry.v1.MsgDissociateRecords 19, // 8: cerc.registry.v1.Msg.ReassociateRecords:input_type -> cerc.registry.v1.MsgReassociateRecords 3, // 9: cerc.registry.v1.Msg.SetName:input_type -> cerc.registry.v1.MsgSetName - 5, // 10: cerc.registry.v1.Msg.ReserveName:input_type -> cerc.registry.v1.MsgReserveAuthority - 9, // 11: cerc.registry.v1.Msg.DeleteName:input_type -> cerc.registry.v1.MsgDeleteNameAuthority + 9, // 10: cerc.registry.v1.Msg.DeleteName:input_type -> cerc.registry.v1.MsgDeleteName + 5, // 11: cerc.registry.v1.Msg.ReserveAuthority:input_type -> cerc.registry.v1.MsgReserveAuthority 7, // 12: cerc.registry.v1.Msg.SetAuthorityBond:input_type -> cerc.registry.v1.MsgSetAuthorityBond 1, // 13: cerc.registry.v1.Msg.SetRecord:output_type -> cerc.registry.v1.MsgSetRecordResponse 12, // 14: cerc.registry.v1.Msg.RenewRecord:output_type -> cerc.registry.v1.MsgRenewRecordResponse @@ -10566,8 +10564,8 @@ var file_cerc_registry_v1_tx_proto_depIdxs = []int32{ 18, // 17: cerc.registry.v1.Msg.DissociateRecords:output_type -> cerc.registry.v1.MsgDissociateRecordsResponse 20, // 18: cerc.registry.v1.Msg.ReassociateRecords:output_type -> cerc.registry.v1.MsgReassociateRecordsResponse 4, // 19: cerc.registry.v1.Msg.SetName:output_type -> cerc.registry.v1.MsgSetNameResponse - 6, // 20: cerc.registry.v1.Msg.ReserveName:output_type -> cerc.registry.v1.MsgReserveAuthorityResponse - 10, // 21: cerc.registry.v1.Msg.DeleteName:output_type -> cerc.registry.v1.MsgDeleteNameAuthorityResponse + 10, // 20: cerc.registry.v1.Msg.DeleteName:output_type -> cerc.registry.v1.MsgDeleteNameResponse + 6, // 21: cerc.registry.v1.Msg.ReserveAuthority:output_type -> cerc.registry.v1.MsgReserveAuthorityResponse 8, // 22: cerc.registry.v1.Msg.SetAuthorityBond:output_type -> cerc.registry.v1.MsgSetAuthorityBondResponse 13, // [13:23] is the sub-list for method output_type 3, // [3:13] is the sub-list for method input_type @@ -10692,7 +10690,7 @@ func file_cerc_registry_v1_tx_proto_init() { } } file_cerc_registry_v1_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeleteNameAuthority); i { + switch v := v.(*MsgDeleteName); i { case 0: return &v.state case 1: @@ -10704,7 +10702,7 @@ func file_cerc_registry_v1_tx_proto_init() { } } file_cerc_registry_v1_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeleteNameAuthorityResponse); i { + switch v := v.(*MsgDeleteNameResponse); i { case 0: return &v.state case 1: diff --git a/api/cerc/registry/v1/tx_grpc.pb.go b/api/cerc/registry/v1/tx_grpc.pb.go index fc3e7cd47..d517999e7 100644 --- a/api/cerc/registry/v1/tx_grpc.pb.go +++ b/api/cerc/registry/v1/tx_grpc.pb.go @@ -26,8 +26,8 @@ const ( Msg_DissociateRecords_FullMethodName = "/cerc.registry.v1.Msg/DissociateRecords" Msg_ReassociateRecords_FullMethodName = "/cerc.registry.v1.Msg/ReassociateRecords" Msg_SetName_FullMethodName = "/cerc.registry.v1.Msg/SetName" - Msg_ReserveName_FullMethodName = "/cerc.registry.v1.Msg/ReserveName" Msg_DeleteName_FullMethodName = "/cerc.registry.v1.Msg/DeleteName" + Msg_ReserveAuthority_FullMethodName = "/cerc.registry.v1.Msg/ReserveAuthority" Msg_SetAuthorityBond_FullMethodName = "/cerc.registry.v1.Msg/SetAuthorityBond" ) @@ -49,10 +49,10 @@ type MsgClient interface { ReassociateRecords(ctx context.Context, in *MsgReassociateRecords, opts ...grpc.CallOption) (*MsgReassociateRecordsResponse, error) // SetName will store the name with given lrn and name SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error) - // Reserve name - ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) // Delete Name method will remove authority name - DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) + DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error) + // Reserve authority name + ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) // SetAuthorityBond SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error) } @@ -128,18 +128,18 @@ func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.Ca return out, nil } -func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { - out := new(MsgReserveAuthorityResponse) - err := c.cc.Invoke(ctx, Msg_ReserveName_FullMethodName, in, out, opts...) +func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error) { + out := new(MsgDeleteNameResponse) + err := c.cc.Invoke(ctx, Msg_DeleteName_FullMethodName, in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) { - out := new(MsgDeleteNameAuthorityResponse) - err := c.cc.Invoke(ctx, Msg_DeleteName_FullMethodName, in, out, opts...) +func (c *msgClient) ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { + out := new(MsgReserveAuthorityResponse) + err := c.cc.Invoke(ctx, Msg_ReserveAuthority_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -173,10 +173,10 @@ type MsgServer interface { ReassociateRecords(context.Context, *MsgReassociateRecords) (*MsgReassociateRecordsResponse, error) // SetName will store the name with given lrn and name SetName(context.Context, *MsgSetName) (*MsgSetNameResponse, error) - // Reserve name - ReserveName(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) // Delete Name method will remove authority name - DeleteName(context.Context, *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error) + DeleteName(context.Context, *MsgDeleteName) (*MsgDeleteNameResponse, error) + // Reserve authority name + ReserveAuthority(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) // SetAuthorityBond SetAuthorityBond(context.Context, *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error) mustEmbedUnimplementedMsgServer() @@ -207,12 +207,12 @@ func (UnimplementedMsgServer) ReassociateRecords(context.Context, *MsgReassociat func (UnimplementedMsgServer) SetName(context.Context, *MsgSetName) (*MsgSetNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetName not implemented") } -func (UnimplementedMsgServer) ReserveName(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReserveName not implemented") -} -func (UnimplementedMsgServer) DeleteName(context.Context, *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error) { +func (UnimplementedMsgServer) DeleteName(context.Context, *MsgDeleteName) (*MsgDeleteNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteName not implemented") } +func (UnimplementedMsgServer) ReserveAuthority(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReserveAuthority not implemented") +} func (UnimplementedMsgServer) SetAuthorityBond(context.Context, *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAuthorityBond not implemented") } @@ -355,26 +355,8 @@ func _Msg_SetName_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } -func _Msg_ReserveName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgReserveAuthority) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).ReserveName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_ReserveName_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority)) - } - return interceptor(ctx, in, info, handler) -} - func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgDeleteNameAuthority) + in := new(MsgDeleteName) if err := dec(in); err != nil { return nil, err } @@ -386,7 +368,25 @@ func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(inte FullMethod: Msg_DeleteName_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority)) + return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteName)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ReserveAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgReserveAuthority) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ReserveAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ReserveAuthority_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ReserveAuthority(ctx, req.(*MsgReserveAuthority)) } return interceptor(ctx, in, info, handler) } @@ -444,14 +444,14 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "SetName", Handler: _Msg_SetName_Handler, }, - { - MethodName: "ReserveName", - Handler: _Msg_ReserveName_Handler, - }, { MethodName: "DeleteName", Handler: _Msg_DeleteName_Handler, }, + { + MethodName: "ReserveAuthority", + Handler: _Msg_ReserveAuthority_Handler, + }, { MethodName: "SetAuthorityBond", Handler: _Msg_SetAuthorityBond_Handler, diff --git a/gql/resolver.go b/gql/resolver.go index ca3008851..0c564b72e 100644 --- a/gql/resolver.go +++ b/gql/resolver.go @@ -51,11 +51,11 @@ func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([ } if nameAuthority.AuctionId != "" { - auctionResp, err := auctionQueryClient.GetAuction(context.Background(), &auctiontypes.QueryAuctionRequest{Id: nameAuthority.GetAuctionId()}) + auctionResp, err := auctionQueryClient.GetAuction(context.Background(), &auctiontypes.QueryGetAuctionRequest{Id: nameAuthority.GetAuctionId()}) if err != nil { return nil, err } - bidsResp, err := auctionQueryClient.GetBids(context.Background(), &auctiontypes.QueryBidsRequest{AuctionId: nameAuthority.GetAuctionId()}) + bidsResp, err := auctionQueryClient.GetBids(context.Background(), &auctiontypes.QueryGetBidsRequest{AuctionId: nameAuthority.GetAuctionId()}) if err != nil { return nil, err } @@ -150,7 +150,7 @@ func (q queryResolver) GetRecordsByIds(ctx context.Context, ids []string) ([]*Re gqlResponse := make([]*Record, len(ids)) for i, id := range ids { - res, err := nsQueryClient.GetRecord(context.Background(), ®istrytypes.QueryRecordByIdRequest{Id: id}) + res, err := nsQueryClient.GetRecord(context.Background(), ®istrytypes.QueryGetRecordRequest{Id: id}) if err != nil { // Return nil for record not found. gqlResponse[i] = nil @@ -275,7 +275,7 @@ func (q *queryResolver) GetBond(ctx context.Context, id string) (*Bond, error) { func (q queryResolver) QueryBonds(ctx context.Context, attributes []*KeyValueInput) ([]*Bond, error) { bondQueryClient := bondtypes.NewQueryClient(q.ctx) - bonds, err := bondQueryClient.Bonds(context.Background(), &bondtypes.QueryGetBondsRequest{}) + bonds, err := bondQueryClient.Bonds(context.Background(), &bondtypes.QueryBondsRequest{}) if err != nil { return nil, err } @@ -330,11 +330,11 @@ func (q queryResolver) GetAuctionsByIds(ctx context.Context, ids []string) ([]*A auctionQueryClient := auctiontypes.NewQueryClient(q.ctx) gqlAuctionResponse := make([]*Auction, len(ids)) for i, id := range ids { - auctionObj, err := auctionQueryClient.GetAuction(context.Background(), &auctiontypes.QueryAuctionRequest{Id: id}) + auctionObj, err := auctionQueryClient.GetAuction(context.Background(), &auctiontypes.QueryGetAuctionRequest{Id: id}) if err != nil { return nil, err } - bidsObj, err := auctionQueryClient.GetBids(context.Background(), &auctiontypes.QueryBidsRequest{AuctionId: id}) + bidsObj, err := auctionQueryClient.GetBids(context.Background(), &auctiontypes.QueryGetBidsRequest{AuctionId: id}) if err != nil { return nil, err } diff --git a/proto/cerc/auction/v1/auction.proto b/proto/cerc/auction/v1/auction.proto index 592411a63..8e8cc550b 100644 --- a/proto/cerc/auction/v1/auction.proto +++ b/proto/cerc/auction/v1/auction.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package cerc.auction.v1; - import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -17,16 +16,16 @@ message Params { // Duration of the commits phase in seconds google.protobuf.Duration commits_duration = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"commits_duration\" yaml:\"commits_duration\"" + (gogoproto.moretags) = "json:\"commits_duration\" yaml:\"commits_duration\"" ]; // Duration of the reveals phase in seconds google.protobuf.Duration reveals_duration = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"reveals_duration\" yaml:\"reveals_duration\"" + (gogoproto.moretags) = "json:\"reveals_duration\" yaml:\"reveals_duration\"" ]; // Commit fees @@ -52,7 +51,7 @@ message Params { message Auction { option (gogoproto.goproto_getters) = false; - string id = 1; + string id = 1; string status = 2; // Address of the creator of the auction @@ -60,21 +59,21 @@ message Auction { // Timestamp at which the auction was created google.protobuf.Timestamp create_time = 4 [ - (gogoproto.stdtime) = true, + (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"create_time\" yaml:\"create_time\"" ]; // Timestamp at which the commits phase concluded google.protobuf.Timestamp commits_end_time = 5 [ - (gogoproto.stdtime) = true, + (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"commits_end_time\" yaml:\"commits_end_time\"" ]; // Timestamp at which the reveals phase concluded google.protobuf.Timestamp reveals_end_time = 6 [ - (gogoproto.stdtime) = true, + (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"reveals_end_time\" yaml:\"reveals_end_time\"" ]; @@ -112,23 +111,24 @@ message Auction { ]; } +// Auctions represent all the auctions in the module message Auctions { option (gogoproto.goproto_getters) = false; - repeated Auction auctions = 1 [(gogoproto.nullable) = false]; + repeated Auction auctions = 1 [ (gogoproto.nullable) = false ]; } // Bid represents a sealed bid (commit) made during the auction message Bid { option (gogoproto.goproto_getters) = false; - string auction_id = 1; - string bidder_address = 2; - string status = 3; - string commit_hash = 4; + string auction_id = 1; + string bidder_address = 2; + string status = 3; + string commit_hash = 4; - google.protobuf.Timestamp commit_time = 5 [ - (gogoproto.stdtime) = true, + google.protobuf.Timestamp commit_time = 5 [ + (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"commit_time\" yaml:\"commit_time\"" ]; @@ -139,7 +139,7 @@ message Bid { ]; google.protobuf.Timestamp reveal_time = 7 [ - (gogoproto.stdtime) = true, + (gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"reveal_time\" yaml:\"reveal_time\"" ]; diff --git a/proto/cerc/auction/v1/genesis.proto b/proto/cerc/auction/v1/genesis.proto index 716d9a698..667a49aa1 100644 --- a/proto/cerc/auction/v1/genesis.proto +++ b/proto/cerc/auction/v1/genesis.proto @@ -9,6 +9,7 @@ option go_package = "git.vdb.to/cerc-io/laconic2d/x/auction"; // GenesisState defines the genesis state of the auction module message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; - Auctions auctions = 2 [(gogoproto.moretags) = "json:\"auctions\" yaml:\"auctions\""]; + Params params = 1 [ (gogoproto.nullable) = false ]; + Auctions auctions = 2 + [ (gogoproto.moretags) = "json:\"auctions\" yaml:\"auctions\"" ]; } diff --git a/proto/cerc/auction/v1/query.proto b/proto/cerc/auction/v1/query.proto index d4afe85b6..d513f49c9 100644 --- a/proto/cerc/auction/v1/query.proto +++ b/proto/cerc/auction/v1/query.proto @@ -23,43 +23,47 @@ service Query { } // GetAuction queries an auction - rpc GetAuction(QueryAuctionRequest) returns (QueryAuctionResponse) { + rpc GetAuction(QueryGetAuctionRequest) returns (QueryGetAuctionResponse) { option (google.api.http).get = "/cerc/auction/v1/auctions/{id}"; } // GetBid queries an auction bid - rpc GetBid(QueryBidRequest) returns (QueryBidResponse) { - option (google.api.http).get = "/cerc/auction/v1/bids/{auction_id}/{bidder}"; + rpc GetBid(QueryGetBidRequest) returns (QueryGetBidResponse) { + option (google.api.http).get = + "/cerc/auction/v1/bids/{auction_id}/{bidder}"; } // GetBids queries all auction bids - rpc GetBids(QueryBidsRequest) returns (QueryBidsResponse) { + rpc GetBids(QueryGetBidsRequest) returns (QueryGetBidsResponse) { option (google.api.http).get = "/cerc/auction/v1/bids/{auction_id}"; } // AuctionsByBidder queries auctions by bidder - rpc AuctionsByBidder(QueryAuctionsByBidderRequest) returns (QueryAuctionsByBidderResponse) { - option (google.api.http).get = "/cerc/auction/v1/by-bidder/{bidder_address}"; + rpc AuctionsByBidder(QueryAuctionsByBidderRequest) + returns (QueryAuctionsByBidderResponse) { + option (google.api.http).get = + "/cerc/auction/v1/by-bidder/{bidder_address}"; } // AuctionsByOwner queries auctions by owner - rpc AuctionsByOwner(QueryAuctionsByOwnerRequest) returns (QueryAuctionsByOwnerResponse) { + rpc AuctionsByOwner(QueryAuctionsByOwnerRequest) + returns (QueryAuctionsByOwnerResponse) { option (google.api.http).get = "/cerc/auction/v1/by-owner/{owner_address}"; } // GetAuctionModuleBalance queries the auction module account balance - rpc GetAuctionModuleBalance(QueryGetAuctionModuleBalanceRequest) returns (QueryGetAuctionModuleBalanceResponse) { + rpc GetAuctionModuleBalance(QueryGetAuctionModuleBalanceRequest) + returns (QueryGetAuctionModuleBalanceResponse) { option (google.api.http).get = "/cerc/auction/v1/balance"; } } -// QueryParamsRequest is the format to query the parameters of the auction module +// QueryParamsRequest is the format to query the parameters of the auction +// module message QueryParamsRequest {} // QueryParamsResponse returns parameters of the auction module -message QueryParamsResponse { - Params params = 1; -} +message QueryParamsResponse { Params params = 1; } // AuctionsRequest is the format for querying all the auctions message QueryAuctionsRequest { @@ -76,19 +80,19 @@ message QueryAuctionsResponse { } // AuctionRequest is the format for querying a specific auction -message QueryAuctionRequest { +message QueryGetAuctionRequest { // Auction id string id = 1; } // AuctionResponse returns the details of the queried auction -message QueryAuctionResponse { +message QueryGetAuctionResponse { // Auction details Auction auction = 1; } // BidRequest is the format for querying a specific bid in an auction -message QueryBidRequest { +message QueryGetBidRequest { // Auction id string auction_id = 1; // Bidder address @@ -96,24 +100,25 @@ message QueryBidRequest { } // BidResponse returns the details of the queried bid -message QueryBidResponse { +message QueryGetBidResponse { // Bid details Bid bid = 1; } // BidsRequest is the format for querying all bids in an auction -message QueryBidsRequest { +message QueryGetBidsRequest { // Auction id string auction_id = 1; } // BidsResponse returns details of all bids in an auction -message QueryBidsResponse { +message QueryGetBidsResponse { // List of bids in the auction repeated Bid bids = 1; } -// AuctionsByBidderRequest is the format for querying all auctions containing a bidder address +// AuctionsByBidderRequest is the format for querying all auctions containing a +// bidder address message QueryAuctionsByBidderRequest { // Address of the bidder string bidder_address = 1; @@ -125,7 +130,8 @@ message QueryAuctionsByBidderResponse { Auctions auctions = 1; } -// AuctionsByOwnerRequest is the format for querying all auctions created by an owner +// AuctionsByOwnerRequest is the format for querying all auctions created by an +// owner message QueryAuctionsByOwnerRequest { // Address of the owner string owner_address = 1; @@ -140,11 +146,13 @@ message QueryAuctionsByOwnerResponse { // BalanceRequest is the format to fetch all balances message QueryGetAuctionModuleBalanceRequest {} +// QueryGetAuctionModuleBalanceResponse is the response type for auction module +// balance rpc method message QueryGetAuctionModuleBalanceResponse { // Set of all balances within the auction repeated cosmos.base.v1beta1.Coin balance = 1 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" + (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" ]; } diff --git a/proto/cerc/auction/v1/tx.proto b/proto/cerc/auction/v1/tx.proto index ee6a7148b..f200026d3 100644 --- a/proto/cerc/auction/v1/tx.proto +++ b/proto/cerc/auction/v1/tx.proto @@ -38,16 +38,16 @@ message MsgCreateAuction { // Duration of the commits phase in seconds google.protobuf.Duration commits_duration = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"commits_duration\" yaml:\"commits_duration\"" + (gogoproto.moretags) = "json:\"commits_duration\" yaml:\"commits_duration\"" ]; // Duration of the reveals phase in seconds google.protobuf.Duration reveals_duration = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"reveals_duration\" yaml:\"reveals_duration\"" + (gogoproto.moretags) = "json:\"reveals_duration\" yaml:\"reveals_duration\"" ]; // Commit fees @@ -69,7 +69,8 @@ message MsgCreateAuction { ]; // Address of the signer - string signer = 6 [(gogoproto.moretags) = "json:\"signer\" yaml:\"signer\""]; + string signer = 6 + [ (gogoproto.moretags) = "json:\"signer\" yaml:\"signer\"" ]; } // MsgCreateAuctionResponse returns the details of the created auction @@ -77,7 +78,8 @@ message MsgCreateAuctionResponse { option (gogoproto.goproto_getters) = false; // Auction details - Auction auction = 1 [(gogoproto.moretags) = "json:\"auction\" yaml:\"auction\""]; + Auction auction = 1 + [ (gogoproto.moretags) = "json:\"auction\" yaml:\"auction\"" ]; } // CommitBid defines the message to commit a bid @@ -86,13 +88,16 @@ message MsgCommitBid { option (cosmos.msg.v1.signer) = "signer"; // Auction id - string auction_id = 1 [(gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\""]; + string auction_id = 1 + [ (gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\"" ]; // Commit Hash - string commit_hash = 2 [(gogoproto.moretags) = "json:\"commit_hash\" yaml:\"commit_hash\""]; + string commit_hash = 2 + [ (gogoproto.moretags) = "json:\"commit_hash\" yaml:\"commit_hash\"" ]; // Address of the signer - string signer = 3 [(gogoproto.moretags) = "json:\"signer\" yaml:\"signer\""]; + string signer = 3 + [ (gogoproto.moretags) = "json:\"signer\" yaml:\"signer\"" ]; } // MsgCommitBidResponse returns the state of the auction after the bid creation @@ -100,30 +105,32 @@ message MsgCommitBidResponse { option (gogoproto.goproto_getters) = false; // Auction details - Bid bid = 1 [(gogoproto.moretags) = "json:\"bid\" yaml:\"bid\""]; + Bid bid = 1 [ (gogoproto.moretags) = "json:\"bid\" yaml:\"bid\"" ]; } - // RevealBid defines the message to reveal a bid message MsgRevealBid { option (gogoproto.goproto_getters) = false; option (cosmos.msg.v1.signer) = "signer"; // Auction id - string auction_id = 1 [(gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\""]; + string auction_id = 1 + [ (gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\"" ]; // Commit Hash - string reveal = 2 [(gogoproto.moretags) = "json:\"reveal\" yaml:\"reveal\""]; + string reveal = 2 + [ (gogoproto.moretags) = "json:\"reveal\" yaml:\"reveal\"" ]; // Address of the signer - string signer = 3 [(gogoproto.moretags) = "json:\"signer\" yaml:\"signer\""]; + string signer = 3 + [ (gogoproto.moretags) = "json:\"signer\" yaml:\"signer\"" ]; } - // MsgRevealBidResponse returns the state of the auction after the bid reveal message MsgRevealBidResponse { option (gogoproto.goproto_getters) = false; // Auction details - Auction auction = 1 [(gogoproto.moretags) = "json:\"auction\" yaml:\"auction\""]; + Auction auction = 1 + [ (gogoproto.moretags) = "json:\"auction\" yaml:\"auction\"" ]; } diff --git a/proto/cerc/bond/v1/bond.proto b/proto/cerc/bond/v1/bond.proto index 6b6cc2172..c8351aebd 100644 --- a/proto/cerc/bond/v1/bond.proto +++ b/proto/cerc/bond/v1/bond.proto @@ -26,8 +26,8 @@ message Bond { // balance of the bond repeated cosmos.base.v1beta1.Coin balance = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"balance\" yaml:\"balance\"" + (gogoproto.moretags) = "json:\"balance\" yaml:\"balance\"" ]; } diff --git a/proto/cerc/bond/v1/genesis.proto b/proto/cerc/bond/v1/genesis.proto index b6f922fbb..a40e52bc6 100644 --- a/proto/cerc/bond/v1/genesis.proto +++ b/proto/cerc/bond/v1/genesis.proto @@ -10,8 +10,9 @@ option go_package = "git.vdb.to/cerc-io/laconic2d/x/bond"; // GenesisState defines the bond module's genesis state. message GenesisState { // params defines all the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // bonds defines all the bonds - repeated Bond bonds = 2 [(gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\""]; + repeated Bond bonds = 2 + [ (gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\"" ]; } diff --git a/proto/cerc/bond/v1/query.proto b/proto/cerc/bond/v1/query.proto index 974523252..9814f8cda 100644 --- a/proto/cerc/bond/v1/query.proto +++ b/proto/cerc/bond/v1/query.proto @@ -19,7 +19,7 @@ service Query { } // Bonds queries bonds list - rpc Bonds(QueryGetBondsRequest) returns (QueryGetBondsResponse) { + rpc Bonds(QueryBondsRequest) returns (QueryBondsResponse) { // Mark query as module_query_safe? // option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/cerc/bond/v1/bonds"; @@ -31,12 +31,14 @@ service Query { } // Get Bonds list by Owner - rpc GetBondsByOwner(QueryGetBondsByOwnerRequest) returns (QueryGetBondsByOwnerResponse) { + rpc GetBondsByOwner(QueryGetBondsByOwnerRequest) + returns (QueryGetBondsByOwnerResponse) { option (google.api.http).get = "/cerc/bond/v1/by-owner/{owner}"; } // Get Bond module balance - rpc GetBondsModuleBalance(QueryGetBondModuleBalanceRequest) returns (QueryGetBondModuleBalanceResponse) { + rpc GetBondModuleBalance(QueryGetBondModuleBalanceRequest) + returns (QueryGetBondModuleBalanceResponse) { option (google.api.http).get = "/cerc/bond/v1/balance"; } } @@ -46,41 +48,45 @@ message QueryParamsRequest {} // QueryParamsResponse returns response type of bond module params message QueryParamsResponse { - Params params = 1 [(gogoproto.moretags) = "json:\"params\" yaml:\"params\""]; + Params params = 1 + [ (gogoproto.moretags) = "json:\"params\" yaml:\"params\"" ]; } -// QueryGetBondById queries a bonds. -message QueryGetBondsRequest { +// QueryBondsRequest queries bonds +message QueryBondsRequest { // pagination defines an optional pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 1; } -// QueryGetBondsResponse is response type for get the bonds by bond-id -message QueryGetBondsResponse { - repeated Bond bonds = 1 [(gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\""]; +// QueryBondsResponse is response type for get the bonds by bond-id +message QueryBondsResponse { + repeated Bond bonds = 1 + [ (gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\"" ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryGetBondById +// QueryGetBondById queries bond by bond id message QueryGetBondByIdRequest { - string id = 1 [(gogoproto.moretags) = "json:\"id\" yaml:\"id\""]; + string id = 1 [ (gogoproto.moretags) = "json:\"id\" yaml:\"id\"" ]; } // QueryGetBondByIdResponse returns QueryGetBondById query response message QueryGetBondByIdResponse { - Bond bond = 1 [(gogoproto.moretags) = "json:\"bond\" yaml:\"bond\""]; + Bond bond = 1 [ (gogoproto.moretags) = "json:\"bond\" yaml:\"bond\"" ]; } -// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC +// Method message QueryGetBondsByOwnerRequest { string owner = 1; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC +// Method message QueryGetBondsByOwnerResponse { repeated Bond bonds = 1 [ (gogoproto.nullable) = false, @@ -91,14 +97,16 @@ message QueryGetBondsByOwnerResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc method +// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc +// method message QueryGetBondModuleBalanceRequest {} -// QueryGetBondModuleBalanceResponse is the response type for bond module balance rpc method +// QueryGetBondModuleBalanceResponse is the response type for bond module +// balance rpc method message QueryGetBondModuleBalanceResponse { repeated cosmos.base.v1beta1.Coin balance = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" + (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" ]; } diff --git a/proto/cerc/bond/v1/tx.proto b/proto/cerc/bond/v1/tx.proto index 2fbc450f2..43e0071a5 100644 --- a/proto/cerc/bond/v1/tx.proto +++ b/proto/cerc/bond/v1/tx.proto @@ -38,29 +38,27 @@ service Msg { message MsgCreateBond { option (cosmos.msg.v1.signer) = "signer"; - string signer = 1; + string signer = 1; repeated cosmos.base.v1beta1.Coin coins = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" + (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" ]; } // MsgCreateBondResponse defines the Msg/CreateBond response type. -message MsgCreateBondResponse { - string id = 1; -} +message MsgCreateBondResponse { string id = 1; } // MsgRefillBond defines a SDK message for refill the amount for bond. message MsgRefillBond { option (cosmos.msg.v1.signer) = "signer"; - string id = 1; - string signer = 2; + string id = 1; + string signer = 2; repeated cosmos.base.v1beta1.Coin coins = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" + (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" ]; } @@ -71,12 +69,12 @@ message MsgRefillBondResponse {} message MsgWithdrawBond { option (cosmos.msg.v1.signer) = "signer"; - string id = 1; - string signer = 2; + string id = 1; + string signer = 2; repeated cosmos.base.v1beta1.Coin coins = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" + (gogoproto.moretags) = "json:\"coins\" yaml:\"coins\"" ]; } @@ -87,7 +85,7 @@ message MsgWithdrawBondResponse {} message MsgCancelBond { option (cosmos.msg.v1.signer) = "signer"; - string id = 1; + string id = 1; string signer = 2; } diff --git a/proto/cerc/registry/v1/genesis.proto b/proto/cerc/registry/v1/genesis.proto index b622a792b..90b5dd2df 100644 --- a/proto/cerc/registry/v1/genesis.proto +++ b/proto/cerc/registry/v1/genesis.proto @@ -10,7 +10,7 @@ option go_package = "git.vdb.to/cerc-io/laconic2d/x/registry"; // GenesisState defines the registry module's genesis state. message GenesisState { // params defines all the params of registry module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // records repeated Record records = 2 [ diff --git a/proto/cerc/registry/v1/query.proto b/proto/cerc/registry/v1/query.proto index 8e5ea128c..4572f4832 100644 --- a/proto/cerc/registry/v1/query.proto +++ b/proto/cerc/registry/v1/query.proto @@ -23,12 +23,13 @@ service Query { } // Get record by id - rpc GetRecord(QueryRecordByIdRequest) returns (QueryRecordByIdResponse) { + rpc GetRecord(QueryGetRecordRequest) returns (QueryGetRecordResponse) { option (google.api.http).get = "/cerc/registry/v1/records/{id}"; } // Get records by bond id - rpc GetRecordsByBondId(QueryRecordsByBondIdRequest) returns (QueryRecordsByBondIdResponse) { + rpc GetRecordsByBondId(QueryGetRecordsByBondIdRequest) + returns (QueryGetRecordsByBondIdResponse) { option (google.api.http).get = "/cerc/registry/v1/records-by-bond-id/{id}"; } @@ -53,7 +54,8 @@ service Query { } // Get registry module balance - rpc GetRegistryModuleBalance(QueryGetRegistryModuleBalanceRequest) returns (QueryGetRegistryModuleBalanceResponse) { + rpc GetRegistryModuleBalance(QueryGetRegistryModuleBalanceRequest) + returns (QueryGetRegistryModuleBalanceResponse) { option (google.api.http).get = "/cerc/registry/v1/balance"; } } @@ -62,37 +64,30 @@ service Query { message QueryParamsRequest {} // QueryParamsResponse is response type for registry params -message QueryParamsResponse { - Params params = 1; -} +message QueryParamsResponse { Params params = 1; } // QueryRecordsRequest is request type for registry records list message QueryRecordsRequest { - // TODO: Unused, check - // message LinkInput { - // string id = 1; - // } - - message ArrayInput { - repeated ValueInput values = 1; - } - message MapInput { - map values = 1; - } + // Array type attribute + message ArrayInput { repeated ValueInput values = 1; } + // Map type attribute + message MapInput { map values = 1; } + // Type for record attribute value message ValueInput { - // Type of record attribute value + // Value is one of the following types oneof value { - string string = 1; - int64 int = 2; - double float = 3; - bool boolean = 4; - string link = 5; + string string = 1; + int64 int = 2; + double float = 3; + bool boolean = 4; + string link = 5; ArrayInput array = 6; - MapInput map = 7; + MapInput map = 7; } } + // Type for record attribute key message KeyValueInput { - string key = 1; + string key = 1; ValueInput value = 2; } @@ -106,31 +101,29 @@ message QueryRecordsRequest { // QueryRecordsResponse is response type for registry records list message QueryRecordsResponse { - repeated Record records = 1 [(gogoproto.nullable) = false]; + repeated Record records = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryRecordByIdRequest is request type for registry records by id -message QueryRecordByIdRequest { - string id = 1; +// QueryGetRecordRequest is request type for registry records by id +message QueryGetRecordRequest { string id = 1; } + +// QueryGetRecordResponse is response type for registry records by id +message QueryGetRecordResponse { + Record record = 1 [ (gogoproto.nullable) = false ]; } -// QueryRecordByIdResponse is response type for registry records by id -message QueryRecordByIdResponse { - Record record = 1 [(gogoproto.nullable) = false]; -} - -// QueryRecordsByBondIdRequest is request type for get the records by bond-id -message QueryRecordsByBondIdRequest { +// QueryGetRecordsByBondIdRequest is request type for get the records by bond-id +message QueryGetRecordsByBondIdRequest { string id = 1; // pagination defines an optional pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QueryRecordsByBondIdResponse is response type for records list by bond-id -message QueryRecordsByBondIdResponse { - repeated Record records = 1 [(gogoproto.nullable) = false]; +// QueryGetRecordsByBondIdResponse is response type for records list by bond-id +message QueryGetRecordsByBondIdResponse { + repeated Record records = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -143,15 +136,13 @@ message QueryNameRecordsRequest { // QueryNameRecordsResponse is response type for registry names records message QueryNameRecordsResponse { - repeated NameEntry names = 1 [(gogoproto.nullable) = false]; + repeated NameEntry names = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } // QueryWhoisRequest is request type for Get NameAuthority -message QueryWhoisRequest { - string name = 1; -} +message QueryWhoisRequest { string name = 1; } // QueryWhoisResponse is response type for whois request message QueryWhoisResponse { @@ -162,39 +153,34 @@ message QueryWhoisResponse { } // QueryLookupLrnRequest is request type for LookupLrn -message QueryLookupLrnRequest { - string lrn = 1; -} +message QueryLookupLrnRequest { string lrn = 1; } // QueryLookupLrnResponse is response type for QueryLookupLrnRequest -message QueryLookupLrnResponse { - NameRecord name = 1; -} +message QueryLookupLrnResponse { NameRecord name = 1; } // QueryResolveLrnRequest is request type for ResolveLrn -message QueryResolveLrnRequest { - string lrn = 1; -} +message QueryResolveLrnRequest { string lrn = 1; } // QueryResolveLrnResponse is response type for QueryResolveLrnRequest -message QueryResolveLrnResponse { - Record record = 1; -} +message QueryResolveLrnResponse { Record record = 1; } -// QueryGetRegistryModuleBalanceRequest is request type for registry module accounts balance +// QueryGetRegistryModuleBalanceRequest is request type for registry module +// accounts balance message QueryGetRegistryModuleBalanceRequest {} -// QueryGetRegistryModuleBalanceResponse is response type for registry module accounts balance +// QueryGetRegistryModuleBalanceResponse is response type for registry module +// accounts balance message QueryGetRegistryModuleBalanceResponse { repeated AccountBalance balances = 1; } // AccountBalance is registry module account balance message AccountBalance { - string account_name = 1 [(gogoproto.moretags) = "json:\"account_name\" yaml:\"account_name\""]; + string account_name = 1 + [ (gogoproto.moretags) = "json:\"account_name\" yaml:\"account_name\"" ]; repeated cosmos.base.v1beta1.Coin balance = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "json:\"balance\" yaml:\"balance\"" + (gogoproto.moretags) = "json:\"balance\" yaml:\"balance\"" ]; } diff --git a/proto/cerc/registry/v1/registry.proto b/proto/cerc/registry/v1/registry.proto index a97bbeb1f..c32e476da 100644 --- a/proto/cerc/registry/v1/registry.proto +++ b/proto/cerc/registry/v1/registry.proto @@ -11,15 +11,16 @@ option go_package = "git.vdb.to/cerc-io/laconic2d/x/registry"; // Params defines the registry module parameters message Params { - cosmos.base.v1beta1.Coin record_rent = 1[ + cosmos.base.v1beta1.Coin record_rent = 1 [ (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"record_rent\" yaml:\"record_rent\"" ]; google.protobuf.Duration record_rent_duration = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"record_rent_duration\" yaml:\"record_rent_duration\"" + (gogoproto.moretags) = + "json:\"record_rent_duration\" yaml:\"record_rent_duration\"" ]; cosmos.base.v1beta1.Coin authority_rent = 3 [ @@ -28,119 +29,140 @@ message Params { ]; google.protobuf.Duration authority_rent_duration = 4 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"authority_rent_duration\" yaml:\"authority_rent_duration\"" + (gogoproto.moretags) = + "json:\"authority_rent_duration\" yaml:\"authority_rent_duration\"" ]; google.protobuf.Duration authority_grace_period = 5 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"authority_grace_period\" yaml:\"authority_grace_period\"" + (gogoproto.moretags) = + "json:\"authority_grace_period\" yaml:\"authority_grace_period\"" ]; - bool authority_auction_enabled = 6 [(gogoproto.moretags) = "json:\"authority_auction_enabled\" yaml:\"authority_auction_enabled\""]; + bool authority_auction_enabled = 6 [ + (gogoproto.moretags) = + "json:\"authority_auction_enabled\" yaml:\"authority_auction_enabled\"" + ]; google.protobuf.Duration authority_auction_commits_duration = 7 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"authority_auction_commits_duration\" yaml:\"authority_auction_commits_duration\"" + (gogoproto.moretags) = "json:\"authority_auction_commits_duration\" " + "yaml:\"authority_auction_commits_duration\"" ]; google.protobuf.Duration authority_auction_reveals_duration = 8 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "json:\"authority_auction_reveals_duration\" yaml:\"authority_auction_reveals_duration\"" + (gogoproto.moretags) = "json:\"authority_auction_reveals_duration\" " + "yaml:\"authority_auction_reveals_duration\"" ]; cosmos.base.v1beta1.Coin authority_auction_commit_fee = 9 [ (gogoproto.nullable) = false, - (gogoproto.moretags) = "json:\"authority_auction_commit_fee\" yaml:\"authority_auction_commit_fee\"" + (gogoproto.moretags) = "json:\"authority_auction_commit_fee\" " + "yaml:\"authority_auction_commit_fee\"" ]; cosmos.base.v1beta1.Coin authority_auction_reveal_fee = 10 [ (gogoproto.nullable) = false, - (gogoproto.moretags) = "json:\"authority_auction_reveal_fee\" yaml:\"authority_auction_reveal_fee\"" + (gogoproto.moretags) = "json:\"authority_auction_reveal_fee\" " + "yaml:\"authority_auction_reveal_fee\"" ]; cosmos.base.v1beta1.Coin authority_auction_minimum_bid = 11 [ (gogoproto.nullable) = false, - (gogoproto.moretags) = "json:\"authority_auction_minimum_bid\" yaml:\"authority_auction_minimum_bid\"" + (gogoproto.moretags) = "json:\"authority_auction_minimum_bid\" " + "yaml:\"authority_auction_minimum_bid\"" ]; } // Record defines a registry record message Record { - string id = 1 [(gogoproto.moretags) = "json:\"id\" yaml:\"id\""]; - string bond_id = 2 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; - string create_time = 3 [(gogoproto.moretags) = "json:\"create_time\" yaml:\"create_time\""]; - string expiry_time = 4 [(gogoproto.moretags) = "json:\"expiry_time\" yaml:\"expiry_time\""]; - bool deleted = 5; - repeated string owners = 6 [(gogoproto.moretags) = "json:\"owners\" yaml:\"owners\""]; - bytes attributes = 7 [(gogoproto.moretags) = "json:\"attributes\" yaml:\"attributes\""]; - repeated string names = 8 [(gogoproto.moretags) = "json:\"names\" yaml:\"names\""]; - string type = 9 [(gogoproto.moretags) = "json:\"types\" yaml:\"types\""]; + string id = 1 [ (gogoproto.moretags) = "json:\"id\" yaml:\"id\"" ]; + string bond_id = 2 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; + string create_time = 3 + [ (gogoproto.moretags) = "json:\"create_time\" yaml:\"create_time\"" ]; + string expiry_time = 4 + [ (gogoproto.moretags) = "json:\"expiry_time\" yaml:\"expiry_time\"" ]; + bool deleted = 5; + repeated string owners = 6 + [ (gogoproto.moretags) = "json:\"owners\" yaml:\"owners\"" ]; + bytes attributes = 7 + [ (gogoproto.moretags) = "json:\"attributes\" yaml:\"attributes\"" ]; + repeated string names = 8 + [ (gogoproto.moretags) = "json:\"names\" yaml:\"names\"" ]; + string type = 9 [ (gogoproto.moretags) = "json:\"types\" yaml:\"types\"" ]; } // AuthorityEntry defines a registry authority message AuthorityEntry { - string name = 1; + string name = 1; NameAuthority entry = 2; } // NameAuthority message NameAuthority { // Owner public key. - string owner_public_key = 1 [(gogoproto.moretags) = "json:\"owner_public_key\" yaml:\"owner_public_key\""]; + string owner_public_key = 1 + [ (gogoproto.moretags) = + "json:\"owner_public_key\" yaml:\"owner_public_key\"" ]; // Owner address. - string owner_address = 2 [(gogoproto.moretags) = "json:\"owner_address\" yaml:\"owner_address\""]; + string owner_address = 2 + [ (gogoproto.moretags) = + "json:\"owner_address\" yaml:\"owner_address\"" ]; // height at which name/authority was created. - uint64 height = 3; - string status = 4; - string auction_id = 5 [(gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\""]; - string bond_id = 6 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; + uint64 height = 3; + string status = 4; + string auction_id = 5 + [ (gogoproto.moretags) = "json:\"auction_id\" yaml:\"auction_id\"" ]; + string bond_id = 6 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; google.protobuf.Timestamp expiry_time = 7 [ (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, + (gogoproto.stdtime) = true, (gogoproto.moretags) = "json:\"expiry_time\" yaml:\"expiry_time\"" ]; } // NameEntry message NameEntry { - string name = 1; + string name = 1; NameRecord entry = 2; } // NameRecord defines a versioned name record message NameRecord { - NameRecordEntry latest = 1; + NameRecordEntry latest = 1; repeated NameRecordEntry history = 2; } // NameRecordEntry message NameRecordEntry { - string id = 1; + string id = 1; uint64 height = 2; } // Signature message Signature { - string sig = 1 [(gogoproto.moretags) = "json:\"sig\" yaml:\"sig\""]; - string pub_key = 2 [(gogoproto.moretags) = "json:\"pub_key\" yaml:\"pub_key\""]; + string sig = 1 [ (gogoproto.moretags) = "json:\"sig\" yaml:\"sig\"" ]; + string pub_key = 2 + [ (gogoproto.moretags) = "json:\"pub_key\" yaml:\"pub_key\"" ]; } // ExpiryQueue: record / authority expiry queue type // id: expiry time // value: array of ids (record cids / authority names) message ExpiryQueue { - string id = 1; + string id = 1; repeated string value = 2; } // List of record ids // Value type to be used in AttributesMap -message RecordsList { - repeated string value = 1; -} +message RecordsList { repeated string value = 1; } diff --git a/proto/cerc/registry/v1/tx.proto b/proto/cerc/registry/v1/tx.proto index 8e88402bc..36ecc7004 100644 --- a/proto/cerc/registry/v1/tx.proto +++ b/proto/cerc/registry/v1/tx.proto @@ -34,12 +34,14 @@ service Msg { } // DissociateRecords - rpc DissociateRecords(MsgDissociateRecords) returns (MsgDissociateRecordsResponse) { + rpc DissociateRecords(MsgDissociateRecords) + returns (MsgDissociateRecordsResponse) { option (google.api.http).post = "/cerc/registry/v1/dissociate_records"; } // ReassociateRecords - rpc ReassociateRecords(MsgReassociateRecords) returns (MsgReassociateRecordsResponse) { + rpc ReassociateRecords(MsgReassociateRecords) + returns (MsgReassociateRecordsResponse) { option (google.api.http).post = "/cerc/registry/v1/reassociate_records"; } @@ -48,18 +50,20 @@ service Msg { option (google.api.http).post = "/cerc/registry/v1/set_name"; } - // Reserve name - rpc ReserveName(MsgReserveAuthority) returns (MsgReserveAuthorityResponse) { - option (google.api.http).post = "/cerc/registry/v1/reserve_name"; - } - // Delete Name method will remove authority name - rpc DeleteName(MsgDeleteNameAuthority) returns (MsgDeleteNameAuthorityResponse) { + rpc DeleteName(MsgDeleteName) returns (MsgDeleteNameResponse) { option (google.api.http).post = "/cerc/registry/v1/delete_name"; } + // Reserve authority name + rpc ReserveAuthority(MsgReserveAuthority) + returns (MsgReserveAuthorityResponse) { + option (google.api.http).post = "/cerc/registry/v1/reserve_authority"; + } + // SetAuthorityBond - rpc SetAuthorityBond(MsgSetAuthorityBond) returns (MsgSetAuthorityBondResponse) { + rpc SetAuthorityBond(MsgSetAuthorityBond) + returns (MsgSetAuthorityBondResponse) { option (google.api.http).post = "/cerc/registry/v1/set_authority_bond"; } } @@ -68,19 +72,18 @@ service Msg { message MsgSetRecord { option (cosmos.msg.v1.signer) = "signer"; - string bond_id = 1 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; - string signer = 2; - Payload payload = 3 [(gogoproto.nullable) = false]; + string bond_id = 1 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; + string signer = 2; + Payload payload = 3 [ (gogoproto.nullable) = false ]; } // MsgSetRecordResponse -message MsgSetRecordResponse { - string id = 1; -} +message MsgSetRecordResponse { string id = 1; } // Payload message Payload { - Record record = 1; + Record record = 1; repeated Signature signatures = 2 [ (gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"signatures\" yaml:\"signatures\"" @@ -91,57 +94,59 @@ message Payload { message MsgSetName { option (cosmos.msg.v1.signer) = "signer"; - string lrn = 1; - string cid = 2; + string lrn = 1; + string cid = 2; string signer = 3; } // MsgSetNameResponse message MsgSetNameResponse {} -// MsgReserveName +// MsgReserveAuthority message MsgReserveAuthority { option (cosmos.msg.v1.signer) = "signer"; - string name = 1; + string name = 1; string signer = 2; // if creating a sub-authority. string owner = 3; } -// MsgReserveNameResponse +// MsgReserveAuthorityResponse message MsgReserveAuthorityResponse {} // MsgSetAuthorityBond message MsgSetAuthorityBond { option (cosmos.msg.v1.signer) = "signer"; - string name = 1; - string bond_id = 2 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; - string signer = 3; + string name = 1; + string bond_id = 2 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; + string signer = 3; } // MsgSetAuthorityBondResponse message MsgSetAuthorityBondResponse {} -// MsgDeleteNameAuthority -message MsgDeleteNameAuthority { +// MsgDeleteName +message MsgDeleteName { option (cosmos.msg.v1.signer) = "signer"; - string lrn = 1; + string lrn = 1; string signer = 2; } -// MsgDeleteNameAuthorityResponse -message MsgDeleteNameAuthorityResponse {} +// MsgDeleteNameResponse +message MsgDeleteNameResponse {} // MsgRenewRecord message MsgRenewRecord { option (cosmos.msg.v1.signer) = "signer"; - string record_id = 1 [(gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\""]; - string signer = 2; + string record_id = 1 + [ (gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\"" ]; + string signer = 2; } // MsgRenewRecordResponse @@ -151,9 +156,11 @@ message MsgRenewRecordResponse {} message MsgAssociateBond { option (cosmos.msg.v1.signer) = "signer"; - string record_id = 1 [(gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\""]; - string bond_id = 2 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; - string signer = 3; + string record_id = 1 + [ (gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\"" ]; + string bond_id = 2 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; + string signer = 3; } // MsgAssociateBondResponse @@ -163,8 +170,9 @@ message MsgAssociateBondResponse {} message MsgDissociateBond { option (cosmos.msg.v1.signer) = "signer"; - string record_id = 1 [(gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\""]; - string signer = 2; + string record_id = 1 + [ (gogoproto.moretags) = "json:\"record_id\" yaml:\"record_id\"" ]; + string signer = 2; } // MsgDissociateBondResponse @@ -174,8 +182,9 @@ message MsgDissociateBondResponse {} message MsgDissociateRecords { option (cosmos.msg.v1.signer) = "signer"; - string bond_id = 1 [(gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\""]; - string signer = 2; + string bond_id = 1 + [ (gogoproto.moretags) = "json:\"bond_id\" yaml:\"bond_id\"" ]; + string signer = 2; } // MsgDissociateRecordsResponse @@ -185,9 +194,11 @@ message MsgDissociateRecordsResponse {} message MsgReassociateRecords { option (cosmos.msg.v1.signer) = "signer"; - string new_bond_id = 1 [(gogoproto.moretags) = "json:\"new_bond_id\" yaml:\"new_bond_id\""]; - string old_bond_id = 2 [(gogoproto.moretags) = "json:\"old_bond_id\" yaml:\"old_bond_id\""]; - string signer = 3; + string new_bond_id = 1 + [ (gogoproto.moretags) = "json:\"new_bond_id\" yaml:\"new_bond_id\"" ]; + string old_bond_id = 2 + [ (gogoproto.moretags) = "json:\"old_bond_id\" yaml:\"old_bond_id\"" ]; + string signer = 3; } // MsgReassociateRecordsResponse diff --git a/tests/e2e/auction/grpc.go b/tests/e2e/auction/grpc.go index 1f9c4ade5..02806e621 100644 --- a/tests/e2e/auction/grpc.go +++ b/tests/e2e/auction/grpc.go @@ -106,7 +106,7 @@ func (ets *E2ETestSuite) TestGetAuctionGrpc() { sr.Contains(string(resp), tc.errorMsg) } else { sr.NoError(err) - var auction auctiontypes.QueryAuctionResponse + var auction auctiontypes.QueryGetAuctionResponse err = val.ClientCtx.Codec.UnmarshalJSON(resp, &auction) sr.NoError(err) sr.Equal(auctionId, auction.Auction.Id) @@ -151,7 +151,7 @@ func (ets *E2ETestSuite) TestGetBidsGrpc() { sr.Contains(string(resp), tc.errorMsg) } else { sr.NoError(err) - var bids auctiontypes.QueryBidsResponse + var bids auctiontypes.QueryGetBidsResponse err = val.ClientCtx.Codec.UnmarshalJSON(resp, &bids) sr.NoError(err) sr.Equal(auctionId, bids.Bids[0].AuctionId) @@ -196,7 +196,7 @@ func (ets *E2ETestSuite) TestGetBidGrpc() { sr.Contains(string(resp), tc.errorMsg) } else { sr.NoError(err) - var bid auctiontypes.QueryBidResponse + var bid auctiontypes.QueryGetBidResponse err = val.ClientCtx.Codec.UnmarshalJSON(resp, &bid) sr.NoError(err) } diff --git a/tests/e2e/bond/grpc.go b/tests/e2e/bond/grpc.go index b326a51da..845ac039d 100644 --- a/tests/e2e/bond/grpc.go +++ b/tests/e2e/bond/grpc.go @@ -58,7 +58,7 @@ func (ets *E2ETestSuite) TestGRPCGetBonds() { if tc.expErr { sr.Contains(string(resp), tc.errorMsg) } else { - var response bondtypes.QueryGetBondsResponse + var response bondtypes.QueryBondsResponse err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response) sr.NoError(err) sr.NotZero(len(response.GetBonds())) diff --git a/tests/e2e/bond/query.go b/tests/e2e/bond/query.go index 8c48b6e87..16e6432da 100644 --- a/tests/e2e/bond/query.go +++ b/tests/e2e/bond/query.go @@ -40,7 +40,7 @@ func (ets *E2ETestSuite) TestGetQueryBondList() { cmd := cli.GetQueryBondList() out, err := clitestutil.ExecTestCLICmd(clientCtx, cmd, tc.args) sr.NoError(err) - var queryResponse bondtypes.QueryGetBondsResponse + var queryResponse bondtypes.QueryBondsResponse err = clientCtx.Codec.UnmarshalJSON(out.Bytes(), &queryResponse) sr.NoError(err) sr.NotZero(len(queryResponse.GetBonds())) diff --git a/tests/e2e/bond/suite.go b/tests/e2e/bond/suite.go index 484aad86b..c14fb4c4a 100644 --- a/tests/e2e/bond/suite.go +++ b/tests/e2e/bond/suite.go @@ -113,7 +113,7 @@ func (ets *E2ETestSuite) createBond() string { } out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd, args) sr.NoError(err) - var queryResponse bondtypes.QueryGetBondsResponse + var queryResponse bondtypes.QueryBondsResponse err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &queryResponse) sr.NoError(err) diff --git a/tests/e2e/registry/grpc.go b/tests/e2e/registry/grpc.go index f050b05a6..c7ad4c2c7 100644 --- a/tests/e2e/registry/grpc.go +++ b/tests/e2e/registry/grpc.go @@ -263,7 +263,7 @@ func (ets *E2ETestSuite) TestGRPCQueryGetRecordById() { if tc.expectErr { require.Contains(string(resp), tc.errorMsg) } else { - var response registrytypes.QueryRecordByIdResponse + var response registrytypes.QueryGetRecordResponse err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response) sr.NoError(err) record := response.GetRecord() @@ -317,7 +317,7 @@ func (ets *E2ETestSuite) TestGRPCQueryGetRecordByBondId() { if tc.expectErr { require.Contains(string(resp), tc.errorMsg) } else { - var response registrytypes.QueryRecordsByBondIdResponse + var response registrytypes.QueryGetRecordsByBondIdResponse err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response) sr.NoError(err) records := response.GetRecords() diff --git a/tests/e2e/registry/suite.go b/tests/e2e/registry/suite.go index 058a5ff02..da0d7b430 100644 --- a/tests/e2e/registry/suite.go +++ b/tests/e2e/registry/suite.go @@ -132,7 +132,7 @@ func (ets *E2ETestSuite) createBond() string { } out, err = clitestutil.ExecTestCLICmd(clientCtx, cmd, args) sr.NoError(err) - var queryResponse bondtypes.QueryGetBondsResponse + var queryResponse bondtypes.QueryBondsResponse err = val.ClientCtx.Codec.UnmarshalJSON(out.Bytes(), &queryResponse) sr.NoError(err) @@ -146,7 +146,7 @@ func (ets *E2ETestSuite) reserveName(authorityName string) { sr := ets.Require() clientCtx := val.ClientCtx - cmd := cli.GetCmdReserveName() + cmd := cli.GetCmdReserveAuthority() args := []string{ authorityName, fmt.Sprintf("--owner=%s", ets.accountAddress), @@ -174,7 +174,7 @@ func (ets *E2ETestSuite) createNameRecord(authorityName string) { // reserving the name clientCtx := val.ClientCtx - cmd := cli.GetCmdReserveName() + cmd := cli.GetCmdReserveAuthority() args := []string{ authorityName, fmt.Sprintf("--owner=%s", ets.accountAddress), diff --git a/tests/integration/auction/keeper/query_server_test.go b/tests/integration/auction/keeper/query_server_test.go index 698b377fe..2ec401094 100644 --- a/tests/integration/auction/keeper/query_server_test.go +++ b/tests/integration/auction/keeper/query_server_test.go @@ -35,17 +35,17 @@ func (kts *KeeperTestSuite) TestGrpcQueryParams() { func (kts *KeeperTestSuite) TestGrpcGetAuction() { testCases := []struct { msg string - req *types.QueryAuctionRequest + req *types.QueryGetAuctionRequest createAuction bool }{ { "fetch auction with empty auction ID", - &types.QueryAuctionRequest{}, + &types.QueryGetAuctionRequest{}, false, }, { "fetch auction with valid auction ID", - &types.QueryAuctionRequest{}, + &types.QueryGetAuctionRequest{}, true, }, } @@ -111,28 +111,28 @@ func (kts *KeeperTestSuite) TestGrpcGetAllAuctions() { func (kts *KeeperTestSuite) TestGrpcGetBids() { testCases := []struct { msg string - req *types.QueryBidsRequest + req *types.QueryGetBidsRequest createAuction bool commitBid bool bidCount int }{ { "fetch all bids when no auction exists", - &types.QueryBidsRequest{}, + &types.QueryGetBidsRequest{}, false, false, 0, }, { "fetch all bids for valid auction but no added bids", - &types.QueryBidsRequest{}, + &types.QueryGetBidsRequest{}, true, false, 0, }, { "fetch all bids for valid auction and valid bid", - &types.QueryBidsRequest{}, + &types.QueryGetBidsRequest{}, true, true, 1, @@ -162,17 +162,17 @@ func (kts *KeeperTestSuite) TestGrpcGetBids() { func (kts *KeeperTestSuite) TestGrpcGetBid() { testCases := []struct { msg string - req *types.QueryBidRequest + req *types.QueryGetBidRequest createAuctionAndBid bool }{ { "fetch bid when bid does not exist", - &types.QueryBidRequest{}, + &types.QueryGetBidRequest{}, false, }, { "fetch bid when valid bid exists", - &types.QueryBidRequest{}, + &types.QueryGetBidRequest{}, true, }, } diff --git a/tests/integration/bond/keeper/query_server_test.go b/tests/integration/bond/keeper/query_server_test.go index e652326e2..e5c9a6506 100644 --- a/tests/integration/bond/keeper/query_server_test.go +++ b/tests/integration/bond/keeper/query_server_test.go @@ -34,22 +34,22 @@ func (kts *KeeperTestSuite) TestGrpcQueryParams() { func (kts *KeeperTestSuite) TestGrpcQueryBondsList() { testCases := []struct { msg string - req *types.QueryGetBondsRequest - resp *types.QueryGetBondsResponse + req *types.QueryBondsRequest + resp *types.QueryBondsResponse noOfBonds int createBonds bool }{ { "empty request", - &types.QueryGetBondsRequest{}, - &types.QueryGetBondsResponse{}, + &types.QueryBondsRequest{}, + &types.QueryBondsResponse{}, 0, false, }, { "Get Bonds", - &types.QueryGetBondsRequest{}, - &types.QueryGetBondsResponse{}, + &types.QueryBondsRequest{}, + &types.QueryBondsResponse{}, 1, true, }, @@ -181,7 +181,7 @@ func (kts *KeeperTestSuite) TestGrpcGetModuleBalance() { _, err := kts.createBond() kts.Require().NoError(err) } - resp, err := kts.queryClient.GetBondsModuleBalance(context.Background(), test.req) + resp, err := kts.queryClient.GetBondModuleBalance(context.Background(), test.req) if !test.errResponse { kts.Require().Nil(err) kts.Require().NotNil(resp.GetBalance()) diff --git a/tests/integration/registry/keeper/query_server_test.go b/tests/integration/registry/keeper/query_server_test.go index ee4294e3b..63b1e2863 100644 --- a/tests/integration/registry/keeper/query_server_test.go +++ b/tests/integration/registry/keeper/query_server_test.go @@ -228,21 +228,21 @@ func (kts *KeeperTestSuite) TestGrpcGetRecordLists() { // Get the records by record id testCases1 := []struct { msg string - req *types.QueryRecordByIdRequest + req *types.QueryGetRecordRequest createRecord bool expErr bool noOfRecords int }{ { "Invalid Request without record id", - &types.QueryRecordByIdRequest{}, + &types.QueryGetRecordRequest{}, false, true, 0, }, { "With Record ID", - &types.QueryRecordByIdRequest{ + &types.QueryGetRecordRequest{ Id: recordId, }, true, @@ -270,21 +270,21 @@ func (kts *KeeperTestSuite) TestGrpcGetRecordLists() { // Get the records by record id testCasesByBondId := []struct { msg string - req *types.QueryRecordsByBondIdRequest + req *types.QueryGetRecordsByBondIdRequest createRecord bool expErr bool noOfRecords int }{ { "Invalid Request without bond id", - &types.QueryRecordsByBondIdRequest{}, + &types.QueryGetRecordsByBondIdRequest{}, false, true, 0, }, { "With Bond ID", - &types.QueryRecordsByBondIdRequest{ + &types.QueryGetRecordsByBondIdRequest{ Id: kts.bond.GetId(), }, true, diff --git a/x/auction/auction.pb.go b/x/auction/auction.pb.go index 2dfa1e865..6fe7c8a66 100644 --- a/x/auction/auction.pb.go +++ b/x/auction/auction.pb.go @@ -169,6 +169,7 @@ func (m *Auction) XXX_DiscardUnknown() { var xxx_messageInfo_Auction proto.InternalMessageInfo +// Auctions represent all the auctions in the module type Auctions struct { Auctions []Auction `protobuf:"bytes,1,rep,name=auctions,proto3" json:"auctions"` } diff --git a/x/auction/keeper/query_server.go b/x/auction/keeper/query_server.go index 6b1b3ed31..7e2bff928 100644 --- a/x/auction/keeper/query_server.go +++ b/x/auction/keeper/query_server.go @@ -46,7 +46,7 @@ func (qs queryServer) Auctions(c context.Context, req *auctiontypes.QueryAuction } // GetAuction queries an auction by id -func (qs queryServer) GetAuction(c context.Context, req *auctiontypes.QueryAuctionRequest) (*auctiontypes.QueryAuctionResponse, error) { +func (qs queryServer) GetAuction(c context.Context, req *auctiontypes.QueryGetAuctionRequest) (*auctiontypes.QueryGetAuctionResponse, error) { ctx := sdk.UnwrapSDKContext(c) if req.Id == "" { @@ -58,11 +58,11 @@ func (qs queryServer) GetAuction(c context.Context, req *auctiontypes.QueryAucti return nil, err } - return &auctiontypes.QueryAuctionResponse{Auction: &auction}, nil + return &auctiontypes.QueryGetAuctionResponse{Auction: &auction}, nil } // GetBid queries an auction bid by auction-id and bidder -func (qs queryServer) GetBid(c context.Context, req *auctiontypes.QueryBidRequest) (*auctiontypes.QueryBidResponse, error) { +func (qs queryServer) GetBid(c context.Context, req *auctiontypes.QueryGetBidRequest) (*auctiontypes.QueryGetBidResponse, error) { ctx := sdk.UnwrapSDKContext(c) if req.AuctionId == "" { @@ -78,11 +78,11 @@ func (qs queryServer) GetBid(c context.Context, req *auctiontypes.QueryBidReques return nil, err } - return &auctiontypes.QueryBidResponse{Bid: &bid}, nil + return &auctiontypes.QueryGetBidResponse{Bid: &bid}, nil } // GetBids queries all auction bids -func (qs queryServer) GetBids(c context.Context, req *auctiontypes.QueryBidsRequest) (*auctiontypes.QueryBidsResponse, error) { +func (qs queryServer) GetBids(c context.Context, req *auctiontypes.QueryGetBidsRequest) (*auctiontypes.QueryGetBidsResponse, error) { ctx := sdk.UnwrapSDKContext(c) if req.AuctionId == "" { @@ -94,7 +94,7 @@ func (qs queryServer) GetBids(c context.Context, req *auctiontypes.QueryBidsRequ return nil, err } - return &auctiontypes.QueryBidsResponse{Bids: bids}, nil + return &auctiontypes.QueryGetBidsResponse{Bids: bids}, nil } // AuctionsByBidder queries auctions by bidder diff --git a/x/auction/query.pb.go b/x/auction/query.pb.go index d3603b9fc..91826e954 100644 --- a/x/auction/query.pb.go +++ b/x/auction/query.pb.go @@ -32,7 +32,8 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryParamsRequest is the format to query the parameters of the auction module +// QueryParamsRequest is the format to query the parameters of the auction +// module type QueryParamsRequest struct { } @@ -216,23 +217,23 @@ func (m *QueryAuctionsResponse) GetPagination() *query.PageRequest { } // AuctionRequest is the format for querying a specific auction -type QueryAuctionRequest struct { +type QueryGetAuctionRequest struct { // Auction id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *QueryAuctionRequest) Reset() { *m = QueryAuctionRequest{} } -func (m *QueryAuctionRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAuctionRequest) ProtoMessage() {} -func (*QueryAuctionRequest) Descriptor() ([]byte, []int) { +func (m *QueryGetAuctionRequest) Reset() { *m = QueryGetAuctionRequest{} } +func (m *QueryGetAuctionRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetAuctionRequest) ProtoMessage() {} +func (*QueryGetAuctionRequest) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{4} } -func (m *QueryAuctionRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetAuctionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAuctionRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetAuctionRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -242,19 +243,19 @@ func (m *QueryAuctionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *QueryAuctionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAuctionRequest.Merge(m, src) +func (m *QueryGetAuctionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetAuctionRequest.Merge(m, src) } -func (m *QueryAuctionRequest) XXX_Size() int { +func (m *QueryGetAuctionRequest) XXX_Size() int { return m.Size() } -func (m *QueryAuctionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAuctionRequest.DiscardUnknown(m) +func (m *QueryGetAuctionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetAuctionRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAuctionRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetAuctionRequest proto.InternalMessageInfo -func (m *QueryAuctionRequest) GetId() string { +func (m *QueryGetAuctionRequest) GetId() string { if m != nil { return m.Id } @@ -262,23 +263,23 @@ func (m *QueryAuctionRequest) GetId() string { } // AuctionResponse returns the details of the queried auction -type QueryAuctionResponse struct { +type QueryGetAuctionResponse struct { // Auction details Auction *Auction `protobuf:"bytes,1,opt,name=auction,proto3" json:"auction,omitempty"` } -func (m *QueryAuctionResponse) Reset() { *m = QueryAuctionResponse{} } -func (m *QueryAuctionResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAuctionResponse) ProtoMessage() {} -func (*QueryAuctionResponse) Descriptor() ([]byte, []int) { +func (m *QueryGetAuctionResponse) Reset() { *m = QueryGetAuctionResponse{} } +func (m *QueryGetAuctionResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetAuctionResponse) ProtoMessage() {} +func (*QueryGetAuctionResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{5} } -func (m *QueryAuctionResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetAuctionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAuctionResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetAuctionResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -288,19 +289,19 @@ func (m *QueryAuctionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *QueryAuctionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAuctionResponse.Merge(m, src) +func (m *QueryGetAuctionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetAuctionResponse.Merge(m, src) } -func (m *QueryAuctionResponse) XXX_Size() int { +func (m *QueryGetAuctionResponse) XXX_Size() int { return m.Size() } -func (m *QueryAuctionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAuctionResponse.DiscardUnknown(m) +func (m *QueryGetAuctionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetAuctionResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAuctionResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetAuctionResponse proto.InternalMessageInfo -func (m *QueryAuctionResponse) GetAuction() *Auction { +func (m *QueryGetAuctionResponse) GetAuction() *Auction { if m != nil { return m.Auction } @@ -308,25 +309,25 @@ func (m *QueryAuctionResponse) GetAuction() *Auction { } // BidRequest is the format for querying a specific bid in an auction -type QueryBidRequest struct { +type QueryGetBidRequest struct { // Auction id AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` // Bidder address Bidder string `protobuf:"bytes,2,opt,name=bidder,proto3" json:"bidder,omitempty"` } -func (m *QueryBidRequest) Reset() { *m = QueryBidRequest{} } -func (m *QueryBidRequest) String() string { return proto.CompactTextString(m) } -func (*QueryBidRequest) ProtoMessage() {} -func (*QueryBidRequest) Descriptor() ([]byte, []int) { +func (m *QueryGetBidRequest) Reset() { *m = QueryGetBidRequest{} } +func (m *QueryGetBidRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetBidRequest) ProtoMessage() {} +func (*QueryGetBidRequest) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{6} } -func (m *QueryBidRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetBidRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryBidRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetBidRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -336,26 +337,26 @@ func (m *QueryBidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *QueryBidRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryBidRequest.Merge(m, src) +func (m *QueryGetBidRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetBidRequest.Merge(m, src) } -func (m *QueryBidRequest) XXX_Size() int { +func (m *QueryGetBidRequest) XXX_Size() int { return m.Size() } -func (m *QueryBidRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryBidRequest.DiscardUnknown(m) +func (m *QueryGetBidRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetBidRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryBidRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetBidRequest proto.InternalMessageInfo -func (m *QueryBidRequest) GetAuctionId() string { +func (m *QueryGetBidRequest) GetAuctionId() string { if m != nil { return m.AuctionId } return "" } -func (m *QueryBidRequest) GetBidder() string { +func (m *QueryGetBidRequest) GetBidder() string { if m != nil { return m.Bidder } @@ -363,23 +364,23 @@ func (m *QueryBidRequest) GetBidder() string { } // BidResponse returns the details of the queried bid -type QueryBidResponse struct { +type QueryGetBidResponse struct { // Bid details Bid *Bid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"` } -func (m *QueryBidResponse) Reset() { *m = QueryBidResponse{} } -func (m *QueryBidResponse) String() string { return proto.CompactTextString(m) } -func (*QueryBidResponse) ProtoMessage() {} -func (*QueryBidResponse) Descriptor() ([]byte, []int) { +func (m *QueryGetBidResponse) Reset() { *m = QueryGetBidResponse{} } +func (m *QueryGetBidResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetBidResponse) ProtoMessage() {} +func (*QueryGetBidResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{7} } -func (m *QueryBidResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetBidResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryBidResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetBidResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -389,19 +390,19 @@ func (m *QueryBidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *QueryBidResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryBidResponse.Merge(m, src) +func (m *QueryGetBidResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetBidResponse.Merge(m, src) } -func (m *QueryBidResponse) XXX_Size() int { +func (m *QueryGetBidResponse) XXX_Size() int { return m.Size() } -func (m *QueryBidResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryBidResponse.DiscardUnknown(m) +func (m *QueryGetBidResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetBidResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryBidResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetBidResponse proto.InternalMessageInfo -func (m *QueryBidResponse) GetBid() *Bid { +func (m *QueryGetBidResponse) GetBid() *Bid { if m != nil { return m.Bid } @@ -409,23 +410,23 @@ func (m *QueryBidResponse) GetBid() *Bid { } // BidsRequest is the format for querying all bids in an auction -type QueryBidsRequest struct { +type QueryGetBidsRequest struct { // Auction id AuctionId string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` } -func (m *QueryBidsRequest) Reset() { *m = QueryBidsRequest{} } -func (m *QueryBidsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryBidsRequest) ProtoMessage() {} -func (*QueryBidsRequest) Descriptor() ([]byte, []int) { +func (m *QueryGetBidsRequest) Reset() { *m = QueryGetBidsRequest{} } +func (m *QueryGetBidsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetBidsRequest) ProtoMessage() {} +func (*QueryGetBidsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{8} } -func (m *QueryBidsRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetBidsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryBidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetBidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryBidsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetBidsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -435,19 +436,19 @@ func (m *QueryBidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *QueryBidsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryBidsRequest.Merge(m, src) +func (m *QueryGetBidsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetBidsRequest.Merge(m, src) } -func (m *QueryBidsRequest) XXX_Size() int { +func (m *QueryGetBidsRequest) XXX_Size() int { return m.Size() } -func (m *QueryBidsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryBidsRequest.DiscardUnknown(m) +func (m *QueryGetBidsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetBidsRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryBidsRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetBidsRequest proto.InternalMessageInfo -func (m *QueryBidsRequest) GetAuctionId() string { +func (m *QueryGetBidsRequest) GetAuctionId() string { if m != nil { return m.AuctionId } @@ -455,23 +456,23 @@ func (m *QueryBidsRequest) GetAuctionId() string { } // BidsResponse returns details of all bids in an auction -type QueryBidsResponse struct { +type QueryGetBidsResponse struct { // List of bids in the auction Bids []*Bid `protobuf:"bytes,1,rep,name=bids,proto3" json:"bids,omitempty"` } -func (m *QueryBidsResponse) Reset() { *m = QueryBidsResponse{} } -func (m *QueryBidsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryBidsResponse) ProtoMessage() {} -func (*QueryBidsResponse) Descriptor() ([]byte, []int) { +func (m *QueryGetBidsResponse) Reset() { *m = QueryGetBidsResponse{} } +func (m *QueryGetBidsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetBidsResponse) ProtoMessage() {} +func (*QueryGetBidsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2630d1607b9261b1, []int{9} } -func (m *QueryBidsResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetBidsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryBidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetBidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryBidsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetBidsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -481,26 +482,27 @@ func (m *QueryBidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *QueryBidsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryBidsResponse.Merge(m, src) +func (m *QueryGetBidsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetBidsResponse.Merge(m, src) } -func (m *QueryBidsResponse) XXX_Size() int { +func (m *QueryGetBidsResponse) XXX_Size() int { return m.Size() } -func (m *QueryBidsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryBidsResponse.DiscardUnknown(m) +func (m *QueryGetBidsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetBidsResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryBidsResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetBidsResponse proto.InternalMessageInfo -func (m *QueryBidsResponse) GetBids() []*Bid { +func (m *QueryGetBidsResponse) GetBids() []*Bid { if m != nil { return m.Bids } return nil } -// AuctionsByBidderRequest is the format for querying all auctions containing a bidder address +// AuctionsByBidderRequest is the format for querying all auctions containing a +// bidder address type QueryAuctionsByBidderRequest struct { // Address of the bidder BidderAddress string `protobuf:"bytes,1,opt,name=bidder_address,json=bidderAddress,proto3" json:"bidder_address,omitempty"` @@ -592,7 +594,8 @@ func (m *QueryAuctionsByBidderResponse) GetAuctions() *Auctions { return nil } -// AuctionsByOwnerRequest is the format for querying all auctions created by an owner +// AuctionsByOwnerRequest is the format for querying all auctions created by an +// owner type QueryAuctionsByOwnerRequest struct { // Address of the owner OwnerAddress string `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"` @@ -721,6 +724,8 @@ func (m *QueryGetAuctionModuleBalanceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetAuctionModuleBalanceRequest proto.InternalMessageInfo +// QueryGetAuctionModuleBalanceResponse is the response type for auction module +// balance rpc method type QueryGetAuctionModuleBalanceResponse struct { // Set of all balances within the auction Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance" json:"coins" yaml:"coins"` @@ -771,12 +776,12 @@ func init() { proto.RegisterType((*QueryParamsResponse)(nil), "cerc.auction.v1.QueryParamsResponse") proto.RegisterType((*QueryAuctionsRequest)(nil), "cerc.auction.v1.QueryAuctionsRequest") proto.RegisterType((*QueryAuctionsResponse)(nil), "cerc.auction.v1.QueryAuctionsResponse") - proto.RegisterType((*QueryAuctionRequest)(nil), "cerc.auction.v1.QueryAuctionRequest") - proto.RegisterType((*QueryAuctionResponse)(nil), "cerc.auction.v1.QueryAuctionResponse") - proto.RegisterType((*QueryBidRequest)(nil), "cerc.auction.v1.QueryBidRequest") - proto.RegisterType((*QueryBidResponse)(nil), "cerc.auction.v1.QueryBidResponse") - proto.RegisterType((*QueryBidsRequest)(nil), "cerc.auction.v1.QueryBidsRequest") - proto.RegisterType((*QueryBidsResponse)(nil), "cerc.auction.v1.QueryBidsResponse") + proto.RegisterType((*QueryGetAuctionRequest)(nil), "cerc.auction.v1.QueryGetAuctionRequest") + proto.RegisterType((*QueryGetAuctionResponse)(nil), "cerc.auction.v1.QueryGetAuctionResponse") + proto.RegisterType((*QueryGetBidRequest)(nil), "cerc.auction.v1.QueryGetBidRequest") + proto.RegisterType((*QueryGetBidResponse)(nil), "cerc.auction.v1.QueryGetBidResponse") + proto.RegisterType((*QueryGetBidsRequest)(nil), "cerc.auction.v1.QueryGetBidsRequest") + proto.RegisterType((*QueryGetBidsResponse)(nil), "cerc.auction.v1.QueryGetBidsResponse") proto.RegisterType((*QueryAuctionsByBidderRequest)(nil), "cerc.auction.v1.QueryAuctionsByBidderRequest") proto.RegisterType((*QueryAuctionsByBidderResponse)(nil), "cerc.auction.v1.QueryAuctionsByBidderResponse") proto.RegisterType((*QueryAuctionsByOwnerRequest)(nil), "cerc.auction.v1.QueryAuctionsByOwnerRequest") @@ -788,64 +793,64 @@ func init() { func init() { proto.RegisterFile("cerc/auction/v1/query.proto", fileDescriptor_2630d1607b9261b1) } var fileDescriptor_2630d1607b9261b1 = []byte{ - // 898 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x4f, 0x6f, 0x1b, 0x45, - 0x18, 0xc6, 0xb3, 0x29, 0x38, 0xc9, 0x5b, 0xda, 0x94, 0x21, 0x90, 0x78, 0xd3, 0x38, 0xee, 0x24, - 0xb6, 0x42, 0x8b, 0x77, 0x64, 0x97, 0x5e, 0x2a, 0x21, 0x51, 0x23, 0x5a, 0x40, 0xaa, 0x28, 0x96, - 0xe0, 0xc0, 0x81, 0x6a, 0xff, 0x8c, 0x96, 0x01, 0x67, 0xc7, 0xf5, 0xac, 0x03, 0x51, 0xea, 0x03, - 0xfd, 0x04, 0x48, 0x48, 0xdc, 0xb9, 0x20, 0x04, 0x5f, 0xa4, 0xc7, 0x4a, 0x5c, 0x38, 0x15, 0x94, - 0xf0, 0x09, 0x38, 0x72, 0x42, 0x3b, 0xf3, 0x8e, 0x1d, 0xaf, 0xff, 0x85, 0xe6, 0x94, 0xec, 0xcc, - 0x33, 0xef, 0xf3, 0x7b, 0xdf, 0xd9, 0x7d, 0x64, 0xd8, 0x0c, 0x79, 0x37, 0x64, 0x7e, 0x2f, 0x4c, - 0x85, 0x4c, 0xd8, 0x41, 0x9d, 0x3d, 0xea, 0xf1, 0xee, 0xa1, 0xd7, 0xe9, 0xca, 0x54, 0x92, 0xd5, - 0x6c, 0xd3, 0xc3, 0x4d, 0xef, 0xa0, 0xee, 0xae, 0xc5, 0x32, 0x96, 0x7a, 0x8f, 0x65, 0xff, 0x19, - 0x99, 0x7b, 0x35, 0x96, 0x32, 0x6e, 0x73, 0xe6, 0x77, 0x04, 0xf3, 0x93, 0x44, 0xa6, 0x7e, 0xa6, - 0x57, 0xb8, 0x7b, 0x3d, 0x94, 0x6a, 0x5f, 0x2a, 0x16, 0xf8, 0x8a, 0x9b, 0xea, 0xec, 0xa0, 0x1e, - 0xf0, 0xd4, 0xaf, 0xb3, 0x8e, 0x1f, 0x8b, 0x44, 0x8b, 0x51, 0x5b, 0x3a, 0xad, 0xb5, 0xaa, 0x50, - 0x0a, 0xbb, 0xbf, 0x95, 0xa7, 0xb5, 0x6c, 0x7a, 0x9b, 0xae, 0x01, 0xf9, 0x24, 0x33, 0x78, 0xe0, - 0x77, 0xfd, 0x7d, 0xd5, 0xe2, 0x8f, 0x7a, 0x5c, 0xa5, 0xf4, 0x2e, 0xbc, 0x36, 0xb2, 0xaa, 0x3a, - 0x32, 0x51, 0x9c, 0x30, 0x28, 0x74, 0xf4, 0xca, 0x86, 0x53, 0x76, 0xf6, 0x2e, 0x36, 0xd6, 0xbd, - 0x5c, 0xb7, 0x1e, 0x1e, 0x40, 0x19, 0xfd, 0x02, 0xd6, 0x74, 0x9d, 0x3b, 0x46, 0x61, 0xeb, 0x93, - 0xbb, 0x00, 0xc3, 0x46, 0xb0, 0x58, 0xd5, 0x33, 0x9d, 0x78, 0x59, 0x27, 0x9e, 0x99, 0x29, 0xf6, - 0xe3, 0x3d, 0xf0, 0x63, 0x8e, 0x67, 0x5b, 0xa7, 0x4e, 0xd2, 0x1f, 0x1d, 0x78, 0x3d, 0x67, 0x80, - 0xa8, 0xb7, 0x60, 0x19, 0xb1, 0x2c, 0x6c, 0x71, 0x0c, 0x76, 0x70, 0x68, 0x20, 0xcd, 0x81, 0x2d, - 0xbe, 0x30, 0x58, 0x05, 0x07, 0x88, 0x16, 0xb6, 0xef, 0xcb, 0xb0, 0x28, 0x22, 0xcd, 0xb3, 0xd2, - 0x5a, 0x14, 0x11, 0xfd, 0x68, 0x74, 0x3e, 0x03, 0xfa, 0x06, 0x2c, 0x21, 0x12, 0xc2, 0x6f, 0x4c, - 0x83, 0x6f, 0x59, 0x21, 0xfd, 0x00, 0x56, 0x75, 0xad, 0xa6, 0x88, 0xac, 0xdd, 0x16, 0x00, 0xee, - 0x3e, 0x1c, 0xd8, 0xae, 0xe0, 0xca, 0x87, 0x11, 0x79, 0x03, 0x0a, 0x81, 0x88, 0x22, 0xde, 0xd5, - 0x8d, 0xae, 0xb4, 0xf0, 0x89, 0xde, 0x86, 0x2b, 0xc3, 0x4a, 0x48, 0x54, 0x85, 0x0b, 0x01, 0xd6, - 0xb8, 0xd8, 0x58, 0x1b, 0xa3, 0xc9, 0xa4, 0x99, 0x80, 0xd6, 0x87, 0x67, 0xd5, 0xd9, 0x30, 0xe8, - 0x3b, 0xf0, 0xea, 0xa9, 0x23, 0xe8, 0xb7, 0x07, 0x2f, 0x05, 0x22, 0xca, 0xee, 0xee, 0xc2, 0x54, - 0x43, 0xad, 0xa0, 0xef, 0xc3, 0xd5, 0x91, 0x57, 0xa0, 0x99, 0x15, 0x8a, 0x78, 0xd7, 0xba, 0x57, - 0xe0, 0xb2, 0xe9, 0xeb, 0xa1, 0x1f, 0x45, 0x5d, 0xae, 0x14, 0x12, 0x5c, 0x32, 0xab, 0x77, 0xcc, - 0x22, 0xfd, 0x0c, 0xb6, 0xa6, 0x94, 0x39, 0xd7, 0x1b, 0x45, 0x9b, 0xb0, 0x99, 0xab, 0xfb, 0xf1, - 0x37, 0xc9, 0x90, 0x6e, 0x07, 0x2e, 0xc9, 0xec, 0x39, 0x07, 0xf7, 0x8a, 0x5e, 0xb4, 0x6c, 0x9f, - 0x8e, 0xb5, 0x88, 0x35, 0xce, 0x87, 0x56, 0x81, 0x1d, 0x5d, 0xf6, 0x1e, 0x4f, 0x71, 0xf7, 0xbe, - 0x8c, 0x7a, 0x6d, 0xde, 0xf4, 0xdb, 0x7e, 0x12, 0xda, 0xf7, 0x9a, 0xfe, 0xe6, 0xc0, 0xee, 0x6c, - 0x1d, 0x62, 0x3c, 0x71, 0x60, 0x29, 0x30, 0x6b, 0x78, 0x6f, 0xc5, 0x91, 0x4f, 0xc7, 0x7e, 0x34, - 0xef, 0x49, 0x91, 0x34, 0xef, 0x3f, 0x7d, 0xbe, 0xbd, 0xf0, 0xcf, 0xf3, 0xed, 0xe2, 0x57, 0x4a, - 0x26, 0xb7, 0x69, 0x96, 0x58, 0x8a, 0x96, 0x0f, 0xfd, 0xfd, 0xb6, 0x7d, 0xf8, 0xf5, 0xcf, 0xed, - 0xbd, 0x58, 0xa4, 0x5f, 0xf6, 0x02, 0x2f, 0x94, 0xfb, 0x0c, 0x73, 0xce, 0xfc, 0xa9, 0xa9, 0xe8, - 0x6b, 0x96, 0x1e, 0x76, 0xb8, 0xd2, 0xd5, 0x54, 0xcb, 0x1a, 0x37, 0xfe, 0x5d, 0x86, 0x97, 0x35, - 0x2d, 0x49, 0xa1, 0x60, 0xe2, 0x88, 0xec, 0x8c, 0x4d, 0x63, 0x3c, 0xf3, 0xdc, 0xdd, 0xd9, 0x22, - 0xd3, 0x23, 0xdd, 0x7e, 0xf2, 0xfb, 0xdf, 0x3f, 0x2c, 0x16, 0xc9, 0x3a, 0xcb, 0xe7, 0xaa, 0x89, - 0x3c, 0xf2, 0x18, 0x96, 0xed, 0xa8, 0x49, 0x65, 0x72, 0xc9, 0x5c, 0x1a, 0xba, 0xd5, 0x79, 0x32, - 0xf4, 0xbe, 0xa6, 0xbd, 0x37, 0x49, 0x91, 0x4d, 0xc9, 0x74, 0x45, 0xbe, 0x73, 0x00, 0x86, 0xd7, - 0x44, 0x76, 0x67, 0x56, 0xb6, 0xfe, 0x95, 0x39, 0x2a, 0xb4, 0xaf, 0x6a, 0xfb, 0x32, 0x29, 0x4d, - 0xb5, 0x67, 0x47, 0x22, 0xea, 0x67, 0xaf, 0x41, 0xe1, 0x1e, 0x4f, 0x9b, 0x22, 0x22, 0xe5, 0xc9, - 0x95, 0x87, 0x11, 0xe5, 0x5e, 0x9b, 0xa1, 0x40, 0xdf, 0x9b, 0xda, 0xb7, 0x46, 0x6e, 0x8c, 0xf9, - 0x66, 0xdf, 0x3f, 0x3b, 0x1a, 0x66, 0x4b, 0x9f, 0x1d, 0x99, 0x8f, 0xba, 0x4f, 0x1e, 0xc3, 0x92, - 0x61, 0x50, 0x64, 0xba, 0xc5, 0xe0, 0x06, 0xe8, 0x2c, 0x09, 0x62, 0x5c, 0xd7, 0x18, 0xbb, 0x84, - 0xce, 0xc7, 0x20, 0x3f, 0x3b, 0x70, 0x25, 0x1f, 0x24, 0xa4, 0x36, 0xfb, 0x9a, 0x73, 0xb9, 0xe5, - 0x7a, 0x67, 0x95, 0xcf, 0x1f, 0xd3, 0x61, 0xcd, 0x8c, 0xc5, 0x8e, 0xc7, 0x86, 0x4d, 0x9f, 0xfc, - 0xe4, 0xc0, 0x6a, 0x2e, 0x55, 0xc8, 0x5b, 0xf3, 0x8c, 0x4f, 0x07, 0x98, 0x5b, 0x3b, 0xa3, 0x1a, - 0x29, 0xeb, 0x9a, 0xf2, 0x06, 0x79, 0x73, 0x12, 0xa5, 0x0e, 0x3d, 0x76, 0x34, 0x12, 0x88, 0x7d, - 0xf2, 0x8b, 0x03, 0xeb, 0x53, 0xa2, 0x87, 0xbc, 0x3d, 0xd9, 0x7d, 0x76, 0xa2, 0xb9, 0xb7, 0xfe, - 0xe7, 0x29, 0x64, 0x2f, 0x6b, 0x76, 0x97, 0x6c, 0x8c, 0xb3, 0x1b, 0x65, 0xf3, 0xdd, 0xa7, 0xc7, - 0x25, 0xe7, 0xd9, 0x71, 0xc9, 0xf9, 0xeb, 0xb8, 0xe4, 0x7c, 0x7f, 0x52, 0x5a, 0x78, 0x76, 0x52, - 0x5a, 0xf8, 0xe3, 0xa4, 0xb4, 0xf0, 0x79, 0x35, 0x16, 0xa9, 0x77, 0x10, 0x05, 0x5e, 0x2a, 0xf5, - 0xe9, 0x9a, 0x90, 0xac, 0xed, 0x87, 0x32, 0x11, 0x61, 0x23, 0x62, 0xdf, 0xda, 0x62, 0x41, 0x41, - 0xff, 0x2c, 0xbb, 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb7, 0x1a, 0x65, 0x7b, 0x65, 0x0a, - 0x00, 0x00, + // 900 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0xb3, 0x29, 0xb8, 0xcd, 0x2b, 0x6d, 0xd1, 0x10, 0x9a, 0x78, 0xd3, 0x6c, 0xc2, 0x24, + 0x36, 0xa6, 0xc5, 0x3b, 0xb2, 0xdb, 0x5e, 0x90, 0x90, 0x5a, 0x23, 0x5a, 0x21, 0x14, 0x51, 0x2c, + 0xc1, 0x81, 0x03, 0xd5, 0xfe, 0xd2, 0xb2, 0x60, 0xef, 0xb8, 0x9e, 0xb5, 0xc1, 0x32, 0xbe, 0xf4, + 0x02, 0x17, 0x24, 0x24, 0x24, 0xee, 0x5c, 0x10, 0x82, 0x7f, 0xa4, 0xc7, 0x4a, 0x5c, 0x38, 0x15, + 0x94, 0xf0, 0x17, 0xf0, 0x17, 0xa0, 0x9d, 0x79, 0x63, 0xc7, 0xbb, 0x5e, 0x3b, 0xd0, 0x53, 0xb2, + 0x33, 0xdf, 0x79, 0xef, 0xf3, 0xde, 0xbc, 0xf9, 0xca, 0xb0, 0xe3, 0x05, 0x7d, 0x8f, 0x39, 0x03, + 0x2f, 0x89, 0x78, 0xcc, 0x86, 0x0d, 0xf6, 0x68, 0x10, 0xf4, 0x47, 0x76, 0xaf, 0xcf, 0x13, 0x4e, + 0xae, 0xa4, 0x9b, 0x36, 0x6e, 0xda, 0xc3, 0x86, 0xb9, 0x19, 0xf2, 0x90, 0xcb, 0x3d, 0x96, 0xfe, + 0xa7, 0x64, 0xe6, 0xb5, 0x90, 0xf3, 0xb0, 0x13, 0x30, 0xa7, 0x17, 0x31, 0x27, 0x8e, 0x79, 0xe2, + 0xa4, 0x7a, 0x81, 0xbb, 0xd7, 0x3d, 0x2e, 0xba, 0x5c, 0x30, 0xd7, 0x11, 0x81, 0x8a, 0xce, 0x86, + 0x0d, 0x37, 0x48, 0x9c, 0x06, 0xeb, 0x39, 0x61, 0x14, 0x4b, 0x31, 0x6a, 0xad, 0xd3, 0x5a, 0xad, + 0xf2, 0x78, 0xa4, 0xf7, 0x77, 0xb3, 0xb4, 0x9a, 0x4d, 0x6e, 0xd3, 0x4d, 0x20, 0x1f, 0xa6, 0x09, + 0x1e, 0x38, 0x7d, 0xa7, 0x2b, 0xda, 0xc1, 0xa3, 0x41, 0x20, 0x12, 0x7a, 0x0f, 0x5e, 0x99, 0x5b, + 0x15, 0x3d, 0x1e, 0x8b, 0x80, 0x30, 0x28, 0xf5, 0xe4, 0xca, 0xb6, 0xb1, 0x6f, 0xd4, 0x2e, 0x36, + 0xb7, 0xec, 0x4c, 0xb5, 0x36, 0x1e, 0x40, 0x19, 0xfd, 0x14, 0x36, 0x65, 0x9c, 0xbb, 0x4a, 0xa1, + 0xe3, 0x93, 0x7b, 0x00, 0xb3, 0x42, 0x30, 0x58, 0xd5, 0x56, 0x95, 0xd8, 0x69, 0x25, 0xb6, 0xea, + 0x29, 0xd6, 0x63, 0x3f, 0x70, 0xc2, 0x00, 0xcf, 0xb6, 0x4f, 0x9d, 0xa4, 0x3f, 0x1a, 0xf0, 0x6a, + 0x26, 0x01, 0xa2, 0xde, 0x86, 0x0b, 0x88, 0xa5, 0x61, 0xcb, 0x39, 0xd8, 0xe9, 0xa1, 0xa9, 0x34, + 0x03, 0xb6, 0xfe, 0xbf, 0xc1, 0x6a, 0x70, 0x55, 0x72, 0xdd, 0x0f, 0x12, 0xcc, 0xa2, 0x4b, 0xbf, + 0x0c, 0xeb, 0x91, 0x2f, 0x91, 0x36, 0xda, 0xeb, 0x91, 0x4f, 0x8f, 0x60, 0x2b, 0xa7, 0xc4, 0x1a, + 0x9a, 0x70, 0x1e, 0xc1, 0xb0, 0x84, 0xed, 0xa2, 0x12, 0xda, 0x5a, 0x48, 0xdf, 0xc7, 0xfb, 0xbc, + 0x1f, 0x24, 0xad, 0xc8, 0xd7, 0x49, 0x77, 0x01, 0x50, 0xf0, 0x70, 0x9a, 0x7c, 0x03, 0x57, 0xde, + 0xf3, 0xc9, 0x55, 0x28, 0xb9, 0x91, 0xef, 0x07, 0x7d, 0x59, 0xf1, 0x46, 0x1b, 0xbf, 0xe8, 0xdb, + 0x38, 0x06, 0x3a, 0x18, 0x72, 0x55, 0xe1, 0x9c, 0x8b, 0x61, 0x2e, 0x36, 0x37, 0x73, 0x4c, 0xa9, + 0x34, 0x15, 0xd0, 0x5b, 0x73, 0xc7, 0xc5, 0xd9, 0x60, 0xe8, 0x1d, 0x9c, 0x99, 0xe9, 0x29, 0xcc, + 0x5a, 0x83, 0x17, 0xdc, 0xc8, 0x4f, 0x6f, 0xf3, 0x5c, 0x61, 0x5a, 0xa9, 0xa0, 0xef, 0xc2, 0xb5, + 0xb9, 0xa1, 0x68, 0x8d, 0x5a, 0xb2, 0x1e, 0x0d, 0x50, 0x81, 0xcb, 0xaa, 0xc0, 0x87, 0x8e, 0xef, + 0xf7, 0x03, 0x21, 0x10, 0xe2, 0x92, 0x5a, 0xbd, 0xab, 0x16, 0xe9, 0xc7, 0xb0, 0x5b, 0x10, 0xe6, + 0xb9, 0x66, 0x8c, 0xb6, 0x60, 0x27, 0x13, 0xf7, 0x83, 0x2f, 0xe3, 0x19, 0xdd, 0x01, 0x5c, 0xe2, + 0xe9, 0x77, 0x06, 0xee, 0x25, 0xb9, 0xa8, 0xd9, 0x3e, 0xca, 0x95, 0x88, 0x31, 0x9e, 0x0f, 0xad, + 0x02, 0x07, 0x99, 0x61, 0x3c, 0xe2, 0xfe, 0xa0, 0x13, 0xb4, 0x9c, 0x8e, 0x13, 0x7b, 0x7a, 0xd2, + 0xe9, 0x6f, 0x06, 0x1c, 0x2e, 0xd7, 0x21, 0xc6, 0x63, 0x03, 0xce, 0xbb, 0x6a, 0x0d, 0xef, 0xad, + 0x3c, 0xf7, 0x98, 0xf4, 0x33, 0x7a, 0x87, 0x47, 0x71, 0xeb, 0xe8, 0xc9, 0xb3, 0xbd, 0xb5, 0x7f, + 0x9e, 0xed, 0x95, 0x3f, 0x17, 0x3c, 0x7e, 0x8b, 0xa6, 0x1e, 0x26, 0xe8, 0xfe, 0xc8, 0xe9, 0x76, + 0xf4, 0xc7, 0xaf, 0x7f, 0xee, 0xd5, 0xc2, 0x28, 0xf9, 0x6c, 0xe0, 0xda, 0x1e, 0xef, 0x32, 0x74, + 0x3e, 0xf5, 0xa7, 0x2e, 0xfc, 0x2f, 0x58, 0x32, 0xea, 0x05, 0x42, 0x46, 0x13, 0x6d, 0x9d, 0xb8, + 0xf9, 0xdd, 0x06, 0xbc, 0x28, 0x69, 0x49, 0x02, 0x25, 0x65, 0x50, 0xe4, 0x20, 0xd7, 0x8d, 0xbc, + 0x0b, 0x9a, 0x87, 0xcb, 0x45, 0xaa, 0x46, 0xba, 0xf7, 0xf8, 0xf7, 0xbf, 0x7f, 0x58, 0x2f, 0x93, + 0x2d, 0x96, 0x75, 0x5a, 0x65, 0x82, 0xe4, 0x6b, 0xb8, 0xa0, 0x5b, 0x4d, 0x2a, 0x8b, 0x43, 0x66, + 0xfc, 0xd1, 0xac, 0xae, 0x92, 0x61, 0xee, 0xd7, 0x64, 0xee, 0x1d, 0x52, 0x66, 0x05, 0x2e, 0x2f, + 0xc8, 0x37, 0x06, 0xc0, 0xec, 0x9a, 0xc8, 0xeb, 0x8b, 0x23, 0xe7, 0x7c, 0xca, 0xac, 0xad, 0x16, + 0x22, 0x44, 0x55, 0x42, 0xec, 0x13, 0xab, 0x10, 0x82, 0x8d, 0x23, 0x7f, 0x42, 0xbe, 0x35, 0xa0, + 0xa4, 0x1e, 0x75, 0x51, 0xfb, 0xe7, 0x4c, 0xab, 0xa8, 0xfd, 0xf3, 0x66, 0x44, 0x6f, 0xca, 0xec, + 0x75, 0x72, 0x23, 0x97, 0x3d, 0xf5, 0x02, 0x36, 0x9e, 0x59, 0xcd, 0x84, 0x8d, 0xd5, 0x03, 0x9f, + 0xc8, 0xb9, 0x44, 0x7f, 0x21, 0x4b, 0xd3, 0x4c, 0x6f, 0xa4, 0xb2, 0x42, 0x85, 0x34, 0xd7, 0x25, + 0xcd, 0x21, 0xa1, 0xab, 0x69, 0xc8, 0xcf, 0x06, 0xbc, 0x9c, 0xf5, 0x16, 0x52, 0x5f, 0x7e, 0xf3, + 0x19, 0x2b, 0x33, 0xed, 0xb3, 0xca, 0x57, 0x77, 0x6b, 0x54, 0x57, 0xdd, 0xd1, 0x5d, 0xd2, 0xfe, + 0x33, 0x21, 0x3f, 0x19, 0x70, 0x25, 0x63, 0x34, 0xe4, 0xcd, 0x55, 0x89, 0x4f, 0x7b, 0x9a, 0x59, + 0x3f, 0xa3, 0x1a, 0x29, 0x1b, 0x92, 0xf2, 0x06, 0x79, 0x63, 0x11, 0xa5, 0xf4, 0x41, 0x36, 0x9e, + 0xf3, 0xc8, 0x09, 0xf9, 0xc5, 0x80, 0xad, 0x02, 0x37, 0x22, 0xb7, 0x56, 0x8d, 0xf2, 0x22, 0x93, + 0x33, 0x6f, 0xff, 0xc7, 0x53, 0xc8, 0xbe, 0x2f, 0xd9, 0x4d, 0xb2, 0x9d, 0x67, 0x57, 0xca, 0xd6, + 0x9d, 0x27, 0xc7, 0x96, 0xf1, 0xf4, 0xd8, 0x32, 0xfe, 0x3a, 0xb6, 0x8c, 0xef, 0x4f, 0xac, 0xb5, + 0xa7, 0x27, 0xd6, 0xda, 0x1f, 0x27, 0xd6, 0xda, 0x27, 0xd5, 0x30, 0x4a, 0xec, 0xa1, 0xef, 0xda, + 0x09, 0x97, 0xa7, 0xeb, 0x11, 0x67, 0x1d, 0xc7, 0xe3, 0x71, 0xe4, 0x35, 0x7d, 0xf6, 0x95, 0x0e, + 0xe6, 0x96, 0xe4, 0x6f, 0xb7, 0x9b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x1f, 0x6f, 0x64, + 0x8a, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -865,11 +870,11 @@ type QueryClient interface { // Auctions queries all auctions Auctions(ctx context.Context, in *QueryAuctionsRequest, opts ...grpc.CallOption) (*QueryAuctionsResponse, error) // GetAuction queries an auction - GetAuction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) + GetAuction(ctx context.Context, in *QueryGetAuctionRequest, opts ...grpc.CallOption) (*QueryGetAuctionResponse, error) // GetBid queries an auction bid - GetBid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) + GetBid(ctx context.Context, in *QueryGetBidRequest, opts ...grpc.CallOption) (*QueryGetBidResponse, error) // GetBids queries all auction bids - GetBids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error) + GetBids(ctx context.Context, in *QueryGetBidsRequest, opts ...grpc.CallOption) (*QueryGetBidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(ctx context.Context, in *QueryAuctionsByBidderRequest, opts ...grpc.CallOption) (*QueryAuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner @@ -904,8 +909,8 @@ func (c *queryClient) Auctions(ctx context.Context, in *QueryAuctionsRequest, op return out, nil } -func (c *queryClient) GetAuction(ctx context.Context, in *QueryAuctionRequest, opts ...grpc.CallOption) (*QueryAuctionResponse, error) { - out := new(QueryAuctionResponse) +func (c *queryClient) GetAuction(ctx context.Context, in *QueryGetAuctionRequest, opts ...grpc.CallOption) (*QueryGetAuctionResponse, error) { + out := new(QueryGetAuctionResponse) err := c.cc.Invoke(ctx, "/cerc.auction.v1.Query/GetAuction", in, out, opts...) if err != nil { return nil, err @@ -913,8 +918,8 @@ func (c *queryClient) GetAuction(ctx context.Context, in *QueryAuctionRequest, o return out, nil } -func (c *queryClient) GetBid(ctx context.Context, in *QueryBidRequest, opts ...grpc.CallOption) (*QueryBidResponse, error) { - out := new(QueryBidResponse) +func (c *queryClient) GetBid(ctx context.Context, in *QueryGetBidRequest, opts ...grpc.CallOption) (*QueryGetBidResponse, error) { + out := new(QueryGetBidResponse) err := c.cc.Invoke(ctx, "/cerc.auction.v1.Query/GetBid", in, out, opts...) if err != nil { return nil, err @@ -922,8 +927,8 @@ func (c *queryClient) GetBid(ctx context.Context, in *QueryBidRequest, opts ...g return out, nil } -func (c *queryClient) GetBids(ctx context.Context, in *QueryBidsRequest, opts ...grpc.CallOption) (*QueryBidsResponse, error) { - out := new(QueryBidsResponse) +func (c *queryClient) GetBids(ctx context.Context, in *QueryGetBidsRequest, opts ...grpc.CallOption) (*QueryGetBidsResponse, error) { + out := new(QueryGetBidsResponse) err := c.cc.Invoke(ctx, "/cerc.auction.v1.Query/GetBids", in, out, opts...) if err != nil { return nil, err @@ -965,11 +970,11 @@ type QueryServer interface { // Auctions queries all auctions Auctions(context.Context, *QueryAuctionsRequest) (*QueryAuctionsResponse, error) // GetAuction queries an auction - GetAuction(context.Context, *QueryAuctionRequest) (*QueryAuctionResponse, error) + GetAuction(context.Context, *QueryGetAuctionRequest) (*QueryGetAuctionResponse, error) // GetBid queries an auction bid - GetBid(context.Context, *QueryBidRequest) (*QueryBidResponse, error) + GetBid(context.Context, *QueryGetBidRequest) (*QueryGetBidResponse, error) // GetBids queries all auction bids - GetBids(context.Context, *QueryBidsRequest) (*QueryBidsResponse, error) + GetBids(context.Context, *QueryGetBidsRequest) (*QueryGetBidsResponse, error) // AuctionsByBidder queries auctions by bidder AuctionsByBidder(context.Context, *QueryAuctionsByBidderRequest) (*QueryAuctionsByBidderResponse, error) // AuctionsByOwner queries auctions by owner @@ -988,13 +993,13 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) Auctions(ctx context.Context, req *QueryAuctionsRequest) (*QueryAuctionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Auctions not implemented") } -func (*UnimplementedQueryServer) GetAuction(ctx context.Context, req *QueryAuctionRequest) (*QueryAuctionResponse, error) { +func (*UnimplementedQueryServer) GetAuction(ctx context.Context, req *QueryGetAuctionRequest) (*QueryGetAuctionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAuction not implemented") } -func (*UnimplementedQueryServer) GetBid(ctx context.Context, req *QueryBidRequest) (*QueryBidResponse, error) { +func (*UnimplementedQueryServer) GetBid(ctx context.Context, req *QueryGetBidRequest) (*QueryGetBidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBid not implemented") } -func (*UnimplementedQueryServer) GetBids(ctx context.Context, req *QueryBidsRequest) (*QueryBidsResponse, error) { +func (*UnimplementedQueryServer) GetBids(ctx context.Context, req *QueryGetBidsRequest) (*QueryGetBidsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBids not implemented") } func (*UnimplementedQueryServer) AuctionsByBidder(ctx context.Context, req *QueryAuctionsByBidderRequest) (*QueryAuctionsByBidderResponse, error) { @@ -1048,7 +1053,7 @@ func _Query_Auctions_Handler(srv interface{}, ctx context.Context, dec func(inte } func _Query_GetAuction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAuctionRequest) + in := new(QueryGetAuctionRequest) if err := dec(in); err != nil { return nil, err } @@ -1060,13 +1065,13 @@ func _Query_GetAuction_Handler(srv interface{}, ctx context.Context, dec func(in FullMethod: "/cerc.auction.v1.Query/GetAuction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetAuction(ctx, req.(*QueryAuctionRequest)) + return srv.(QueryServer).GetAuction(ctx, req.(*QueryGetAuctionRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetBid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryBidRequest) + in := new(QueryGetBidRequest) if err := dec(in); err != nil { return nil, err } @@ -1078,13 +1083,13 @@ func _Query_GetBid_Handler(srv interface{}, ctx context.Context, dec func(interf FullMethod: "/cerc.auction.v1.Query/GetBid", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBid(ctx, req.(*QueryBidRequest)) + return srv.(QueryServer).GetBid(ctx, req.(*QueryGetBidRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetBids_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryBidsRequest) + in := new(QueryGetBidsRequest) if err := dec(in); err != nil { return nil, err } @@ -1096,7 +1101,7 @@ func _Query_GetBids_Handler(srv interface{}, ctx context.Context, dec func(inter FullMethod: "/cerc.auction.v1.Query/GetBids", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBids(ctx, req.(*QueryBidsRequest)) + return srv.(QueryServer).GetBids(ctx, req.(*QueryGetBidsRequest)) } return interceptor(ctx, in, info, handler) } @@ -1336,7 +1341,7 @@ func (m *QueryAuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryAuctionRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAuctionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1346,12 +1351,12 @@ func (m *QueryAuctionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAuctionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAuctionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1366,7 +1371,7 @@ func (m *QueryAuctionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryAuctionResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAuctionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1376,12 +1381,12 @@ func (m *QueryAuctionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAuctionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAuctionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1401,7 +1406,7 @@ func (m *QueryAuctionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryBidRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetBidRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1411,12 +1416,12 @@ func (m *QueryBidRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryBidRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetBidRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1438,7 +1443,7 @@ func (m *QueryBidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryBidResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetBidResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1448,12 +1453,12 @@ func (m *QueryBidResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryBidResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetBidResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1473,7 +1478,7 @@ func (m *QueryBidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryBidsRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetBidsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1483,12 +1488,12 @@ func (m *QueryBidsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryBidsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetBidsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryBidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetBidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1503,7 +1508,7 @@ func (m *QueryBidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryBidsResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetBidsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1513,12 +1518,12 @@ func (m *QueryBidsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryBidsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetBidsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryBidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetBidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1793,7 +1798,7 @@ func (m *QueryAuctionsResponse) Size() (n int) { return n } -func (m *QueryAuctionRequest) Size() (n int) { +func (m *QueryGetAuctionRequest) Size() (n int) { if m == nil { return 0 } @@ -1806,7 +1811,7 @@ func (m *QueryAuctionRequest) Size() (n int) { return n } -func (m *QueryAuctionResponse) Size() (n int) { +func (m *QueryGetAuctionResponse) Size() (n int) { if m == nil { return 0 } @@ -1819,7 +1824,7 @@ func (m *QueryAuctionResponse) Size() (n int) { return n } -func (m *QueryBidRequest) Size() (n int) { +func (m *QueryGetBidRequest) Size() (n int) { if m == nil { return 0 } @@ -1836,7 +1841,7 @@ func (m *QueryBidRequest) Size() (n int) { return n } -func (m *QueryBidResponse) Size() (n int) { +func (m *QueryGetBidResponse) Size() (n int) { if m == nil { return 0 } @@ -1849,7 +1854,7 @@ func (m *QueryBidResponse) Size() (n int) { return n } -func (m *QueryBidsRequest) Size() (n int) { +func (m *QueryGetBidsRequest) Size() (n int) { if m == nil { return 0 } @@ -1862,7 +1867,7 @@ func (m *QueryBidsRequest) Size() (n int) { return n } -func (m *QueryBidsResponse) Size() (n int) { +func (m *QueryGetBidsResponse) Size() (n int) { if m == nil { return 0 } @@ -2303,7 +2308,7 @@ func (m *QueryAuctionsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetAuctionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2326,10 +2331,10 @@ func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAuctionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetAuctionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAuctionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetAuctionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2385,7 +2390,7 @@ func (m *QueryAuctionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetAuctionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2408,10 +2413,10 @@ func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAuctionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetAuctionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAuctionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetAuctionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2471,7 +2476,7 @@ func (m *QueryAuctionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBidRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetBidRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2494,10 +2499,10 @@ func (m *QueryBidRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryBidRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetBidRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBidRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetBidRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2585,7 +2590,7 @@ func (m *QueryBidRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBidResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetBidResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2608,10 +2613,10 @@ func (m *QueryBidResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryBidResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetBidResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBidResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetBidResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2671,7 +2676,7 @@ func (m *QueryBidResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBidsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetBidsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2694,10 +2699,10 @@ func (m *QueryBidsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryBidsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetBidsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBidsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetBidsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2753,7 +2758,7 @@ func (m *QueryBidsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBidsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetBidsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2776,10 +2781,10 @@ func (m *QueryBidsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryBidsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetBidsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBidsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetBidsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/auction/query.pb.gw.go b/x/auction/query.pb.gw.go index c539c916b..13672b549 100644 --- a/x/auction/query.pb.gw.go +++ b/x/auction/query.pb.gw.go @@ -88,7 +88,7 @@ func local_request_Query_Auctions_0(ctx context.Context, marshaler runtime.Marsh } func request_Query_GetAuction_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAuctionRequest + var protoReq QueryGetAuctionRequest var metadata runtime.ServerMetadata var ( @@ -115,7 +115,7 @@ func request_Query_GetAuction_0(ctx context.Context, marshaler runtime.Marshaler } func local_request_Query_GetAuction_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAuctionRequest + var protoReq QueryGetAuctionRequest var metadata runtime.ServerMetadata var ( @@ -142,7 +142,7 @@ func local_request_Query_GetAuction_0(ctx context.Context, marshaler runtime.Mar } func request_Query_GetBid_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryBidRequest + var protoReq QueryGetBidRequest var metadata runtime.ServerMetadata var ( @@ -180,7 +180,7 @@ func request_Query_GetBid_0(ctx context.Context, marshaler runtime.Marshaler, cl } func local_request_Query_GetBid_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryBidRequest + var protoReq QueryGetBidRequest var metadata runtime.ServerMetadata var ( @@ -218,7 +218,7 @@ func local_request_Query_GetBid_0(ctx context.Context, marshaler runtime.Marshal } func request_Query_GetBids_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryBidsRequest + var protoReq QueryGetBidsRequest var metadata runtime.ServerMetadata var ( @@ -245,7 +245,7 @@ func request_Query_GetBids_0(ctx context.Context, marshaler runtime.Marshaler, c } func local_request_Query_GetBids_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryBidsRequest + var protoReq QueryGetBidsRequest var metadata runtime.ServerMetadata var ( diff --git a/x/bond/client/cli/query.go b/x/bond/client/cli/query.go index 019c7d05e..fcf0cb7a0 100644 --- a/x/bond/client/cli/query.go +++ b/x/bond/client/cli/query.go @@ -33,7 +33,7 @@ $ %s query %s list return err } queryClient := bondtypes.NewQueryClient(clientCtx) - res, err := queryClient.Bonds(cmd.Context(), &bondtypes.QueryGetBondsRequest{}) + res, err := queryClient.Bonds(cmd.Context(), &bondtypes.QueryBondsRequest{}) if err != nil { return err } diff --git a/x/bond/keeper/query_server.go b/x/bond/keeper/query_server.go index 7c0066da7..adfb38acc 100644 --- a/x/bond/keeper/query_server.go +++ b/x/bond/keeper/query_server.go @@ -34,7 +34,7 @@ func (qs queryServer) Params(c context.Context, _ *bondtypes.QueryParamsRequest) } // Bonds implements bond.QueryServer. -func (qs queryServer) Bonds(c context.Context, _ *bondtypes.QueryGetBondsRequest) (*bondtypes.QueryGetBondsResponse, error) { +func (qs queryServer) Bonds(c context.Context, _ *bondtypes.QueryBondsRequest) (*bondtypes.QueryBondsResponse, error) { ctx := sdk.UnwrapSDKContext(c) resp, err := qs.k.ListBonds(ctx) @@ -42,7 +42,7 @@ func (qs queryServer) Bonds(c context.Context, _ *bondtypes.QueryGetBondsRequest return nil, err } - return &bondtypes.QueryGetBondsResponse{Bonds: resp}, nil + return &bondtypes.QueryBondsResponse{Bonds: resp}, nil } // GetBondById implements bond.QueryServer. @@ -79,8 +79,8 @@ func (qs queryServer) GetBondsByOwner(c context.Context, req *bondtypes.QueryGet return &bondtypes.QueryGetBondsByOwnerResponse{Bonds: bonds}, nil } -// GetBondsModuleBalance implements bond.QueryServer. -func (qs queryServer) GetBondsModuleBalance(c context.Context, _ *bondtypes.QueryGetBondModuleBalanceRequest) (*bondtypes.QueryGetBondModuleBalanceResponse, error) { +// GetBondModuleBalance implements bond.QueryServer. +func (qs queryServer) GetBondModuleBalance(c context.Context, _ *bondtypes.QueryGetBondModuleBalanceRequest) (*bondtypes.QueryGetBondModuleBalanceResponse, error) { ctx := sdk.UnwrapSDKContext(c) balances := qs.k.GetBondModuleBalances(ctx) diff --git a/x/bond/module/autocli.go b/x/bond/module/autocli.go index 0f61dc9dd..bf7c45e0a 100644 --- a/x/bond/module/autocli.go +++ b/x/bond/module/autocli.go @@ -44,7 +44,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { }, }, { - RpcMethod: "GetBondsModuleBalance", + RpcMethod: "GetBondModuleBalance", Use: "balance", Short: "Get bond module account balances", PositionalArgs: []*autocliv1.PositionalArgDescriptor{}, diff --git a/x/bond/query.pb.go b/x/bond/query.pb.go index 0330fdd52..a78a73ff6 100644 --- a/x/bond/query.pb.go +++ b/x/bond/query.pb.go @@ -114,24 +114,24 @@ func (m *QueryParamsResponse) GetParams() *Params { return nil } -// QueryGetBondById queries a bonds. -type QueryGetBondsRequest struct { +// QueryBondsRequest queries bonds +type QueryBondsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetBondsRequest) Reset() { *m = QueryGetBondsRequest{} } -func (m *QueryGetBondsRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetBondsRequest) ProtoMessage() {} -func (*QueryGetBondsRequest) Descriptor() ([]byte, []int) { +func (m *QueryBondsRequest) Reset() { *m = QueryBondsRequest{} } +func (m *QueryBondsRequest) String() string { return proto.CompactTextString(m) } +func (*QueryBondsRequest) ProtoMessage() {} +func (*QueryBondsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_d3221677ed35cdfb, []int{2} } -func (m *QueryGetBondsRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryBondsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetBondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryBondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetBondsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryBondsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -141,44 +141,44 @@ func (m *QueryGetBondsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *QueryGetBondsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetBondsRequest.Merge(m, src) +func (m *QueryBondsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryBondsRequest.Merge(m, src) } -func (m *QueryGetBondsRequest) XXX_Size() int { +func (m *QueryBondsRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetBondsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetBondsRequest.DiscardUnknown(m) +func (m *QueryBondsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryBondsRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetBondsRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryBondsRequest proto.InternalMessageInfo -func (m *QueryGetBondsRequest) GetPagination() *query.PageRequest { +func (m *QueryBondsRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -// QueryGetBondsResponse is response type for get the bonds by bond-id -type QueryGetBondsResponse struct { +// QueryBondsResponse is response type for get the bonds by bond-id +type QueryBondsResponse struct { Bonds []*Bond `protobuf:"bytes,1,rep,name=bonds,proto3" json:"bonds,omitempty" json:"bonds" yaml:"bonds"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetBondsResponse) Reset() { *m = QueryGetBondsResponse{} } -func (m *QueryGetBondsResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetBondsResponse) ProtoMessage() {} -func (*QueryGetBondsResponse) Descriptor() ([]byte, []int) { +func (m *QueryBondsResponse) Reset() { *m = QueryBondsResponse{} } +func (m *QueryBondsResponse) String() string { return proto.CompactTextString(m) } +func (*QueryBondsResponse) ProtoMessage() {} +func (*QueryBondsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d3221677ed35cdfb, []int{3} } -func (m *QueryGetBondsResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryBondsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetBondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryBondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetBondsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryBondsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -188,33 +188,33 @@ func (m *QueryGetBondsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *QueryGetBondsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetBondsResponse.Merge(m, src) +func (m *QueryBondsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryBondsResponse.Merge(m, src) } -func (m *QueryGetBondsResponse) XXX_Size() int { +func (m *QueryBondsResponse) XXX_Size() int { return m.Size() } -func (m *QueryGetBondsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetBondsResponse.DiscardUnknown(m) +func (m *QueryBondsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryBondsResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetBondsResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryBondsResponse proto.InternalMessageInfo -func (m *QueryGetBondsResponse) GetBonds() []*Bond { +func (m *QueryBondsResponse) GetBonds() []*Bond { if m != nil { return m.Bonds } return nil } -func (m *QueryGetBondsResponse) GetPagination() *query.PageResponse { +func (m *QueryBondsResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } return nil } -// QueryGetBondById +// QueryGetBondById queries bond by bond id type QueryGetBondByIdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" json:"id" yaml:"id"` } @@ -304,7 +304,8 @@ func (m *QueryGetBondByIdResponse) GetBond() *Bond { return nil } -// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerRequest is request type for Query/GetBondsByOwner RPC +// Method type QueryGetBondsByOwnerRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // pagination defines the pagination in the response. @@ -358,7 +359,8 @@ func (m *QueryGetBondsByOwnerRequest) GetPagination() *query.PageResponse { return nil } -// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC Method +// QueryGetBondsByOwnerResponse is response type for Query/GetBondsByOwner RPC +// Method type QueryGetBondsByOwnerResponse struct { Bonds []Bond `protobuf:"bytes,1,rep,name=bonds,proto3" json:"bonds" json:"bonds" yaml:"bonds"` // pagination defines the pagination in the response. @@ -412,7 +414,8 @@ func (m *QueryGetBondsByOwnerResponse) GetPagination() *query.PageResponse { return nil } -// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc method +// QueryGetBondModuleBalanceRequest is request type for bond module balance rpc +// method type QueryGetBondModuleBalanceRequest struct { } @@ -449,7 +452,8 @@ func (m *QueryGetBondModuleBalanceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetBondModuleBalanceRequest proto.InternalMessageInfo -// QueryGetBondModuleBalanceResponse is the response type for bond module balance rpc method +// QueryGetBondModuleBalanceResponse is the response type for bond module +// balance rpc method type QueryGetBondModuleBalanceResponse struct { Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance" json:"coins" yaml:"coins"` } @@ -497,8 +501,8 @@ func (m *QueryGetBondModuleBalanceResponse) GetBalance() github_com_cosmos_cosmo func init() { proto.RegisterType((*QueryParamsRequest)(nil), "cerc.bond.v1.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "cerc.bond.v1.QueryParamsResponse") - proto.RegisterType((*QueryGetBondsRequest)(nil), "cerc.bond.v1.QueryGetBondsRequest") - proto.RegisterType((*QueryGetBondsResponse)(nil), "cerc.bond.v1.QueryGetBondsResponse") + proto.RegisterType((*QueryBondsRequest)(nil), "cerc.bond.v1.QueryBondsRequest") + proto.RegisterType((*QueryBondsResponse)(nil), "cerc.bond.v1.QueryBondsResponse") proto.RegisterType((*QueryGetBondByIdRequest)(nil), "cerc.bond.v1.QueryGetBondByIdRequest") proto.RegisterType((*QueryGetBondByIdResponse)(nil), "cerc.bond.v1.QueryGetBondByIdResponse") proto.RegisterType((*QueryGetBondsByOwnerRequest)(nil), "cerc.bond.v1.QueryGetBondsByOwnerRequest") @@ -510,54 +514,54 @@ func init() { func init() { proto.RegisterFile("cerc/bond/v1/query.proto", fileDescriptor_d3221677ed35cdfb) } var fileDescriptor_d3221677ed35cdfb = []byte{ - // 748 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0x4f, 0x6e, 0xd3, 0x40, - 0x14, 0xc6, 0xe3, 0x40, 0x8a, 0x98, 0x22, 0x21, 0x4d, 0x13, 0x92, 0x3a, 0xad, 0x9d, 0x4e, 0x45, - 0x5b, 0x2a, 0xd5, 0xa3, 0x84, 0x1d, 0x12, 0x1b, 0x57, 0xa2, 0x42, 0xa8, 0xa2, 0x78, 0xc9, 0x02, - 0xe4, 0x7f, 0x32, 0x43, 0x13, 0x4f, 0x9a, 0x71, 0x02, 0x51, 0x29, 0x8b, 0x9e, 0xa0, 0x12, 0x0b, - 0xae, 0x00, 0xac, 0x39, 0x44, 0x97, 0x95, 0xd8, 0xb0, 0x0a, 0xa8, 0xe5, 0x04, 0x39, 0x01, 0xf2, - 0xcc, 0xb8, 0xb5, 0xd3, 0x34, 0xe9, 0x02, 0xb1, 0x72, 0xc6, 0xef, 0x9b, 0xf7, 0x7e, 0xdf, 0xf3, - 0xcc, 0x0b, 0xa8, 0xb8, 0x7e, 0xc7, 0xc5, 0x0e, 0x0d, 0x3d, 0xdc, 0xab, 0xe3, 0xbd, 0xae, 0xdf, - 0xe9, 0x1b, 0xed, 0x0e, 0x8d, 0x28, 0xbc, 0x13, 0x47, 0x8c, 0x38, 0x62, 0xf4, 0xea, 0x6a, 0x31, - 0xa0, 0x01, 0xe5, 0x01, 0x1c, 0xff, 0x12, 0x1a, 0x75, 0x21, 0xa0, 0x34, 0x68, 0xfa, 0xd8, 0x6e, - 0x13, 0x6c, 0x87, 0x21, 0x8d, 0xec, 0x88, 0xd0, 0x90, 0xc9, 0xe8, 0xba, 0x4b, 0x59, 0x8b, 0x32, - 0xec, 0xd8, 0xcc, 0x17, 0xa9, 0x71, 0xaf, 0xee, 0xf8, 0x91, 0x5d, 0xc7, 0x6d, 0x3b, 0x20, 0x21, - 0x17, 0x4b, 0xad, 0x96, 0xd6, 0x26, 0x2a, 0x97, 0x92, 0x24, 0x5e, 0xce, 0x70, 0x72, 0x2a, 0x1e, - 0x40, 0x45, 0x00, 0x5f, 0xc4, 0xa9, 0x77, 0xec, 0x8e, 0xdd, 0x62, 0x96, 0xbf, 0xd7, 0xf5, 0x59, - 0x84, 0x3c, 0x30, 0x97, 0x79, 0xcb, 0xda, 0x34, 0x64, 0x3e, 0xdc, 0x06, 0x33, 0x6d, 0xfe, 0xa6, - 0xa2, 0xd4, 0x94, 0xb5, 0xd9, 0x46, 0xd1, 0x48, 0x9b, 0x34, 0x84, 0xda, 0xd4, 0x87, 0x03, 0xbd, - 0xfa, 0x96, 0xd1, 0xf0, 0x11, 0x12, 0x6a, 0x54, 0xeb, 0xdb, 0xad, 0xe6, 0xf9, 0xca, 0x92, 0x49, - 0xd0, 0x2b, 0x50, 0xe4, 0x55, 0xb6, 0xfc, 0xc8, 0xa4, 0xa1, 0x97, 0x54, 0x87, 0x4f, 0x00, 0xb8, - 0x30, 0x28, 0x4b, 0xad, 0x18, 0xc2, 0xa1, 0x11, 0x3b, 0x34, 0x44, 0xa3, 0xa5, 0x4f, 0x63, 0xc7, - 0x0e, 0x7c, 0xb9, 0xd7, 0x4a, 0xed, 0x44, 0x5f, 0x15, 0x50, 0x1a, 0x29, 0x20, 0x8d, 0x6c, 0x81, - 0x42, 0x0c, 0x1d, 0xfb, 0xb8, 0xb1, 0x36, 0xdb, 0x80, 0x59, 0x1f, 0xb1, 0xd6, 0x5c, 0x1c, 0x0e, - 0xf4, 0x79, 0xe1, 0x82, 0x4b, 0x13, 0x13, 0x62, 0x61, 0x89, 0xfd, 0x70, 0x2b, 0x83, 0x9a, 0xe7, - 0xa8, 0xab, 0x53, 0x51, 0x05, 0x45, 0x86, 0xd5, 0x04, 0xe5, 0x34, 0xaa, 0xd9, 0x7f, 0xea, 0x25, - 0xed, 0x58, 0x05, 0x79, 0xe2, 0xf1, 0x36, 0xdc, 0x36, 0xcb, 0xc3, 0x81, 0x3e, 0x27, 0xa8, 0x88, - 0x97, 0x20, 0x11, 0x0f, 0x59, 0x79, 0xe2, 0xa1, 0xd7, 0xa0, 0x72, 0x39, 0x87, 0x74, 0xbc, 0x09, - 0x6e, 0xc6, 0xc4, 0xb2, 0x9b, 0xe3, 0x0c, 0x57, 0x87, 0x03, 0xbd, 0x7c, 0x61, 0x38, 0xed, 0x17, - 0x59, 0x7c, 0x33, 0xfa, 0x00, 0xaa, 0x99, 0x7e, 0x9a, 0xfd, 0xe7, 0xef, 0x42, 0xbf, 0x93, 0x80, - 0x16, 0x41, 0x81, 0xc6, 0x6b, 0xc1, 0x6a, 0x89, 0xc5, 0xbf, 0x6b, 0xd1, 0x77, 0x05, 0x2c, 0x8c, - 0x2f, 0x2f, 0x3d, 0x3e, 0x9b, 0xfe, 0x55, 0x97, 0x8e, 0x07, 0x7a, 0xee, 0xff, 0x7e, 0x59, 0x04, - 0x6a, 0x69, 0xea, 0x6d, 0xea, 0x75, 0x9b, 0xbe, 0x69, 0x37, 0xed, 0xd0, 0x4d, 0x4e, 0x2d, 0xfa, - 0xa2, 0x80, 0xa5, 0x09, 0x22, 0xe9, 0xef, 0x50, 0x01, 0xb7, 0x1c, 0xf1, 0x4e, 0x5a, 0x9c, 0xcf, - 0x00, 0x25, 0x28, 0x9b, 0x94, 0x84, 0xe6, 0x76, 0xd6, 0x69, 0x3c, 0x0b, 0xce, 0x9d, 0x8a, 0xc5, - 0xb7, 0x5f, 0xfa, 0x5a, 0x40, 0xa2, 0x37, 0x5d, 0xc7, 0x70, 0x69, 0x0b, 0xcb, 0x09, 0x22, 0x1e, - 0x1b, 0xcc, 0xdb, 0xc5, 0x51, 0xbf, 0xed, 0x33, 0x9e, 0x8d, 0x59, 0x49, 0xe1, 0xc6, 0x51, 0x01, - 0x14, 0x38, 0x2a, 0xdc, 0x05, 0x33, 0xe2, 0xc6, 0xc3, 0x5a, 0xb6, 0xd3, 0x97, 0x07, 0x8a, 0xba, - 0x34, 0x41, 0x21, 0xdc, 0xa1, 0x85, 0xc3, 0x1f, 0x7f, 0x3e, 0xe5, 0xef, 0xc1, 0x22, 0xce, 0xcc, - 0x2a, 0x31, 0x2b, 0x60, 0x0b, 0x14, 0xf8, 0x37, 0x87, 0x68, 0x4c, 0xa6, 0x91, 0x01, 0xa2, 0x2e, - 0x4f, 0xd4, 0xc8, 0x7a, 0x55, 0x5e, 0xaf, 0x04, 0xe7, 0xf0, 0xa5, 0xd9, 0xc8, 0xe0, 0x47, 0x30, - 0x9b, 0xba, 0x45, 0xf0, 0xfe, 0xd5, 0x09, 0x53, 0x37, 0x55, 0x5d, 0x99, 0x26, 0x93, 0xa5, 0x6b, - 0xbc, 0xb4, 0x0a, 0x2b, 0x63, 0x4a, 0xe3, 0x7d, 0xe2, 0x1d, 0xc0, 0x23, 0x05, 0xdc, 0x1d, 0x39, - 0xe6, 0xf0, 0xc1, 0x04, 0x57, 0xd9, 0x9b, 0xa8, 0xae, 0x5f, 0x47, 0x2a, 0x61, 0x56, 0x38, 0x4c, - 0x0d, 0x6a, 0x23, 0x30, 0xfd, 0x0d, 0x7e, 0x7f, 0xf1, 0x3e, 0x7f, 0x1c, 0xc0, 0xcf, 0x0a, 0x28, - 0x25, 0x39, 0x32, 0xe7, 0x13, 0x1a, 0x57, 0x57, 0x1b, 0x77, 0xda, 0x55, 0x7c, 0x6d, 0xbd, 0x44, - 0x5c, 0xe4, 0x88, 0x65, 0x58, 0x1a, 0x41, 0x14, 0x32, 0xf3, 0xf1, 0xf1, 0xa9, 0xa6, 0x9c, 0x9c, - 0x6a, 0xca, 0xef, 0x53, 0x4d, 0x39, 0x3a, 0xd3, 0x72, 0x27, 0x67, 0x5a, 0xee, 0xe7, 0x99, 0x96, - 0x7b, 0xb9, 0x1c, 0x90, 0xc8, 0xe8, 0x79, 0x8e, 0x11, 0x51, 0xbe, 0x75, 0x83, 0x50, 0xdc, 0xb4, - 0x5d, 0x1a, 0x12, 0xb7, 0xe1, 0xe1, 0xf7, 0x3c, 0x93, 0x33, 0xc3, 0xff, 0x09, 0x1f, 0xfe, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0x3e, 0xc4, 0xd7, 0x1e, 0xcc, 0x07, 0x00, 0x00, + // 750 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0x4f, 0x6f, 0xd3, 0x3e, + 0x1c, 0xc6, 0x9b, 0xfe, 0x7e, 0x1d, 0xc2, 0x43, 0x42, 0x78, 0x1d, 0xed, 0xd2, 0x2d, 0xe9, 0x82, + 0xd8, 0xc6, 0xa4, 0xc5, 0x6a, 0xb9, 0x21, 0x71, 0xc9, 0x24, 0x26, 0x84, 0x26, 0x46, 0x8e, 0x70, + 0x40, 0xf9, 0x63, 0x05, 0xb3, 0x36, 0xee, 0xea, 0xb4, 0x50, 0x8d, 0x71, 0xd8, 0x8d, 0xdb, 0x24, + 0x24, 0x5e, 0x02, 0x42, 0x9c, 0x79, 0x11, 0x3b, 0x4e, 0xe2, 0xc2, 0xa9, 0xa0, 0x8d, 0x57, 0xd0, + 0x57, 0x80, 0x62, 0x3b, 0x5b, 0xd2, 0x66, 0x7f, 0x0e, 0x88, 0x53, 0xea, 0xf8, 0xf1, 0xf7, 0xf9, + 0x3c, 0x8e, 0xfd, 0x2d, 0xa8, 0x7a, 0xb8, 0xeb, 0x21, 0x97, 0x86, 0x3e, 0xea, 0x37, 0xd0, 0x4e, + 0x0f, 0x77, 0x07, 0x66, 0xa7, 0x4b, 0x23, 0x0a, 0x6f, 0xc4, 0x33, 0x66, 0x3c, 0x63, 0xf6, 0x1b, + 0x6a, 0x39, 0xa0, 0x01, 0xe5, 0x13, 0x28, 0xfe, 0x25, 0x34, 0xea, 0x7c, 0x40, 0x69, 0xd0, 0xc2, + 0xc8, 0xe9, 0x10, 0xe4, 0x84, 0x21, 0x8d, 0x9c, 0x88, 0xd0, 0x90, 0xc9, 0xd9, 0x55, 0x8f, 0xb2, + 0x36, 0x65, 0xc8, 0x75, 0x18, 0x16, 0xa5, 0x51, 0xbf, 0xe1, 0xe2, 0xc8, 0x69, 0xa0, 0x8e, 0x13, + 0x90, 0x90, 0x8b, 0xa5, 0x56, 0x4b, 0x6b, 0x13, 0x95, 0x47, 0x49, 0x32, 0x5f, 0xc9, 0x70, 0x72, + 0x2a, 0x3e, 0x61, 0x94, 0x01, 0x7c, 0x16, 0x97, 0xde, 0x72, 0xba, 0x4e, 0x9b, 0xd9, 0x78, 0xa7, + 0x87, 0x59, 0x64, 0xf8, 0x60, 0x26, 0xf3, 0x96, 0x75, 0x68, 0xc8, 0x30, 0xdc, 0x04, 0x53, 0x1d, + 0xfe, 0xa6, 0xaa, 0xd4, 0x95, 0x95, 0xe9, 0x66, 0xd9, 0x4c, 0x87, 0x34, 0x85, 0xda, 0xd2, 0x47, + 0x43, 0xbd, 0xf6, 0x9a, 0xd1, 0xf0, 0x81, 0x21, 0xd4, 0x46, 0x7d, 0xe0, 0xb4, 0x5b, 0xa7, 0x23, + 0x5b, 0x16, 0x31, 0x5e, 0x80, 0x5b, 0xdc, 0xc5, 0xa2, 0xa1, 0x9f, 0x58, 0xc3, 0x47, 0x00, 0x9c, + 0xa5, 0x93, 0x3e, 0x4b, 0xa6, 0x88, 0x67, 0xc6, 0xf1, 0x4c, 0xb1, 0xcb, 0x32, 0xa4, 0xb9, 0xe5, + 0x04, 0x58, 0xae, 0xb5, 0x53, 0x2b, 0x8d, 0xcf, 0x8a, 0x4c, 0x26, 0xab, 0xcb, 0x08, 0x1b, 0xa0, + 0x14, 0xe3, 0xc6, 0x09, 0xfe, 0x5b, 0x99, 0x6e, 0xc2, 0x6c, 0x82, 0x58, 0x6b, 0x2d, 0x8c, 0x86, + 0xfa, 0x9c, 0xe0, 0xe7, 0xd2, 0x04, 0x5f, 0x0c, 0x6c, 0xb1, 0x1e, 0x6e, 0x64, 0x38, 0x8b, 0x9c, + 0x73, 0xf9, 0x52, 0x4e, 0x41, 0x91, 0x01, 0xb5, 0x40, 0x85, 0x73, 0x6e, 0xe0, 0x88, 0xdb, 0x0f, + 0x1e, 0xfb, 0xc9, 0x5e, 0x2c, 0x83, 0x22, 0xf1, 0xf9, 0x1e, 0x5c, 0xb7, 0x2a, 0xa3, 0xa1, 0x3e, + 0x23, 0xa8, 0x88, 0x9f, 0x20, 0x11, 0xdf, 0xb0, 0x8b, 0xc4, 0x37, 0x5e, 0x82, 0xea, 0x64, 0x0d, + 0x99, 0x78, 0x1d, 0xfc, 0x1f, 0x13, 0xcb, 0xad, 0xcc, 0x0b, 0x5c, 0x1b, 0x0d, 0xf5, 0xca, 0x59, + 0xe0, 0x74, 0x5e, 0xc3, 0xe6, 0x8b, 0x8d, 0x77, 0xa0, 0x96, 0x36, 0x60, 0xd6, 0xe0, 0xe9, 0x9b, + 0x10, 0x77, 0x13, 0xd0, 0x32, 0x28, 0xd1, 0x78, 0x2c, 0x58, 0x6d, 0x31, 0xf8, 0x7b, 0x5b, 0xf4, + 0x4d, 0x01, 0xf3, 0xf9, 0xf6, 0x32, 0xe3, 0x93, 0xcb, 0xbf, 0xea, 0xe2, 0xe1, 0x50, 0x2f, 0xfc, + 0xdb, 0x2f, 0x6b, 0x80, 0x7a, 0x9a, 0x7a, 0x93, 0xfa, 0xbd, 0x16, 0xb6, 0x9c, 0x96, 0x13, 0x7a, + 0xc9, 0x91, 0x35, 0xbe, 0x28, 0x60, 0xf1, 0x02, 0x91, 0xcc, 0xb7, 0xaf, 0x80, 0x6b, 0xae, 0x78, + 0x27, 0x23, 0xce, 0x65, 0x80, 0x12, 0x94, 0x75, 0x4a, 0x42, 0x6b, 0x33, 0x9b, 0x34, 0xee, 0x02, + 0xa7, 0x49, 0xc5, 0xe0, 0xeb, 0x4f, 0x7d, 0x25, 0x20, 0xd1, 0xab, 0x9e, 0x6b, 0x7a, 0xb4, 0x8d, + 0x64, 0xef, 0x10, 0x8f, 0x35, 0xe6, 0x6f, 0xa3, 0x68, 0xd0, 0xc1, 0x8c, 0x57, 0x63, 0x76, 0x62, + 0xdc, 0xfc, 0x50, 0x02, 0x25, 0x8e, 0x0a, 0xb7, 0xc1, 0x94, 0xb8, 0xeb, 0xb0, 0x9e, 0xdd, 0xe9, + 0xc9, 0x56, 0xa2, 0x2e, 0x5e, 0xa0, 0x10, 0xe9, 0x8c, 0xf9, 0xfd, 0xef, 0xbf, 0x3f, 0x16, 0x6f, + 0xc3, 0x32, 0xca, 0x74, 0x29, 0xd1, 0x25, 0x60, 0x00, 0x4a, 0xfc, 0x9b, 0x43, 0x3d, 0xa7, 0x52, + 0xba, 0x75, 0xa8, 0xf5, 0xf3, 0x05, 0xd2, 0xa9, 0xc6, 0x9d, 0x66, 0xe1, 0x0c, 0x9a, 0xe8, 0x87, + 0x0c, 0xbe, 0x07, 0xd3, 0xa9, 0xfb, 0x03, 0xef, 0xe6, 0x54, 0x9b, 0xbc, 0xa3, 0xea, 0xd2, 0x65, + 0x32, 0x69, 0x5d, 0xe7, 0xd6, 0x2a, 0xac, 0xe6, 0x58, 0xa3, 0x5d, 0xe2, 0xef, 0xc1, 0x03, 0x05, + 0xdc, 0x1c, 0x3b, 0xe0, 0xf0, 0xde, 0xf9, 0xd5, 0xc7, 0xee, 0xa0, 0xba, 0x7a, 0x15, 0xa9, 0x84, + 0x59, 0xe2, 0x30, 0x75, 0xa8, 0x8d, 0xc1, 0x0c, 0xd6, 0xf8, 0xcd, 0x45, 0xbb, 0xfc, 0xb1, 0x07, + 0x3f, 0x29, 0xa0, 0x9c, 0x77, 0x30, 0xa1, 0x79, 0xbe, 0x59, 0xde, 0x31, 0x57, 0xd1, 0x95, 0xf5, + 0x92, 0x70, 0x81, 0x13, 0x56, 0xe0, 0xec, 0x18, 0xa1, 0x90, 0x59, 0x0f, 0x0f, 0x8f, 0x35, 0xe5, + 0xe8, 0x58, 0x53, 0x7e, 0x1d, 0x6b, 0xca, 0xc1, 0x89, 0x56, 0x38, 0x3a, 0xd1, 0x0a, 0x3f, 0x4e, + 0xb4, 0xc2, 0xf3, 0x3b, 0x01, 0x89, 0xcc, 0xbe, 0xef, 0x9a, 0x11, 0xe5, 0x4b, 0xd7, 0x08, 0x45, + 0x2d, 0xc7, 0xa3, 0x21, 0xf1, 0x9a, 0x3e, 0x7a, 0xcb, 0x2b, 0xb9, 0x53, 0xfc, 0xcf, 0xef, 0xfe, + 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc2, 0x9d, 0x67, 0xc5, 0xbf, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -575,13 +579,13 @@ type QueryClient interface { // Params queries bonds module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Bonds queries bonds list - Bonds(ctx context.Context, in *QueryGetBondsRequest, opts ...grpc.CallOption) (*QueryGetBondsResponse, error) + Bonds(ctx context.Context, in *QueryBondsRequest, opts ...grpc.CallOption) (*QueryBondsResponse, error) // GetBondById GetBondById(ctx context.Context, in *QueryGetBondByIdRequest, opts ...grpc.CallOption) (*QueryGetBondByIdResponse, error) // Get Bonds list by Owner GetBondsByOwner(ctx context.Context, in *QueryGetBondsByOwnerRequest, opts ...grpc.CallOption) (*QueryGetBondsByOwnerResponse, error) // Get Bond module balance - GetBondsModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) + GetBondModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) } type queryClient struct { @@ -601,8 +605,8 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . return out, nil } -func (c *queryClient) Bonds(ctx context.Context, in *QueryGetBondsRequest, opts ...grpc.CallOption) (*QueryGetBondsResponse, error) { - out := new(QueryGetBondsResponse) +func (c *queryClient) Bonds(ctx context.Context, in *QueryBondsRequest, opts ...grpc.CallOption) (*QueryBondsResponse, error) { + out := new(QueryBondsResponse) err := c.cc.Invoke(ctx, "/cerc.bond.v1.Query/Bonds", in, out, opts...) if err != nil { return nil, err @@ -628,9 +632,9 @@ func (c *queryClient) GetBondsByOwner(ctx context.Context, in *QueryGetBondsByOw return out, nil } -func (c *queryClient) GetBondsModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) { +func (c *queryClient) GetBondModuleBalance(ctx context.Context, in *QueryGetBondModuleBalanceRequest, opts ...grpc.CallOption) (*QueryGetBondModuleBalanceResponse, error) { out := new(QueryGetBondModuleBalanceResponse) - err := c.cc.Invoke(ctx, "/cerc.bond.v1.Query/GetBondsModuleBalance", in, out, opts...) + err := c.cc.Invoke(ctx, "/cerc.bond.v1.Query/GetBondModuleBalance", in, out, opts...) if err != nil { return nil, err } @@ -642,13 +646,13 @@ type QueryServer interface { // Params queries bonds module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Bonds queries bonds list - Bonds(context.Context, *QueryGetBondsRequest) (*QueryGetBondsResponse, error) + Bonds(context.Context, *QueryBondsRequest) (*QueryBondsResponse, error) // GetBondById GetBondById(context.Context, *QueryGetBondByIdRequest) (*QueryGetBondByIdResponse, error) // Get Bonds list by Owner GetBondsByOwner(context.Context, *QueryGetBondsByOwnerRequest) (*QueryGetBondsByOwnerResponse, error) // Get Bond module balance - GetBondsModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) + GetBondModuleBalance(context.Context, *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -658,7 +662,7 @@ type UnimplementedQueryServer struct { func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } -func (*UnimplementedQueryServer) Bonds(ctx context.Context, req *QueryGetBondsRequest) (*QueryGetBondsResponse, error) { +func (*UnimplementedQueryServer) Bonds(ctx context.Context, req *QueryBondsRequest) (*QueryBondsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Bonds not implemented") } func (*UnimplementedQueryServer) GetBondById(ctx context.Context, req *QueryGetBondByIdRequest) (*QueryGetBondByIdResponse, error) { @@ -667,8 +671,8 @@ func (*UnimplementedQueryServer) GetBondById(ctx context.Context, req *QueryGetB func (*UnimplementedQueryServer) GetBondsByOwner(ctx context.Context, req *QueryGetBondsByOwnerRequest) (*QueryGetBondsByOwnerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBondsByOwner not implemented") } -func (*UnimplementedQueryServer) GetBondsModuleBalance(ctx context.Context, req *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBondsModuleBalance not implemented") +func (*UnimplementedQueryServer) GetBondModuleBalance(ctx context.Context, req *QueryGetBondModuleBalanceRequest) (*QueryGetBondModuleBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBondModuleBalance not implemented") } func RegisterQueryServer(s grpc1.Server, srv QueryServer) { @@ -694,7 +698,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } func _Query_Bonds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetBondsRequest) + in := new(QueryBondsRequest) if err := dec(in); err != nil { return nil, err } @@ -706,7 +710,7 @@ func _Query_Bonds_Handler(srv interface{}, ctx context.Context, dec func(interfa FullMethod: "/cerc.bond.v1.Query/Bonds", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Bonds(ctx, req.(*QueryGetBondsRequest)) + return srv.(QueryServer).Bonds(ctx, req.(*QueryBondsRequest)) } return interceptor(ctx, in, info, handler) } @@ -747,20 +751,20 @@ func _Query_GetBondsByOwner_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -func _Query_GetBondsModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _Query_GetBondModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetBondModuleBalanceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GetBondsModuleBalance(ctx, in) + return srv.(QueryServer).GetBondModuleBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cerc.bond.v1.Query/GetBondsModuleBalance", + FullMethod: "/cerc.bond.v1.Query/GetBondModuleBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBondsModuleBalance(ctx, req.(*QueryGetBondModuleBalanceRequest)) + return srv.(QueryServer).GetBondModuleBalance(ctx, req.(*QueryGetBondModuleBalanceRequest)) } return interceptor(ctx, in, info, handler) } @@ -786,8 +790,8 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Handler: _Query_GetBondsByOwner_Handler, }, { - MethodName: "GetBondsModuleBalance", - Handler: _Query_GetBondsModuleBalance_Handler, + MethodName: "GetBondModuleBalance", + Handler: _Query_GetBondModuleBalance_Handler, }, }, Streams: []grpc.StreamDesc{}, @@ -852,7 +856,7 @@ func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGetBondsRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryBondsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -862,12 +866,12 @@ func (m *QueryGetBondsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetBondsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryBondsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetBondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryBondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -887,7 +891,7 @@ func (m *QueryGetBondsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGetBondsResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryBondsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -897,12 +901,12 @@ func (m *QueryGetBondsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetBondsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryBondsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetBondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryBondsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1185,7 +1189,7 @@ func (m *QueryParamsResponse) Size() (n int) { return n } -func (m *QueryGetBondsRequest) Size() (n int) { +func (m *QueryBondsRequest) Size() (n int) { if m == nil { return 0 } @@ -1198,7 +1202,7 @@ func (m *QueryGetBondsRequest) Size() (n int) { return n } -func (m *QueryGetBondsResponse) Size() (n int) { +func (m *QueryBondsResponse) Size() (n int) { if m == nil { return 0 } @@ -1445,7 +1449,7 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetBondsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryBondsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1468,10 +1472,10 @@ func (m *QueryGetBondsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetBondsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryBondsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetBondsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryBondsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1531,7 +1535,7 @@ func (m *QueryGetBondsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetBondsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryBondsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1554,10 +1558,10 @@ func (m *QueryGetBondsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetBondsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryBondsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetBondsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryBondsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/bond/query.pb.gw.go b/x/bond/query.pb.gw.go index 5b7be5fd9..b720b6064 100644 --- a/x/bond/query.pb.gw.go +++ b/x/bond/query.pb.gw.go @@ -56,7 +56,7 @@ var ( ) func request_Query_Bonds_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetBondsRequest + var protoReq QueryBondsRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { @@ -72,7 +72,7 @@ func request_Query_Bonds_0(ctx context.Context, marshaler runtime.Marshaler, cli } func local_request_Query_Bonds_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetBondsRequest + var protoReq QueryBondsRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { @@ -213,20 +213,20 @@ func local_request_Query_GetBondsByOwner_0(ctx context.Context, marshaler runtim } -func request_Query_GetBondsModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_Query_GetBondModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetBondModuleBalanceRequest var metadata runtime.ServerMetadata - msg, err := client.GetBondsModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GetBondModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_GetBondsModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_Query_GetBondModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetBondModuleBalanceRequest var metadata runtime.ServerMetadata - msg, err := server.GetBondsModuleBalance(ctx, &protoReq) + msg, err := server.GetBondModuleBalance(ctx, &protoReq) return msg, metadata, err } @@ -329,7 +329,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_GetBondsModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GetBondModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -340,7 +340,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_GetBondsModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_GetBondModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -348,7 +348,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_GetBondsModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GetBondModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -473,7 +473,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_GetBondsModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GetBondModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -482,14 +482,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_GetBondsModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_GetBondModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GetBondsModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GetBondModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -505,7 +505,7 @@ var ( pattern_Query_GetBondsByOwner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cerc", "bond", "v1", "by-owner", "owner"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_GetBondsModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "bond", "v1", "balance"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GetBondModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "bond", "v1", "balance"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -517,5 +517,5 @@ var ( forward_Query_GetBondsByOwner_0 = runtime.ForwardResponseMessage - forward_Query_GetBondsModuleBalance_0 = runtime.ForwardResponseMessage + forward_Query_GetBondModuleBalance_0 = runtime.ForwardResponseMessage ) diff --git a/x/registry/client/cli/tx.go b/x/registry/client/cli/tx.go index 2c645d74f..f0c63f72e 100644 --- a/x/registry/client/cli/tx.go +++ b/x/registry/client/cli/tx.go @@ -85,8 +85,8 @@ func GetPayloadFromFile(filePath string) (*registrytypes.ReadablePayload, error) return &payload, nil } -// GetCmdReserveName is the CLI command for reserving a name. -func GetCmdReserveName() *cobra.Command { +// GetCmdReserveAuthority is the CLI command for reserving a name. +func GetCmdReserveAuthority() *cobra.Command { cmd := &cobra.Command{ Use: "reserve-name [name]", Short: "Reserve name.", diff --git a/x/registry/codec.go b/x/registry/codec.go index 96456dba7..cb6317c0d 100644 --- a/x/registry/codec.go +++ b/x/registry/codec.go @@ -10,7 +10,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSetName{}, &MsgReserveAuthority{}, - &MsgDeleteNameAuthority{}, + &MsgDeleteName{}, &MsgSetAuthorityBond{}, &MsgSetRecord{}, diff --git a/x/registry/events.go b/x/registry/events.go index 0291e64b1..8ca538685 100644 --- a/x/registry/events.go +++ b/x/registry/events.go @@ -1,15 +1,15 @@ package registry const ( - EventTypeSetRecord = "set" - EventTypeDeleteName = "delete-name" - EventTypeReserveNameAuthority = "reserve-authority" - EventTypeAuthorityBond = "authority-bond" - EventTypeRenewRecord = "renew-record" - EventTypeAssociateBond = "associate-bond" - EventTypeDissociateBond = "dissociate-bond" - EventTypeDissociateRecords = "dissociate-record" - EventTypeReassociateRecords = "re-associate-records" + EventTypeSetRecord = "set" + EventTypeDeleteName = "delete-name" + EventTypeReserveAuthority = "reserve-authority" + EventTypeAuthorityBond = "authority-bond" + EventTypeRenewRecord = "renew-record" + EventTypeAssociateBond = "associate-bond" + EventTypeDissociateBond = "dissociate-bond" + EventTypeDissociateRecords = "dissociate-record" + EventTypeReassociateRecords = "re-associate-records" AttributeKeySigner = "signer" AttributeKeyOwner = "owner" diff --git a/x/registry/keeper/msg_server.go b/x/registry/keeper/msg_server.go index fc9e47a70..51697087a 100644 --- a/x/registry/keeper/msg_server.go +++ b/x/registry/keeper/msg_server.go @@ -87,7 +87,7 @@ func (ms msgServer) SetName(c context.Context, msg *registrytypes.MsgSetName) (* return ®istrytypes.MsgSetNameResponse{}, nil } -func (ms msgServer) ReserveName(c context.Context, msg *registrytypes.MsgReserveAuthority) (*registrytypes.MsgReserveAuthorityResponse, error) { +func (ms msgServer) ReserveAuthority(c context.Context, msg *registrytypes.MsgReserveAuthority) (*registrytypes.MsgReserveAuthorityResponse, error) { if err := msg.ValidateBasic(); err != nil { return nil, err } @@ -110,7 +110,7 @@ func (ms msgServer) ReserveName(c context.Context, msg *registrytypes.MsgReserve ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( - registrytypes.EventTypeReserveNameAuthority, + registrytypes.EventTypeReserveAuthority, sdk.NewAttribute(registrytypes.AttributeKeySigner, msg.Signer), sdk.NewAttribute(registrytypes.AttributeKeyName, msg.Name), sdk.NewAttribute(registrytypes.AttributeKeyOwner, msg.Owner), @@ -159,7 +159,7 @@ func (ms msgServer) SetAuthorityBond(c context.Context, msg *registrytypes.MsgSe return ®istrytypes.MsgSetAuthorityBondResponse{}, nil } -func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteNameAuthority) (*registrytypes.MsgDeleteNameAuthorityResponse, error) { +func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteName) (*registrytypes.MsgDeleteNameResponse, error) { if err := msg.ValidateBasic(); err != nil { return nil, err } @@ -188,7 +188,7 @@ func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteNa sdk.NewAttribute(registrytypes.AttributeKeySigner, msg.Signer), ), }) - return ®istrytypes.MsgDeleteNameAuthorityResponse{}, nil + return ®istrytypes.MsgDeleteNameResponse{}, nil } func (ms msgServer) RenewRecord(c context.Context, msg *registrytypes.MsgRenewRecord) (*registrytypes.MsgRenewRecordResponse, error) { diff --git a/x/registry/keeper/naming_keeper.go b/x/registry/keeper/naming_keeper.go index ed4fc89ad..d16b72428 100644 --- a/x/registry/keeper/naming_keeper.go +++ b/x/registry/keeper/naming_keeper.go @@ -353,7 +353,7 @@ func (k Keeper) SetAuthorityBond(ctx sdk.Context, msg registrytypes.MsgSetAuthor } // DeleteName removes a LRN -> Record ID mapping. -func (k Keeper) DeleteName(ctx sdk.Context, msg registrytypes.MsgDeleteNameAuthority) error { +func (k Keeper) DeleteName(ctx sdk.Context, msg registrytypes.MsgDeleteName) error { signerAddress, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { return err diff --git a/x/registry/keeper/query_server.go b/x/registry/keeper/query_server.go index da2a8bc4a..5441002de 100644 --- a/x/registry/keeper/query_server.go +++ b/x/registry/keeper/query_server.go @@ -55,7 +55,7 @@ func (qs queryServer) Records(c context.Context, req *registrytypes.QueryRecords return ®istrytypes.QueryRecordsResponse{Records: records}, nil } -func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryRecordByIdRequest) (*registrytypes.QueryRecordByIdResponse, error) { +func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryGetRecordRequest) (*registrytypes.QueryGetRecordResponse, error) { ctx := sdk.UnwrapSDKContext(c) id := req.GetId() @@ -72,10 +72,10 @@ func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryRecor return nil, err } - return ®istrytypes.QueryRecordByIdResponse{Record: record}, nil + return ®istrytypes.QueryGetRecordResponse{Record: record}, nil } -func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.QueryRecordsByBondIdRequest) (*registrytypes.QueryRecordsByBondIdResponse, error) { +func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.QueryGetRecordsByBondIdRequest) (*registrytypes.QueryGetRecordsByBondIdResponse, error) { ctx := sdk.UnwrapSDKContext(c) records, err := qs.k.GetRecordsByBondId(ctx, req.GetId()) @@ -83,7 +83,7 @@ func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.Q return nil, err } - return ®istrytypes.QueryRecordsByBondIdResponse{Records: records}, nil + return ®istrytypes.QueryGetRecordsByBondIdResponse{Records: records}, nil } func (qs queryServer) GetRegistryModuleBalance(c context.Context, diff --git a/x/registry/module/autocli.go b/x/registry/module/autocli.go index 25fc20e73..258da1cd3 100644 --- a/x/registry/module/autocli.go +++ b/x/registry/module/autocli.go @@ -93,9 +93,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { }, }, { - RpcMethod: "ReserveName", - Use: "reserve-name [name] [owner]", - Short: "Reserve name", + RpcMethod: "ReserveAuthority", + Use: "reserve-authority [name] [owner]", + Short: "Reserve authority name", PositionalArgs: []*autocliv1.PositionalArgDescriptor{ {ProtoField: "name"}, {ProtoField: "owner"}, diff --git a/x/registry/msgs.go b/x/registry/msgs.go index c091441ac..c797af086 100644 --- a/x/registry/msgs.go +++ b/x/registry/msgs.go @@ -121,7 +121,7 @@ func (msg MsgSetName) ValidateBasic() error { return nil } -func (msg MsgDeleteNameAuthority) ValidateBasic() error { +func (msg MsgDeleteName) ValidateBasic() error { if len(msg.Lrn) == 0 { return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "lrn is required.") } diff --git a/x/registry/query.pb.go b/x/registry/query.pb.go index afa7c8b6c..4bcec1d57 100644 --- a/x/registry/query.pb.go +++ b/x/registry/query.pb.go @@ -177,6 +177,7 @@ func (m *QueryRecordsRequest) GetPagination() *query.PageRequest { return nil } +// Array type attribute type QueryRecordsRequest_ArrayInput struct { Values []*QueryRecordsRequest_ValueInput `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` } @@ -221,6 +222,7 @@ func (m *QueryRecordsRequest_ArrayInput) GetValues() []*QueryRecordsRequest_Valu return nil } +// Map type attribute type QueryRecordsRequest_MapInput struct { Values map[string]*QueryRecordsRequest_ValueInput `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } @@ -265,8 +267,9 @@ func (m *QueryRecordsRequest_MapInput) GetValues() map[string]*QueryRecordsReque return nil } +// Type for record attribute value type QueryRecordsRequest_ValueInput struct { - // Type of record attribute value + // Value is one of the following types // // Types that are valid to be assigned to Value: // *QueryRecordsRequest_ValueInput_String_ @@ -417,6 +420,7 @@ func (*QueryRecordsRequest_ValueInput) XXX_OneofWrappers() []interface{} { } } +// Type for record attribute key type QueryRecordsRequest_KeyValueInput struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *QueryRecordsRequest_ValueInput `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` @@ -523,23 +527,23 @@ func (m *QueryRecordsResponse) GetPagination() *query.PageResponse { return nil } -// QueryRecordByIdRequest is request type for registry records by id -type QueryRecordByIdRequest struct { +// QueryGetRecordRequest is request type for registry records by id +type QueryGetRecordRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *QueryRecordByIdRequest) Reset() { *m = QueryRecordByIdRequest{} } -func (m *QueryRecordByIdRequest) String() string { return proto.CompactTextString(m) } -func (*QueryRecordByIdRequest) ProtoMessage() {} -func (*QueryRecordByIdRequest) Descriptor() ([]byte, []int) { +func (m *QueryGetRecordRequest) Reset() { *m = QueryGetRecordRequest{} } +func (m *QueryGetRecordRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetRecordRequest) ProtoMessage() {} +func (*QueryGetRecordRequest) Descriptor() ([]byte, []int) { return fileDescriptor_c642b96b6da07a30, []int{4} } -func (m *QueryRecordByIdRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetRecordRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryRecordByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryRecordByIdRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetRecordRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -549,42 +553,42 @@ func (m *QueryRecordByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryRecordByIdRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRecordByIdRequest.Merge(m, src) +func (m *QueryGetRecordRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetRecordRequest.Merge(m, src) } -func (m *QueryRecordByIdRequest) XXX_Size() int { +func (m *QueryGetRecordRequest) XXX_Size() int { return m.Size() } -func (m *QueryRecordByIdRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRecordByIdRequest.DiscardUnknown(m) +func (m *QueryGetRecordRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetRecordRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryRecordByIdRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetRecordRequest proto.InternalMessageInfo -func (m *QueryRecordByIdRequest) GetId() string { +func (m *QueryGetRecordRequest) GetId() string { if m != nil { return m.Id } return "" } -// QueryRecordByIdResponse is response type for registry records by id -type QueryRecordByIdResponse struct { +// QueryGetRecordResponse is response type for registry records by id +type QueryGetRecordResponse struct { Record Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record"` } -func (m *QueryRecordByIdResponse) Reset() { *m = QueryRecordByIdResponse{} } -func (m *QueryRecordByIdResponse) String() string { return proto.CompactTextString(m) } -func (*QueryRecordByIdResponse) ProtoMessage() {} -func (*QueryRecordByIdResponse) Descriptor() ([]byte, []int) { +func (m *QueryGetRecordResponse) Reset() { *m = QueryGetRecordResponse{} } +func (m *QueryGetRecordResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetRecordResponse) ProtoMessage() {} +func (*QueryGetRecordResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c642b96b6da07a30, []int{5} } -func (m *QueryRecordByIdResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetRecordResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryRecordByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryRecordByIdResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetRecordResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -594,44 +598,44 @@ func (m *QueryRecordByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *QueryRecordByIdResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRecordByIdResponse.Merge(m, src) +func (m *QueryGetRecordResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetRecordResponse.Merge(m, src) } -func (m *QueryRecordByIdResponse) XXX_Size() int { +func (m *QueryGetRecordResponse) XXX_Size() int { return m.Size() } -func (m *QueryRecordByIdResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRecordByIdResponse.DiscardUnknown(m) +func (m *QueryGetRecordResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetRecordResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryRecordByIdResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetRecordResponse proto.InternalMessageInfo -func (m *QueryRecordByIdResponse) GetRecord() Record { +func (m *QueryGetRecordResponse) GetRecord() Record { if m != nil { return m.Record } return Record{} } -// QueryRecordsByBondIdRequest is request type for get the records by bond-id -type QueryRecordsByBondIdRequest struct { +// QueryGetRecordsByBondIdRequest is request type for get the records by bond-id +type QueryGetRecordsByBondIdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryRecordsByBondIdRequest) Reset() { *m = QueryRecordsByBondIdRequest{} } -func (m *QueryRecordsByBondIdRequest) String() string { return proto.CompactTextString(m) } -func (*QueryRecordsByBondIdRequest) ProtoMessage() {} -func (*QueryRecordsByBondIdRequest) Descriptor() ([]byte, []int) { +func (m *QueryGetRecordsByBondIdRequest) Reset() { *m = QueryGetRecordsByBondIdRequest{} } +func (m *QueryGetRecordsByBondIdRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetRecordsByBondIdRequest) ProtoMessage() {} +func (*QueryGetRecordsByBondIdRequest) Descriptor() ([]byte, []int) { return fileDescriptor_c642b96b6da07a30, []int{6} } -func (m *QueryRecordsByBondIdRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetRecordsByBondIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryRecordsByBondIdRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetRecordsByBondIdRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -641,51 +645,51 @@ func (m *QueryRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *QueryRecordsByBondIdRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRecordsByBondIdRequest.Merge(m, src) +func (m *QueryGetRecordsByBondIdRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetRecordsByBondIdRequest.Merge(m, src) } -func (m *QueryRecordsByBondIdRequest) XXX_Size() int { +func (m *QueryGetRecordsByBondIdRequest) XXX_Size() int { return m.Size() } -func (m *QueryRecordsByBondIdRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRecordsByBondIdRequest.DiscardUnknown(m) +func (m *QueryGetRecordsByBondIdRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetRecordsByBondIdRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryRecordsByBondIdRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetRecordsByBondIdRequest proto.InternalMessageInfo -func (m *QueryRecordsByBondIdRequest) GetId() string { +func (m *QueryGetRecordsByBondIdRequest) GetId() string { if m != nil { return m.Id } return "" } -func (m *QueryRecordsByBondIdRequest) GetPagination() *query.PageRequest { +func (m *QueryGetRecordsByBondIdRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -// QueryRecordsByBondIdResponse is response type for records list by bond-id -type QueryRecordsByBondIdResponse struct { +// QueryGetRecordsByBondIdResponse is response type for records list by bond-id +type QueryGetRecordsByBondIdResponse struct { Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryRecordsByBondIdResponse) Reset() { *m = QueryRecordsByBondIdResponse{} } -func (m *QueryRecordsByBondIdResponse) String() string { return proto.CompactTextString(m) } -func (*QueryRecordsByBondIdResponse) ProtoMessage() {} -func (*QueryRecordsByBondIdResponse) Descriptor() ([]byte, []int) { +func (m *QueryGetRecordsByBondIdResponse) Reset() { *m = QueryGetRecordsByBondIdResponse{} } +func (m *QueryGetRecordsByBondIdResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetRecordsByBondIdResponse) ProtoMessage() {} +func (*QueryGetRecordsByBondIdResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c642b96b6da07a30, []int{7} } -func (m *QueryRecordsByBondIdResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetRecordsByBondIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryRecordsByBondIdResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetRecordsByBondIdResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -695,26 +699,26 @@ func (m *QueryRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *QueryRecordsByBondIdResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRecordsByBondIdResponse.Merge(m, src) +func (m *QueryGetRecordsByBondIdResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetRecordsByBondIdResponse.Merge(m, src) } -func (m *QueryRecordsByBondIdResponse) XXX_Size() int { +func (m *QueryGetRecordsByBondIdResponse) XXX_Size() int { return m.Size() } -func (m *QueryRecordsByBondIdResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRecordsByBondIdResponse.DiscardUnknown(m) +func (m *QueryGetRecordsByBondIdResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetRecordsByBondIdResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryRecordsByBondIdResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetRecordsByBondIdResponse proto.InternalMessageInfo -func (m *QueryRecordsByBondIdResponse) GetRecords() []Record { +func (m *QueryGetRecordsByBondIdResponse) GetRecords() []Record { if m != nil { return m.Records } return nil } -func (m *QueryRecordsByBondIdResponse) GetPagination() *query.PageResponse { +func (m *QueryGetRecordsByBondIdResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } @@ -1091,7 +1095,8 @@ func (m *QueryResolveLrnResponse) GetRecord() *Record { return nil } -// QueryGetRegistryModuleBalanceRequest is request type for registry module accounts balance +// QueryGetRegistryModuleBalanceRequest is request type for registry module +// accounts balance type QueryGetRegistryModuleBalanceRequest struct { } @@ -1128,7 +1133,8 @@ func (m *QueryGetRegistryModuleBalanceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetRegistryModuleBalanceRequest proto.InternalMessageInfo -// QueryGetRegistryModuleBalanceResponse is response type for registry module accounts balance +// QueryGetRegistryModuleBalanceResponse is response type for registry module +// accounts balance type QueryGetRegistryModuleBalanceResponse struct { Balances []*AccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"` } @@ -1236,10 +1242,10 @@ func init() { proto.RegisterType((*QueryRecordsRequest_ValueInput)(nil), "cerc.registry.v1.QueryRecordsRequest.ValueInput") proto.RegisterType((*QueryRecordsRequest_KeyValueInput)(nil), "cerc.registry.v1.QueryRecordsRequest.KeyValueInput") proto.RegisterType((*QueryRecordsResponse)(nil), "cerc.registry.v1.QueryRecordsResponse") - proto.RegisterType((*QueryRecordByIdRequest)(nil), "cerc.registry.v1.QueryRecordByIdRequest") - proto.RegisterType((*QueryRecordByIdResponse)(nil), "cerc.registry.v1.QueryRecordByIdResponse") - proto.RegisterType((*QueryRecordsByBondIdRequest)(nil), "cerc.registry.v1.QueryRecordsByBondIdRequest") - proto.RegisterType((*QueryRecordsByBondIdResponse)(nil), "cerc.registry.v1.QueryRecordsByBondIdResponse") + proto.RegisterType((*QueryGetRecordRequest)(nil), "cerc.registry.v1.QueryGetRecordRequest") + proto.RegisterType((*QueryGetRecordResponse)(nil), "cerc.registry.v1.QueryGetRecordResponse") + proto.RegisterType((*QueryGetRecordsByBondIdRequest)(nil), "cerc.registry.v1.QueryGetRecordsByBondIdRequest") + proto.RegisterType((*QueryGetRecordsByBondIdResponse)(nil), "cerc.registry.v1.QueryGetRecordsByBondIdResponse") proto.RegisterType((*QueryNameRecordsRequest)(nil), "cerc.registry.v1.QueryNameRecordsRequest") proto.RegisterType((*QueryNameRecordsResponse)(nil), "cerc.registry.v1.QueryNameRecordsResponse") proto.RegisterType((*QueryWhoisRequest)(nil), "cerc.registry.v1.QueryWhoisRequest") @@ -1256,88 +1262,88 @@ func init() { func init() { proto.RegisterFile("cerc/registry/v1/query.proto", fileDescriptor_c642b96b6da07a30) } var fileDescriptor_c642b96b6da07a30 = []byte{ - // 1295 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0xc5, - 0x1b, 0xf7, 0xda, 0xb1, 0xdd, 0x3c, 0xfe, 0xb7, 0xea, 0x7f, 0x08, 0xed, 0x66, 0x13, 0x6c, 0xb3, - 0xe4, 0xc5, 0x49, 0xe4, 0xdd, 0x26, 0x91, 0xda, 0x2a, 0xe2, 0x12, 0x23, 0x1a, 0x97, 0xbe, 0xa8, - 0x59, 0xa4, 0x22, 0x71, 0xa9, 0xc6, 0xde, 0xc5, 0x59, 0xb2, 0xde, 0x71, 0x77, 0xd7, 0x2e, 0x4b, - 0x54, 0x09, 0x21, 0x40, 0x1c, 0x41, 0x9c, 0x10, 0x5c, 0xb8, 0x70, 0xe0, 0xc0, 0xe7, 0xa8, 0xc4, - 0xa5, 0x12, 0x17, 0x4e, 0x01, 0x25, 0x5c, 0xb8, 0xa1, 0xf2, 0x05, 0xd0, 0xce, 0xcc, 0xae, 0xd7, - 0xef, 0x4e, 0x04, 0x12, 0x27, 0xef, 0xcc, 0xfc, 0x9e, 0xe7, 0xf9, 0x3d, 0xaf, 0x33, 0x86, 0xc5, - 0xba, 0xe1, 0xd4, 0x55, 0xc7, 0x68, 0x98, 0xae, 0xe7, 0xf8, 0x6a, 0x67, 0x53, 0x7d, 0xdc, 0x36, - 0x1c, 0x5f, 0x69, 0x39, 0xc4, 0x23, 0xe8, 0x72, 0x70, 0xaa, 0x84, 0xa7, 0x4a, 0x67, 0x53, 0x5a, - 0x6c, 0x10, 0xd2, 0xb0, 0x0c, 0x15, 0xb7, 0x4c, 0x15, 0xdb, 0x36, 0xf1, 0xb0, 0x67, 0x12, 0xdb, - 0x65, 0x78, 0x69, 0xbd, 0x4e, 0xdc, 0x26, 0x71, 0xd5, 0x1a, 0x76, 0x0d, 0xa6, 0x48, 0xed, 0x6c, - 0xd6, 0x0c, 0x0f, 0x6f, 0xaa, 0x2d, 0xdc, 0x30, 0x6d, 0x0a, 0xe6, 0xd8, 0xb9, 0x06, 0x69, 0x10, - 0xfa, 0xa9, 0x06, 0x5f, 0x7c, 0x37, 0x1f, 0xd7, 0x10, 0xca, 0xd6, 0x89, 0x19, 0x4a, 0x15, 0x06, - 0xf8, 0x46, 0xec, 0x28, 0x40, 0x9e, 0x03, 0xb4, 0x1f, 0x18, 0x7e, 0x80, 0x1d, 0xdc, 0x74, 0x35, - 0xe3, 0x71, 0xdb, 0x70, 0x3d, 0x79, 0x0f, 0x5e, 0xea, 0xd9, 0x75, 0x5b, 0xc4, 0x76, 0x0d, 0x74, - 0x0d, 0x32, 0x2d, 0xba, 0x23, 0x0a, 0x45, 0xa1, 0x94, 0xdb, 0x12, 0x95, 0x7e, 0x87, 0x15, 0x2e, - 0xc1, 0x71, 0xf2, 0x5f, 0x19, 0xae, 0x49, 0x33, 0xea, 0xc4, 0xd1, 0x43, 0x03, 0xe8, 0x6d, 0x00, - 0xec, 0x79, 0x8e, 0x59, 0x6b, 0x7b, 0x46, 0xa0, 0x2d, 0x55, 0xca, 0x6d, 0x6d, 0x0f, 0x6a, 0x1b, - 0x22, 0xaa, 0xdc, 0x31, 0xfc, 0x87, 0xd8, 0x6a, 0x1b, 0xb7, 0xed, 0x56, 0xdb, 0xd3, 0x62, 0x6a, - 0xd0, 0x65, 0x48, 0x61, 0xcb, 0x12, 0x93, 0x45, 0xa1, 0x74, 0x41, 0x0b, 0x3e, 0xd1, 0x2d, 0x80, - 0x6e, 0x20, 0xc5, 0x14, 0x25, 0xbd, 0xa2, 0xb0, 0x98, 0x29, 0x41, 0xcc, 0x14, 0x96, 0x3e, 0x1e, - 0x39, 0xe5, 0x01, 0x6e, 0x18, 0xdc, 0x8e, 0x16, 0x93, 0x94, 0x1e, 0x02, 0xec, 0x3a, 0x0e, 0xf6, - 0xa9, 0x4d, 0x54, 0x85, 0x4c, 0x27, 0x60, 0x10, 0x12, 0xbf, 0x36, 0x1d, 0xf1, 0x18, 0x6b, 0x2e, - 0x2f, 0xfd, 0x24, 0xc0, 0x85, 0x7b, 0xb8, 0xc5, 0xd4, 0x6a, 0x7d, 0x6a, 0x77, 0xa6, 0x53, 0x1b, - 0xca, 0x33, 0xfd, 0xee, 0x9b, 0xb6, 0xe7, 0xf8, 0x91, 0x81, 0x43, 0xc8, 0xc5, 0xb6, 0x83, 0x08, - 0x1d, 0x1a, 0x3e, 0xcd, 0xde, 0xac, 0x16, 0x7c, 0xa2, 0x5b, 0x90, 0xa6, 0x50, 0x1a, 0xb5, 0xf3, - 0xb8, 0xc2, 0xc4, 0x77, 0x92, 0x37, 0x05, 0xe9, 0x9b, 0x24, 0x40, 0xf7, 0x04, 0x89, 0x90, 0x71, - 0x3d, 0xc7, 0xb4, 0x1b, 0xcc, 0x5e, 0x35, 0xa1, 0xf1, 0x35, 0x42, 0x90, 0x32, 0x6d, 0x8f, 0x9a, - 0x4c, 0x55, 0x13, 0x5a, 0xb0, 0x40, 0x57, 0x20, 0xfd, 0x9e, 0x45, 0xb0, 0x47, 0xb3, 0x24, 0x54, - 0x13, 0x1a, 0x5b, 0x22, 0x09, 0xb2, 0x35, 0x42, 0x2c, 0x03, 0xdb, 0xe2, 0x4c, 0x90, 0xd8, 0x6a, - 0x42, 0x0b, 0x37, 0xd0, 0x1c, 0xcc, 0x58, 0xa6, 0x7d, 0x28, 0xa6, 0xb9, 0x7e, 0xba, 0x42, 0x55, - 0x48, 0xe3, 0x20, 0x59, 0x62, 0xe6, 0x2c, 0x2e, 0x75, 0xf3, 0x1b, 0xd8, 0xa6, 0x0a, 0x50, 0x05, - 0x52, 0x4d, 0xdc, 0x12, 0xb3, 0x54, 0x8f, 0x72, 0xb6, 0x74, 0x04, 0x7e, 0x35, 0x71, 0xab, 0x92, - 0xe5, 0x01, 0x96, 0x4c, 0xb8, 0xd8, 0x53, 0xba, 0xff, 0x5e, 0x32, 0xe4, 0xaf, 0x05, 0x98, 0xeb, - 0x45, 0xf2, 0x06, 0xbe, 0x09, 0x59, 0x87, 0x6d, 0xf1, 0x1a, 0x1b, 0xd2, 0xc1, 0x4c, 0xa6, 0x32, - 0xf3, 0xec, 0xb8, 0x90, 0xd0, 0x42, 0x38, 0xda, 0xeb, 0xe9, 0x24, 0xc6, 0x6f, 0x75, 0x62, 0x27, - 0x31, 0xb3, 0xf1, 0x56, 0x92, 0x4b, 0x70, 0x25, 0x46, 0xad, 0xe2, 0xdf, 0xd6, 0xc3, 0x99, 0x70, - 0x09, 0x92, 0xa6, 0xce, 0xc3, 0x91, 0x34, 0x75, 0x79, 0x1f, 0xae, 0x0e, 0x20, 0xb9, 0x1f, 0xd7, - 0x21, 0xc3, 0x88, 0x8d, 0x1e, 0x44, 0x3d, 0x6e, 0x70, 0xb4, 0xdc, 0x86, 0x85, 0x78, 0x5c, 0x2a, - 0x7e, 0x85, 0xd8, 0xfa, 0x48, 0x06, 0x7d, 0xe3, 0x23, 0x79, 0xde, 0xf1, 0x21, 0x7f, 0x27, 0xc0, - 0xe2, 0x70, 0xbb, 0xff, 0x9d, 0xbc, 0x60, 0x1e, 0xed, 0xfb, 0xb8, 0x69, 0xf4, 0x0d, 0xeb, 0xde, - 0x30, 0x08, 0xe7, 0x0e, 0xc3, 0xb7, 0x02, 0x88, 0x83, 0x36, 0x78, 0x08, 0x6e, 0x40, 0xda, 0xc6, - 0xcd, 0x68, 0xf8, 0x2d, 0x0c, 0x06, 0x20, 0x90, 0xa2, 0x63, 0x8c, 0xc7, 0x80, 0xe1, 0xff, 0xb9, - 0x08, 0xac, 0xc2, 0xff, 0x29, 0xbb, 0x77, 0x0e, 0x88, 0x19, 0xf9, 0x8e, 0x60, 0x26, 0x30, 0xc3, - 0x8b, 0x82, 0x7e, 0xcb, 0x5f, 0x0a, 0xfc, 0xd2, 0xe4, 0x48, 0xee, 0xc1, 0x11, 0x5c, 0x0a, 0x8e, - 0x1f, 0xe1, 0xb6, 0x77, 0x40, 0x1c, 0xd3, 0xf3, 0x79, 0xa8, 0x0a, 0xc3, 0x5d, 0xd9, 0x0d, 0x61, - 0x95, 0xed, 0xc0, 0x9d, 0x17, 0xc7, 0x85, 0x8d, 0xf7, 0x5d, 0x62, 0xef, 0xc8, 0xbd, 0x4a, 0xe4, - 0xa2, 0x8f, 0x9b, 0xd6, 0xc0, 0xae, 0x76, 0xd1, 0x8e, 0xeb, 0x90, 0xd7, 0xe0, 0x65, 0x4a, 0xe9, - 0x2e, 0x21, 0x87, 0xed, 0xd6, 0x5d, 0xc7, 0x0e, 0x1d, 0xb8, 0x0c, 0x29, 0xcb, 0xb1, 0xc3, 0x29, - 0x63, 0x39, 0xb6, 0xfc, 0x16, 0xef, 0xc0, 0x18, 0x34, 0xba, 0xdf, 0xbb, 0xce, 0xe6, 0xb6, 0x16, - 0x87, 0xf3, 0x66, 0x89, 0xe3, 0xa1, 0x58, 0x8f, 0xba, 0xd9, 0x25, 0x56, 0xc7, 0x18, 0x6b, 0xf7, - 0x4e, 0xd4, 0xcf, 0x5d, 0x6c, 0xf7, 0x61, 0x31, 0x5d, 0x3f, 0x47, 0x9d, 0xbc, 0x02, 0x4b, 0x54, - 0xd9, 0x9e, 0xe1, 0x69, 0x1c, 0x75, 0x8f, 0xe8, 0x6d, 0xcb, 0xa8, 0x60, 0x0b, 0xdb, 0xf5, 0xb0, - 0xfe, 0x64, 0x03, 0x96, 0x27, 0xe0, 0x38, 0x85, 0xd7, 0xe1, 0x42, 0x8d, 0x6d, 0x85, 0x25, 0x58, - 0x1c, 0x24, 0xb1, 0x5b, 0xaf, 0x93, 0xb6, 0xed, 0x85, 0xb2, 0x91, 0x84, 0xfc, 0x87, 0x00, 0x97, - 0x7a, 0x0f, 0xd1, 0x7d, 0xf8, 0x1f, 0x66, 0x3b, 0x8f, 0xba, 0x15, 0x54, 0xd9, 0x78, 0x71, 0x5c, - 0x58, 0x65, 0x79, 0x8e, 0x9f, 0x86, 0x59, 0xee, 0xd9, 0xd3, 0x72, 0x7c, 0x19, 0x84, 0x1d, 0x7d, - 0x26, 0x40, 0x96, 0xdb, 0x13, 0x53, 0x94, 0xe0, 0x7c, 0x4f, 0x95, 0x87, 0xf5, 0xfd, 0x06, 0x31, - 0xed, 0xca, 0x3e, 0x2f, 0xa9, 0x57, 0x98, 0x29, 0x2e, 0x17, 0x5a, 0x09, 0x97, 0x3f, 0xfc, 0x5a, - 0x28, 0x35, 0x4c, 0xef, 0xa0, 0x5d, 0x53, 0xea, 0xa4, 0xa9, 0xf2, 0xb7, 0x24, 0xfb, 0x29, 0xbb, - 0xfa, 0xa1, 0xea, 0xf9, 0x2d, 0xc3, 0xa5, 0x1a, 0x5d, 0x2d, 0x34, 0xbe, 0xf5, 0xe7, 0x2c, 0xa4, - 0x69, 0x4c, 0xd1, 0x13, 0xc8, 0xb0, 0xf7, 0x1e, 0x5a, 0x1a, 0x71, 0x55, 0xf5, 0x3c, 0x2b, 0xa5, - 0xe5, 0x09, 0x28, 0x96, 0x0a, 0xb9, 0xf8, 0xf1, 0xcf, 0xbf, 0x7f, 0x95, 0x94, 0x90, 0xa8, 0x0e, - 0xbc, 0x5e, 0xd9, 0xb3, 0x12, 0x1d, 0x41, 0x96, 0xcf, 0x0f, 0xb4, 0x3c, 0xd5, 0x25, 0x29, 0xad, - 0x4c, 0x82, 0x71, 0xdb, 0xaf, 0x52, 0xdb, 0x0b, 0x68, 0x5e, 0x1d, 0xf2, 0x72, 0x66, 0x16, 0x3f, - 0x17, 0x60, 0x96, 0x96, 0x53, 0xb0, 0x44, 0xa5, 0xb1, 0x8a, 0x63, 0xf7, 0x9b, 0xb4, 0x36, 0x05, - 0x92, 0xb3, 0x58, 0xa1, 0x2c, 0x8a, 0x28, 0x3f, 0x92, 0x85, 0x7a, 0x64, 0xea, 0x4f, 0xd1, 0xf7, - 0x02, 0xa0, 0x88, 0x4a, 0x74, 0xad, 0xa0, 0xf2, 0x78, 0x67, 0xfb, 0xae, 0x3d, 0x49, 0x99, 0x16, - 0xce, 0xd9, 0x6d, 0x52, 0x76, 0x1b, 0x68, 0x6d, 0x24, 0xbb, 0x72, 0xcd, 0x2f, 0xd7, 0x88, 0xad, - 0x97, 0x4d, 0x9d, 0x11, 0xfd, 0x54, 0x80, 0x5c, 0x6c, 0xea, 0xa3, 0x51, 0xb1, 0x18, 0xbc, 0x7d, - 0xa4, 0xf5, 0x69, 0xa0, 0x9c, 0x59, 0x81, 0x32, 0x9b, 0x47, 0x57, 0x07, 0x99, 0xb1, 0xcb, 0xe2, - 0x43, 0x48, 0xd3, 0xa1, 0x8d, 0x5e, 0x1b, 0xa1, 0x35, 0x3e, 0xfc, 0xa5, 0xa5, 0xf1, 0xa0, 0xc9, - 0xc9, 0x7a, 0x12, 0x00, 0xd5, 0xa3, 0xc0, 0xf6, 0x53, 0xf4, 0x91, 0x00, 0xb3, 0xd1, 0xcc, 0x45, - 0xab, 0x23, 0x74, 0xf7, 0x0f, 0x70, 0xa9, 0x34, 0x19, 0x38, 0xb9, 0x6f, 0x2c, 0x0a, 0x46, 0x9f, - 0x08, 0x00, 0xdd, 0xf1, 0x3b, 0xa6, 0x76, 0xfb, 0xa6, 0xf9, 0x98, 0xda, 0xed, 0x9f, 0xe5, 0xe3, - 0x3b, 0x88, 0xa2, 0xd1, 0x8f, 0x02, 0x88, 0xa3, 0x06, 0x32, 0xba, 0x3e, 0xc2, 0xd4, 0x84, 0x49, - 0x2f, 0xdd, 0x38, 0xb3, 0xdc, 0x64, 0xc2, 0x7c, 0xe4, 0x55, 0x76, 0x9f, 0x9d, 0xe4, 0x85, 0xe7, - 0x27, 0x79, 0xe1, 0xb7, 0x93, 0xbc, 0xf0, 0xc5, 0x69, 0x3e, 0xf1, 0xfc, 0x34, 0x9f, 0xf8, 0xe5, - 0x34, 0x9f, 0x78, 0x77, 0xb5, 0x61, 0x7a, 0x4a, 0x47, 0xaf, 0x29, 0x1e, 0xa1, 0xe2, 0x65, 0x93, - 0xa8, 0x16, 0xae, 0x13, 0xdb, 0xac, 0x6f, 0xe9, 0xea, 0x07, 0x91, 0xb6, 0x5a, 0x86, 0xfe, 0xdf, - 0xde, 0xfe, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x94, 0x6e, 0x34, 0x42, 0x10, 0x00, 0x00, + // 1291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0x45, + 0x18, 0xf6, 0xda, 0xb1, 0xdd, 0xbc, 0xa6, 0x55, 0x19, 0x42, 0xbb, 0xdd, 0x06, 0xdb, 0x2c, 0xf9, + 0x70, 0x12, 0x65, 0x37, 0x4e, 0xa4, 0xb6, 0x8a, 0xb8, 0xc4, 0x88, 0xc6, 0xa5, 0x1f, 0x4a, 0x17, + 0xa9, 0x48, 0x5c, 0xaa, 0xb1, 0xbd, 0x38, 0x4b, 0xd6, 0x33, 0xee, 0xee, 0xda, 0xad, 0x89, 0x2a, + 0x21, 0x04, 0x3d, 0x83, 0x38, 0x21, 0x38, 0x72, 0x42, 0x88, 0xdf, 0x51, 0x89, 0x4b, 0x25, 0x2e, + 0x9c, 0x02, 0x4a, 0xb8, 0x70, 0x2d, 0xfc, 0x00, 0xb4, 0x33, 0xb3, 0xf6, 0xae, 0x9d, 0x8d, 0x9d, + 0x08, 0x24, 0x4e, 0xde, 0x9d, 0x7d, 0xde, 0xf7, 0x79, 0xe6, 0xfd, 0x9a, 0x31, 0xcc, 0xd6, 0x4d, + 0xa7, 0xae, 0x3b, 0x66, 0xd3, 0x72, 0x3d, 0xa7, 0xa7, 0x77, 0xcb, 0xfa, 0xa3, 0x8e, 0xe9, 0xf4, + 0xb4, 0xb6, 0x43, 0x3d, 0x8a, 0x2e, 0xfa, 0x5f, 0xb5, 0xe0, 0xab, 0xd6, 0x2d, 0x2b, 0xb3, 0x4d, + 0x4a, 0x9b, 0xb6, 0xa9, 0xe3, 0xb6, 0xa5, 0x63, 0x42, 0xa8, 0x87, 0x3d, 0x8b, 0x12, 0x97, 0xe3, + 0x95, 0xe5, 0x3a, 0x75, 0x5b, 0xd4, 0xd5, 0x6b, 0xd8, 0x35, 0xb9, 0x23, 0xbd, 0x5b, 0xae, 0x99, + 0x1e, 0x2e, 0xeb, 0x6d, 0xdc, 0xb4, 0x08, 0x03, 0x0b, 0xec, 0x4c, 0x93, 0x36, 0x29, 0x7b, 0xd4, + 0xfd, 0x27, 0xb1, 0x9a, 0x0f, 0x7b, 0x08, 0x6c, 0xeb, 0xd4, 0x0a, 0xac, 0x0a, 0x23, 0x7a, 0xfb, + 0xea, 0x18, 0x40, 0x9d, 0x01, 0x74, 0xdf, 0x27, 0xde, 0xc1, 0x0e, 0x6e, 0xb9, 0x86, 0xf9, 0xa8, + 0x63, 0xba, 0x9e, 0xba, 0x0d, 0xaf, 0x45, 0x56, 0xdd, 0x36, 0x25, 0xae, 0x89, 0xd6, 0x20, 0xd3, + 0x66, 0x2b, 0xb2, 0x54, 0x94, 0x4a, 0xb9, 0x75, 0x59, 0x1b, 0xde, 0xb0, 0x26, 0x2c, 0x04, 0x4e, + 0xfd, 0x2b, 0x23, 0x3c, 0x19, 0x66, 0x9d, 0x3a, 0x8d, 0x80, 0x00, 0xbd, 0x0f, 0x80, 0x3d, 0xcf, + 0xb1, 0x6a, 0x1d, 0xcf, 0xf4, 0xbd, 0xa5, 0x4a, 0xb9, 0xf5, 0x8d, 0x51, 0x6f, 0xc7, 0x98, 0x6a, + 0xb7, 0xcd, 0xde, 0x03, 0x6c, 0x77, 0xcc, 0x5b, 0xa4, 0xdd, 0xf1, 0x8c, 0x90, 0x1b, 0x74, 0x11, + 0x52, 0xd8, 0xb6, 0xe5, 0x64, 0x51, 0x2a, 0x9d, 0x33, 0xfc, 0x47, 0x74, 0x13, 0x60, 0x10, 0x48, + 0x39, 0xc5, 0x44, 0x2f, 0x68, 0x3c, 0x66, 0x9a, 0x1f, 0x33, 0x8d, 0xa7, 0x4f, 0x44, 0x4e, 0xdb, + 0xc1, 0x4d, 0x53, 0xf0, 0x18, 0x21, 0x4b, 0xe5, 0x01, 0xc0, 0x96, 0xe3, 0xe0, 0x1e, 0xe3, 0x44, + 0x55, 0xc8, 0x74, 0x7d, 0x05, 0x81, 0xf0, 0xb5, 0xc9, 0x84, 0x87, 0x54, 0x0b, 0x7b, 0xe5, 0x67, + 0x09, 0xce, 0xdd, 0xc5, 0x6d, 0xee, 0xd6, 0x18, 0x72, 0xbb, 0x39, 0x99, 0xdb, 0xc0, 0x9e, 0xfb, + 0x77, 0xdf, 0x25, 0x9e, 0xd3, 0xeb, 0x13, 0xec, 0x41, 0x2e, 0xb4, 0xec, 0x47, 0x68, 0xcf, 0xec, + 0xb1, 0xec, 0x4d, 0x1b, 0xfe, 0x23, 0xba, 0x09, 0x69, 0x06, 0x65, 0x51, 0x3b, 0xcb, 0x56, 0xb8, + 0xf9, 0x66, 0xf2, 0x86, 0xa4, 0x7c, 0x9b, 0x04, 0x18, 0x7c, 0x41, 0x32, 0x64, 0x5c, 0xcf, 0xb1, + 0x48, 0x93, 0xf3, 0x55, 0x13, 0x86, 0x78, 0x47, 0x08, 0x52, 0x16, 0xf1, 0x18, 0x65, 0xaa, 0x9a, + 0x30, 0xfc, 0x17, 0x74, 0x09, 0xd2, 0x1f, 0xd9, 0x14, 0x7b, 0x2c, 0x4b, 0x52, 0x35, 0x61, 0xf0, + 0x57, 0xa4, 0x40, 0xb6, 0x46, 0xa9, 0x6d, 0x62, 0x22, 0x4f, 0xf9, 0x89, 0xad, 0x26, 0x8c, 0x60, + 0x01, 0xcd, 0xc0, 0x94, 0x6d, 0x91, 0x3d, 0x39, 0x2d, 0xfc, 0xb3, 0x37, 0x54, 0x85, 0x34, 0xf6, + 0x93, 0x25, 0x67, 0x4e, 0xb3, 0xa5, 0x41, 0x7e, 0x7d, 0x6e, 0xe6, 0x00, 0x55, 0x20, 0xd5, 0xc2, + 0x6d, 0x39, 0xcb, 0xfc, 0x68, 0xa7, 0x4b, 0x87, 0xbf, 0xaf, 0x16, 0x6e, 0x57, 0xb2, 0x22, 0xc0, + 0x8a, 0x05, 0xe7, 0x23, 0xa5, 0xfb, 0xdf, 0x25, 0x43, 0xfd, 0x46, 0x82, 0x99, 0x28, 0x52, 0x34, + 0xf0, 0x0d, 0xc8, 0x3a, 0x7c, 0x49, 0xd4, 0xd8, 0x31, 0x1d, 0xcc, 0x6d, 0x2a, 0x53, 0xcf, 0x0f, + 0x0a, 0x09, 0x23, 0x80, 0xa3, 0xed, 0x48, 0x27, 0x71, 0x7d, 0x8b, 0x63, 0x3b, 0x89, 0xd3, 0x86, + 0x5b, 0x49, 0x5d, 0x84, 0xd7, 0x99, 0xb4, 0x6d, 0xd3, 0xe3, 0x4c, 0xc1, 0x48, 0xb8, 0x00, 0x49, + 0xab, 0x21, 0xa2, 0x91, 0xb4, 0x1a, 0xea, 0x0e, 0x5c, 0x1a, 0x06, 0x8a, 0x5d, 0x5c, 0x83, 0x0c, + 0x97, 0x15, 0x3f, 0x86, 0x22, 0x9b, 0x10, 0x68, 0xf5, 0x09, 0xe4, 0xa3, 0x1e, 0xdd, 0x4a, 0xaf, + 0x42, 0x49, 0xe3, 0x56, 0x9c, 0x86, 0xa1, 0xf9, 0x91, 0x3c, 0xeb, 0xfc, 0x50, 0xbf, 0x97, 0xa0, + 0x10, 0x4b, 0xfd, 0xff, 0xc9, 0x0d, 0x86, 0xcb, 0x4c, 0xe5, 0x3d, 0xdc, 0x32, 0x87, 0x06, 0x76, + 0x34, 0x12, 0xd2, 0x99, 0x23, 0xf1, 0x9d, 0x04, 0xf2, 0x28, 0x87, 0x08, 0xc1, 0x75, 0x48, 0x13, + 0xdc, 0xea, 0x0f, 0xc0, 0xab, 0xa3, 0x01, 0xf0, 0xad, 0xd8, 0x28, 0x13, 0x31, 0xe0, 0xf8, 0x7f, + 0xb3, 0x3a, 0x5f, 0x65, 0xea, 0x3e, 0xd8, 0xa5, 0x56, 0x7f, 0xef, 0x08, 0xa6, 0x7c, 0x1a, 0x51, + 0x17, 0xec, 0x59, 0xfd, 0x4a, 0x12, 0x07, 0xa7, 0x40, 0x8a, 0x1d, 0xec, 0xc3, 0x05, 0xff, 0xf3, + 0x43, 0xdc, 0xf1, 0x76, 0xa9, 0x63, 0x79, 0x3d, 0x11, 0xaa, 0xc2, 0xf1, 0x5b, 0xd9, 0x0a, 0x60, + 0x95, 0x0d, 0x7f, 0x3b, 0x2f, 0x0f, 0x0a, 0x2b, 0x1f, 0xbb, 0x94, 0x6c, 0xaa, 0x51, 0x27, 0x6a, + 0xb1, 0x87, 0x5b, 0xf6, 0xc8, 0xaa, 0x71, 0x9e, 0x84, 0x7d, 0xa8, 0x4b, 0xa2, 0xb5, 0xee, 0x50, + 0xba, 0xd7, 0x69, 0xdf, 0x71, 0x48, 0xb0, 0x81, 0x8b, 0x90, 0xb2, 0x1d, 0x12, 0x4c, 0x1a, 0xdb, + 0x21, 0xea, 0x7b, 0xa2, 0xb9, 0x42, 0xd0, 0xfe, 0x19, 0x3f, 0xd8, 0x6c, 0x6e, 0x7d, 0xf6, 0x78, + 0xdd, 0xa2, 0x21, 0x79, 0x28, 0x96, 0x85, 0x2f, 0xc3, 0x74, 0xa9, 0xdd, 0x35, 0x4f, 0xe4, 0xbd, + 0x2d, 0x2a, 0x2c, 0x8c, 0x1d, 0x5c, 0x2e, 0x26, 0xeb, 0xea, 0x7e, 0x3f, 0x2f, 0xc0, 0xdc, 0xa0, + 0xa9, 0x38, 0xea, 0x2e, 0x6d, 0x74, 0x6c, 0xb3, 0x82, 0x6d, 0x4c, 0xea, 0x41, 0xfd, 0xa9, 0x26, + 0xcc, 0x8f, 0xc1, 0x09, 0x09, 0x6f, 0xc3, 0xb9, 0x1a, 0x5f, 0x0a, 0x4a, 0xb0, 0x38, 0x2a, 0x62, + 0xab, 0x5e, 0xa7, 0x1d, 0xe2, 0x05, 0xb6, 0x7d, 0x0b, 0xf5, 0x4f, 0x09, 0x2e, 0x44, 0x3f, 0xa2, + 0x7b, 0xf0, 0x0a, 0xe6, 0x2b, 0x0f, 0x07, 0x15, 0x54, 0x59, 0x79, 0x79, 0x50, 0x58, 0xe4, 0x79, + 0x0e, 0x7f, 0x0d, 0xb2, 0x1c, 0x59, 0x33, 0x72, 0xe2, 0xd5, 0x0f, 0x3b, 0x7a, 0x26, 0x41, 0x56, + 0xf0, 0xc9, 0x29, 0x26, 0xf0, 0x4a, 0xa4, 0xca, 0x83, 0xfa, 0x7e, 0x87, 0x5a, 0xa4, 0x72, 0x5f, + 0x94, 0xd4, 0x1b, 0x9c, 0x4a, 0xd8, 0x05, 0x2c, 0xc1, 0xeb, 0x0f, 0xbf, 0x15, 0x4a, 0x4d, 0xcb, + 0xdb, 0xed, 0xd4, 0xb4, 0x3a, 0x6d, 0xe9, 0xe2, 0x3e, 0xc9, 0x7f, 0x56, 0xdd, 0xc6, 0x9e, 0xee, + 0xf5, 0xda, 0xa6, 0xcb, 0x3c, 0xba, 0x46, 0x40, 0xbe, 0xfe, 0xf7, 0x34, 0xa4, 0x59, 0x4c, 0xd1, + 0x63, 0xc8, 0xf0, 0x3b, 0x1f, 0x9a, 0x8b, 0x39, 0xae, 0x22, 0x57, 0x4b, 0x65, 0x7e, 0x0c, 0x8a, + 0xa7, 0x42, 0x2d, 0x7e, 0xf6, 0xcb, 0x1f, 0x5f, 0x27, 0x15, 0x24, 0xeb, 0x23, 0x37, 0x58, 0x7e, + 0xb5, 0x44, 0xfb, 0x90, 0x15, 0xf3, 0x03, 0xcd, 0x4f, 0x74, 0x50, 0x2a, 0x0b, 0xe3, 0x60, 0x82, + 0xfb, 0x4d, 0xc6, 0x7d, 0x15, 0x5d, 0xd1, 0x8f, 0xb9, 0x3d, 0x73, 0xc6, 0x67, 0x12, 0x4c, 0xf7, + 0x67, 0x39, 0x5a, 0x8c, 0x71, 0x3c, 0x7c, 0xc6, 0x29, 0xa5, 0xf1, 0x40, 0xa1, 0x61, 0x81, 0x69, + 0x28, 0xa2, 0x7c, 0xac, 0x06, 0x7d, 0xdf, 0x6a, 0x3c, 0x45, 0x3f, 0x4a, 0x80, 0x46, 0x0f, 0x15, + 0xb4, 0x36, 0x8e, 0x68, 0xf8, 0xe8, 0x53, 0xca, 0xa7, 0xb0, 0x10, 0x1a, 0xcb, 0x4c, 0xe3, 0x0a, + 0x5a, 0x8a, 0xd5, 0xb8, 0x5a, 0xeb, 0xad, 0xd6, 0x28, 0x69, 0xac, 0x5a, 0x0d, 0x2e, 0xf7, 0x0b, + 0x09, 0x72, 0xa1, 0xc9, 0x8f, 0x96, 0x62, 0x58, 0x47, 0x4f, 0x20, 0x65, 0x79, 0x12, 0xa8, 0x50, + 0x56, 0x60, 0xca, 0xae, 0xa0, 0xcb, 0xa3, 0xca, 0xf8, 0x81, 0xf1, 0x09, 0xa4, 0xd9, 0xe0, 0x46, + 0x6f, 0xc5, 0x78, 0x0d, 0x1f, 0x00, 0xca, 0xdc, 0xc9, 0xa0, 0xf1, 0x29, 0x7b, 0xec, 0x03, 0xf5, + 0x7d, 0x9f, 0xfb, 0x29, 0xfa, 0x54, 0x82, 0xe9, 0xfe, 0xdc, 0x8d, 0xad, 0x9d, 0xe1, 0x21, 0x1e, + 0x5b, 0x3b, 0x23, 0x23, 0xfc, 0xa4, 0xde, 0xb1, 0x19, 0x18, 0x7d, 0x2e, 0x01, 0x0c, 0x46, 0x30, + 0x2a, 0xc5, 0x36, 0xc6, 0xd0, 0x44, 0x57, 0x96, 0x26, 0x40, 0x4e, 0xd2, 0x45, 0x0c, 0x8d, 0x7e, + 0x92, 0x40, 0x8e, 0x1b, 0xca, 0xe8, 0xda, 0x49, 0x05, 0x19, 0x3f, 0xed, 0x95, 0xeb, 0xa7, 0xb6, + 0x1b, 0x2f, 0x58, 0x8c, 0xbd, 0xca, 0xd6, 0xf3, 0xc3, 0xbc, 0xf4, 0xe2, 0x30, 0x2f, 0xfd, 0x7e, + 0x98, 0x97, 0xbe, 0x3c, 0xca, 0x27, 0x5e, 0x1c, 0xe5, 0x13, 0xbf, 0x1e, 0xe5, 0x13, 0x1f, 0x2e, + 0x36, 0x2d, 0x4f, 0xeb, 0x36, 0x6a, 0x9a, 0x47, 0x99, 0xf9, 0xaa, 0x45, 0x75, 0x1b, 0xd7, 0x29, + 0xb1, 0xea, 0xeb, 0x0d, 0xfd, 0x49, 0xdf, 0x5b, 0x2d, 0xc3, 0xfe, 0x77, 0x6f, 0xfc, 0x13, 0x00, + 0x00, 0xff, 0xff, 0x1c, 0x4a, 0xd6, 0x0c, 0x4a, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1357,9 +1363,9 @@ type QueryClient interface { // Records queries all records Records(ctx context.Context, in *QueryRecordsRequest, opts ...grpc.CallOption) (*QueryRecordsResponse, error) // Get record by id - GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error) + GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error) // Get records by bond id - GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error) + GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error) // NameRecords queries all name records NameRecords(ctx context.Context, in *QueryNameRecordsRequest, opts ...grpc.CallOption) (*QueryNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -1398,8 +1404,8 @@ func (c *queryClient) Records(ctx context.Context, in *QueryRecordsRequest, opts return out, nil } -func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error) { - out := new(QueryRecordByIdResponse) +func (c *queryClient) GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error) { + out := new(QueryGetRecordResponse) err := c.cc.Invoke(ctx, "/cerc.registry.v1.Query/GetRecord", in, out, opts...) if err != nil { return nil, err @@ -1407,8 +1413,8 @@ func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest, return out, nil } -func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error) { - out := new(QueryRecordsByBondIdResponse) +func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error) { + out := new(QueryGetRecordsByBondIdResponse) err := c.cc.Invoke(ctx, "/cerc.registry.v1.Query/GetRecordsByBondId", in, out, opts...) if err != nil { return nil, err @@ -1468,9 +1474,9 @@ type QueryServer interface { // Records queries all records Records(context.Context, *QueryRecordsRequest) (*QueryRecordsResponse, error) // Get record by id - GetRecord(context.Context, *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error) + GetRecord(context.Context, *QueryGetRecordRequest) (*QueryGetRecordResponse, error) // Get records by bond id - GetRecordsByBondId(context.Context, *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error) + GetRecordsByBondId(context.Context, *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error) // NameRecords queries all name records NameRecords(context.Context, *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -1493,10 +1499,10 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) Records(ctx context.Context, req *QueryRecordsRequest) (*QueryRecordsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Records not implemented") } -func (*UnimplementedQueryServer) GetRecord(ctx context.Context, req *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error) { +func (*UnimplementedQueryServer) GetRecord(ctx context.Context, req *QueryGetRecordRequest) (*QueryGetRecordResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecord not implemented") } -func (*UnimplementedQueryServer) GetRecordsByBondId(ctx context.Context, req *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error) { +func (*UnimplementedQueryServer) GetRecordsByBondId(ctx context.Context, req *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecordsByBondId not implemented") } func (*UnimplementedQueryServer) NameRecords(ctx context.Context, req *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error) { @@ -1556,7 +1562,7 @@ func _Query_Records_Handler(srv interface{}, ctx context.Context, dec func(inter } func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryRecordByIdRequest) + in := new(QueryGetRecordRequest) if err := dec(in); err != nil { return nil, err } @@ -1568,13 +1574,13 @@ func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(int FullMethod: "/cerc.registry.v1.Query/GetRecord", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetRecord(ctx, req.(*QueryRecordByIdRequest)) + return srv.(QueryServer).GetRecord(ctx, req.(*QueryGetRecordRequest)) } return interceptor(ctx, in, info, handler) } func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryRecordsByBondIdRequest) + in := new(QueryGetRecordsByBondIdRequest) if err := dec(in); err != nil { return nil, err } @@ -1586,7 +1592,7 @@ func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec FullMethod: "/cerc.registry.v1.Query/GetRecordsByBondId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryRecordsByBondIdRequest)) + return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryGetRecordsByBondIdRequest)) } return interceptor(ctx, in, info, handler) } @@ -2164,7 +2170,7 @@ func (m *QueryRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryRecordByIdRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetRecordRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2174,12 +2180,12 @@ func (m *QueryRecordByIdRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryRecordByIdRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetRecordRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryRecordByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2194,7 +2200,7 @@ func (m *QueryRecordByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryRecordByIdResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetRecordResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2204,12 +2210,12 @@ func (m *QueryRecordByIdResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryRecordByIdResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetRecordResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryRecordByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2227,7 +2233,7 @@ func (m *QueryRecordByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2237,12 +2243,12 @@ func (m *QueryRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryRecordsByBondIdRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetRecordsByBondIdRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2269,7 +2275,7 @@ func (m *QueryRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *QueryRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2279,12 +2285,12 @@ func (m *QueryRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryRecordsByBondIdResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetRecordsByBondIdResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryRecordsByBondIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetRecordsByBondIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2910,7 +2916,7 @@ func (m *QueryRecordsResponse) Size() (n int) { return n } -func (m *QueryRecordByIdRequest) Size() (n int) { +func (m *QueryGetRecordRequest) Size() (n int) { if m == nil { return 0 } @@ -2923,7 +2929,7 @@ func (m *QueryRecordByIdRequest) Size() (n int) { return n } -func (m *QueryRecordByIdResponse) Size() (n int) { +func (m *QueryGetRecordResponse) Size() (n int) { if m == nil { return 0 } @@ -2934,7 +2940,7 @@ func (m *QueryRecordByIdResponse) Size() (n int) { return n } -func (m *QueryRecordsByBondIdRequest) Size() (n int) { +func (m *QueryGetRecordsByBondIdRequest) Size() (n int) { if m == nil { return 0 } @@ -2951,7 +2957,7 @@ func (m *QueryRecordsByBondIdRequest) Size() (n int) { return n } -func (m *QueryRecordsByBondIdResponse) Size() (n int) { +func (m *QueryGetRecordsByBondIdResponse) Size() (n int) { if m == nil { return 0 } @@ -4140,7 +4146,7 @@ func (m *QueryRecordsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetRecordRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4163,10 +4169,10 @@ func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryRecordByIdRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetRecordRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryRecordByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetRecordRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4222,7 +4228,7 @@ func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetRecordResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4245,10 +4251,10 @@ func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryRecordByIdResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetRecordResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryRecordByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetRecordResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4305,7 +4311,7 @@ func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetRecordsByBondIdRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4328,10 +4334,10 @@ func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryRecordsByBondIdRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4423,7 +4429,7 @@ func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryRecordsByBondIdResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetRecordsByBondIdResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4446,10 +4452,10 @@ func (m *QueryRecordsByBondIdResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryRecordsByBondIdResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/registry/query.pb.gw.go b/x/registry/query.pb.gw.go index 743963b0c..4f5586523 100644 --- a/x/registry/query.pb.gw.go +++ b/x/registry/query.pb.gw.go @@ -88,7 +88,7 @@ func local_request_Query_Records_0(ctx context.Context, marshaler runtime.Marsha } func request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryRecordByIdRequest + var protoReq QueryGetRecordRequest var metadata runtime.ServerMetadata var ( @@ -115,7 +115,7 @@ func request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler, } func local_request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryRecordByIdRequest + var protoReq QueryGetRecordRequest var metadata runtime.ServerMetadata var ( @@ -146,7 +146,7 @@ var ( ) func request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryRecordsByBondIdRequest + var protoReq QueryGetRecordsByBondIdRequest var metadata runtime.ServerMetadata var ( @@ -180,7 +180,7 @@ func request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.M } func local_request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryRecordsByBondIdRequest + var protoReq QueryGetRecordsByBondIdRequest var metadata runtime.ServerMetadata var ( diff --git a/x/registry/tx.pb.go b/x/registry/tx.pb.go index a84ed5674..bea70cabd 100644 --- a/x/registry/tx.pb.go +++ b/x/registry/tx.pb.go @@ -287,7 +287,7 @@ func (m *MsgSetNameResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetNameResponse proto.InternalMessageInfo -// MsgReserveName +// MsgReserveAuthority type MsgReserveAuthority struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` @@ -349,7 +349,7 @@ func (m *MsgReserveAuthority) GetOwner() string { return "" } -// MsgReserveNameResponse +// MsgReserveAuthorityResponse type MsgReserveAuthorityResponse struct { } @@ -484,24 +484,24 @@ func (m *MsgSetAuthorityBondResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetAuthorityBondResponse proto.InternalMessageInfo -// MsgDeleteNameAuthority -type MsgDeleteNameAuthority struct { +// MsgDeleteName +type MsgDeleteName struct { Lrn string `protobuf:"bytes,1,opt,name=lrn,proto3" json:"lrn,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` } -func (m *MsgDeleteNameAuthority) Reset() { *m = MsgDeleteNameAuthority{} } -func (m *MsgDeleteNameAuthority) String() string { return proto.CompactTextString(m) } -func (*MsgDeleteNameAuthority) ProtoMessage() {} -func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) { +func (m *MsgDeleteName) Reset() { *m = MsgDeleteName{} } +func (m *MsgDeleteName) String() string { return proto.CompactTextString(m) } +func (*MsgDeleteName) ProtoMessage() {} +func (*MsgDeleteName) Descriptor() ([]byte, []int) { return fileDescriptor_3c6eb2e5a4d8fa03, []int{9} } -func (m *MsgDeleteNameAuthority) XXX_Unmarshal(b []byte) error { +func (m *MsgDeleteName) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgDeleteNameAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgDeleteName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgDeleteNameAuthority.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgDeleteName.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -511,48 +511,48 @@ func (m *MsgDeleteNameAuthority) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *MsgDeleteNameAuthority) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeleteNameAuthority.Merge(m, src) +func (m *MsgDeleteName) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeleteName.Merge(m, src) } -func (m *MsgDeleteNameAuthority) XXX_Size() int { +func (m *MsgDeleteName) XXX_Size() int { return m.Size() } -func (m *MsgDeleteNameAuthority) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeleteNameAuthority.DiscardUnknown(m) +func (m *MsgDeleteName) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeleteName.DiscardUnknown(m) } -var xxx_messageInfo_MsgDeleteNameAuthority proto.InternalMessageInfo +var xxx_messageInfo_MsgDeleteName proto.InternalMessageInfo -func (m *MsgDeleteNameAuthority) GetLrn() string { +func (m *MsgDeleteName) GetLrn() string { if m != nil { return m.Lrn } return "" } -func (m *MsgDeleteNameAuthority) GetSigner() string { +func (m *MsgDeleteName) GetSigner() string { if m != nil { return m.Signer } return "" } -// MsgDeleteNameAuthorityResponse -type MsgDeleteNameAuthorityResponse struct { +// MsgDeleteNameResponse +type MsgDeleteNameResponse struct { } -func (m *MsgDeleteNameAuthorityResponse) Reset() { *m = MsgDeleteNameAuthorityResponse{} } -func (m *MsgDeleteNameAuthorityResponse) String() string { return proto.CompactTextString(m) } -func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {} -func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) { +func (m *MsgDeleteNameResponse) Reset() { *m = MsgDeleteNameResponse{} } +func (m *MsgDeleteNameResponse) String() string { return proto.CompactTextString(m) } +func (*MsgDeleteNameResponse) ProtoMessage() {} +func (*MsgDeleteNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor_3c6eb2e5a4d8fa03, []int{10} } -func (m *MsgDeleteNameAuthorityResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgDeleteNameResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgDeleteNameAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgDeleteNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgDeleteNameAuthorityResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgDeleteNameResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -562,17 +562,17 @@ func (m *MsgDeleteNameAuthorityResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *MsgDeleteNameAuthorityResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeleteNameAuthorityResponse.Merge(m, src) +func (m *MsgDeleteNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeleteNameResponse.Merge(m, src) } -func (m *MsgDeleteNameAuthorityResponse) XXX_Size() int { +func (m *MsgDeleteNameResponse) XXX_Size() int { return m.Size() } -func (m *MsgDeleteNameAuthorityResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeleteNameAuthorityResponse.DiscardUnknown(m) +func (m *MsgDeleteNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeleteNameResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgDeleteNameAuthorityResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgDeleteNameResponse proto.InternalMessageInfo // MsgRenewRecord type MsgRenewRecord struct { @@ -1050,8 +1050,8 @@ func init() { proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "cerc.registry.v1.MsgReserveAuthorityResponse") proto.RegisterType((*MsgSetAuthorityBond)(nil), "cerc.registry.v1.MsgSetAuthorityBond") proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "cerc.registry.v1.MsgSetAuthorityBondResponse") - proto.RegisterType((*MsgDeleteNameAuthority)(nil), "cerc.registry.v1.MsgDeleteNameAuthority") - proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "cerc.registry.v1.MsgDeleteNameAuthorityResponse") + proto.RegisterType((*MsgDeleteName)(nil), "cerc.registry.v1.MsgDeleteName") + proto.RegisterType((*MsgDeleteNameResponse)(nil), "cerc.registry.v1.MsgDeleteNameResponse") proto.RegisterType((*MsgRenewRecord)(nil), "cerc.registry.v1.MsgRenewRecord") proto.RegisterType((*MsgRenewRecordResponse)(nil), "cerc.registry.v1.MsgRenewRecordResponse") proto.RegisterType((*MsgAssociateBond)(nil), "cerc.registry.v1.MsgAssociateBond") @@ -1067,72 +1067,72 @@ func init() { func init() { proto.RegisterFile("cerc/registry/v1/tx.proto", fileDescriptor_3c6eb2e5a4d8fa03) } var fileDescriptor_3c6eb2e5a4d8fa03 = []byte{ - // 1037 bytes of a gzipped FileDescriptorProto + // 1036 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x97, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0x3b, 0xc9, 0x6e, 0x4b, 0x5e, 0xa0, 0xea, 0x9a, 0xb2, 0xa4, 0x6e, 0xea, 0xa4, 0xd3, - 0x26, 0xcd, 0x76, 0x69, 0xbc, 0x1b, 0x4e, 0xf4, 0xd6, 0x88, 0x4b, 0x0f, 0x01, 0xe4, 0x8a, 0x0b, - 0x97, 0xca, 0x8d, 0x47, 0x5e, 0xa3, 0xc4, 0x53, 0x3c, 0xde, 0x66, 0x23, 0x71, 0x80, 0xbd, 0x01, - 0x42, 0x8b, 0x84, 0x84, 0xc4, 0x81, 0x23, 0x17, 0x4e, 0x7b, 0xe3, 0x2b, 0xec, 0x71, 0x05, 0x17, - 0x4e, 0x11, 0x6a, 0x91, 0xf6, 0x9e, 0x4f, 0x80, 0x3c, 0xb6, 0xc7, 0x76, 0x6c, 0xa7, 0x01, 0x6d, - 0x6f, 0x93, 0x79, 0xff, 0x79, 0xef, 0x37, 0x6f, 0xde, 0xf3, 0x4c, 0x60, 0xa3, 0x4f, 0x9c, 0xbe, - 0xea, 0x10, 0xd3, 0x62, 0xae, 0x33, 0x56, 0x2f, 0x1e, 0xaa, 0xee, 0x93, 0xf6, 0xb9, 0x43, 0x5d, - 0x2a, 0xad, 0x79, 0xa6, 0x76, 0x68, 0x6a, 0x5f, 0x3c, 0x94, 0xab, 0x26, 0xa5, 0xe6, 0x80, 0xa8, - 0xfa, 0xb9, 0xa5, 0xea, 0xb6, 0x4d, 0x5d, 0xdd, 0xb5, 0xa8, 0xcd, 0x7c, 0xbd, 0xbc, 0x6e, 0x52, - 0x93, 0xf2, 0xa1, 0xea, 0x8d, 0x82, 0xd9, 0x77, 0xfb, 0x94, 0x0d, 0x29, 0x53, 0x87, 0xcc, 0xf4, - 0xbc, 0x0f, 0x99, 0x19, 0x18, 0x6a, 0xa9, 0xc8, 0x22, 0x14, 0x17, 0xe0, 0xdf, 0x10, 0xbc, 0xd9, - 0x63, 0xe6, 0x09, 0x71, 0x35, 0xd2, 0xa7, 0x8e, 0x21, 0x1d, 0xc2, 0xca, 0x19, 0xb5, 0x8d, 0x53, - 0xcb, 0xa8, 0xa0, 0x3a, 0x6a, 0x95, 0xba, 0xdb, 0xd3, 0x49, 0x6d, 0xeb, 0x73, 0x46, 0xed, 0x43, - 0x1c, 0x18, 0x70, 0x7d, 0xac, 0x0f, 0x07, 0xd1, 0x4f, 0x6d, 0xd9, 0x1b, 0x1d, 0x1b, 0xd2, 0x5d, - 0x58, 0x66, 0x96, 0x69, 0x13, 0xa7, 0x52, 0xf0, 0x96, 0x6a, 0xc1, 0x2f, 0xe9, 0x03, 0x58, 0x39, - 0xd7, 0xc7, 0x03, 0xaa, 0x1b, 0x95, 0x62, 0x1d, 0xb5, 0xca, 0x9d, 0x8d, 0xf6, 0xec, 0xb6, 0xdb, - 0x9f, 0xf8, 0x82, 0xee, 0xad, 0x17, 0x93, 0xda, 0x92, 0x16, 0xea, 0x0f, 0xcb, 0x4f, 0x5f, 0x3d, - 0xdf, 0x0f, 0xfc, 0xe0, 0x26, 0xac, 0xc7, 0x59, 0x35, 0xc2, 0xce, 0xa9, 0xcd, 0x88, 0xb4, 0x0a, - 0x85, 0x10, 0x57, 0x2b, 0x58, 0x06, 0xfe, 0x15, 0xc1, 0x4a, 0xe0, 0x4f, 0x7a, 0x00, 0xcb, 0x0e, - 0x57, 0x73, 0x7b, 0xb9, 0x53, 0x49, 0x87, 0x0e, 0xbc, 0x05, 0x3a, 0xe9, 0x11, 0x80, 0x17, 0x4f, - 0x77, 0x1f, 0x3b, 0x84, 0x55, 0x0a, 0xf5, 0x62, 0xab, 0xdc, 0xd9, 0x4c, 0xaf, 0x3a, 0x09, 0x35, - 0xdd, 0xfb, 0x1e, 0xf2, 0x74, 0x52, 0xdb, 0xf1, 0xb3, 0x14, 0x2d, 0x0e, 0x13, 0x15, 0x9b, 0xd1, - 0x62, 0xbe, 0xf1, 0xa7, 0x00, 0xfe, 0x7e, 0x3e, 0xd2, 0x87, 0x44, 0x5a, 0x83, 0xe2, 0xc0, 0xb1, - 0x83, 0x6d, 0x78, 0x43, 0x6f, 0xa6, 0x6f, 0x19, 0x41, 0x32, 0xbd, 0x61, 0x2c, 0xc3, 0xc5, 0x78, - 0x86, 0x93, 0x69, 0x5a, 0x07, 0x29, 0x72, 0x1b, 0x26, 0x09, 0x1b, 0xf0, 0x76, 0x8f, 0x99, 0x1a, - 0x61, 0xc4, 0xb9, 0x20, 0x47, 0x8f, 0xdd, 0x47, 0xd4, 0xb1, 0xdc, 0xb1, 0x24, 0xc1, 0x2d, 0x5b, - 0x1f, 0x92, 0x20, 0x2c, 0x1f, 0xe7, 0x9e, 0xe3, 0x3a, 0xdc, 0xa6, 0xa3, 0x28, 0xb8, 0xff, 0x23, - 0x19, 0x7b, 0x0b, 0x36, 0x33, 0xa2, 0x08, 0x88, 0x6f, 0x11, 0xa7, 0x38, 0x21, 0xae, 0xb0, 0x75, - 0xa9, 0x6d, 0x64, 0x52, 0xc4, 0x2a, 0xb1, 0xf0, 0xff, 0x2b, 0x71, 0x4e, 0x9e, 0x7c, 0xd6, 0x59, - 0x16, 0xc1, 0xfa, 0x31, 0xdc, 0xed, 0x31, 0xf3, 0x43, 0x32, 0x20, 0x2e, 0xf1, 0x32, 0x19, 0xe5, - 0x2c, 0x7d, 0x52, 0x39, 0x19, 0x4b, 0xc6, 0xab, 0x83, 0x92, 0xed, 0x50, 0x84, 0x1c, 0xc3, 0x2a, - 0xcf, 0x9e, 0x4d, 0x46, 0x41, 0x3b, 0x76, 0xa1, 0xe4, 0x97, 0x65, 0xd4, 0x90, 0x8d, 0xe9, 0xa4, - 0xb6, 0xed, 0xa7, 0x41, 0x98, 0xc2, 0x44, 0x44, 0x13, 0xda, 0x1b, 0xfe, 0x38, 0xbf, 0x2d, 0x93, - 0x70, 0x15, 0xbe, 0xdb, 0x58, 0x68, 0x01, 0xf5, 0x3b, 0x82, 0xb5, 0x1e, 0x33, 0x8f, 0x18, 0xa3, - 0x7d, 0x4b, 0x77, 0x09, 0x3f, 0xb0, 0xd7, 0xc1, 0x75, 0xe3, 0x07, 0x2c, 0x43, 0x65, 0x16, 0x5c, - 0xec, 0xea, 0x4b, 0xb8, 0xe3, 0x1d, 0x86, 0xf5, 0xda, 0x77, 0xb5, 0x50, 0xb6, 0x37, 0x61, 0x23, - 0x15, 0x5d, 0xa0, 0x8d, 0xf8, 0x67, 0x2e, 0x32, 0xfa, 0xe7, 0xc1, 0x6e, 0xe2, 0xd3, 0x9c, 0xa4, - 0x52, 0xa0, 0x9a, 0x15, 0x58, 0x80, 0xfd, 0x81, 0xe0, 0x1d, 0x5e, 0x24, 0xfa, 0x2c, 0xda, 0x31, - 0x94, 0x6d, 0x32, 0x3a, 0x4d, 0xe2, 0xdd, 0x9b, 0x4e, 0x6a, 0x0d, 0x1f, 0x2f, 0x66, 0x0c, 0x11, - 0xe3, 0x53, 0x5a, 0xc9, 0x26, 0xa3, 0xae, 0x4f, 0x7a, 0x0c, 0x65, 0x3a, 0x30, 0x4e, 0x93, 0x95, - 0x11, 0x73, 0x15, 0x33, 0x86, 0xae, 0xe2, 0x53, 0x5a, 0x89, 0x0e, 0x8c, 0xee, 0x7f, 0x28, 0x92, - 0x1a, 0x6c, 0x65, 0xee, 0x29, 0xdc, 0x75, 0xe7, 0x59, 0x19, 0x8a, 0x3d, 0x66, 0x4a, 0x63, 0x28, - 0x45, 0xd7, 0xa4, 0x92, 0xbe, 0x10, 0xe2, 0x57, 0x93, 0xdc, 0x9c, 0x6f, 0x17, 0x29, 0xdd, 0x7d, - 0xfa, 0xe7, 0x3f, 0x3f, 0x16, 0x14, 0x5c, 0x55, 0x53, 0x37, 0x35, 0x23, 0xee, 0x69, 0x70, 0x25, - 0x7d, 0x8d, 0xa0, 0x1c, 0xff, 0x2a, 0xd4, 0x33, 0xbd, 0xc7, 0x14, 0x72, 0xeb, 0x3a, 0x85, 0x20, - 0x68, 0x72, 0x82, 0x3a, 0x56, 0xd4, 0x8c, 0xb7, 0x82, 0x77, 0x48, 0x01, 0xc3, 0x37, 0x08, 0xde, - 0x4a, 0x7e, 0x03, 0x70, 0x66, 0x8c, 0x84, 0x46, 0xde, 0xbf, 0x5e, 0x23, 0x48, 0x5a, 0x9c, 0x04, - 0xe3, 0x7a, 0x9a, 0x44, 0x1c, 0x0e, 0x3f, 0x67, 0xe9, 0x7b, 0x04, 0xab, 0x33, 0xad, 0xbb, 0x93, - 0x19, 0x28, 0x29, 0x92, 0xef, 0x2f, 0x20, 0x12, 0x38, 0xf7, 0x38, 0xce, 0x0e, 0xde, 0x4e, 0xe3, - 0x18, 0x56, 0x92, 0xe7, 0x67, 0x04, 0x77, 0xd2, 0xfd, 0xda, 0xbc, 0x26, 0x5a, 0xa0, 0x93, 0xdb, - 0x8b, 0xe9, 0x04, 0xd8, 0x7b, 0x1c, 0xac, 0x89, 0x77, 0xe7, 0x82, 0x39, 0x01, 0xc5, 0x2f, 0x08, - 0xa4, 0x8c, 0x8e, 0xdd, 0xcb, 0x29, 0x90, 0x59, 0xa1, 0xac, 0x2e, 0x28, 0x14, 0x78, 0x07, 0x1c, - 0x6f, 0x0f, 0x37, 0xb2, 0x0a, 0x4a, 0x4f, 0xf1, 0x7d, 0x01, 0x2b, 0xe1, 0x0b, 0xa8, 0x9a, 0xd7, - 0x34, 0x9e, 0x55, 0xde, 0x9d, 0x67, 0x15, 0xd1, 0x31, 0x8f, 0x5e, 0xc5, 0x72, 0x76, 0x43, 0xf1, - 0x97, 0xc5, 0x77, 0xbc, 0x9d, 0xf8, 0x13, 0x85, 0xc7, 0x6d, 0xe4, 0x6c, 0x31, 0xf9, 0x88, 0x91, - 0x0f, 0x16, 0x92, 0x2d, 0xd6, 0x58, 0x7c, 0x8d, 0x4f, 0xf3, 0x0c, 0x01, 0x44, 0x8f, 0x02, 0x29, - 0xbb, 0x73, 0x33, 0x5e, 0x0d, 0xf2, 0x83, 0x45, 0x95, 0x02, 0xa9, 0xc1, 0x91, 0x6a, 0x78, 0x2b, - 0xa3, 0x72, 0xf8, 0x32, 0x9f, 0xe8, 0x27, 0x04, 0x6b, 0xa9, 0x27, 0x5a, 0x23, 0x2f, 0xfd, 0x09, - 0x59, 0x4e, 0x92, 0x72, 0x1f, 0x59, 0x73, 0x6a, 0xd9, 0x3b, 0x2e, 0x3d, 0x5c, 0xc4, 0xfb, 0x4c, - 0xbe, 0xfd, 0xd5, 0xab, 0xe7, 0xfb, 0xa8, 0x7b, 0xf4, 0xe2, 0x52, 0x41, 0x2f, 0x2f, 0x15, 0xf4, - 0xf7, 0xa5, 0x82, 0x7e, 0xb8, 0x52, 0x96, 0x5e, 0x5e, 0x29, 0x4b, 0x7f, 0x5d, 0x29, 0x4b, 0x9f, - 0xed, 0x99, 0x96, 0xdb, 0xbe, 0x30, 0xce, 0xda, 0x2e, 0xe5, 0x0e, 0x0f, 0x2c, 0xaa, 0x0e, 0xf4, - 0x3e, 0xb5, 0xad, 0x7e, 0xc7, 0x50, 0x9f, 0x08, 0xff, 0x67, 0xcb, 0xfc, 0xef, 0xcf, 0xfb, 0xff, - 0x06, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x74, 0xfe, 0xc2, 0x9b, 0x0d, 0x00, 0x00, + 0x14, 0xc7, 0x3b, 0xc9, 0x6e, 0x4b, 0x5e, 0xd8, 0x2a, 0x6b, 0xca, 0x6e, 0xea, 0xa6, 0x4e, 0x3a, + 0x6d, 0xd2, 0x6c, 0x4b, 0x63, 0x36, 0x9c, 0xe8, 0xad, 0x11, 0x42, 0xea, 0x21, 0x08, 0xb9, 0xe2, + 0xc2, 0x25, 0x72, 0xe3, 0x91, 0xd7, 0x28, 0xf1, 0x14, 0x8f, 0xb7, 0xd9, 0x48, 0x20, 0xc1, 0x1e, + 0x90, 0x40, 0x42, 0x42, 0x42, 0x20, 0x71, 0xe0, 0xc8, 0x85, 0xd3, 0xde, 0xf8, 0x0a, 0x7b, 0x5c, + 0xc1, 0x85, 0x53, 0x84, 0x5a, 0xa4, 0xbd, 0xf7, 0x13, 0x20, 0x8f, 0xed, 0x89, 0x1d, 0xdb, 0x69, + 0x58, 0x6d, 0x6f, 0x93, 0x79, 0x7f, 0xbf, 0xff, 0x6f, 0xde, 0x9b, 0xb1, 0x27, 0xb0, 0xde, 0x27, + 0x4e, 0x5f, 0x75, 0x88, 0x69, 0x31, 0xd7, 0x19, 0xab, 0xe7, 0x0f, 0x55, 0xf7, 0x49, 0xeb, 0xcc, + 0xa1, 0x2e, 0x95, 0x4a, 0x5e, 0xa8, 0x15, 0x86, 0x5a, 0xe7, 0x0f, 0xe5, 0x8a, 0x49, 0xa9, 0x39, + 0x20, 0xaa, 0x7e, 0x66, 0xa9, 0xba, 0x6d, 0x53, 0x57, 0x77, 0x2d, 0x6a, 0x33, 0x5f, 0x2f, 0xaf, + 0x99, 0xd4, 0xa4, 0x7c, 0xa8, 0x7a, 0xa3, 0x60, 0xf6, 0x7e, 0x9f, 0xb2, 0x21, 0x65, 0xea, 0x90, + 0x99, 0x5e, 0xf6, 0x21, 0x33, 0x83, 0x40, 0x35, 0xe1, 0x2c, 0xac, 0xb8, 0x00, 0xff, 0x8e, 0xe0, + 0xcd, 0x2e, 0x33, 0x4f, 0x88, 0xab, 0x91, 0x3e, 0x75, 0x0c, 0xe9, 0x10, 0x56, 0x4e, 0xa9, 0x6d, + 0xf4, 0x2c, 0xa3, 0x8c, 0x6a, 0xa8, 0x59, 0xe8, 0x6c, 0x5d, 0x4d, 0xaa, 0x9b, 0x9f, 0x31, 0x6a, + 0x1f, 0xe2, 0x20, 0x80, 0x6b, 0x63, 0x7d, 0x38, 0x98, 0xfe, 0xd4, 0x96, 0xbd, 0xd1, 0xb1, 0x21, + 0xdd, 0x83, 0x65, 0x66, 0x99, 0x36, 0x71, 0xca, 0x39, 0xef, 0x51, 0x2d, 0xf8, 0x25, 0xbd, 0x0f, + 0x2b, 0x67, 0xfa, 0x78, 0x40, 0x75, 0xa3, 0x9c, 0xaf, 0xa1, 0x66, 0xb1, 0xbd, 0xde, 0x9a, 0x5d, + 0x76, 0xeb, 0x63, 0x5f, 0xd0, 0xb9, 0xf5, 0x7c, 0x52, 0x5d, 0xd2, 0x42, 0xfd, 0x61, 0xf1, 0xe9, + 0xcb, 0x67, 0x7b, 0x41, 0x1e, 0xdc, 0x80, 0xb5, 0x28, 0xab, 0x46, 0xd8, 0x19, 0xb5, 0x19, 0x91, + 0x56, 0x21, 0x17, 0xe2, 0x6a, 0x39, 0xcb, 0xc0, 0xbf, 0x21, 0x58, 0x09, 0xf2, 0x49, 0xef, 0xc2, + 0xb2, 0xc3, 0xd5, 0x3c, 0x5e, 0x6c, 0x97, 0x93, 0xd6, 0x41, 0xb6, 0x40, 0x27, 0x3d, 0x02, 0xf0, + 0xfc, 0x74, 0xf7, 0xb1, 0x43, 0x58, 0x39, 0x57, 0xcb, 0x37, 0x8b, 0xed, 0x8d, 0xe4, 0x53, 0x27, + 0xa1, 0xa6, 0xb3, 0xef, 0x21, 0x5f, 0x4d, 0xaa, 0xdb, 0x7e, 0x95, 0xa6, 0x0f, 0x87, 0x85, 0x8a, + 0xcc, 0x68, 0x91, 0xdc, 0xf8, 0x13, 0x00, 0x7f, 0x3d, 0x1f, 0xe9, 0x43, 0x22, 0x95, 0x20, 0x3f, + 0x70, 0xec, 0x60, 0x19, 0xde, 0xd0, 0x9b, 0xe9, 0x5b, 0x46, 0x50, 0x4c, 0x6f, 0x18, 0xa9, 0x70, + 0x3e, 0x5a, 0xe1, 0x78, 0x99, 0xd6, 0x40, 0x9a, 0xa6, 0x0d, 0x8b, 0x84, 0x0d, 0x78, 0xab, 0xcb, + 0x4c, 0x8d, 0x30, 0xe2, 0x9c, 0x93, 0xa3, 0xc7, 0xee, 0x23, 0xea, 0x58, 0xee, 0x58, 0x92, 0xe0, + 0x96, 0xad, 0x0f, 0x49, 0x60, 0xcb, 0xc7, 0x99, 0x7d, 0x5c, 0x83, 0xdb, 0x74, 0x34, 0x35, 0xf7, + 0x7f, 0xc4, 0xbd, 0x37, 0x61, 0x23, 0xc5, 0x45, 0x40, 0x7c, 0x87, 0x38, 0xc5, 0x09, 0x71, 0x45, + 0xac, 0x43, 0x6d, 0x23, 0x95, 0x22, 0xb2, 0x13, 0x73, 0xaf, 0xbe, 0x13, 0xe7, 0xd4, 0xc9, 0x67, + 0x9d, 0x65, 0x11, 0xac, 0x1f, 0xc2, 0x9d, 0x2e, 0x33, 0x3f, 0x20, 0x03, 0xe2, 0x92, 0x8c, 0x06, + 0x65, 0x14, 0x2a, 0x6e, 0x73, 0x1f, 0xde, 0x8e, 0xe5, 0x11, 0x06, 0x63, 0x58, 0xe5, 0xb5, 0xb2, + 0xc9, 0x28, 0x38, 0x7c, 0x1d, 0x28, 0xf8, 0x9b, 0x70, 0x7a, 0xfc, 0xea, 0x57, 0x93, 0xea, 0x96, + 0xbf, 0x68, 0x11, 0x0a, 0x97, 0x3d, 0x9d, 0xd0, 0xde, 0xf0, 0xc7, 0xd9, 0x87, 0x30, 0xce, 0x54, + 0x86, 0x7b, 0x71, 0x6b, 0x01, 0xf5, 0x07, 0x82, 0x52, 0x97, 0x99, 0x47, 0x8c, 0xd1, 0xbe, 0xa5, + 0xbb, 0x84, 0xb7, 0xe7, 0x75, 0x70, 0xdd, 0x78, 0x3b, 0x65, 0x28, 0xcf, 0x82, 0x8b, 0x55, 0x7d, + 0x01, 0x77, 0xbd, 0x1e, 0x58, 0xaf, 0x7d, 0x55, 0x0b, 0x55, 0x7b, 0x03, 0xd6, 0x13, 0xee, 0x02, + 0x6d, 0xc4, 0x5f, 0x6a, 0xd3, 0xa0, 0xdf, 0x0f, 0x76, 0x13, 0x2f, 0xe2, 0x38, 0x95, 0x02, 0x95, + 0x34, 0x63, 0x01, 0xf6, 0x27, 0xe2, 0x1b, 0x57, 0x23, 0xfa, 0x2c, 0xda, 0x31, 0x14, 0x6d, 0x32, + 0xea, 0xc5, 0xf1, 0x1e, 0x5c, 0x4d, 0xaa, 0x75, 0x1f, 0x2f, 0x12, 0x0c, 0x11, 0xa3, 0x53, 0x5a, + 0xc1, 0x26, 0xa3, 0x8e, 0x4f, 0x7a, 0x0c, 0x45, 0x3a, 0x30, 0x7a, 0xf1, 0x9d, 0x11, 0x49, 0x15, + 0x09, 0x86, 0xa9, 0xa2, 0x53, 0x5a, 0x81, 0x0e, 0x8c, 0xce, 0xff, 0xd8, 0x24, 0x55, 0xd8, 0x4c, + 0x5d, 0x53, 0xb8, 0xea, 0xf6, 0x37, 0x45, 0xc8, 0x77, 0x99, 0x29, 0x8d, 0xa1, 0x30, 0xfd, 0x28, + 0x2a, 0xc9, 0xd7, 0x7f, 0xf4, 0x43, 0x24, 0x37, 0xe6, 0xc7, 0x45, 0x49, 0x77, 0x9e, 0xfe, 0xf5, + 0xef, 0x8f, 0x39, 0x05, 0x57, 0xd4, 0xc4, 0x77, 0x99, 0x11, 0xb7, 0x17, 0x7c, 0x80, 0xbe, 0x46, + 0x50, 0x8c, 0xbe, 0x15, 0x6a, 0xa9, 0xd9, 0x23, 0x0a, 0xb9, 0x79, 0x9d, 0x42, 0x10, 0x34, 0x38, + 0x41, 0x0d, 0x2b, 0x6a, 0xca, 0xcd, 0xc0, 0x6b, 0x52, 0xc0, 0xf0, 0x2d, 0x82, 0x3b, 0xf1, 0x77, + 0x00, 0x4e, 0xf5, 0x88, 0x69, 0xe4, 0xbd, 0xeb, 0x35, 0x82, 0xa4, 0xc9, 0x49, 0x30, 0xae, 0x25, + 0x49, 0x44, 0x73, 0x78, 0x9f, 0xa5, 0xef, 0x11, 0xac, 0xce, 0x1c, 0xdd, 0xed, 0x54, 0xa3, 0xb8, + 0x48, 0xde, 0x5f, 0x40, 0x24, 0x70, 0x1e, 0x70, 0x9c, 0x6d, 0xbc, 0x95, 0xc4, 0x31, 0xac, 0x38, + 0xcf, 0x2f, 0x08, 0xee, 0x26, 0xcf, 0x6b, 0xe3, 0x1a, 0xb7, 0x40, 0x27, 0xb7, 0x16, 0xd3, 0x09, + 0xb0, 0x77, 0x38, 0x58, 0x03, 0xef, 0xcc, 0x05, 0x73, 0x02, 0x8a, 0x5f, 0x11, 0x48, 0x29, 0x27, + 0x76, 0x37, 0x63, 0x83, 0xcc, 0x0a, 0x65, 0x75, 0x41, 0xa1, 0xc0, 0x3b, 0xe0, 0x78, 0xbb, 0xb8, + 0x9e, 0xb6, 0xa1, 0xf4, 0x04, 0xdf, 0xe7, 0xb0, 0x12, 0xde, 0x77, 0x2a, 0x59, 0x87, 0xc6, 0x8b, + 0xca, 0x3b, 0xf3, 0xa2, 0xc2, 0x1d, 0x73, 0xf7, 0x0a, 0x96, 0xd3, 0x0f, 0x14, 0xbf, 0x47, 0x7c, + 0x09, 0x10, 0xf9, 0x88, 0x57, 0xd3, 0xcb, 0x2f, 0x04, 0xf2, 0xee, 0x35, 0x02, 0xe1, 0x5d, 0xe7, + 0xde, 0x55, 0xbc, 0x99, 0xd2, 0x18, 0xae, 0xf6, 0xed, 0x7f, 0x42, 0x50, 0x4a, 0xdc, 0xba, 0xea, + 0x19, 0x65, 0x8e, 0xcb, 0xe4, 0x83, 0x85, 0x64, 0x82, 0x68, 0x9f, 0x13, 0xd5, 0xf1, 0x76, 0x5a, + 0x2f, 0xf8, 0x33, 0x3d, 0x5d, 0x20, 0xfc, 0x8c, 0xa0, 0x94, 0xb8, 0x87, 0xd5, 0xb3, 0xaa, 0x1e, + 0x93, 0x65, 0x70, 0x65, 0xde, 0xa4, 0xe6, 0x6c, 0x61, 0xaf, 0x4b, 0x82, 0x89, 0x1f, 0x2f, 0xf9, + 0xf6, 0x57, 0x2f, 0x9f, 0xed, 0xa1, 0xce, 0xd1, 0xf3, 0x0b, 0x05, 0xbd, 0xb8, 0x50, 0xd0, 0x3f, + 0x17, 0x0a, 0xfa, 0xe1, 0x52, 0x59, 0x7a, 0x71, 0xa9, 0x2c, 0xfd, 0x7d, 0xa9, 0x2c, 0x7d, 0xba, + 0x6b, 0x5a, 0x6e, 0xeb, 0xdc, 0x38, 0x6d, 0xb9, 0x94, 0x27, 0x3c, 0xb0, 0xa8, 0x3a, 0xd0, 0xfb, + 0xd4, 0xb6, 0xfa, 0x6d, 0x43, 0x7d, 0x22, 0xf2, 0x9f, 0x2e, 0xf3, 0xff, 0x38, 0xef, 0xfd, 0x17, + 0x00, 0x00, 0xff, 0xff, 0x69, 0x83, 0x2d, 0xbe, 0x80, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1161,10 +1161,10 @@ type MsgClient interface { ReassociateRecords(ctx context.Context, in *MsgReassociateRecords, opts ...grpc.CallOption) (*MsgReassociateRecordsResponse, error) // SetName will store the name with given lrn and name SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error) - // Reserve name - ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) // Delete Name method will remove authority name - DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) + DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error) + // Reserve authority name + ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) // SetAuthorityBond SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error) } @@ -1240,18 +1240,18 @@ func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.Ca return out, nil } -func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { - out := new(MsgReserveAuthorityResponse) - err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/ReserveName", in, out, opts...) +func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error) { + out := new(MsgDeleteNameResponse) + err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/DeleteName", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) { - out := new(MsgDeleteNameAuthorityResponse) - err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/DeleteName", in, out, opts...) +func (c *msgClient) ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { + out := new(MsgReserveAuthorityResponse) + err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/ReserveAuthority", in, out, opts...) if err != nil { return nil, err } @@ -1283,10 +1283,10 @@ type MsgServer interface { ReassociateRecords(context.Context, *MsgReassociateRecords) (*MsgReassociateRecordsResponse, error) // SetName will store the name with given lrn and name SetName(context.Context, *MsgSetName) (*MsgSetNameResponse, error) - // Reserve name - ReserveName(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) // Delete Name method will remove authority name - DeleteName(context.Context, *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error) + DeleteName(context.Context, *MsgDeleteName) (*MsgDeleteNameResponse, error) + // Reserve authority name + ReserveAuthority(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) // SetAuthorityBond SetAuthorityBond(context.Context, *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error) } @@ -1316,12 +1316,12 @@ func (*UnimplementedMsgServer) ReassociateRecords(ctx context.Context, req *MsgR func (*UnimplementedMsgServer) SetName(ctx context.Context, req *MsgSetName) (*MsgSetNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetName not implemented") } -func (*UnimplementedMsgServer) ReserveName(ctx context.Context, req *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReserveName not implemented") -} -func (*UnimplementedMsgServer) DeleteName(ctx context.Context, req *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error) { +func (*UnimplementedMsgServer) DeleteName(ctx context.Context, req *MsgDeleteName) (*MsgDeleteNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteName not implemented") } +func (*UnimplementedMsgServer) ReserveAuthority(ctx context.Context, req *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReserveAuthority not implemented") +} func (*UnimplementedMsgServer) SetAuthorityBond(ctx context.Context, req *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAuthorityBond not implemented") } @@ -1456,26 +1456,8 @@ func _Msg_SetName_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } -func _Msg_ReserveName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgReserveAuthority) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).ReserveName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cerc.registry.v1.Msg/ReserveName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority)) - } - return interceptor(ctx, in, info, handler) -} - func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgDeleteNameAuthority) + in := new(MsgDeleteName) if err := dec(in); err != nil { return nil, err } @@ -1487,7 +1469,25 @@ func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(inte FullMethod: "/cerc.registry.v1.Msg/DeleteName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority)) + return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteName)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ReserveAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgReserveAuthority) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ReserveAuthority(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cerc.registry.v1.Msg/ReserveAuthority", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ReserveAuthority(ctx, req.(*MsgReserveAuthority)) } return interceptor(ctx, in, info, handler) } @@ -1542,14 +1542,14 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "SetName", Handler: _Msg_SetName_Handler, }, - { - MethodName: "ReserveName", - Handler: _Msg_ReserveName_Handler, - }, { MethodName: "DeleteName", Handler: _Msg_DeleteName_Handler, }, + { + MethodName: "ReserveAuthority", + Handler: _Msg_ReserveAuthority_Handler, + }, { MethodName: "SetAuthorityBond", Handler: _Msg_SetAuthorityBond_Handler, @@ -1886,7 +1886,7 @@ func (m *MsgSetAuthorityBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *MsgDeleteNameAuthority) Marshal() (dAtA []byte, err error) { +func (m *MsgDeleteName) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1896,12 +1896,12 @@ func (m *MsgDeleteNameAuthority) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgDeleteNameAuthority) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgDeleteName) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgDeleteNameAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgDeleteName) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1923,7 +1923,7 @@ func (m *MsgDeleteNameAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgDeleteNameAuthorityResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgDeleteNameResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1933,12 +1933,12 @@ func (m *MsgDeleteNameAuthorityResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgDeleteNameAuthorityResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgDeleteNameResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgDeleteNameAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgDeleteNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2412,7 +2412,7 @@ func (m *MsgSetAuthorityBondResponse) Size() (n int) { return n } -func (m *MsgDeleteNameAuthority) Size() (n int) { +func (m *MsgDeleteName) Size() (n int) { if m == nil { return 0 } @@ -2429,7 +2429,7 @@ func (m *MsgDeleteNameAuthority) Size() (n int) { return n } -func (m *MsgDeleteNameAuthorityResponse) Size() (n int) { +func (m *MsgDeleteNameResponse) Size() (n int) { if m == nil { return 0 } @@ -3519,7 +3519,7 @@ func (m *MsgSetAuthorityBondResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error { +func (m *MsgDeleteName) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3542,10 +3542,10 @@ func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgDeleteNameAuthority: wiretype end group for non-group") + return fmt.Errorf("proto: MsgDeleteName: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeleteNameAuthority: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgDeleteName: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3633,7 +3633,7 @@ func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgDeleteNameAuthorityResponse) Unmarshal(dAtA []byte) error { +func (m *MsgDeleteNameResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3656,10 +3656,10 @@ func (m *MsgDeleteNameAuthorityResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgDeleteNameResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgDeleteNameResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: diff --git a/x/registry/tx.pb.gw.go b/x/registry/tx.pb.gw.go index df64c4da2..edad9ea0e 100644 --- a/x/registry/tx.pb.gw.go +++ b/x/registry/tx.pb.gw.go @@ -285,48 +285,12 @@ func local_request_Msg_SetName_0(ctx context.Context, marshaler runtime.Marshale } -var ( - filter_Msg_ReserveName_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - -func request_Msg_ReserveName_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MsgReserveAuthority - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveName_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.ReserveName(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Msg_ReserveName_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MsgReserveAuthority - var metadata runtime.ServerMetadata - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveName_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.ReserveName(ctx, &protoReq) - return msg, metadata, err - -} - var ( filter_Msg_DeleteName_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) func request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MsgDeleteNameAuthority + var protoReq MsgDeleteName var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { @@ -342,7 +306,7 @@ func request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler, } func local_request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq MsgDeleteNameAuthority + var protoReq MsgDeleteName var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { @@ -357,6 +321,42 @@ func local_request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marsh } +var ( + filter_Msg_ReserveAuthority_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Msg_ReserveAuthority_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MsgReserveAuthority + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveAuthority_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ReserveAuthority(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Msg_ReserveAuthority_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MsgReserveAuthority + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveAuthority_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ReserveAuthority(ctx, &protoReq) + return msg, metadata, err + +} + var ( filter_Msg_SetAuthorityBond_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) @@ -560,29 +560,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server }) - mux.Handle("POST", pattern_Msg_ReserveName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_Msg_ReserveName_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Msg_ReserveName_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_Msg_DeleteName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -606,6 +583,29 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server }) + mux.Handle("POST", pattern_Msg_ReserveAuthority_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Msg_ReserveAuthority_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Msg_ReserveAuthority_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_Msg_SetAuthorityBond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -810,26 +810,6 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client }) - mux.Handle("POST", pattern_Msg_ReserveName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_Msg_ReserveName_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_Msg_ReserveName_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("POST", pattern_Msg_DeleteName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -850,6 +830,26 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client }) + mux.Handle("POST", pattern_Msg_ReserveAuthority_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Msg_ReserveAuthority_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Msg_ReserveAuthority_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("POST", pattern_Msg_SetAuthorityBond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -888,10 +888,10 @@ var ( pattern_Msg_SetName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "set_name"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Msg_ReserveName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "reserve_name"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Msg_DeleteName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "delete_name"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Msg_ReserveAuthority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "reserve_authority"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Msg_SetAuthorityBond_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "set_authority_bond"}, "", runtime.AssumeColonVerbOpt(false))) ) @@ -910,9 +910,9 @@ var ( forward_Msg_SetName_0 = runtime.ForwardResponseMessage - forward_Msg_ReserveName_0 = runtime.ForwardResponseMessage - forward_Msg_DeleteName_0 = runtime.ForwardResponseMessage + forward_Msg_ReserveAuthority_0 = runtime.ForwardResponseMessage + forward_Msg_SetAuthorityBond_0 = runtime.ForwardResponseMessage )