From b699f120e89a13e7088b2e157a0f623212c4d2c2 Mon Sep 17 00:00:00 2001 From: Cosmic Vagabond <121588426+cosmic-vagabond@users.noreply.github.com> Date: Thu, 19 Dec 2024 19:16:34 +0100 Subject: [PATCH] fix(tier): grpc codec issue with decimal field in response message (#1072) --- api/elys/tier/query.pulsar.go | 1228 ++++++++++++++++++-------- proto/elys/tier/query.proto | 6 +- x/tier/keeper/query_get_amm_price.go | 4 +- x/tier/types/query.pb.go | 410 ++++++--- 4 files changed, 1165 insertions(+), 483 deletions(-) diff --git a/api/elys/tier/query.pulsar.go b/api/elys/tier/query.pulsar.go index 94d140da8..09e624e1d 100644 --- a/api/elys/tier/query.pulsar.go +++ b/api/elys/tier/query.pulsar.go @@ -9211,14 +9211,434 @@ func (x *fastReflection_QueryGetAmmPriceRequest) ProtoMethods() *protoiface.Meth } var ( - md_QueryGetAmmPriceResponse protoreflect.MessageDescriptor - fd_QueryGetAmmPriceResponse_total protoreflect.FieldDescriptor + md_GetAmmPriceResponseResult protoreflect.MessageDescriptor + fd_GetAmmPriceResponseResult_total protoreflect.FieldDescriptor +) + +func init() { + file_elys_tier_query_proto_init() + md_GetAmmPriceResponseResult = File_elys_tier_query_proto.Messages().ByName("GetAmmPriceResponseResult") + fd_GetAmmPriceResponseResult_total = md_GetAmmPriceResponseResult.Fields().ByName("total") +} + +var _ protoreflect.Message = (*fastReflection_GetAmmPriceResponseResult)(nil) + +type fastReflection_GetAmmPriceResponseResult GetAmmPriceResponseResult + +func (x *GetAmmPriceResponseResult) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetAmmPriceResponseResult)(x) +} + +func (x *GetAmmPriceResponseResult) slowProtoReflect() protoreflect.Message { + mi := &file_elys_tier_query_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_GetAmmPriceResponseResult_messageType fastReflection_GetAmmPriceResponseResult_messageType +var _ protoreflect.MessageType = fastReflection_GetAmmPriceResponseResult_messageType{} + +type fastReflection_GetAmmPriceResponseResult_messageType struct{} + +func (x fastReflection_GetAmmPriceResponseResult_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetAmmPriceResponseResult)(nil) +} +func (x fastReflection_GetAmmPriceResponseResult_messageType) New() protoreflect.Message { + return new(fastReflection_GetAmmPriceResponseResult) +} +func (x fastReflection_GetAmmPriceResponseResult_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetAmmPriceResponseResult +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_GetAmmPriceResponseResult) Descriptor() protoreflect.MessageDescriptor { + return md_GetAmmPriceResponseResult +} + +// 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_GetAmmPriceResponseResult) Type() protoreflect.MessageType { + return _fastReflection_GetAmmPriceResponseResult_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_GetAmmPriceResponseResult) New() protoreflect.Message { + return new(fastReflection_GetAmmPriceResponseResult) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_GetAmmPriceResponseResult) Interface() protoreflect.ProtoMessage { + return (*GetAmmPriceResponseResult)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_GetAmmPriceResponseResult) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Total != "" { + value := protoreflect.ValueOfString(x.Total) + if !f(fd_GetAmmPriceResponseResult_total, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// 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_GetAmmPriceResponseResult) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + return x.Total != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetAmmPriceResponseResult) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + x.Total = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// 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_GetAmmPriceResponseResult) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + value := x.Total + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetAmmPriceResponseResult) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + x.Total = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetAmmPriceResponseResult) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + panic(fmt.Errorf("field total of message elys.tier.GetAmmPriceResponseResult is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult 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_GetAmmPriceResponseResult) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "elys.tier.GetAmmPriceResponseResult.total": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.GetAmmPriceResponseResult")) + } + panic(fmt.Errorf("message elys.tier.GetAmmPriceResponseResult 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_GetAmmPriceResponseResult) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in elys.tier.GetAmmPriceResponseResult", d.FullName())) + } + panic("unreachable") +} + +// 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_GetAmmPriceResponseResult) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_GetAmmPriceResponseResult) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// 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_GetAmmPriceResponseResult) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_GetAmmPriceResponseResult) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*GetAmmPriceResponseResult) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Total) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*GetAmmPriceResponseResult) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Total) > 0 { + i -= len(x.Total) + copy(dAtA[i:], x.Total) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Total))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*GetAmmPriceResponseResult) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAmmPriceResponseResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAmmPriceResponseResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Total", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Total = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_QueryGetAmmPriceResponse protoreflect.MessageDescriptor + fd_QueryGetAmmPriceResponse_result protoreflect.FieldDescriptor ) func init() { file_elys_tier_query_proto_init() md_QueryGetAmmPriceResponse = File_elys_tier_query_proto.Messages().ByName("QueryGetAmmPriceResponse") - fd_QueryGetAmmPriceResponse_total = md_QueryGetAmmPriceResponse.Fields().ByName("total") + fd_QueryGetAmmPriceResponse_result = md_QueryGetAmmPriceResponse.Fields().ByName("result") } var _ protoreflect.Message = (*fastReflection_QueryGetAmmPriceResponse)(nil) @@ -9230,7 +9650,7 @@ func (x *QueryGetAmmPriceResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetAmmPriceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[21] + mi := &file_elys_tier_query_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9286,9 +9706,9 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Interface() protoreflect.Proto // While iterating, mutating operations may only be performed // on the current field descriptor. func (x *fastReflection_QueryGetAmmPriceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Total != "" { - value := protoreflect.ValueOfString(x.Total) - if !f(fd_QueryGetAmmPriceResponse_total, value) { + if x.Result != nil { + value := protoreflect.ValueOfMessage(x.Result.ProtoReflect()) + if !f(fd_QueryGetAmmPriceResponse_result, value) { return } } @@ -9307,8 +9727,8 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Range(f func(protoreflect.Fiel // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGetAmmPriceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - return x.Total != "" + case "elys.tier.QueryGetAmmPriceResponse.result": + return x.Result != nil default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9325,8 +9745,8 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Has(fd protoreflect.FieldDescr // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetAmmPriceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - x.Total = "" + case "elys.tier.QueryGetAmmPriceResponse.result": + x.Result = nil default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9343,9 +9763,9 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Clear(fd protoreflect.FieldDes // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGetAmmPriceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - value := x.Total - return protoreflect.ValueOfString(value) + case "elys.tier.QueryGetAmmPriceResponse.result": + value := x.Result + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9366,8 +9786,8 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Get(descriptor protoreflect.Fi // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetAmmPriceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - x.Total = value.Interface().(string) + case "elys.tier.QueryGetAmmPriceResponse.result": + x.Result = value.Message().Interface().(*GetAmmPriceResponseResult) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9388,8 +9808,11 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Set(fd protoreflect.FieldDescr // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGetAmmPriceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - panic(fmt.Errorf("field total of message elys.tier.QueryGetAmmPriceResponse is not mutable")) + case "elys.tier.QueryGetAmmPriceResponse.result": + if x.Result == nil { + x.Result = new(GetAmmPriceResponseResult) + } + return protoreflect.ValueOfMessage(x.Result.ProtoReflect()) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9403,8 +9826,9 @@ func (x *fastReflection_QueryGetAmmPriceResponse) Mutable(fd protoreflect.FieldD // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGetAmmPriceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "elys.tier.QueryGetAmmPriceResponse.total": - return protoreflect.ValueOfString("") + case "elys.tier.QueryGetAmmPriceResponse.result": + m := new(GetAmmPriceResponseResult) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.tier.QueryGetAmmPriceResponse")) @@ -9474,8 +9898,8 @@ func (x *fastReflection_QueryGetAmmPriceResponse) ProtoMethods() *protoiface.Met var n int var l int _ = l - l = len(x.Total) - if l > 0 { + if x.Result != nil { + l = options.Size(x.Result) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -9507,10 +9931,17 @@ func (x *fastReflection_QueryGetAmmPriceResponse) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Total) > 0 { - i -= len(x.Total) - copy(dAtA[i:], x.Total) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Total))) + if x.Result != nil { + encoded, err := options.Marshal(x.Result) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0xa } @@ -9565,9 +9996,9 @@ func (x *fastReflection_QueryGetAmmPriceResponse) ProtoMethods() *protoiface.Met switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Total", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -9577,23 +10008,27 @@ func (x *fastReflection_QueryGetAmmPriceResponse) ProtoMethods() *protoiface.Met } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Total = string(dAtA[iNdEx:postIndex]) + if x.Result == nil { + x.Result = &GetAmmPriceResponseResult{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Result); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -9650,7 +10085,7 @@ func (x *QueryGetConsolidatedPriceRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetConsolidatedPriceRequest) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[22] + mi := &file_elys_tier_query_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10074,7 +10509,7 @@ func (x *QueryGetConsolidatedPriceResponse) ProtoReflect() protoreflect.Message } func (x *QueryGetConsolidatedPriceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[23] + mi := &file_elys_tier_query_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10618,7 +11053,7 @@ func (x *QueryStakedRequest) ProtoReflect() protoreflect.Message { } func (x *QueryStakedRequest) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[24] + mi := &file_elys_tier_query_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11044,7 +11479,7 @@ func (x *QueryStakedResponse) ProtoReflect() protoreflect.Message { } func (x *QueryStakedResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[25] + mi := &file_elys_tier_query_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11650,7 +12085,7 @@ func (x *QueryGetUsersPoolDataRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetUsersPoolDataRequest) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[26] + mi := &file_elys_tier_query_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12138,7 +12573,7 @@ func (x *QueryGetUsersPoolDataResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetUsersPoolDataResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[27] + mi := &file_elys_tier_query_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12662,7 +13097,7 @@ func (x *Price) ProtoReflect() protoreflect.Message { } func (x *Price) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[28] + mi := &file_elys_tier_query_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13206,7 +13641,7 @@ func (x *QueryGetAllPricesRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetAllPricesRequest) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[29] + mi := &file_elys_tier_query_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13694,7 +14129,7 @@ func (x *QueryGetAllPricesResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetAllPricesResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_tier_query_proto_msgTypes[30] + mi := &file_elys_tier_query_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14976,7 +15411,9 @@ func (x *QueryGetAmmPriceRequest) GetDecimal() int32 { return 0 } -type QueryGetAmmPriceResponse struct { +// We use a submessage to avoid the issue with the gRPC codec +// https://github.com/cosmos/cosmos-sdk/issues/18430 +type GetAmmPriceResponseResult struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -14984,10 +15421,45 @@ type QueryGetAmmPriceResponse struct { Total string `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"` } +func (x *GetAmmPriceResponseResult) Reset() { + *x = GetAmmPriceResponseResult{} + if protoimpl.UnsafeEnabled { + mi := &file_elys_tier_query_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAmmPriceResponseResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAmmPriceResponseResult) ProtoMessage() {} + +// Deprecated: Use GetAmmPriceResponseResult.ProtoReflect.Descriptor instead. +func (*GetAmmPriceResponseResult) Descriptor() ([]byte, []int) { + return file_elys_tier_query_proto_rawDescGZIP(), []int{21} +} + +func (x *GetAmmPriceResponseResult) GetTotal() string { + if x != nil { + return x.Total + } + return "" +} + +type QueryGetAmmPriceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Result *GetAmmPriceResponseResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + func (x *QueryGetAmmPriceResponse) Reset() { *x = QueryGetAmmPriceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[21] + mi := &file_elys_tier_query_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15001,14 +15473,14 @@ func (*QueryGetAmmPriceResponse) ProtoMessage() {} // Deprecated: Use QueryGetAmmPriceResponse.ProtoReflect.Descriptor instead. func (*QueryGetAmmPriceResponse) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{21} + return file_elys_tier_query_proto_rawDescGZIP(), []int{22} } -func (x *QueryGetAmmPriceResponse) GetTotal() string { +func (x *QueryGetAmmPriceResponse) GetResult() *GetAmmPriceResponseResult { if x != nil { - return x.Total + return x.Result } - return "" + return nil } type QueryGetConsolidatedPriceRequest struct { @@ -15022,7 +15494,7 @@ type QueryGetConsolidatedPriceRequest struct { func (x *QueryGetConsolidatedPriceRequest) Reset() { *x = QueryGetConsolidatedPriceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[22] + mi := &file_elys_tier_query_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15036,7 +15508,7 @@ func (*QueryGetConsolidatedPriceRequest) ProtoMessage() {} // Deprecated: Use QueryGetConsolidatedPriceRequest.ProtoReflect.Descriptor instead. func (*QueryGetConsolidatedPriceRequest) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{22} + return file_elys_tier_query_proto_rawDescGZIP(), []int{23} } func (x *QueryGetConsolidatedPriceRequest) GetDenom() string { @@ -15059,7 +15531,7 @@ type QueryGetConsolidatedPriceResponse struct { func (x *QueryGetConsolidatedPriceResponse) Reset() { *x = QueryGetConsolidatedPriceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[23] + mi := &file_elys_tier_query_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15073,7 +15545,7 @@ func (*QueryGetConsolidatedPriceResponse) ProtoMessage() {} // Deprecated: Use QueryGetConsolidatedPriceResponse.ProtoReflect.Descriptor instead. func (*QueryGetConsolidatedPriceResponse) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{23} + return file_elys_tier_query_proto_rawDescGZIP(), []int{24} } func (x *QueryGetConsolidatedPriceResponse) GetAmmPrice() string { @@ -15108,7 +15580,7 @@ type QueryStakedRequest struct { func (x *QueryStakedRequest) Reset() { *x = QueryStakedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[24] + mi := &file_elys_tier_query_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15122,7 +15594,7 @@ func (*QueryStakedRequest) ProtoMessage() {} // Deprecated: Use QueryStakedRequest.ProtoReflect.Descriptor instead. func (*QueryStakedRequest) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{24} + return file_elys_tier_query_proto_rawDescGZIP(), []int{25} } func (x *QueryStakedRequest) GetUser() string { @@ -15146,7 +15618,7 @@ type QueryStakedResponse struct { func (x *QueryStakedResponse) Reset() { *x = QueryStakedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[25] + mi := &file_elys_tier_query_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15160,7 +15632,7 @@ func (*QueryStakedResponse) ProtoMessage() {} // Deprecated: Use QueryStakedResponse.ProtoReflect.Descriptor instead. func (*QueryStakedResponse) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{25} + return file_elys_tier_query_proto_rawDescGZIP(), []int{26} } func (x *QueryStakedResponse) GetCommitments() string { @@ -15202,7 +15674,7 @@ type QueryGetUsersPoolDataRequest struct { func (x *QueryGetUsersPoolDataRequest) Reset() { *x = QueryGetUsersPoolDataRequest{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[26] + mi := &file_elys_tier_query_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15216,7 +15688,7 @@ func (*QueryGetUsersPoolDataRequest) ProtoMessage() {} // Deprecated: Use QueryGetUsersPoolDataRequest.ProtoReflect.Descriptor instead. func (*QueryGetUsersPoolDataRequest) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{26} + return file_elys_tier_query_proto_rawDescGZIP(), []int{27} } func (x *QueryGetUsersPoolDataRequest) GetPagination() *v1beta1.PageRequest { @@ -15238,7 +15710,7 @@ type QueryGetUsersPoolDataResponse struct { func (x *QueryGetUsersPoolDataResponse) Reset() { *x = QueryGetUsersPoolDataResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[27] + mi := &file_elys_tier_query_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15252,7 +15724,7 @@ func (*QueryGetUsersPoolDataResponse) ProtoMessage() {} // Deprecated: Use QueryGetUsersPoolDataResponse.ProtoReflect.Descriptor instead. func (*QueryGetUsersPoolDataResponse) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{27} + return file_elys_tier_query_proto_rawDescGZIP(), []int{28} } func (x *QueryGetUsersPoolDataResponse) GetUsers() []*UserData { @@ -15282,7 +15754,7 @@ type Price struct { func (x *Price) Reset() { *x = Price{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[28] + mi := &file_elys_tier_query_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15296,7 +15768,7 @@ func (*Price) ProtoMessage() {} // Deprecated: Use Price.ProtoReflect.Descriptor instead. func (*Price) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{28} + return file_elys_tier_query_proto_rawDescGZIP(), []int{29} } func (x *Price) GetDenom() string { @@ -15331,7 +15803,7 @@ type QueryGetAllPricesRequest struct { func (x *QueryGetAllPricesRequest) Reset() { *x = QueryGetAllPricesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[29] + mi := &file_elys_tier_query_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15345,7 +15817,7 @@ func (*QueryGetAllPricesRequest) ProtoMessage() {} // Deprecated: Use QueryGetAllPricesRequest.ProtoReflect.Descriptor instead. func (*QueryGetAllPricesRequest) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{29} + return file_elys_tier_query_proto_rawDescGZIP(), []int{30} } func (x *QueryGetAllPricesRequest) GetPagination() *v1beta1.PageRequest { @@ -15367,7 +15839,7 @@ type QueryGetAllPricesResponse struct { func (x *QueryGetAllPricesResponse) Reset() { *x = QueryGetAllPricesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_tier_query_proto_msgTypes[30] + mi := &file_elys_tier_query_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15381,7 +15853,7 @@ func (*QueryGetAllPricesResponse) ProtoMessage() {} // Deprecated: Use QueryGetAllPricesResponse.ProtoReflect.Descriptor instead. func (*QueryGetAllPricesResponse) Descriptor() ([]byte, []int) { - return file_elys_tier_query_proto_rawDescGZIP(), []int{30} + return file_elys_tier_query_proto_rawDescGZIP(), []int{31} } func (x *QueryGetAllPricesResponse) GetPrices() []*Price { @@ -15529,252 +16001,258 @@ var file_elys_tier_query_proto_rawDesc = []byte{ 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x22, 0x63, 0x0a, 0x18, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, - 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, - 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, - 0x6c, 0x22, 0x38, 0x0a, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0xa6, 0x02, 0x0a, 0x21, + 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x22, 0x64, 0x0a, 0x19, + 0x47, 0x65, 0x74, 0x41, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x47, 0x0a, 0x05, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, + 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x05, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x22, 0x58, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6d, + 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, + 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6d, + 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x38, 0x0a, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x6d, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, - 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x08, 0x61, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x12, 0x54, 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, - 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, - 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x6f, 0x72, 0x61, 0x63, - 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, - 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x44, 0x65, 0x63, 0x22, 0x28, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, - 0x6b, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0xe8, - 0x02, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, + 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0xa6, 0x02, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x09, + 0x61, 0x6d, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, + 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x08, 0x61, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x54, 0x0a, 0x0c, + 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, + 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x5f, 0x64, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, + 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, + 0x0e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x44, 0x65, 0x63, 0x22, + 0x28, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0xe8, 0x02, 0x0a, 0x13, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x64, - 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, - 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x44, 0x65, 0x63, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x51, 0x0a, 0x0a, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, + 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x0a, 0x75, + 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, + 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, + 0x65, 0x63, 0x52, 0x0a, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, + 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0a, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x76, 0x65, 0x73, - 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, - 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, - 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x56, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x66, 0x0a, 0x1c, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, - 0x74, 0x61, 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, 0x93, 0x01, 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 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, 0xc3, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x54, 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, - 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, - 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, - 0x52, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, - 0x09, 0x61, 0x6d, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, - 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x44, 0x65, 0x63, 0x52, 0x08, 0x61, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x62, 0x0a, - 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, - 0x65, 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, 0x8e, 0x01, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, - 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x28, 0x0a, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x10, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x56, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x22, 0x66, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 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, 0x93, 0x01, 0x0a, + 0x1d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, + 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, + 0x74, 0x61, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 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, 0x32, 0xa3, 0x11, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x79, 0x0a, 0x06, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1d, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, - 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, - 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, - 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, - 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, - 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, - 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, - 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, - 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, - 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, - 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, + 0x6f, 0x6e, 0x22, 0xc3, 0x01, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, + 0x6f, 0x6d, 0x12, 0x54, 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, + 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, + 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x0b, 0x6f, 0x72, 0x61, + 0x63, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x6d, 0x6d, 0x5f, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, + 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x08, + 0x61, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x62, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 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, 0x8e, 0x01, 0x0a, + 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x70, 0x72, + 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x65, 0x6c, 0x79, + 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x06, 0x70, 0x72, + 0x69, 0x63, 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, 0x32, 0xa3, 0x11, + 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x79, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x12, 0x1d, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x6d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, - 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8e, 0x01, 0x0a, - 0x0c, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x41, 0x6c, 0x6c, 0x12, 0x23, 0x2e, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, + 0x12, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, + 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, + 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, + 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8e, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x72, 0x74, + 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x41, 0x6c, 0x6c, 0x12, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6f, 0x72, + 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, - 0x12, 0x2b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, - 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, - 0x69, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0xad, 0x01, - 0x0a, 0x11, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, - 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, - 0x12, 0x3b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, - 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, - 0x69, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x69, - 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x9c, 0x01, - 0x0a, 0x0f, 0x4c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x70, 0x54, 0x6f, 0x74, 0x61, - 0x6c, 0x12, 0x26, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x70, 0x54, 0x6f, 0x74, - 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, - 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x72, - 0x61, 0x67, 0x65, 0x4c, 0x70, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x6c, 0x79, - 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, - 0x69, 0x65, 0x72, 0x2f, 0x6c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x70, 0x5f, - 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8f, 0x01, 0x0a, - 0x0c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, + 0x6c, 0x6c, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6c, + 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, + 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0xad, 0x01, 0x0a, 0x11, 0x43, 0x61, 0x6c, + 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, + 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x12, 0x3b, 0x2f, 0x65, 0x6c, + 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x63, + 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x9c, 0x01, 0x0a, 0x0f, 0x4c, 0x65, 0x76, + 0x65, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x70, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x26, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x65, + 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x70, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x70, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x6c, + 0x65, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6c, 0x70, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x0c, 0x52, 0x65, 0x77, 0x61, + 0x72, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, + 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, - 0x12, 0x2c, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, - 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, - 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x87, - 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, - 0x74, 0x61, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x65, - 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, - 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6f, - 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x82, 0x01, 0x0a, 0x09, 0x50, 0x65, 0x72, - 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, - 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, - 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, - 0x75, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, 0x65, 0x72, - 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8b, 0x01, - 0x0a, 0x0b, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, - 0x69, 0x71, 0x75, 0x69, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, + 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x65, 0x6c, + 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, + 0x74, 0x69, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x87, 0x01, 0x0a, 0x0a, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x65, 0x6c, + 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x64, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, + 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x2f, 0x7b, 0x75, 0x73, + 0x65, 0x72, 0x7d, 0x12, 0x82, 0x01, 0x0a, 0x09, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, + 0x6c, 0x12, 0x20, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, - 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x74, - 0x6f, 0x74, 0x61, 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x0b, - 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x65, 0x6c, - 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x63, - 0x6b, 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, - 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, - 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0b, 0x47, 0x65, - 0x74, 0x41, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, - 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6d, - 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, - 0x65, 0x74, 0x41, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x65, 0x6c, 0x79, + 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, + 0x6c, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x71, + 0x75, 0x69, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, + 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x69, + 0x71, 0x75, 0x69, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6c, 0x79, 0x73, + 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, + 0x65, 0x72, 0x2f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x2f, + 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x0b, 0x4c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, + 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6c, 0x79, + 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, + 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x75, + 0x73, 0x65, 0x72, 0x7d, 0x12, 0x97, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x6d, 0x6d, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6d, 0x6d, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6d, 0x6d, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x67, + 0x65, 0x74, 0x5f, 0x61, 0x6d, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x7d, 0x12, 0xb1, + 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, + 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, + 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, - 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x6d, 0x6d, 0x5f, 0x70, 0x72, 0x69, 0x63, - 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x64, 0x65, 0x63, 0x69, 0x6d, - 0x61, 0x6c, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x65, - 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x65, 0x6c, 0x79, 0x73, - 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, - 0x36, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, - 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, - 0x73, 0x6f, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x2f, - 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x76, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x6b, 0x65, - 0x64, 0x12, 0x1d, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1e, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, - 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, - 0x72, 0x2f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, - 0x9a, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, - 0x44, 0x61, 0x74, 0x61, 0x12, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, - 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, - 0x2b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, - 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, - 0x72, 0x73, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x12, 0x89, 0x01, 0x0a, - 0x0c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x23, 0x2e, + 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, + 0x6d, 0x7d, 0x12, 0x76, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x64, 0x12, 0x1d, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x65, 0x6c, + 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, + 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x61, + 0x6b, 0x65, 0x64, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x7d, 0x12, 0x9a, 0x01, 0x0a, 0x10, 0x47, + 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, + 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x73, 0x50, 0x6f, 0x6f, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x65, 0x6c, 0x79, + 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, + 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x70, 0x6f, + 0x6f, 0x6c, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x12, 0x89, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x23, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, - 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, - 0x12, 0x26, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, - 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x6c, - 0x6c, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x42, 0x8c, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, - 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x74, 0x69, 0x65, 0x72, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, - 0x74, 0x69, 0x65, 0x72, 0xa2, 0x02, 0x03, 0x45, 0x54, 0x58, 0xaa, 0x02, 0x09, 0x45, 0x6c, 0x79, - 0x73, 0x2e, 0x54, 0x69, 0x65, 0x72, 0xca, 0x02, 0x09, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x54, 0x69, - 0x65, 0x72, 0xe2, 0x02, 0x15, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x54, 0x69, 0x65, 0x72, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x45, 0x6c, 0x79, - 0x73, 0x3a, 0x3a, 0x54, 0x69, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x65, 0x6c, + 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, + 0x74, 0x69, 0x65, 0x72, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x73, 0x42, 0x8c, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6c, 0x79, 0x73, + 0x2e, 0x74, 0x69, 0x65, 0x72, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x65, 0x6c, 0x79, 0x73, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x65, 0x6c, 0x79, + 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x6c, 0x79, 0x73, 0x2f, 0x74, 0x69, 0x65, 0x72, 0xa2, + 0x02, 0x03, 0x45, 0x54, 0x58, 0xaa, 0x02, 0x09, 0x45, 0x6c, 0x79, 0x73, 0x2e, 0x54, 0x69, 0x65, + 0x72, 0xca, 0x02, 0x09, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x54, 0x69, 0x65, 0x72, 0xe2, 0x02, 0x15, + 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x54, 0x69, 0x65, 0x72, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x45, 0x6c, 0x79, 0x73, 0x3a, 0x3a, 0x54, 0x69, + 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -15789,7 +16267,7 @@ func file_elys_tier_query_proto_rawDescGZIP() []byte { return file_elys_tier_query_proto_rawDescData } -var file_elys_tier_query_proto_msgTypes = make([]protoimpl.MessageInfo, 31) +var file_elys_tier_query_proto_msgTypes = make([]protoimpl.MessageInfo, 32) var file_elys_tier_query_proto_goTypes = []interface{}{ (*QueryParamsRequest)(nil), // 0: elys.tier.QueryParamsRequest (*QueryParamsResponse)(nil), // 1: elys.tier.QueryParamsResponse @@ -15812,70 +16290,72 @@ var file_elys_tier_query_proto_goTypes = []interface{}{ (*QueryLockedOrderRequest)(nil), // 18: elys.tier.QueryLockedOrderRequest (*QueryLockedOrderResponse)(nil), // 19: elys.tier.QueryLockedOrderResponse (*QueryGetAmmPriceRequest)(nil), // 20: elys.tier.QueryGetAmmPriceRequest - (*QueryGetAmmPriceResponse)(nil), // 21: elys.tier.QueryGetAmmPriceResponse - (*QueryGetConsolidatedPriceRequest)(nil), // 22: elys.tier.QueryGetConsolidatedPriceRequest - (*QueryGetConsolidatedPriceResponse)(nil), // 23: elys.tier.QueryGetConsolidatedPriceResponse - (*QueryStakedRequest)(nil), // 24: elys.tier.QueryStakedRequest - (*QueryStakedResponse)(nil), // 25: elys.tier.QueryStakedResponse - (*QueryGetUsersPoolDataRequest)(nil), // 26: elys.tier.QueryGetUsersPoolDataRequest - (*QueryGetUsersPoolDataResponse)(nil), // 27: elys.tier.QueryGetUsersPoolDataResponse - (*Price)(nil), // 28: elys.tier.Price - (*QueryGetAllPricesRequest)(nil), // 29: elys.tier.QueryGetAllPricesRequest - (*QueryGetAllPricesResponse)(nil), // 30: elys.tier.QueryGetAllPricesResponse - (*Params)(nil), // 31: elys.tier.Params - (*v1beta1.PageRequest)(nil), // 32: cosmos.base.query.v1beta1.PageRequest - (*Portfolio)(nil), // 33: elys.tier.Portfolio - (*v1beta1.PageResponse)(nil), // 34: cosmos.base.query.v1beta1.PageResponse - (*MembershipTier)(nil), // 35: elys.tier.MembershipTier - (*UserData)(nil), // 36: elys.tier.UserData + (*GetAmmPriceResponseResult)(nil), // 21: elys.tier.GetAmmPriceResponseResult + (*QueryGetAmmPriceResponse)(nil), // 22: elys.tier.QueryGetAmmPriceResponse + (*QueryGetConsolidatedPriceRequest)(nil), // 23: elys.tier.QueryGetConsolidatedPriceRequest + (*QueryGetConsolidatedPriceResponse)(nil), // 24: elys.tier.QueryGetConsolidatedPriceResponse + (*QueryStakedRequest)(nil), // 25: elys.tier.QueryStakedRequest + (*QueryStakedResponse)(nil), // 26: elys.tier.QueryStakedResponse + (*QueryGetUsersPoolDataRequest)(nil), // 27: elys.tier.QueryGetUsersPoolDataRequest + (*QueryGetUsersPoolDataResponse)(nil), // 28: elys.tier.QueryGetUsersPoolDataResponse + (*Price)(nil), // 29: elys.tier.Price + (*QueryGetAllPricesRequest)(nil), // 30: elys.tier.QueryGetAllPricesRequest + (*QueryGetAllPricesResponse)(nil), // 31: elys.tier.QueryGetAllPricesResponse + (*Params)(nil), // 32: elys.tier.Params + (*v1beta1.PageRequest)(nil), // 33: cosmos.base.query.v1beta1.PageRequest + (*Portfolio)(nil), // 34: elys.tier.Portfolio + (*v1beta1.PageResponse)(nil), // 35: cosmos.base.query.v1beta1.PageResponse + (*MembershipTier)(nil), // 36: elys.tier.MembershipTier + (*UserData)(nil), // 37: elys.tier.UserData } var file_elys_tier_query_proto_depIdxs = []int32{ - 31, // 0: elys.tier.QueryParamsResponse.params:type_name -> elys.tier.Params - 32, // 1: elys.tier.QueryAllPortfolioRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 33, // 2: elys.tier.QueryAllPortfolioResponse.portfolio:type_name -> elys.tier.Portfolio - 34, // 3: elys.tier.QueryAllPortfolioResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 35, // 4: elys.tier.QueryCalculateDiscountResponse.membership_tier:type_name -> elys.tier.MembershipTier - 32, // 5: elys.tier.QueryGetUsersPoolDataRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 36, // 6: elys.tier.QueryGetUsersPoolDataResponse.users:type_name -> elys.tier.UserData - 34, // 7: elys.tier.QueryGetUsersPoolDataResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 32, // 8: elys.tier.QueryGetAllPricesRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 28, // 9: elys.tier.QueryGetAllPricesResponse.prices:type_name -> elys.tier.Price - 34, // 10: elys.tier.QueryGetAllPricesResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 0, // 11: elys.tier.Query.Params:input_type -> elys.tier.QueryParamsRequest - 2, // 12: elys.tier.Query.Portfolio:input_type -> elys.tier.QueryGetPortfolioRequest - 4, // 13: elys.tier.Query.PortfolioAll:input_type -> elys.tier.QueryAllPortfolioRequest - 6, // 14: elys.tier.Query.CalculateDiscount:input_type -> elys.tier.QueryCalculateDiscountRequest - 8, // 15: elys.tier.Query.LeverageLpTotal:input_type -> elys.tier.QueryLeverageLpTotalRequest - 10, // 16: elys.tier.Query.RewardsTotal:input_type -> elys.tier.QueryRewardsTotalRequest - 12, // 17: elys.tier.Query.StakedPool:input_type -> elys.tier.QueryStakedPoolRequest - 14, // 18: elys.tier.Query.Perpetual:input_type -> elys.tier.QueryPerpetualRequest - 16, // 19: elys.tier.Query.LiquidTotal:input_type -> elys.tier.QueryLiquidTotalRequest - 18, // 20: elys.tier.Query.LockedOrder:input_type -> elys.tier.QueryLockedOrderRequest - 20, // 21: elys.tier.Query.GetAmmPrice:input_type -> elys.tier.QueryGetAmmPriceRequest - 22, // 22: elys.tier.Query.GetConsolidatedPrice:input_type -> elys.tier.QueryGetConsolidatedPriceRequest - 24, // 23: elys.tier.Query.Staked:input_type -> elys.tier.QueryStakedRequest - 26, // 24: elys.tier.Query.GetUsersPoolData:input_type -> elys.tier.QueryGetUsersPoolDataRequest - 29, // 25: elys.tier.Query.GetAllPrices:input_type -> elys.tier.QueryGetAllPricesRequest - 1, // 26: elys.tier.Query.Params:output_type -> elys.tier.QueryParamsResponse - 3, // 27: elys.tier.Query.Portfolio:output_type -> elys.tier.QueryGetPortfolioResponse - 5, // 28: elys.tier.Query.PortfolioAll:output_type -> elys.tier.QueryAllPortfolioResponse - 7, // 29: elys.tier.Query.CalculateDiscount:output_type -> elys.tier.QueryCalculateDiscountResponse - 9, // 30: elys.tier.Query.LeverageLpTotal:output_type -> elys.tier.QueryLeverageLpTotalResponse - 11, // 31: elys.tier.Query.RewardsTotal:output_type -> elys.tier.QueryRewardsTotalResponse - 13, // 32: elys.tier.Query.StakedPool:output_type -> elys.tier.QueryStakedPoolResponse - 15, // 33: elys.tier.Query.Perpetual:output_type -> elys.tier.QueryPerpetualResponse - 17, // 34: elys.tier.Query.LiquidTotal:output_type -> elys.tier.QueryLiquidTotalResponse - 19, // 35: elys.tier.Query.LockedOrder:output_type -> elys.tier.QueryLockedOrderResponse - 21, // 36: elys.tier.Query.GetAmmPrice:output_type -> elys.tier.QueryGetAmmPriceResponse - 23, // 37: elys.tier.Query.GetConsolidatedPrice:output_type -> elys.tier.QueryGetConsolidatedPriceResponse - 25, // 38: elys.tier.Query.Staked:output_type -> elys.tier.QueryStakedResponse - 27, // 39: elys.tier.Query.GetUsersPoolData:output_type -> elys.tier.QueryGetUsersPoolDataResponse - 30, // 40: elys.tier.Query.GetAllPrices:output_type -> elys.tier.QueryGetAllPricesResponse - 26, // [26:41] is the sub-list for method output_type - 11, // [11:26] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name + 32, // 0: elys.tier.QueryParamsResponse.params:type_name -> elys.tier.Params + 33, // 1: elys.tier.QueryAllPortfolioRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 34, // 2: elys.tier.QueryAllPortfolioResponse.portfolio:type_name -> elys.tier.Portfolio + 35, // 3: elys.tier.QueryAllPortfolioResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 36, // 4: elys.tier.QueryCalculateDiscountResponse.membership_tier:type_name -> elys.tier.MembershipTier + 21, // 5: elys.tier.QueryGetAmmPriceResponse.result:type_name -> elys.tier.GetAmmPriceResponseResult + 33, // 6: elys.tier.QueryGetUsersPoolDataRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 37, // 7: elys.tier.QueryGetUsersPoolDataResponse.users:type_name -> elys.tier.UserData + 35, // 8: elys.tier.QueryGetUsersPoolDataResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 33, // 9: elys.tier.QueryGetAllPricesRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 29, // 10: elys.tier.QueryGetAllPricesResponse.prices:type_name -> elys.tier.Price + 35, // 11: elys.tier.QueryGetAllPricesResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 0, // 12: elys.tier.Query.Params:input_type -> elys.tier.QueryParamsRequest + 2, // 13: elys.tier.Query.Portfolio:input_type -> elys.tier.QueryGetPortfolioRequest + 4, // 14: elys.tier.Query.PortfolioAll:input_type -> elys.tier.QueryAllPortfolioRequest + 6, // 15: elys.tier.Query.CalculateDiscount:input_type -> elys.tier.QueryCalculateDiscountRequest + 8, // 16: elys.tier.Query.LeverageLpTotal:input_type -> elys.tier.QueryLeverageLpTotalRequest + 10, // 17: elys.tier.Query.RewardsTotal:input_type -> elys.tier.QueryRewardsTotalRequest + 12, // 18: elys.tier.Query.StakedPool:input_type -> elys.tier.QueryStakedPoolRequest + 14, // 19: elys.tier.Query.Perpetual:input_type -> elys.tier.QueryPerpetualRequest + 16, // 20: elys.tier.Query.LiquidTotal:input_type -> elys.tier.QueryLiquidTotalRequest + 18, // 21: elys.tier.Query.LockedOrder:input_type -> elys.tier.QueryLockedOrderRequest + 20, // 22: elys.tier.Query.GetAmmPrice:input_type -> elys.tier.QueryGetAmmPriceRequest + 23, // 23: elys.tier.Query.GetConsolidatedPrice:input_type -> elys.tier.QueryGetConsolidatedPriceRequest + 25, // 24: elys.tier.Query.Staked:input_type -> elys.tier.QueryStakedRequest + 27, // 25: elys.tier.Query.GetUsersPoolData:input_type -> elys.tier.QueryGetUsersPoolDataRequest + 30, // 26: elys.tier.Query.GetAllPrices:input_type -> elys.tier.QueryGetAllPricesRequest + 1, // 27: elys.tier.Query.Params:output_type -> elys.tier.QueryParamsResponse + 3, // 28: elys.tier.Query.Portfolio:output_type -> elys.tier.QueryGetPortfolioResponse + 5, // 29: elys.tier.Query.PortfolioAll:output_type -> elys.tier.QueryAllPortfolioResponse + 7, // 30: elys.tier.Query.CalculateDiscount:output_type -> elys.tier.QueryCalculateDiscountResponse + 9, // 31: elys.tier.Query.LeverageLpTotal:output_type -> elys.tier.QueryLeverageLpTotalResponse + 11, // 32: elys.tier.Query.RewardsTotal:output_type -> elys.tier.QueryRewardsTotalResponse + 13, // 33: elys.tier.Query.StakedPool:output_type -> elys.tier.QueryStakedPoolResponse + 15, // 34: elys.tier.Query.Perpetual:output_type -> elys.tier.QueryPerpetualResponse + 17, // 35: elys.tier.Query.LiquidTotal:output_type -> elys.tier.QueryLiquidTotalResponse + 19, // 36: elys.tier.Query.LockedOrder:output_type -> elys.tier.QueryLockedOrderResponse + 22, // 37: elys.tier.Query.GetAmmPrice:output_type -> elys.tier.QueryGetAmmPriceResponse + 24, // 38: elys.tier.Query.GetConsolidatedPrice:output_type -> elys.tier.QueryGetConsolidatedPriceResponse + 26, // 39: elys.tier.Query.Staked:output_type -> elys.tier.QueryStakedResponse + 28, // 40: elys.tier.Query.GetUsersPoolData:output_type -> elys.tier.QueryGetUsersPoolDataResponse + 31, // 41: elys.tier.Query.GetAllPrices:output_type -> elys.tier.QueryGetAllPricesResponse + 27, // [27:42] is the sub-list for method output_type + 12, // [12:27] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_elys_tier_query_proto_init() } @@ -16140,7 +16620,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetAmmPriceResponse); i { + switch v := v.(*GetAmmPriceResponseResult); i { case 0: return &v.state case 1: @@ -16152,7 +16632,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetConsolidatedPriceRequest); i { + switch v := v.(*QueryGetAmmPriceResponse); i { case 0: return &v.state case 1: @@ -16164,7 +16644,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetConsolidatedPriceResponse); i { + switch v := v.(*QueryGetConsolidatedPriceRequest); i { case 0: return &v.state case 1: @@ -16176,7 +16656,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryStakedRequest); i { + switch v := v.(*QueryGetConsolidatedPriceResponse); i { case 0: return &v.state case 1: @@ -16188,7 +16668,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryStakedResponse); i { + switch v := v.(*QueryStakedRequest); i { case 0: return &v.state case 1: @@ -16200,7 +16680,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetUsersPoolDataRequest); i { + switch v := v.(*QueryStakedResponse); i { case 0: return &v.state case 1: @@ -16212,7 +16692,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetUsersPoolDataResponse); i { + switch v := v.(*QueryGetUsersPoolDataRequest); i { case 0: return &v.state case 1: @@ -16224,7 +16704,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Price); i { + switch v := v.(*QueryGetUsersPoolDataResponse); i { case 0: return &v.state case 1: @@ -16236,7 +16716,7 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetAllPricesRequest); i { + switch v := v.(*Price); i { case 0: return &v.state case 1: @@ -16248,6 +16728,18 @@ func file_elys_tier_query_proto_init() { } } file_elys_tier_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetAllPricesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_elys_tier_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryGetAllPricesResponse); i { case 0: return &v.state @@ -16266,7 +16758,7 @@ func file_elys_tier_query_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_elys_tier_query_proto_rawDesc, NumEnums: 0, - NumMessages: 31, + NumMessages: 32, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/elys/tier/query.proto b/proto/elys/tier/query.proto index f04932a33..8771e3580 100644 --- a/proto/elys/tier/query.proto +++ b/proto/elys/tier/query.proto @@ -210,7 +210,9 @@ message QueryGetAmmPriceRequest { int32 decimal = 2; } -message QueryGetAmmPriceResponse { +// We use a submessage to avoid the issue with the gRPC codec +// https://github.com/cosmos/cosmos-sdk/issues/18430 +message GetAmmPriceResponseResult { string total = 1 [ (cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", @@ -218,6 +220,8 @@ message QueryGetAmmPriceResponse { ]; } +message QueryGetAmmPriceResponse { GetAmmPriceResponseResult result = 1; } + message QueryGetConsolidatedPriceRequest { string denom = 1; } message QueryGetConsolidatedPriceResponse { diff --git a/x/tier/keeper/query_get_amm_price.go b/x/tier/keeper/query_get_amm_price.go index 7a95ac093..635b81726 100644 --- a/x/tier/keeper/query_get_amm_price.go +++ b/x/tier/keeper/query_get_amm_price.go @@ -18,6 +18,8 @@ func (k Keeper) GetAmmPrice(goCtx context.Context, req *types.QueryGetAmmPriceRe resp := k.amm.CalcAmmPrice(ctx, req.Denom, uint64(req.Decimal)) return &types.QueryGetAmmPriceResponse{ - Total: resp, + Result: &types.GetAmmPriceResponseResult{ + Total: resp, + }, }, nil } diff --git a/x/tier/types/query.pb.go b/x/tier/types/query.pb.go index 6190678a0..75257eb5c 100644 --- a/x/tier/types/query.pb.go +++ b/x/tier/types/query.pb.go @@ -935,15 +935,54 @@ func (m *QueryGetAmmPriceRequest) GetDecimal() int32 { return 0 } -type QueryGetAmmPriceResponse struct { +// We use a submessage to avoid the issue with the gRPC codec +// https://github.com/cosmos/cosmos-sdk/issues/18430 +type GetAmmPriceResponseResult struct { Total cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=total,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"total"` } +func (m *GetAmmPriceResponseResult) Reset() { *m = GetAmmPriceResponseResult{} } +func (m *GetAmmPriceResponseResult) String() string { return proto.CompactTextString(m) } +func (*GetAmmPriceResponseResult) ProtoMessage() {} +func (*GetAmmPriceResponseResult) Descriptor() ([]byte, []int) { + return fileDescriptor_461504ebf74c9a97, []int{21} +} +func (m *GetAmmPriceResponseResult) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetAmmPriceResponseResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetAmmPriceResponseResult.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetAmmPriceResponseResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAmmPriceResponseResult.Merge(m, src) +} +func (m *GetAmmPriceResponseResult) XXX_Size() int { + return m.Size() +} +func (m *GetAmmPriceResponseResult) XXX_DiscardUnknown() { + xxx_messageInfo_GetAmmPriceResponseResult.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAmmPriceResponseResult proto.InternalMessageInfo + +type QueryGetAmmPriceResponse struct { + Result *GetAmmPriceResponseResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` +} + func (m *QueryGetAmmPriceResponse) Reset() { *m = QueryGetAmmPriceResponse{} } func (m *QueryGetAmmPriceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAmmPriceResponse) ProtoMessage() {} func (*QueryGetAmmPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{21} + return fileDescriptor_461504ebf74c9a97, []int{22} } func (m *QueryGetAmmPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -972,6 +1011,13 @@ func (m *QueryGetAmmPriceResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetAmmPriceResponse proto.InternalMessageInfo +func (m *QueryGetAmmPriceResponse) GetResult() *GetAmmPriceResponseResult { + if m != nil { + return m.Result + } + return nil +} + type QueryGetConsolidatedPriceRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` } @@ -980,7 +1026,7 @@ func (m *QueryGetConsolidatedPriceRequest) Reset() { *m = QueryGetConsol func (m *QueryGetConsolidatedPriceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetConsolidatedPriceRequest) ProtoMessage() {} func (*QueryGetConsolidatedPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{22} + return fileDescriptor_461504ebf74c9a97, []int{23} } func (m *QueryGetConsolidatedPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1026,7 +1072,7 @@ func (m *QueryGetConsolidatedPriceResponse) Reset() { *m = QueryGetConso func (m *QueryGetConsolidatedPriceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetConsolidatedPriceResponse) ProtoMessage() {} func (*QueryGetConsolidatedPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{23} + return fileDescriptor_461504ebf74c9a97, []int{24} } func (m *QueryGetConsolidatedPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1063,7 +1109,7 @@ func (m *QueryStakedRequest) Reset() { *m = QueryStakedRequest{} } func (m *QueryStakedRequest) String() string { return proto.CompactTextString(m) } func (*QueryStakedRequest) ProtoMessage() {} func (*QueryStakedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{24} + return fileDescriptor_461504ebf74c9a97, []int{25} } func (m *QueryStakedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1110,7 +1156,7 @@ func (m *QueryStakedResponse) Reset() { *m = QueryStakedResponse{} } func (m *QueryStakedResponse) String() string { return proto.CompactTextString(m) } func (*QueryStakedResponse) ProtoMessage() {} func (*QueryStakedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{25} + return fileDescriptor_461504ebf74c9a97, []int{26} } func (m *QueryStakedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1147,7 +1193,7 @@ func (m *QueryGetUsersPoolDataRequest) Reset() { *m = QueryGetUsersPoolD func (m *QueryGetUsersPoolDataRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetUsersPoolDataRequest) ProtoMessage() {} func (*QueryGetUsersPoolDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{26} + return fileDescriptor_461504ebf74c9a97, []int{27} } func (m *QueryGetUsersPoolDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1192,7 +1238,7 @@ func (m *QueryGetUsersPoolDataResponse) Reset() { *m = QueryGetUsersPool func (m *QueryGetUsersPoolDataResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetUsersPoolDataResponse) ProtoMessage() {} func (*QueryGetUsersPoolDataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{27} + return fileDescriptor_461504ebf74c9a97, []int{28} } func (m *QueryGetUsersPoolDataResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1245,7 +1291,7 @@ func (m *Price) Reset() { *m = Price{} } func (m *Price) String() string { return proto.CompactTextString(m) } func (*Price) ProtoMessage() {} func (*Price) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{28} + return fileDescriptor_461504ebf74c9a97, []int{29} } func (m *Price) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1289,7 +1335,7 @@ func (m *QueryGetAllPricesRequest) Reset() { *m = QueryGetAllPricesReque func (m *QueryGetAllPricesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAllPricesRequest) ProtoMessage() {} func (*QueryGetAllPricesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{29} + return fileDescriptor_461504ebf74c9a97, []int{30} } func (m *QueryGetAllPricesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1334,7 +1380,7 @@ func (m *QueryGetAllPricesResponse) Reset() { *m = QueryGetAllPricesResp func (m *QueryGetAllPricesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAllPricesResponse) ProtoMessage() {} func (*QueryGetAllPricesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_461504ebf74c9a97, []int{30} + return fileDescriptor_461504ebf74c9a97, []int{31} } func (m *QueryGetAllPricesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1399,6 +1445,7 @@ func init() { proto.RegisterType((*QueryLockedOrderRequest)(nil), "elys.tier.QueryLockedOrderRequest") proto.RegisterType((*QueryLockedOrderResponse)(nil), "elys.tier.QueryLockedOrderResponse") proto.RegisterType((*QueryGetAmmPriceRequest)(nil), "elys.tier.QueryGetAmmPriceRequest") + proto.RegisterType((*GetAmmPriceResponseResult)(nil), "elys.tier.GetAmmPriceResponseResult") proto.RegisterType((*QueryGetAmmPriceResponse)(nil), "elys.tier.QueryGetAmmPriceResponse") proto.RegisterType((*QueryGetConsolidatedPriceRequest)(nil), "elys.tier.QueryGetConsolidatedPriceRequest") proto.RegisterType((*QueryGetConsolidatedPriceResponse)(nil), "elys.tier.QueryGetConsolidatedPriceResponse") @@ -1414,101 +1461,103 @@ func init() { func init() { proto.RegisterFile("elys/tier/query.proto", fileDescriptor_461504ebf74c9a97) } var fileDescriptor_461504ebf74c9a97 = []byte{ - // 1496 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0xc0, 0xe3, 0xb4, 0xc9, 0xf7, 0x9b, 0xb7, 0xa1, 0x3f, 0xa6, 0x69, 0x49, 0xb7, 0xed, 0xb6, - 0x75, 0xa1, 0xd9, 0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6, 0xec, 0xae, - 0x61, 0x2d, 0xef, 0x49, 0x58, 0x5e, 0x23, 0x96, 0x5e, 0x55, 0x95, 0x8e, 0xbc, 0x92, 0x8a, 0x76, - 0xe8, 0x5f, 0xe3, 0xaa, 0xfc, 0x89, 0x44, 0x55, 0x10, 0xaf, 0x42, 0xc9, 0xa2, 0x9e, 0xe7, 0x70, - 0x8f, 0xf8, 0x9c, 0x0d, 0x1f, 0xc6, 0xa4, 0x95, 0xd0, 0xa8, 0x4d, 0x5c, 0xd2, 0x94, 0x95, 0xe2, - 0x33, 0x04, 0x32, 0x61, 0x05, 0x5d, 0x01, 0x68, 0xfb, 0x0d, 0xea, 0xdb, 0x8e, 0xdf, 0x64, 0xc3, - 0x87, 0x30, 0x61, 0x24, 0xcc, 0xb8, 0xba, 0x25, 0x09, 0xe3, 0xc4, 0x9e, 0xdd, 0x3d, 0x34, 0xa8, - 0xbc, 0x26, 0x85, 0x15, 0xfd, 0x86, 0x7a, 0xb7, 0xd7, 0x09, 0x7f, 0x8f, 0x91, 0x80, 0x85, 0x2f, - 0xc5, 0x1a, 0xe6, 0x78, 0xd4, 0xe5, 0xda, 0x03, 0x4d, 0x95, 0x43, 0x59, 0x47, 0x2a, 0xb9, 0x67, - 0x60, 0x22, 0x4c, 0x3e, 0x53, 0xe5, 0xda, 0x81, 0x44, 0x35, 0x13, 0x2a, 0x08, 0x59, 0x29, 0x31, - 0xba, 0x1a, 0xed, 0x47, 0x0d, 0x26, 0xe4, 0xce, 0xcf, 0xbf, 0x94, 0xfe, 0x9d, 0x53, 0x96, 0xba, - 0x0b, 0x76, 0x3d, 0xf3, 0x5d, 0x10, 0x97, 0xdb, 0xe1, 0x05, 0xe9, 0xba, 0x62, 0x8c, 0x8d, 0x3a, - 0x7f, 0xf7, 0xb5, 0x4e, 0x67, 0x90, 0x70, 0xa2, 0x72, 0x57, 0x85, 0x49, 0xb1, 0x9a, 0x28, 0x79, - 0xfb, 0x92, 0xb5, 0xb6, 0xb8, 0x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 0x6e, 0xab, 0x2e, 0x6e, - 0xec, 0x08, 0xef, 0x53, 0x0d, 0xa6, 0x93, 0xad, 0x46, 0x36, 0xbf, 0x39, 0x8d, 0x4b, 0x36, 0xbf, - 0x79, 0xdd, 0x8a, 0x7e, 0x51, 0x50, 0x19, 0x68, 0xbe, 0x17, 0x55, 0x20, 0xb5, 0xd2, 0x44, 0x1f, - 0x69, 0x00, 0x9d, 0x46, 0x03, 0x9d, 0xec, 0x76, 0x95, 0x69, 0x59, 0xca, 0x7a, 0x91, 0x88, 0x62, - 0x59, 0x12, 0x2c, 0xf3, 0xe8, 0x6c, 0x2f, 0x16, 0x26, 0x74, 0xea, 0x2d, 0x4a, 0x63, 0x92, 0x7b, - 0xe1, 0x81, 0x8c, 0x1a, 0x0c, 0x74, 0x22, 0x73, 0xe0, 0xbb, 0x3a, 0x95, 0xf2, 0xc9, 0x02, 0x89, - 0x01, 0x6e, 0x05, 0xb9, 0xd1, 0x23, 0x95, 0x08, 0xe2, 0x13, 0x0d, 0x4a, 0x89, 0x82, 0x1f, 0x65, - 0x16, 0x9b, 0x6d, 0x1e, 0xca, 0xa7, 0x0a, 0x65, 0x06, 0x38, 0x7d, 0x72, 0xcf, 0x08, 0xa5, 0x74, - 0x72, 0x04, 0x4d, 0xa7, 0xd4, 0xcf, 0xa1, 0xc9, 0xb4, 0x0d, 0x39, 0x34, 0xd9, 0x5e, 0x61, 0x00, - 0x1a, 0xa1, 0x54, 0xa7, 0xa1, 0x56, 0x44, 0xf3, 0x85, 0x06, 0xa5, 0x44, 0x21, 0x9f, 0xa5, 0xc9, - 0x36, 0x0c, 0xe5, 0x53, 0x85, 0x32, 0x8a, 0xe6, 0x4d, 0x41, 0xf3, 0x0a, 0x7a, 0xb9, 0x17, 0x4d, - 0x93, 0xf0, 0x7a, 0xfc, 0xec, 0x9a, 0x77, 0xc4, 0x03, 0x7f, 0x37, 0xfc, 0x2b, 0xba, 0x8c, 0xbb, - 0xe8, 0x7b, 0x0d, 0x66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bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x98, 0xcd, 0x6f, 0xdc, 0x44, + 0x14, 0xc0, 0xe3, 0xb4, 0x09, 0xe4, 0x6d, 0xe8, 0xc7, 0x34, 0x2d, 0xe9, 0xb6, 0xdd, 0xb6, 0x6e, + 0x69, 0xb6, 0x6d, 0x62, 0x37, 0x69, 0x05, 0xe1, 0x5b, 0x4d, 0x56, 0x8d, 0x90, 0x02, 0xa4, 0xdb, + 0x52, 0x21, 0x38, 0xac, 0x66, 0xed, 0xe9, 0xd6, 0x8a, 0xed, 0xd9, 0x7a, 0x66, 0x53, 0xa2, 0xaa, + 0x97, 0x5e, 0x10, 0x42, 0x2a, 0x88, 0x1e, 0x90, 0x10, 0xe2, 0x82, 0xc4, 0x8d, 0x03, 0x12, 0xff, + 0x01, 0x1c, 0x2a, 0x4e, 0x15, 0x5c, 0x10, 0x87, 0x0a, 0xb5, 0x1c, 0xf8, 0x33, 0x90, 0x67, 0xc6, + 0xbb, 0xf6, 0xda, 0xeb, 0x5d, 0xb6, 0xcb, 0x81, 0x53, 0xd6, 0xe3, 0xf7, 0xf1, 0x9b, 0xf7, 0x66, + 0x9e, 0xdf, 0x0b, 0xec, 0x27, 0xee, 0x36, 0x33, 0xb9, 0x43, 0x02, 0xf3, 0x66, 0x8b, 0x04, 0xdb, + 0x46, 0x33, 0xa0, 0x9c, 0xa2, 0xa9, 0x70, 0xd9, 0x08, 0x97, 0x8b, 0x33, 0x0d, 0xda, 0xa0, 0x62, + 0xd5, 0x0c, 0x7f, 0x49, 0x81, 0xe2, 0xe1, 0x06, 0xa5, 0x0d, 0x97, 0x98, 0xb8, 0xe9, 0x98, 0xd8, + 0xf7, 0x29, 0xc7, 0xdc, 0xa1, 0x3e, 0x53, 0x6f, 0xcf, 0x58, 0x94, 0x79, 0x94, 0x99, 0x75, 0xcc, + 0x88, 0xb4, 0x6b, 0x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b, 0xca, 0x5c, + 0x57, 0xe6, 0x89, 0xad, 0xac, 0x3e, 0x78, 0x5c, 0xd2, 0x1e, 0x3e, 0x2e, 0x69, 0x7f, 0x3e, 0x2e, + 0x69, 0x9f, 0x3f, 0x29, 0x8d, 0x3d, 0x7c, 0x52, 0x1a, 0xfb, 0xfd, 0x49, 0x69, 0xec, 0x83, 0xd3, + 0x0d, 0x87, 0xdf, 0x68, 0xd5, 0x0d, 0x8b, 0x7a, 0x19, 0xb6, 0x3e, 0x92, 0xd6, 0xf8, 0x76, 0x93, + 0xb0, 0xfa, 0xa4, 0xf8, 0x27, 0xf4, 0xf9, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x8a, 0xba, 0x43, + 0xd2, 0x70, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2054,6 +2103,7 @@ func _Query_GetAllPrices_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tier.Query", HandlerType: (*QueryServer)(nil), @@ -2828,7 +2878,7 @@ func (m *QueryGetAmmPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryGetAmmPriceResponse) Marshal() (dAtA []byte, err error) { +func (m *GetAmmPriceResponseResult) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2838,12 +2888,12 @@ func (m *QueryGetAmmPriceResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetAmmPriceResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetAmmPriceResponseResult) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetAmmPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetAmmPriceResponseResult) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2861,6 +2911,41 @@ func (m *QueryGetAmmPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *QueryGetAmmPriceResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetAmmPriceResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetAmmPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *QueryGetConsolidatedPriceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3538,7 +3623,7 @@ func (m *QueryGetAmmPriceRequest) Size() (n int) { return n } -func (m *QueryGetAmmPriceResponse) Size() (n int) { +func (m *GetAmmPriceResponseResult) Size() (n int) { if m == nil { return 0 } @@ -3549,6 +3634,19 @@ func (m *QueryGetAmmPriceResponse) Size() (n int) { return n } +func (m *QueryGetAmmPriceResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func (m *QueryGetConsolidatedPriceRequest) Size() (n int) { if m == nil { return 0 @@ -5562,7 +5660,7 @@ func (m *QueryGetAmmPriceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error { +func (m *GetAmmPriceResponseResult) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5585,10 +5683,10 @@ func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetAmmPriceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetAmmPriceResponseResult: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetAmmPriceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAmmPriceResponseResult: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5646,6 +5744,92 @@ func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetAmmPriceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAmmPriceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &GetAmmPriceResponseResult{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryGetConsolidatedPriceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0