diff --git a/api/elys/oracle/tx.pulsar.go b/api/elys/oracle/tx.pulsar.go index 6bd494d80..ecc59deac 100644 --- a/api/elys/oracle/tx.pulsar.go +++ b/api/elys/oracle/tx.pulsar.go @@ -18,31 +18,29 @@ import ( ) var ( - md_MsgFeedPrice protoreflect.MessageDescriptor - fd_MsgFeedPrice_asset protoreflect.FieldDescriptor - fd_MsgFeedPrice_price protoreflect.FieldDescriptor - fd_MsgFeedPrice_source protoreflect.FieldDescriptor - fd_MsgFeedPrice_provider protoreflect.FieldDescriptor + md_FeedPrice protoreflect.MessageDescriptor + fd_FeedPrice_asset protoreflect.FieldDescriptor + fd_FeedPrice_price protoreflect.FieldDescriptor + fd_FeedPrice_source protoreflect.FieldDescriptor ) func init() { file_elys_oracle_tx_proto_init() - md_MsgFeedPrice = File_elys_oracle_tx_proto.Messages().ByName("MsgFeedPrice") - fd_MsgFeedPrice_asset = md_MsgFeedPrice.Fields().ByName("asset") - fd_MsgFeedPrice_price = md_MsgFeedPrice.Fields().ByName("price") - fd_MsgFeedPrice_source = md_MsgFeedPrice.Fields().ByName("source") - fd_MsgFeedPrice_provider = md_MsgFeedPrice.Fields().ByName("provider") + md_FeedPrice = File_elys_oracle_tx_proto.Messages().ByName("FeedPrice") + fd_FeedPrice_asset = md_FeedPrice.Fields().ByName("asset") + fd_FeedPrice_price = md_FeedPrice.Fields().ByName("price") + fd_FeedPrice_source = md_FeedPrice.Fields().ByName("source") } -var _ protoreflect.Message = (*fastReflection_MsgFeedPrice)(nil) +var _ protoreflect.Message = (*fastReflection_FeedPrice)(nil) -type fastReflection_MsgFeedPrice MsgFeedPrice +type fastReflection_FeedPrice FeedPrice -func (x *MsgFeedPrice) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgFeedPrice)(x) +func (x *FeedPrice) ProtoReflect() protoreflect.Message { + return (*fastReflection_FeedPrice)(x) } -func (x *MsgFeedPrice) slowProtoReflect() protoreflect.Message { +func (x *FeedPrice) slowProtoReflect() protoreflect.Message { mi := &file_elys_oracle_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -54,43 +52,43 @@ func (x *MsgFeedPrice) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgFeedPrice_messageType fastReflection_MsgFeedPrice_messageType -var _ protoreflect.MessageType = fastReflection_MsgFeedPrice_messageType{} +var _fastReflection_FeedPrice_messageType fastReflection_FeedPrice_messageType +var _ protoreflect.MessageType = fastReflection_FeedPrice_messageType{} -type fastReflection_MsgFeedPrice_messageType struct{} +type fastReflection_FeedPrice_messageType struct{} -func (x fastReflection_MsgFeedPrice_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgFeedPrice)(nil) +func (x fastReflection_FeedPrice_messageType) Zero() protoreflect.Message { + return (*fastReflection_FeedPrice)(nil) } -func (x fastReflection_MsgFeedPrice_messageType) New() protoreflect.Message { - return new(fastReflection_MsgFeedPrice) +func (x fastReflection_FeedPrice_messageType) New() protoreflect.Message { + return new(fastReflection_FeedPrice) } -func (x fastReflection_MsgFeedPrice_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgFeedPrice +func (x fastReflection_FeedPrice_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_FeedPrice } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgFeedPrice) Descriptor() protoreflect.MessageDescriptor { - return md_MsgFeedPrice +func (x *fastReflection_FeedPrice) Descriptor() protoreflect.MessageDescriptor { + return md_FeedPrice } // 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_MsgFeedPrice) Type() protoreflect.MessageType { - return _fastReflection_MsgFeedPrice_messageType +func (x *fastReflection_FeedPrice) Type() protoreflect.MessageType { + return _fastReflection_FeedPrice_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgFeedPrice) New() protoreflect.Message { - return new(fastReflection_MsgFeedPrice) +func (x *fastReflection_FeedPrice) New() protoreflect.Message { + return new(fastReflection_FeedPrice) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgFeedPrice) Interface() protoreflect.ProtoMessage { - return (*MsgFeedPrice)(x) +func (x *fastReflection_FeedPrice) Interface() protoreflect.ProtoMessage { + return (*FeedPrice)(x) } // Range iterates over every populated field in an undefined order, @@ -98,28 +96,22 @@ func (x *fastReflection_MsgFeedPrice) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgFeedPrice) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_FeedPrice) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Asset != "" { value := protoreflect.ValueOfString(x.Asset) - if !f(fd_MsgFeedPrice_asset, value) { + if !f(fd_FeedPrice_asset, value) { return } } if x.Price != "" { value := protoreflect.ValueOfString(x.Price) - if !f(fd_MsgFeedPrice_price, value) { + if !f(fd_FeedPrice_price, value) { return } } if x.Source != "" { value := protoreflect.ValueOfString(x.Source) - if !f(fd_MsgFeedPrice_source, value) { - return - } - } - if x.Provider != "" { - value := protoreflect.ValueOfString(x.Provider) - if !f(fd_MsgFeedPrice_provider, value) { + if !f(fd_FeedPrice_source, value) { return } } @@ -136,21 +128,19 @@ func (x *fastReflection_MsgFeedPrice) Range(f func(protoreflect.FieldDescriptor, // 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_MsgFeedPrice) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_FeedPrice) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "elys.oracle.MsgFeedPrice.asset": + case "elys.oracle.FeedPrice.asset": return x.Asset != "" - case "elys.oracle.MsgFeedPrice.price": + case "elys.oracle.FeedPrice.price": return x.Price != "" - case "elys.oracle.MsgFeedPrice.source": + case "elys.oracle.FeedPrice.source": return x.Source != "" - case "elys.oracle.MsgFeedPrice.provider": - return x.Provider != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice does not contain field %s", fd.FullName())) } } @@ -160,21 +150,19 @@ func (x *fastReflection_MsgFeedPrice) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgFeedPrice) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_FeedPrice) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "elys.oracle.MsgFeedPrice.asset": + case "elys.oracle.FeedPrice.asset": x.Asset = "" - case "elys.oracle.MsgFeedPrice.price": + case "elys.oracle.FeedPrice.price": x.Price = "" - case "elys.oracle.MsgFeedPrice.source": + case "elys.oracle.FeedPrice.source": x.Source = "" - case "elys.oracle.MsgFeedPrice.provider": - x.Provider = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice does not contain field %s", fd.FullName())) } } @@ -184,25 +172,22 @@ func (x *fastReflection_MsgFeedPrice) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgFeedPrice) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_FeedPrice) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "elys.oracle.MsgFeedPrice.asset": + case "elys.oracle.FeedPrice.asset": value := x.Asset return protoreflect.ValueOfString(value) - case "elys.oracle.MsgFeedPrice.price": + case "elys.oracle.FeedPrice.price": value := x.Price return protoreflect.ValueOfString(value) - case "elys.oracle.MsgFeedPrice.source": + case "elys.oracle.FeedPrice.source": value := x.Source return protoreflect.ValueOfString(value) - case "elys.oracle.MsgFeedPrice.provider": - value := x.Provider - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice does not contain field %s", descriptor.FullName())) } } @@ -216,21 +201,19 @@ func (x *fastReflection_MsgFeedPrice) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgFeedPrice) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_FeedPrice) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "elys.oracle.MsgFeedPrice.asset": + case "elys.oracle.FeedPrice.asset": x.Asset = value.Interface().(string) - case "elys.oracle.MsgFeedPrice.price": + case "elys.oracle.FeedPrice.price": x.Price = value.Interface().(string) - case "elys.oracle.MsgFeedPrice.source": + case "elys.oracle.FeedPrice.source": x.Source = value.Interface().(string) - case "elys.oracle.MsgFeedPrice.provider": - x.Provider = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice does not contain field %s", fd.FullName())) } } @@ -244,52 +227,48 @@ func (x *fastReflection_MsgFeedPrice) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgFeedPrice) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_FeedPrice) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "elys.oracle.MsgFeedPrice.asset": - panic(fmt.Errorf("field asset of message elys.oracle.MsgFeedPrice is not mutable")) - case "elys.oracle.MsgFeedPrice.price": - panic(fmt.Errorf("field price of message elys.oracle.MsgFeedPrice is not mutable")) - case "elys.oracle.MsgFeedPrice.source": - panic(fmt.Errorf("field source of message elys.oracle.MsgFeedPrice is not mutable")) - case "elys.oracle.MsgFeedPrice.provider": - panic(fmt.Errorf("field provider of message elys.oracle.MsgFeedPrice is not mutable")) + case "elys.oracle.FeedPrice.asset": + panic(fmt.Errorf("field asset of message elys.oracle.FeedPrice is not mutable")) + case "elys.oracle.FeedPrice.price": + panic(fmt.Errorf("field price of message elys.oracle.FeedPrice is not mutable")) + case "elys.oracle.FeedPrice.source": + panic(fmt.Errorf("field source of message elys.oracle.FeedPrice is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice 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_MsgFeedPrice) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_FeedPrice) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "elys.oracle.MsgFeedPrice.asset": + case "elys.oracle.FeedPrice.asset": return protoreflect.ValueOfString("") - case "elys.oracle.MsgFeedPrice.price": + case "elys.oracle.FeedPrice.price": return protoreflect.ValueOfString("") - case "elys.oracle.MsgFeedPrice.source": - return protoreflect.ValueOfString("") - case "elys.oracle.MsgFeedPrice.provider": + case "elys.oracle.FeedPrice.source": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.FeedPrice")) } - panic(fmt.Errorf("message elys.oracle.MsgFeedPrice does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message elys.oracle.FeedPrice 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_MsgFeedPrice) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_FeedPrice) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in elys.oracle.MsgFeedPrice", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in elys.oracle.FeedPrice", d.FullName())) } panic("unreachable") } @@ -297,7 +276,7 @@ func (x *fastReflection_MsgFeedPrice) WhichOneof(d protoreflect.OneofDescriptor) // 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_MsgFeedPrice) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_FeedPrice) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -308,7 +287,7 @@ func (x *fastReflection_MsgFeedPrice) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgFeedPrice) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_FeedPrice) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -320,7 +299,7 @@ func (x *fastReflection_MsgFeedPrice) SetUnknown(fields protoreflect.RawFields) // 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_MsgFeedPrice) IsValid() bool { +func (x *fastReflection_FeedPrice) IsValid() bool { return x != nil } @@ -330,9 +309,9 @@ func (x *fastReflection_MsgFeedPrice) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_FeedPrice) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgFeedPrice) + x := input.Message.Interface().(*FeedPrice) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -356,10 +335,6 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Provider) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -370,7 +345,7 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgFeedPrice) + x := input.Message.Interface().(*FeedPrice) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -389,13 +364,6 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Provider) > 0 { - i -= len(x.Provider) - copy(dAtA[i:], x.Provider) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Provider))) - i-- - dAtA[i] = 0x22 - } if len(x.Source) > 0 { i -= len(x.Source) copy(dAtA[i:], x.Source) @@ -428,7 +396,7 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgFeedPrice) + x := input.Message.Interface().(*FeedPrice) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -460,10 +428,10 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgFeedPrice: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FeedPrice: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgFeedPrice: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FeedPrice: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -525,14 +493,477 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { if postIndex < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Price = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Source", 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.Source = 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_MsgFeedPrice protoreflect.MessageDescriptor + fd_MsgFeedPrice_provider protoreflect.FieldDescriptor + fd_MsgFeedPrice_feed_price protoreflect.FieldDescriptor +) + +func init() { + file_elys_oracle_tx_proto_init() + md_MsgFeedPrice = File_elys_oracle_tx_proto.Messages().ByName("MsgFeedPrice") + fd_MsgFeedPrice_provider = md_MsgFeedPrice.Fields().ByName("provider") + fd_MsgFeedPrice_feed_price = md_MsgFeedPrice.Fields().ByName("feed_price") +} + +var _ protoreflect.Message = (*fastReflection_MsgFeedPrice)(nil) + +type fastReflection_MsgFeedPrice MsgFeedPrice + +func (x *MsgFeedPrice) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgFeedPrice)(x) +} + +func (x *MsgFeedPrice) slowProtoReflect() protoreflect.Message { + mi := &file_elys_oracle_tx_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgFeedPrice_messageType fastReflection_MsgFeedPrice_messageType +var _ protoreflect.MessageType = fastReflection_MsgFeedPrice_messageType{} + +type fastReflection_MsgFeedPrice_messageType struct{} + +func (x fastReflection_MsgFeedPrice_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgFeedPrice)(nil) +} +func (x fastReflection_MsgFeedPrice_messageType) New() protoreflect.Message { + return new(fastReflection_MsgFeedPrice) +} +func (x fastReflection_MsgFeedPrice_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgFeedPrice +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgFeedPrice) Descriptor() protoreflect.MessageDescriptor { + return md_MsgFeedPrice +} + +// 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_MsgFeedPrice) Type() protoreflect.MessageType { + return _fastReflection_MsgFeedPrice_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgFeedPrice) New() protoreflect.Message { + return new(fastReflection_MsgFeedPrice) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgFeedPrice) Interface() protoreflect.ProtoMessage { + return (*MsgFeedPrice)(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_MsgFeedPrice) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Provider != "" { + value := protoreflect.ValueOfString(x.Provider) + if !f(fd_MsgFeedPrice_provider, value) { + return + } + } + if x.FeedPrice != nil { + value := protoreflect.ValueOfMessage(x.FeedPrice.ProtoReflect()) + if !f(fd_MsgFeedPrice_feed_price, 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_MsgFeedPrice) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "elys.oracle.MsgFeedPrice.provider": + return x.Provider != "" + case "elys.oracle.MsgFeedPrice.feed_price": + return x.FeedPrice != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "elys.oracle.MsgFeedPrice.provider": + x.Provider = "" + case "elys.oracle.MsgFeedPrice.feed_price": + x.FeedPrice = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "elys.oracle.MsgFeedPrice.provider": + value := x.Provider + return protoreflect.ValueOfString(value) + case "elys.oracle.MsgFeedPrice.feed_price": + value := x.FeedPrice + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "elys.oracle.MsgFeedPrice.provider": + x.Provider = value.Interface().(string) + case "elys.oracle.MsgFeedPrice.feed_price": + x.FeedPrice = value.Message().Interface().(*FeedPrice) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "elys.oracle.MsgFeedPrice.feed_price": + if x.FeedPrice == nil { + x.FeedPrice = new(FeedPrice) + } + return protoreflect.ValueOfMessage(x.FeedPrice.ProtoReflect()) + case "elys.oracle.MsgFeedPrice.provider": + panic(fmt.Errorf("field provider of message elys.oracle.MsgFeedPrice is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "elys.oracle.MsgFeedPrice.provider": + return protoreflect.ValueOfString("") + case "elys.oracle.MsgFeedPrice.feed_price": + m := new(FeedPrice) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedPrice")) + } + panic(fmt.Errorf("message elys.oracle.MsgFeedPrice 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_MsgFeedPrice) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in elys.oracle.MsgFeedPrice", 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_MsgFeedPrice) 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_MsgFeedPrice) 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_MsgFeedPrice) 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_MsgFeedPrice) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgFeedPrice) + 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.Provider) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.FeedPrice != nil { + l = options.Size(x.FeedPrice) + 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().(*MsgFeedPrice) + 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 x.FeedPrice != nil { + encoded, err := options.Marshal(x.FeedPrice) + 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] = 0x12 + } + if len(x.Provider) > 0 { + i -= len(x.Provider) + copy(dAtA[i:], x.Provider) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Provider))) + 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().(*MsgFeedPrice) + 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 } - x.Price = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: + 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: MsgFeedPrice: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgFeedPrice: 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 Source", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -560,13 +991,13 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Source = string(dAtA[iNdEx:postIndex]) + x.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FeedPrice", 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 @@ -576,23 +1007,27 @@ func (x *fastReflection_MsgFeedPrice) ProtoMethods() *protoiface.Methods { } 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.Provider = string(dAtA[iNdEx:postIndex]) + if x.FeedPrice == nil { + x.FeedPrice = &FeedPrice{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.FeedPrice); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -647,7 +1082,7 @@ func (x *MsgFeedPriceResponse) ProtoReflect() protoreflect.Message { } func (x *MsgFeedPriceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[1] + mi := &file_elys_oracle_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1007,7 +1442,7 @@ func (x *MsgSetPriceFeeder) ProtoReflect() protoreflect.Message { } func (x *MsgSetPriceFeeder) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[2] + mi := &file_elys_oracle_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1477,7 +1912,7 @@ func (x *MsgSetPriceFeederResponse) ProtoReflect() protoreflect.Message { } func (x *MsgSetPriceFeederResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[3] + mi := &file_elys_oracle_tx_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1835,7 +2270,7 @@ func (x *MsgDeletePriceFeeder) ProtoReflect() protoreflect.Message { } func (x *MsgDeletePriceFeeder) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[4] + mi := &file_elys_oracle_tx_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2253,7 +2688,7 @@ func (x *MsgDeletePriceFeederResponse) ProtoReflect() protoreflect.Message { } func (x *MsgDeletePriceFeederResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[5] + mi := &file_elys_oracle_tx_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2594,7 +3029,7 @@ func (x *fastReflection_MsgDeletePriceFeederResponse) ProtoMethods() *protoiface var _ protoreflect.List = (*_MsgFeedMultiplePrices_2_list)(nil) type _MsgFeedMultiplePrices_2_list struct { - list *[]*Price + list *[]*FeedPrice } func (x *_MsgFeedMultiplePrices_2_list) Len() int { @@ -2610,18 +3045,18 @@ func (x *_MsgFeedMultiplePrices_2_list) Get(i int) protoreflect.Value { func (x *_MsgFeedMultiplePrices_2_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Price) + concreteValue := valueUnwrapped.Interface().(*FeedPrice) (*x.list)[i] = concreteValue } func (x *_MsgFeedMultiplePrices_2_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Price) + concreteValue := valueUnwrapped.Interface().(*FeedPrice) *x.list = append(*x.list, concreteValue) } func (x *_MsgFeedMultiplePrices_2_list) AppendMutable() protoreflect.Value { - v := new(Price) + v := new(FeedPrice) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } @@ -2634,7 +3069,7 @@ func (x *_MsgFeedMultiplePrices_2_list) Truncate(n int) { } func (x *_MsgFeedMultiplePrices_2_list) NewElement() protoreflect.Value { - v := new(Price) + v := new(FeedPrice) return protoreflect.ValueOfMessage(v.ProtoReflect()) } @@ -2643,16 +3078,16 @@ func (x *_MsgFeedMultiplePrices_2_list) IsValid() bool { } var ( - md_MsgFeedMultiplePrices protoreflect.MessageDescriptor - fd_MsgFeedMultiplePrices_creator protoreflect.FieldDescriptor - fd_MsgFeedMultiplePrices_prices protoreflect.FieldDescriptor + md_MsgFeedMultiplePrices protoreflect.MessageDescriptor + fd_MsgFeedMultiplePrices_creator protoreflect.FieldDescriptor + fd_MsgFeedMultiplePrices_feed_prices protoreflect.FieldDescriptor ) func init() { file_elys_oracle_tx_proto_init() md_MsgFeedMultiplePrices = File_elys_oracle_tx_proto.Messages().ByName("MsgFeedMultiplePrices") fd_MsgFeedMultiplePrices_creator = md_MsgFeedMultiplePrices.Fields().ByName("creator") - fd_MsgFeedMultiplePrices_prices = md_MsgFeedMultiplePrices.Fields().ByName("prices") + fd_MsgFeedMultiplePrices_feed_prices = md_MsgFeedMultiplePrices.Fields().ByName("feed_prices") } var _ protoreflect.Message = (*fastReflection_MsgFeedMultiplePrices)(nil) @@ -2664,7 +3099,7 @@ func (x *MsgFeedMultiplePrices) ProtoReflect() protoreflect.Message { } func (x *MsgFeedMultiplePrices) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[6] + mi := &file_elys_oracle_tx_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2726,9 +3161,9 @@ func (x *fastReflection_MsgFeedMultiplePrices) Range(f func(protoreflect.FieldDe return } } - if len(x.Prices) != 0 { - value := protoreflect.ValueOfList(&_MsgFeedMultiplePrices_2_list{list: &x.Prices}) - if !f(fd_MsgFeedMultiplePrices_prices, value) { + if len(x.FeedPrices) != 0 { + value := protoreflect.ValueOfList(&_MsgFeedMultiplePrices_2_list{list: &x.FeedPrices}) + if !f(fd_MsgFeedMultiplePrices_feed_prices, value) { return } } @@ -2749,8 +3184,8 @@ func (x *fastReflection_MsgFeedMultiplePrices) Has(fd protoreflect.FieldDescript switch fd.FullName() { case "elys.oracle.MsgFeedMultiplePrices.creator": return x.Creator != "" - case "elys.oracle.MsgFeedMultiplePrices.prices": - return len(x.Prices) != 0 + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": + return len(x.FeedPrices) != 0 default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedMultiplePrices")) @@ -2769,8 +3204,8 @@ func (x *fastReflection_MsgFeedMultiplePrices) Clear(fd protoreflect.FieldDescri switch fd.FullName() { case "elys.oracle.MsgFeedMultiplePrices.creator": x.Creator = "" - case "elys.oracle.MsgFeedMultiplePrices.prices": - x.Prices = nil + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": + x.FeedPrices = nil default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedMultiplePrices")) @@ -2790,11 +3225,11 @@ func (x *fastReflection_MsgFeedMultiplePrices) Get(descriptor protoreflect.Field case "elys.oracle.MsgFeedMultiplePrices.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "elys.oracle.MsgFeedMultiplePrices.prices": - if len(x.Prices) == 0 { + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": + if len(x.FeedPrices) == 0 { return protoreflect.ValueOfList(&_MsgFeedMultiplePrices_2_list{}) } - listValue := &_MsgFeedMultiplePrices_2_list{list: &x.Prices} + listValue := &_MsgFeedMultiplePrices_2_list{list: &x.FeedPrices} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { @@ -2818,10 +3253,10 @@ func (x *fastReflection_MsgFeedMultiplePrices) Set(fd protoreflect.FieldDescript switch fd.FullName() { case "elys.oracle.MsgFeedMultiplePrices.creator": x.Creator = value.Interface().(string) - case "elys.oracle.MsgFeedMultiplePrices.prices": + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": lv := value.List() clv := lv.(*_MsgFeedMultiplePrices_2_list) - x.Prices = *clv.list + x.FeedPrices = *clv.list default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: elys.oracle.MsgFeedMultiplePrices")) @@ -2842,11 +3277,11 @@ func (x *fastReflection_MsgFeedMultiplePrices) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgFeedMultiplePrices) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "elys.oracle.MsgFeedMultiplePrices.prices": - if x.Prices == nil { - x.Prices = []*Price{} + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": + if x.FeedPrices == nil { + x.FeedPrices = []*FeedPrice{} } - value := &_MsgFeedMultiplePrices_2_list{list: &x.Prices} + value := &_MsgFeedMultiplePrices_2_list{list: &x.FeedPrices} return protoreflect.ValueOfList(value) case "elys.oracle.MsgFeedMultiplePrices.creator": panic(fmt.Errorf("field creator of message elys.oracle.MsgFeedMultiplePrices is not mutable")) @@ -2865,8 +3300,8 @@ func (x *fastReflection_MsgFeedMultiplePrices) NewField(fd protoreflect.FieldDes switch fd.FullName() { case "elys.oracle.MsgFeedMultiplePrices.creator": return protoreflect.ValueOfString("") - case "elys.oracle.MsgFeedMultiplePrices.prices": - list := []*Price{} + case "elys.oracle.MsgFeedMultiplePrices.feed_prices": + list := []*FeedPrice{} return protoreflect.ValueOfList(&_MsgFeedMultiplePrices_2_list{list: &list}) default: if fd.IsExtension() { @@ -2941,8 +3376,8 @@ func (x *fastReflection_MsgFeedMultiplePrices) ProtoMethods() *protoiface.Method if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if len(x.Prices) > 0 { - for _, e := range x.Prices { + if len(x.FeedPrices) > 0 { + for _, e := range x.FeedPrices { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } @@ -2976,9 +3411,9 @@ func (x *fastReflection_MsgFeedMultiplePrices) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Prices) > 0 { - for iNdEx := len(x.Prices) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Prices[iNdEx]) + if len(x.FeedPrices) > 0 { + for iNdEx := len(x.FeedPrices) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.FeedPrices[iNdEx]) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3082,7 +3517,7 @@ func (x *fastReflection_MsgFeedMultiplePrices) ProtoMethods() *protoiface.Method iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Prices", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FeedPrices", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3109,8 +3544,8 @@ func (x *fastReflection_MsgFeedMultiplePrices) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Prices = append(x.Prices, &Price{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Prices[len(x.Prices)-1]); err != nil { + x.FeedPrices = append(x.FeedPrices, &FeedPrice{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.FeedPrices[len(x.FeedPrices)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -3167,7 +3602,7 @@ func (x *MsgFeedMultiplePricesResponse) ProtoReflect() protoreflect.Message { } func (x *MsgFeedMultiplePricesResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[7] + mi := &file_elys_oracle_tx_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3527,7 +3962,7 @@ func (x *MsgRemoveAssetInfo) ProtoReflect() protoreflect.Message { } func (x *MsgRemoveAssetInfo) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[8] + mi := &file_elys_oracle_tx_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4007,7 +4442,7 @@ func (x *MsgRemoveAssetInfoResponse) ProtoReflect() protoreflect.Message { } func (x *MsgRemoveAssetInfoResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[9] + mi := &file_elys_oracle_tx_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4413,7 +4848,7 @@ func (x *MsgAddPriceFeeders) ProtoReflect() protoreflect.Message { } func (x *MsgAddPriceFeeders) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[10] + mi := &file_elys_oracle_tx_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4907,7 +5342,7 @@ func (x *MsgAddPriceFeedersResponse) ProtoReflect() protoreflect.Message { } func (x *MsgAddPriceFeedersResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[11] + mi := &file_elys_oracle_tx_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5313,7 +5748,7 @@ func (x *MsgRemovePriceFeeders) ProtoReflect() protoreflect.Message { } func (x *MsgRemovePriceFeeders) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[12] + mi := &file_elys_oracle_tx_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5807,7 +6242,7 @@ func (x *MsgRemovePriceFeedersResponse) ProtoReflect() protoreflect.Message { } func (x *MsgRemovePriceFeedersResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[13] + mi := &file_elys_oracle_tx_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6167,7 +6602,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[14] + mi := &file_elys_oracle_tx_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6662,7 +7097,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[15] + mi := &file_elys_oracle_tx_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7030,7 +7465,7 @@ func (x *MsgCreateAssetInfo) ProtoReflect() protoreflect.Message { } func (x *MsgCreateAssetInfo) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[16] + mi := &file_elys_oracle_tx_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7742,7 +8177,7 @@ func (x *MsgCreateAssetInfoResponse) ProtoReflect() protoreflect.Message { } func (x *MsgCreateAssetInfoResponse) slowProtoReflect() protoreflect.Message { - mi := &file_elys_oracle_tx_proto_msgTypes[17] + mi := &file_elys_oracle_tx_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8093,19 +8528,18 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type MsgFeedPrice struct { +type FeedPrice struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` + Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` + Price string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"` + Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` } -func (x *MsgFeedPrice) Reset() { - *x = MsgFeedPrice{} +func (x *FeedPrice) Reset() { + *x = FeedPrice{} if protoimpl.UnsafeEnabled { mi := &file_elys_oracle_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8113,38 +8547,67 @@ func (x *MsgFeedPrice) Reset() { } } -func (x *MsgFeedPrice) String() string { +func (x *FeedPrice) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgFeedPrice) ProtoMessage() {} +func (*FeedPrice) ProtoMessage() {} -// Deprecated: Use MsgFeedPrice.ProtoReflect.Descriptor instead. -func (*MsgFeedPrice) Descriptor() ([]byte, []int) { +// Deprecated: Use FeedPrice.ProtoReflect.Descriptor instead. +func (*FeedPrice) Descriptor() ([]byte, []int) { return file_elys_oracle_tx_proto_rawDescGZIP(), []int{0} } -func (x *MsgFeedPrice) GetAsset() string { +func (x *FeedPrice) GetAsset() string { if x != nil { return x.Asset } return "" } -func (x *MsgFeedPrice) GetPrice() string { +func (x *FeedPrice) GetPrice() string { if x != nil { return x.Price } return "" } -func (x *MsgFeedPrice) GetSource() string { +func (x *FeedPrice) GetSource() string { if x != nil { return x.Source } return "" } +type MsgFeedPrice struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` + FeedPrice *FeedPrice `protobuf:"bytes,2,opt,name=feed_price,json=feedPrice,proto3" json:"feed_price,omitempty"` +} + +func (x *MsgFeedPrice) Reset() { + *x = MsgFeedPrice{} + if protoimpl.UnsafeEnabled { + mi := &file_elys_oracle_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgFeedPrice) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgFeedPrice) ProtoMessage() {} + +// Deprecated: Use MsgFeedPrice.ProtoReflect.Descriptor instead. +func (*MsgFeedPrice) Descriptor() ([]byte, []int) { + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{1} +} + func (x *MsgFeedPrice) GetProvider() string { if x != nil { return x.Provider @@ -8152,6 +8615,13 @@ func (x *MsgFeedPrice) GetProvider() string { return "" } +func (x *MsgFeedPrice) GetFeedPrice() *FeedPrice { + if x != nil { + return x.FeedPrice + } + return nil +} + type MsgFeedPriceResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8161,7 +8631,7 @@ type MsgFeedPriceResponse struct { func (x *MsgFeedPriceResponse) Reset() { *x = MsgFeedPriceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[1] + mi := &file_elys_oracle_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8175,7 +8645,7 @@ func (*MsgFeedPriceResponse) ProtoMessage() {} // Deprecated: Use MsgFeedPriceResponse.ProtoReflect.Descriptor instead. func (*MsgFeedPriceResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{1} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{2} } type MsgSetPriceFeeder struct { @@ -8190,7 +8660,7 @@ type MsgSetPriceFeeder struct { func (x *MsgSetPriceFeeder) Reset() { *x = MsgSetPriceFeeder{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[2] + mi := &file_elys_oracle_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8204,7 +8674,7 @@ func (*MsgSetPriceFeeder) ProtoMessage() {} // Deprecated: Use MsgSetPriceFeeder.ProtoReflect.Descriptor instead. func (*MsgSetPriceFeeder) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{2} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{3} } func (x *MsgSetPriceFeeder) GetFeeder() string { @@ -8230,7 +8700,7 @@ type MsgSetPriceFeederResponse struct { func (x *MsgSetPriceFeederResponse) Reset() { *x = MsgSetPriceFeederResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[3] + mi := &file_elys_oracle_tx_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8244,7 +8714,7 @@ func (*MsgSetPriceFeederResponse) ProtoMessage() {} // Deprecated: Use MsgSetPriceFeederResponse.ProtoReflect.Descriptor instead. func (*MsgSetPriceFeederResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{3} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{4} } type MsgDeletePriceFeeder struct { @@ -8258,7 +8728,7 @@ type MsgDeletePriceFeeder struct { func (x *MsgDeletePriceFeeder) Reset() { *x = MsgDeletePriceFeeder{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[4] + mi := &file_elys_oracle_tx_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8272,7 +8742,7 @@ func (*MsgDeletePriceFeeder) ProtoMessage() {} // Deprecated: Use MsgDeletePriceFeeder.ProtoReflect.Descriptor instead. func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{4} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{5} } func (x *MsgDeletePriceFeeder) GetFeeder() string { @@ -8291,7 +8761,7 @@ type MsgDeletePriceFeederResponse struct { func (x *MsgDeletePriceFeederResponse) Reset() { *x = MsgDeletePriceFeederResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[5] + mi := &file_elys_oracle_tx_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8305,7 +8775,7 @@ func (*MsgDeletePriceFeederResponse) ProtoMessage() {} // Deprecated: Use MsgDeletePriceFeederResponse.ProtoReflect.Descriptor instead. func (*MsgDeletePriceFeederResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{5} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{6} } type MsgFeedMultiplePrices struct { @@ -8313,14 +8783,14 @@ type MsgFeedMultiplePrices struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Prices []*Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + FeedPrices []*FeedPrice `protobuf:"bytes,2,rep,name=feed_prices,json=feedPrices,proto3" json:"feed_prices,omitempty"` } func (x *MsgFeedMultiplePrices) Reset() { *x = MsgFeedMultiplePrices{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[6] + mi := &file_elys_oracle_tx_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8334,7 +8804,7 @@ func (*MsgFeedMultiplePrices) ProtoMessage() {} // Deprecated: Use MsgFeedMultiplePrices.ProtoReflect.Descriptor instead. func (*MsgFeedMultiplePrices) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{6} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{7} } func (x *MsgFeedMultiplePrices) GetCreator() string { @@ -8344,9 +8814,9 @@ func (x *MsgFeedMultiplePrices) GetCreator() string { return "" } -func (x *MsgFeedMultiplePrices) GetPrices() []*Price { +func (x *MsgFeedMultiplePrices) GetFeedPrices() []*FeedPrice { if x != nil { - return x.Prices + return x.FeedPrices } return nil } @@ -8360,7 +8830,7 @@ type MsgFeedMultiplePricesResponse struct { func (x *MsgFeedMultiplePricesResponse) Reset() { *x = MsgFeedMultiplePricesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[7] + mi := &file_elys_oracle_tx_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8374,7 +8844,7 @@ func (*MsgFeedMultiplePricesResponse) ProtoMessage() {} // Deprecated: Use MsgFeedMultiplePricesResponse.ProtoReflect.Descriptor instead. func (*MsgFeedMultiplePricesResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{7} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{8} } type MsgRemoveAssetInfo struct { @@ -8389,7 +8859,7 @@ type MsgRemoveAssetInfo struct { func (x *MsgRemoveAssetInfo) Reset() { *x = MsgRemoveAssetInfo{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[8] + mi := &file_elys_oracle_tx_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8403,7 +8873,7 @@ func (*MsgRemoveAssetInfo) ProtoMessage() {} // Deprecated: Use MsgRemoveAssetInfo.ProtoReflect.Descriptor instead. func (*MsgRemoveAssetInfo) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{8} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{9} } func (x *MsgRemoveAssetInfo) GetAuthority() string { @@ -8429,7 +8899,7 @@ type MsgRemoveAssetInfoResponse struct { func (x *MsgRemoveAssetInfoResponse) Reset() { *x = MsgRemoveAssetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[9] + mi := &file_elys_oracle_tx_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8443,7 +8913,7 @@ func (*MsgRemoveAssetInfoResponse) ProtoMessage() {} // Deprecated: Use MsgRemoveAssetInfoResponse.ProtoReflect.Descriptor instead. func (*MsgRemoveAssetInfoResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{9} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{10} } type MsgAddPriceFeeders struct { @@ -8458,7 +8928,7 @@ type MsgAddPriceFeeders struct { func (x *MsgAddPriceFeeders) Reset() { *x = MsgAddPriceFeeders{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[10] + mi := &file_elys_oracle_tx_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8472,7 +8942,7 @@ func (*MsgAddPriceFeeders) ProtoMessage() {} // Deprecated: Use MsgAddPriceFeeders.ProtoReflect.Descriptor instead. func (*MsgAddPriceFeeders) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{10} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{11} } func (x *MsgAddPriceFeeders) GetAuthority() string { @@ -8498,7 +8968,7 @@ type MsgAddPriceFeedersResponse struct { func (x *MsgAddPriceFeedersResponse) Reset() { *x = MsgAddPriceFeedersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[11] + mi := &file_elys_oracle_tx_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8512,7 +8982,7 @@ func (*MsgAddPriceFeedersResponse) ProtoMessage() {} // Deprecated: Use MsgAddPriceFeedersResponse.ProtoReflect.Descriptor instead. func (*MsgAddPriceFeedersResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{11} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{12} } type MsgRemovePriceFeeders struct { @@ -8527,7 +8997,7 @@ type MsgRemovePriceFeeders struct { func (x *MsgRemovePriceFeeders) Reset() { *x = MsgRemovePriceFeeders{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[12] + mi := &file_elys_oracle_tx_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8541,7 +9011,7 @@ func (*MsgRemovePriceFeeders) ProtoMessage() {} // Deprecated: Use MsgRemovePriceFeeders.ProtoReflect.Descriptor instead. func (*MsgRemovePriceFeeders) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{12} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{13} } func (x *MsgRemovePriceFeeders) GetAuthority() string { @@ -8567,7 +9037,7 @@ type MsgRemovePriceFeedersResponse struct { func (x *MsgRemovePriceFeedersResponse) Reset() { *x = MsgRemovePriceFeedersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[13] + mi := &file_elys_oracle_tx_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8581,7 +9051,7 @@ func (*MsgRemovePriceFeedersResponse) ProtoMessage() {} // Deprecated: Use MsgRemovePriceFeedersResponse.ProtoReflect.Descriptor instead. func (*MsgRemovePriceFeedersResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{13} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{14} } type MsgUpdateParams struct { @@ -8597,7 +9067,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[14] + mi := &file_elys_oracle_tx_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8611,7 +9081,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{14} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{15} } func (x *MsgUpdateParams) GetAuthority() string { @@ -8637,7 +9107,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[15] + mi := &file_elys_oracle_tx_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8651,7 +9121,7 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{15} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{16} } // this line is used by starport scaffolding # proto/tx/message @@ -8671,7 +9141,7 @@ type MsgCreateAssetInfo struct { func (x *MsgCreateAssetInfo) Reset() { *x = MsgCreateAssetInfo{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[16] + mi := &file_elys_oracle_tx_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8685,7 +9155,7 @@ func (*MsgCreateAssetInfo) ProtoMessage() {} // Deprecated: Use MsgCreateAssetInfo.ProtoReflect.Descriptor instead. func (*MsgCreateAssetInfo) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{16} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{17} } func (x *MsgCreateAssetInfo) GetCreator() string { @@ -8739,7 +9209,7 @@ type MsgCreateAssetInfoResponse struct { func (x *MsgCreateAssetInfoResponse) Reset() { *x = MsgCreateAssetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_elys_oracle_tx_proto_msgTypes[17] + mi := &file_elys_oracle_tx_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8753,7 +9223,7 @@ func (*MsgCreateAssetInfoResponse) ProtoMessage() {} // Deprecated: Use MsgCreateAssetInfoResponse.ProtoReflect.Descriptor instead. func (*MsgCreateAssetInfoResponse) Descriptor() ([]byte, []int) { - return file_elys_oracle_tx_proto_rawDescGZIP(), []int{17} + return file_elys_oracle_tx_proto_rawDescGZIP(), []int{18} } var File_elys_oracle_tx_proto protoreflect.FileDescriptor @@ -8778,183 +9248,188 @@ var file_elys_oracle_tx_proto_rawDesc = []byte{ 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0xe2, 0x01, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x05, 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, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, 0x25, 0x82, - 0xe7, 0xb0, 0x2a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, - 0x13, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, - 0x11, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, - 0x65, 0x72, 0x12, 0x30, 0x0a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x82, 0x01, 0x0a, 0x09, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x05, 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, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0a, 0x66, + 0x65, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x46, 0x65, + 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x66, + 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x08, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x13, 0x6f, 0x72, 0x61, 0x63, + 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, + 0x16, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, + 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, + 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x3a, 0x28, 0x82, 0xe7, + 0xb0, 0x2a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x18, 0x6f, 0x72, + 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x75, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x06, 0x66, + 0x65, 0x65, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, + 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x3a, 0x2b, 0x82, + 0xe7, 0xb0, 0x2a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1b, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, + 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x4d, + 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3d, 0x0a, 0x0b, 0x66, 0x65, 0x65, 0x64, + 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x46, 0x65, 0x65, 0x64, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x66, 0x65, 0x65, + 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x3a, 0x2d, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, + 0x2f, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, + 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, + 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x3a, 0x2c, 0x82, 0xe7, + 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, + 0x19, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, + 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x94, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, + 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x66, 0x65, - 0x65, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, - 0x65, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x8a, 0xe7, - 0xb0, 0x2a, 0x18, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x75, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, - 0x12, 0x30, 0x0a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x66, 0x65, 0x65, 0x64, - 0x65, 0x72, 0x3a, 0x2b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x8a, - 0xe7, 0xb0, 0x2a, 0x1b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x22, - 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xac, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, - 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x30, 0x0a, - 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x3a, - 0x2d, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, - 0x2a, 0x1c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, - 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x22, 0x1f, - 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, - 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x90, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, - 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, - 0x65, 0x6e, 0x6f, 0x6d, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, - 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x94, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, + 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, + 0x73, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, + 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x22, + 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, + 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x01, + 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x6f, 0x72, - 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, - 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x52, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x3a, 0x2f, 0x82, 0xe7, 0xb0, 0x2a, 0x09, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x6f, 0x72, + 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, + 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x0f, + 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, - 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x65, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x3a, 0x2f, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, - 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, - 0x72, 0x73, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, - 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, - 0x31, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x13, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, - 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, - 0x6c, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x63, 0x6b, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x6e, 0x64, 0x54, 0x69, - 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6c, 0x79, 0x73, 0x5f, 0x74, 0x69, 0x63, - 0x6b, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6c, 0x79, 0x73, 0x54, - 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x3a, - 0x2a, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, - 0x2a, 0x19, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, - 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xcb, 0x06, 0x0a, 0x03, 0x4d, 0x73, - 0x67, 0x12, 0x49, 0x0a, 0x09, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x19, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x80, 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, + 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, + 0x61, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x62, 0x61, 0x6e, 0x64, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, + 0x65, 0x6c, 0x79, 0x73, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x65, 0x6c, 0x79, 0x73, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x3a, 0x2a, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, + 0x2f, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x32, 0xcb, 0x06, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x49, 0x0a, 0x09, 0x46, 0x65, 0x65, + 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x19, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, + 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x1a, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, + 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x12, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, + 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, + 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2a, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, - 0x46, 0x65, 0x65, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x1a, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, - 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x12, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, - 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x2a, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, - 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x65, 0x65, 0x64, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x70, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, - 0x65, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, - 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, - 0x65, 0x64, 0x65, 0x72, 0x1a, 0x26, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, - 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, - 0x65, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x11, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, - 0x72, 0x12, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, - 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, - 0x65, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, - 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, - 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x5b, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, - 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, - 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, - 0x1f, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, - 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, - 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x12, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, - 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, - 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, - 0x65, 0x72, 0x73, 0x1a, 0x2a, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, - 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, - 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x52, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x1c, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x24, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, - 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, - 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0x95, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, - 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x42, 0x07, 0x54, 0x78, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 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, 0x6f, 0x72, - 0x61, 0x63, 0x6c, 0x65, 0xa2, 0x02, 0x03, 0x45, 0x4f, 0x58, 0xaa, 0x02, 0x0b, 0x45, 0x6c, 0x79, - 0x73, 0x2e, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0xca, 0x02, 0x0b, 0x45, 0x6c, 0x79, 0x73, 0x5c, - 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0xe2, 0x02, 0x17, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x4f, 0x72, - 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x0c, 0x45, 0x6c, 0x79, 0x73, 0x3a, 0x3a, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x53, 0x65, + 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x1a, 0x26, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x65, 0x6c, 0x79, 0x73, + 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x65, + 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x65, 0x6c, 0x79, + 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x27, 0x2e, 0x65, 0x6c, + 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, 0x63, + 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, + 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x64, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x2a, 0x2e, 0x65, 0x6c, + 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x46, 0x65, 0x65, 0x64, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, + 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x24, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, + 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, + 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, 0x67, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, + 0x27, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x2e, 0x4d, 0x73, + 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, + 0x95, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x6c, 0x79, 0x73, 0x2e, 0x6f, 0x72, 0x61, + 0x63, 0x6c, 0x65, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, + 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, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0xa2, 0x02, 0x03, 0x45, + 0x4f, 0x58, 0xaa, 0x02, 0x0b, 0x45, 0x6c, 0x79, 0x73, 0x2e, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, + 0xca, 0x02, 0x0b, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0xe2, 0x02, + 0x17, 0x45, 0x6c, 0x79, 0x73, 0x5c, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x45, 0x6c, 0x79, 0x73, 0x3a, + 0x3a, 0x4f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -8969,55 +9444,56 @@ func file_elys_oracle_tx_proto_rawDescGZIP() []byte { return file_elys_oracle_tx_proto_rawDescData } -var file_elys_oracle_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_elys_oracle_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_elys_oracle_tx_proto_goTypes = []interface{}{ - (*MsgFeedPrice)(nil), // 0: elys.oracle.MsgFeedPrice - (*MsgFeedPriceResponse)(nil), // 1: elys.oracle.MsgFeedPriceResponse - (*MsgSetPriceFeeder)(nil), // 2: elys.oracle.MsgSetPriceFeeder - (*MsgSetPriceFeederResponse)(nil), // 3: elys.oracle.MsgSetPriceFeederResponse - (*MsgDeletePriceFeeder)(nil), // 4: elys.oracle.MsgDeletePriceFeeder - (*MsgDeletePriceFeederResponse)(nil), // 5: elys.oracle.MsgDeletePriceFeederResponse - (*MsgFeedMultiplePrices)(nil), // 6: elys.oracle.MsgFeedMultiplePrices - (*MsgFeedMultiplePricesResponse)(nil), // 7: elys.oracle.MsgFeedMultiplePricesResponse - (*MsgRemoveAssetInfo)(nil), // 8: elys.oracle.MsgRemoveAssetInfo - (*MsgRemoveAssetInfoResponse)(nil), // 9: elys.oracle.MsgRemoveAssetInfoResponse - (*MsgAddPriceFeeders)(nil), // 10: elys.oracle.MsgAddPriceFeeders - (*MsgAddPriceFeedersResponse)(nil), // 11: elys.oracle.MsgAddPriceFeedersResponse - (*MsgRemovePriceFeeders)(nil), // 12: elys.oracle.MsgRemovePriceFeeders - (*MsgRemovePriceFeedersResponse)(nil), // 13: elys.oracle.MsgRemovePriceFeedersResponse - (*MsgUpdateParams)(nil), // 14: elys.oracle.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 15: elys.oracle.MsgUpdateParamsResponse - (*MsgCreateAssetInfo)(nil), // 16: elys.oracle.MsgCreateAssetInfo - (*MsgCreateAssetInfoResponse)(nil), // 17: elys.oracle.MsgCreateAssetInfoResponse - (*Price)(nil), // 18: elys.oracle.Price + (*FeedPrice)(nil), // 0: elys.oracle.FeedPrice + (*MsgFeedPrice)(nil), // 1: elys.oracle.MsgFeedPrice + (*MsgFeedPriceResponse)(nil), // 2: elys.oracle.MsgFeedPriceResponse + (*MsgSetPriceFeeder)(nil), // 3: elys.oracle.MsgSetPriceFeeder + (*MsgSetPriceFeederResponse)(nil), // 4: elys.oracle.MsgSetPriceFeederResponse + (*MsgDeletePriceFeeder)(nil), // 5: elys.oracle.MsgDeletePriceFeeder + (*MsgDeletePriceFeederResponse)(nil), // 6: elys.oracle.MsgDeletePriceFeederResponse + (*MsgFeedMultiplePrices)(nil), // 7: elys.oracle.MsgFeedMultiplePrices + (*MsgFeedMultiplePricesResponse)(nil), // 8: elys.oracle.MsgFeedMultiplePricesResponse + (*MsgRemoveAssetInfo)(nil), // 9: elys.oracle.MsgRemoveAssetInfo + (*MsgRemoveAssetInfoResponse)(nil), // 10: elys.oracle.MsgRemoveAssetInfoResponse + (*MsgAddPriceFeeders)(nil), // 11: elys.oracle.MsgAddPriceFeeders + (*MsgAddPriceFeedersResponse)(nil), // 12: elys.oracle.MsgAddPriceFeedersResponse + (*MsgRemovePriceFeeders)(nil), // 13: elys.oracle.MsgRemovePriceFeeders + (*MsgRemovePriceFeedersResponse)(nil), // 14: elys.oracle.MsgRemovePriceFeedersResponse + (*MsgUpdateParams)(nil), // 15: elys.oracle.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 16: elys.oracle.MsgUpdateParamsResponse + (*MsgCreateAssetInfo)(nil), // 17: elys.oracle.MsgCreateAssetInfo + (*MsgCreateAssetInfoResponse)(nil), // 18: elys.oracle.MsgCreateAssetInfoResponse (*Params)(nil), // 19: elys.oracle.Params } var file_elys_oracle_tx_proto_depIdxs = []int32{ - 18, // 0: elys.oracle.MsgFeedMultiplePrices.prices:type_name -> elys.oracle.Price - 19, // 1: elys.oracle.MsgUpdateParams.params:type_name -> elys.oracle.Params - 0, // 2: elys.oracle.Msg.FeedPrice:input_type -> elys.oracle.MsgFeedPrice - 6, // 3: elys.oracle.Msg.FeedMultiplePrices:input_type -> elys.oracle.MsgFeedMultiplePrices - 2, // 4: elys.oracle.Msg.SetPriceFeeder:input_type -> elys.oracle.MsgSetPriceFeeder - 4, // 5: elys.oracle.Msg.DeletePriceFeeder:input_type -> elys.oracle.MsgDeletePriceFeeder - 8, // 6: elys.oracle.Msg.RemoveAssetInfo:input_type -> elys.oracle.MsgRemoveAssetInfo - 10, // 7: elys.oracle.Msg.AddPriceFeeders:input_type -> elys.oracle.MsgAddPriceFeeders - 12, // 8: elys.oracle.Msg.RemovePriceFeeders:input_type -> elys.oracle.MsgRemovePriceFeeders - 14, // 9: elys.oracle.Msg.UpdateParams:input_type -> elys.oracle.MsgUpdateParams - 16, // 10: elys.oracle.Msg.CreateAssetInfo:input_type -> elys.oracle.MsgCreateAssetInfo - 1, // 11: elys.oracle.Msg.FeedPrice:output_type -> elys.oracle.MsgFeedPriceResponse - 7, // 12: elys.oracle.Msg.FeedMultiplePrices:output_type -> elys.oracle.MsgFeedMultiplePricesResponse - 3, // 13: elys.oracle.Msg.SetPriceFeeder:output_type -> elys.oracle.MsgSetPriceFeederResponse - 5, // 14: elys.oracle.Msg.DeletePriceFeeder:output_type -> elys.oracle.MsgDeletePriceFeederResponse - 9, // 15: elys.oracle.Msg.RemoveAssetInfo:output_type -> elys.oracle.MsgRemoveAssetInfoResponse - 11, // 16: elys.oracle.Msg.AddPriceFeeders:output_type -> elys.oracle.MsgAddPriceFeedersResponse - 13, // 17: elys.oracle.Msg.RemovePriceFeeders:output_type -> elys.oracle.MsgRemovePriceFeedersResponse - 15, // 18: elys.oracle.Msg.UpdateParams:output_type -> elys.oracle.MsgUpdateParamsResponse - 17, // 19: elys.oracle.Msg.CreateAssetInfo:output_type -> elys.oracle.MsgCreateAssetInfoResponse - 11, // [11:20] is the sub-list for method output_type - 2, // [2:11] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name + 0, // 0: elys.oracle.MsgFeedPrice.feed_price:type_name -> elys.oracle.FeedPrice + 0, // 1: elys.oracle.MsgFeedMultiplePrices.feed_prices:type_name -> elys.oracle.FeedPrice + 19, // 2: elys.oracle.MsgUpdateParams.params:type_name -> elys.oracle.Params + 1, // 3: elys.oracle.Msg.FeedPrice:input_type -> elys.oracle.MsgFeedPrice + 7, // 4: elys.oracle.Msg.FeedMultiplePrices:input_type -> elys.oracle.MsgFeedMultiplePrices + 3, // 5: elys.oracle.Msg.SetPriceFeeder:input_type -> elys.oracle.MsgSetPriceFeeder + 5, // 6: elys.oracle.Msg.DeletePriceFeeder:input_type -> elys.oracle.MsgDeletePriceFeeder + 9, // 7: elys.oracle.Msg.RemoveAssetInfo:input_type -> elys.oracle.MsgRemoveAssetInfo + 11, // 8: elys.oracle.Msg.AddPriceFeeders:input_type -> elys.oracle.MsgAddPriceFeeders + 13, // 9: elys.oracle.Msg.RemovePriceFeeders:input_type -> elys.oracle.MsgRemovePriceFeeders + 15, // 10: elys.oracle.Msg.UpdateParams:input_type -> elys.oracle.MsgUpdateParams + 17, // 11: elys.oracle.Msg.CreateAssetInfo:input_type -> elys.oracle.MsgCreateAssetInfo + 2, // 12: elys.oracle.Msg.FeedPrice:output_type -> elys.oracle.MsgFeedPriceResponse + 8, // 13: elys.oracle.Msg.FeedMultiplePrices:output_type -> elys.oracle.MsgFeedMultiplePricesResponse + 4, // 14: elys.oracle.Msg.SetPriceFeeder:output_type -> elys.oracle.MsgSetPriceFeederResponse + 6, // 15: elys.oracle.Msg.DeletePriceFeeder:output_type -> elys.oracle.MsgDeletePriceFeederResponse + 10, // 16: elys.oracle.Msg.RemoveAssetInfo:output_type -> elys.oracle.MsgRemoveAssetInfoResponse + 12, // 17: elys.oracle.Msg.AddPriceFeeders:output_type -> elys.oracle.MsgAddPriceFeedersResponse + 14, // 18: elys.oracle.Msg.RemovePriceFeeders:output_type -> elys.oracle.MsgRemovePriceFeedersResponse + 16, // 19: elys.oracle.Msg.UpdateParams:output_type -> elys.oracle.MsgUpdateParamsResponse + 18, // 20: elys.oracle.Msg.CreateAssetInfo:output_type -> elys.oracle.MsgCreateAssetInfoResponse + 12, // [12:21] is the sub-list for method output_type + 3, // [3:12] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name } func init() { file_elys_oracle_tx_proto_init() } @@ -9032,7 +9508,7 @@ func file_elys_oracle_tx_proto_init() { file_elys_oracle_params_proto_init() if !protoimpl.UnsafeEnabled { file_elys_oracle_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgFeedPrice); i { + switch v := v.(*FeedPrice); i { case 0: return &v.state case 1: @@ -9044,7 +9520,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgFeedPriceResponse); i { + switch v := v.(*MsgFeedPrice); i { case 0: return &v.state case 1: @@ -9056,7 +9532,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetPriceFeeder); i { + switch v := v.(*MsgFeedPriceResponse); i { case 0: return &v.state case 1: @@ -9068,7 +9544,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetPriceFeederResponse); i { + switch v := v.(*MsgSetPriceFeeder); i { case 0: return &v.state case 1: @@ -9080,7 +9556,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeletePriceFeeder); i { + switch v := v.(*MsgSetPriceFeederResponse); i { case 0: return &v.state case 1: @@ -9092,7 +9568,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeletePriceFeederResponse); i { + switch v := v.(*MsgDeletePriceFeeder); i { case 0: return &v.state case 1: @@ -9104,7 +9580,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgFeedMultiplePrices); i { + switch v := v.(*MsgDeletePriceFeederResponse); i { case 0: return &v.state case 1: @@ -9116,7 +9592,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgFeedMultiplePricesResponse); i { + switch v := v.(*MsgFeedMultiplePrices); i { case 0: return &v.state case 1: @@ -9128,7 +9604,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveAssetInfo); i { + switch v := v.(*MsgFeedMultiplePricesResponse); i { case 0: return &v.state case 1: @@ -9140,7 +9616,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveAssetInfoResponse); i { + switch v := v.(*MsgRemoveAssetInfo); i { case 0: return &v.state case 1: @@ -9152,7 +9628,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddPriceFeeders); i { + switch v := v.(*MsgRemoveAssetInfoResponse); i { case 0: return &v.state case 1: @@ -9164,7 +9640,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddPriceFeedersResponse); i { + switch v := v.(*MsgAddPriceFeeders); i { case 0: return &v.state case 1: @@ -9176,7 +9652,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemovePriceFeeders); i { + switch v := v.(*MsgAddPriceFeedersResponse); i { case 0: return &v.state case 1: @@ -9188,7 +9664,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemovePriceFeedersResponse); i { + switch v := v.(*MsgRemovePriceFeeders); i { case 0: return &v.state case 1: @@ -9200,7 +9676,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateParams); i { + switch v := v.(*MsgRemovePriceFeedersResponse); i { case 0: return &v.state case 1: @@ -9212,7 +9688,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateParamsResponse); i { + switch v := v.(*MsgUpdateParams); i { case 0: return &v.state case 1: @@ -9224,7 +9700,7 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgCreateAssetInfo); i { + switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state case 1: @@ -9236,6 +9712,18 @@ func file_elys_oracle_tx_proto_init() { } } file_elys_oracle_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgCreateAssetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_elys_oracle_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgCreateAssetInfoResponse); i { case 0: return &v.state @@ -9254,7 +9742,7 @@ func file_elys_oracle_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_elys_oracle_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 18, + NumMessages: 19, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/elys/oracle/tx.proto b/proto/elys/oracle/tx.proto index 5679facd7..171a187d3 100644 --- a/proto/elys/oracle/tx.proto +++ b/proto/elys/oracle/tx.proto @@ -37,9 +37,8 @@ service Msg { // this line is used by starport scaffolding # proto/tx/rpc rpc CreateAssetInfo(MsgCreateAssetInfo) returns (MsgCreateAssetInfoResponse); } -message MsgFeedPrice { - option (cosmos.msg.v1.signer) = "provider"; - option (amino.name) = "oracle/MsgFeedPrice"; + +message FeedPrice { string asset = 1; string price = 2 [ (cosmos_proto.scalar) = "cosmos.Dec", @@ -47,7 +46,12 @@ message MsgFeedPrice { (gogoproto.nullable) = false ]; string source = 3; - string provider = 4 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; +} +message MsgFeedPrice { + option (cosmos.msg.v1.signer) = "provider"; + option (amino.name) = "oracle/MsgFeedPrice"; + string provider = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + FeedPrice feed_price = 2 [ (gogoproto.nullable) = false ]; } message MsgFeedPriceResponse {} @@ -73,7 +77,7 @@ message MsgFeedMultiplePrices { option (cosmos.msg.v1.signer) = "creator"; option (amino.name) = "oracle/MsgFeedMultiplePrices"; string creator = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - repeated Price prices = 2 [ (gogoproto.nullable) = false ]; + repeated FeedPrice feed_prices = 2 [ (gogoproto.nullable) = false ]; } message MsgFeedMultiplePricesResponse {} diff --git a/x/accountedpool/types/query.pb.go b/x/accountedpool/types/query.pb.go index 8baceeffa..80e07df7e 100644 --- a/x/accountedpool/types/query.pb.go +++ b/x/accountedpool/types/query.pb.go @@ -356,7 +356,6 @@ func _Query_AccountedPoolAll_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.accountedpool.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/accountedpool/types/tx.pb.go b/x/accountedpool/types/tx.pb.go index 41a8b321c..154953843 100644 --- a/x/accountedpool/types/tx.pb.go +++ b/x/accountedpool/types/tx.pb.go @@ -78,7 +78,6 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.accountedpool.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/amm/types/query.pb.go b/x/amm/types/query.pb.go index 18c731e26..b3e8b7446 100644 --- a/x/amm/types/query.pb.go +++ b/x/amm/types/query.pb.go @@ -2112,7 +2112,6 @@ func _Query_SwapEstimationByDenom_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.amm.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/amm/types/tx.pb.go b/x/amm/types/tx.pb.go index 243168dde..1f3bb4b19 100644 --- a/x/amm/types/tx.pb.go +++ b/x/amm/types/tx.pb.go @@ -1588,7 +1588,6 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.amm.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/assetprofile/types/query.pb.go b/x/assetprofile/types/query.pb.go index 6ae69bea4..c5be1ecdc 100644 --- a/x/assetprofile/types/query.pb.go +++ b/x/assetprofile/types/query.pb.go @@ -604,7 +604,6 @@ func _Query_EntryAll_Handler(srv interface{}, ctx context.Context, dec func(inte return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.assetprofile.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/assetprofile/types/tx.pb.go b/x/assetprofile/types/tx.pb.go index 39985877f..43afdc982 100644 --- a/x/assetprofile/types/tx.pb.go +++ b/x/assetprofile/types/tx.pb.go @@ -764,7 +764,6 @@ func _Msg_AddEntry_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.assetprofile.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/burner/types/query.pb.go b/x/burner/types/query.pb.go index 6cbaf0b42..3bd23c387 100644 --- a/x/burner/types/query.pb.go +++ b/x/burner/types/query.pb.go @@ -487,7 +487,6 @@ func _Query_HistoryAll_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.burner.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/burner/types/tx.pb.go b/x/burner/types/tx.pb.go index 60d1f9825..c30813fb1 100644 --- a/x/burner/types/tx.pb.go +++ b/x/burner/types/tx.pb.go @@ -218,7 +218,6 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.burner.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/commitment/types/query.pb.go b/x/commitment/types/query.pb.go index d16220858..8d33b49d7 100644 --- a/x/commitment/types/query.pb.go +++ b/x/commitment/types/query.pb.go @@ -817,7 +817,6 @@ func _Query_CommitmentVestingInfo_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.commitment.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/commitment/types/tx.pb.go b/x/commitment/types/tx.pb.go index 1fc3973e6..8f65161fb 100644 --- a/x/commitment/types/tx.pb.go +++ b/x/commitment/types/tx.pb.go @@ -1468,7 +1468,6 @@ func _Msg_Unstake_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.commitment.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/epochs/types/query.pb.go b/x/epochs/types/query.pb.go index 45a4d5bbd..85ca8b0b0 100644 --- a/x/epochs/types/query.pb.go +++ b/x/epochs/types/query.pb.go @@ -372,7 +372,6 @@ func _Query_CurrentEpoch_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.epochs.v1.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/estaking/types/query.pb.go b/x/estaking/types/query.pb.go index 63b24e68b..0b4b58eb8 100644 --- a/x/estaking/types/query.pb.go +++ b/x/estaking/types/query.pb.go @@ -535,7 +535,6 @@ func _Query_Invariant_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.estaking.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/estaking/types/tx.pb.go b/x/estaking/types/tx.pb.go index 2187e633f..a9d5a880a 100644 --- a/x/estaking/types/tx.pb.go +++ b/x/estaking/types/tx.pb.go @@ -645,7 +645,6 @@ func _Msg_WithdrawAllRewards_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.estaking.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/leveragelp/types/query.pb.go b/x/leveragelp/types/query.pb.go index 45b5f8f20..a6dbbc076 100644 --- a/x/leveragelp/types/query.pb.go +++ b/x/leveragelp/types/query.pb.go @@ -2158,7 +2158,6 @@ func _Query_CommittedTokensLocked_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.leveragelp.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/leveragelp/types/tx.pb.go b/x/leveragelp/types/tx.pb.go index 6aecc1755..cda344e01 100644 --- a/x/leveragelp/types/tx.pb.go +++ b/x/leveragelp/types/tx.pb.go @@ -1436,7 +1436,6 @@ func _Msg_ClosePositions_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.leveragelp.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/masterchef/types/query.pb.go b/x/masterchef/types/query.pb.go index 087908b38..0148b56e4 100644 --- a/x/masterchef/types/query.pb.go +++ b/x/masterchef/types/query.pb.go @@ -1957,7 +1957,6 @@ func _Query_PoolRewards_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.masterchef.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/masterchef/types/tx.pb.go b/x/masterchef/types/tx.pb.go index 5912f2a37..ca3a9ae67 100644 --- a/x/masterchef/types/tx.pb.go +++ b/x/masterchef/types/tx.pb.go @@ -952,7 +952,6 @@ func _Msg_TogglePoolEdenRewards_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.masterchef.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/oracle/keeper/msg_server_feed_multiple_prices.go b/x/oracle/keeper/msg_server_feed_multiple_prices.go index f51e864e8..65f9a8e85 100644 --- a/x/oracle/keeper/msg_server_feed_multiple_prices.go +++ b/x/oracle/keeper/msg_server_feed_multiple_prices.go @@ -2,7 +2,6 @@ package keeper import ( "context" - sdk "github.com/cosmos/cosmos-sdk/types" "github.com/elys-network/elys/x/oracle/types" ) @@ -20,10 +19,15 @@ func (k msgServer) FeedMultiplePrices(goCtx context.Context, msg *types.MsgFeedM return nil, types.ErrPriceFeederNotActive } - for _, price := range msg.Prices { - price.Provider = msg.Creator - price.Timestamp = uint64(ctx.BlockTime().Unix()) - price.BlockHeight = uint64(ctx.BlockHeight()) + for _, feedPrice := range msg.FeedPrices { + price := types.Price{ + Asset: feedPrice.Asset, + Price: feedPrice.Price, + Source: feedPrice.Source, + Provider: msg.Creator, + Timestamp: uint64(ctx.BlockTime().Unix()), + BlockHeight: uint64(ctx.BlockHeight()), + } k.SetPrice(ctx, price) } diff --git a/x/oracle/keeper/msg_server_price.go b/x/oracle/keeper/msg_server_price.go index a843f3c76..e15d22163 100644 --- a/x/oracle/keeper/msg_server_price.go +++ b/x/oracle/keeper/msg_server_price.go @@ -21,10 +21,10 @@ func (k msgServer) FeedPrice(goCtx context.Context, msg *types.MsgFeedPrice) (*t } price := types.Price{ + Asset: msg.FeedPrice.Asset, + Price: msg.FeedPrice.Price, + Source: msg.FeedPrice.Source, Provider: msg.Provider, - Asset: msg.Asset, - Price: msg.Price, - Source: msg.Source, Timestamp: uint64(ctx.BlockTime().Unix()), BlockHeight: uint64(ctx.BlockHeight()), } diff --git a/x/oracle/keeper/msg_server_price_test.go b/x/oracle/keeper/msg_server_price_test.go index e9af8b8ff..0c7a209fc 100644 --- a/x/oracle/keeper/msg_server_price_test.go +++ b/x/oracle/keeper/msg_server_price_test.go @@ -21,13 +21,15 @@ func (suite *KeeperTestSuite) TestPriceMsgServerCreate() { for i := 0; i < 5; i++ { expected := &types.MsgFeedPrice{ Provider: creator, - Asset: strconv.Itoa(i), - Source: "elys", - Price: math.LegacyOneDec(), + FeedPrice: types.FeedPrice{ + Asset: strconv.Itoa(i), + Source: "elys", + Price: math.LegacyOneDec(), + }, } _, err := srv.FeedPrice(ctx, expected) suite.Require().NoError(err) - rst, found := k.GetPrice(ctx, expected.Asset, expected.Source, uint64(ctx.BlockTime().Unix())) + rst, found := k.GetPrice(ctx, expected.FeedPrice.Asset, expected.FeedPrice.Source, uint64(ctx.BlockTime().Unix())) suite.Require().True(found) suite.Require().Equal(expected.Provider, rst.Provider) } diff --git a/x/oracle/simulation/price.go b/x/oracle/simulation/price.go index fbc9b1fb3..5ddf1a1ff 100644 --- a/x/oracle/simulation/price.go +++ b/x/oracle/simulation/price.go @@ -25,11 +25,13 @@ func SimulateMsgFeedPrice( i := r.Int() msg := &types.MsgFeedPrice{ Provider: simAccount.Address.String(), - Asset: "asset" + strconv.Itoa(i), - Source: types.BAND, + FeedPrice: types.FeedPrice{ + Asset: "asset" + strconv.Itoa(i), + Source: types.BAND, + }, } - _, found := k.GetPrice(ctx, msg.Asset, msg.Source, uint64(ctx.BlockTime().Unix())) + _, found := k.GetPrice(ctx, msg.FeedPrice.Asset, msg.FeedPrice.Source, uint64(ctx.BlockTime().Unix())) if found { return simtypes.NoOpMsg(types.ModuleName, sdk.MsgTypeURL(&types.MsgFeedPrice{}), "Price already exist"), nil, nil } diff --git a/x/oracle/types/message_feed_multiple_prices.go b/x/oracle/types/message_feed_multiple_prices.go index 0f3916471..fe91089a1 100644 --- a/x/oracle/types/message_feed_multiple_prices.go +++ b/x/oracle/types/message_feed_multiple_prices.go @@ -15,37 +15,13 @@ func (msg *MsgFeedMultiplePrices) ValidateBasic() error { return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } - if len(msg.Prices) == 0 { + if len(msg.FeedPrices) == 0 { return fmt.Errorf("no prices provided") } - for _, price := range msg.Prices { - if price.Price.IsNil() { - return errorsmod.Wrapf(ErrInvalidPrice, "price is nil") - } - - if price.Price.IsNegative() { - return errorsmod.Wrapf(ErrInvalidPrice, "price is negative") - } - - if err = sdk.ValidateDenom(price.Asset); err != nil { - return err - } - - if len(price.Source) == 0 { - return errorsmod.Wrapf(ErrInvalidPrice, "source is empty") - } - - if len(price.Provider) == 0 { - return errorsmod.Wrapf(ErrInvalidPrice, "provider is empty") - } - - if price.BlockHeight == 0 { - return errorsmod.Wrapf(ErrInvalidPrice, "block height is zero") - } - - if price.Timestamp == 0 { - return errorsmod.Wrapf(ErrInvalidPrice, "timestamp is zero") + for _, price := range msg.FeedPrices { + if err = price.Validate(); err != nil { + return errorsmod.Wrapf(ErrInvalidPrice, "invalid price (%s)", err) } } return nil diff --git a/x/oracle/types/message_feed_multiple_prices_test.go b/x/oracle/types/message_feed_multiple_prices_test.go index e7d3dc77b..5f7dedb7e 100644 --- a/x/oracle/types/message_feed_multiple_prices_test.go +++ b/x/oracle/types/message_feed_multiple_prices_test.go @@ -27,14 +27,11 @@ func TestMsgFeedMultiplePrices_ValidateBasic(t *testing.T) { name: "valid address", msg: types.MsgFeedMultiplePrices{ Creator: sample.AccAddress(), - Prices: []types.Price{ + FeedPrices: []types.FeedPrice{ { - Asset: ptypes.ATOM, - Price: math.LegacyOneDec(), - Source: "source", - Provider: "provider", - Timestamp: 1, - BlockHeight: 1, + Asset: ptypes.ATOM, + Price: math.LegacyOneDec(), + Source: "source", }, }, }, diff --git a/x/oracle/types/messages_price.go b/x/oracle/types/messages_price.go index 509639810..5560dc27f 100644 --- a/x/oracle/types/messages_price.go +++ b/x/oracle/types/messages_price.go @@ -3,7 +3,6 @@ package types import ( errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" - "fmt" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -18,32 +17,42 @@ func NewMsgFeedPrice( ) *MsgFeedPrice { return &MsgFeedPrice{ Provider: creator, - Asset: asset, - Price: price, - Source: source, + FeedPrice: FeedPrice{ + Asset: asset, + Price: price, + Source: source, + }, } } -func (msg *MsgFeedPrice) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(msg.Provider) - if err != nil { - return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid provider address (%s)", err) - } - - if msg.Price.IsNil() { +func (price FeedPrice) Validate() error { + if price.Price.IsNil() { return errorsmod.Wrapf(ErrInvalidPrice, "price is nil") } - if msg.Price.IsNegative() { + if price.Price.IsNegative() { return errorsmod.Wrapf(ErrInvalidPrice, "price is negative") } - if err = sdk.ValidateDenom(msg.Asset); err != nil { + if err := sdk.ValidateDenom(price.Asset); err != nil { return err } - if len(msg.Source) == 0 { - return fmt.Errorf("source is empty") + if len(price.Source) == 0 { + return errorsmod.Wrapf(ErrInvalidPrice, "source is empty") + } + + return nil +} + +func (msg *MsgFeedPrice) ValidateBasic() error { + _, err := sdk.AccAddressFromBech32(msg.Provider) + if err != nil { + return errorsmod.Wrapf(sdkerrors.ErrInvalidAddress, "invalid provider address (%s)", err) + } + + if err = msg.FeedPrice.Validate(); err != nil { + return errorsmod.Wrapf(ErrInvalidPrice, "invalid price (%s)", err) } return nil diff --git a/x/oracle/types/messages_price_test.go b/x/oracle/types/messages_price_test.go index 44ec0e55f..cbcad797a 100644 --- a/x/oracle/types/messages_price_test.go +++ b/x/oracle/types/messages_price_test.go @@ -27,9 +27,11 @@ func TestMsgFeedPrice_ValidateBasic(t *testing.T) { name: "valid address", msg: types.MsgFeedPrice{ Provider: sample.AccAddress(), - Price: sdkmath.LegacyMustNewDecFromStr("100"), - Asset: ptypes.ATOM, - Source: "source", + FeedPrice: types.FeedPrice{ + Price: sdkmath.LegacyMustNewDecFromStr("100"), + Asset: ptypes.ATOM, + Source: "source", + }, }, }, } diff --git a/x/oracle/types/query.pb.go b/x/oracle/types/query.pb.go index 8b2c2f4fd..38e20e060 100644 --- a/x/oracle/types/query.pb.go +++ b/x/oracle/types/query.pb.go @@ -1280,7 +1280,6 @@ func _Query_PriceFeederAll_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.oracle.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/oracle/types/tx.pb.go b/x/oracle/types/tx.pb.go index ff170914e..d88ee7690 100644 --- a/x/oracle/types/tx.pb.go +++ b/x/oracle/types/tx.pb.go @@ -33,18 +33,69 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +type FeedPrice struct { + Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` + Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` + Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` +} + +func (m *FeedPrice) Reset() { *m = FeedPrice{} } +func (m *FeedPrice) String() string { return proto.CompactTextString(m) } +func (*FeedPrice) ProtoMessage() {} +func (*FeedPrice) Descriptor() ([]byte, []int) { + return fileDescriptor_f1fcab3fbd407da0, []int{0} +} +func (m *FeedPrice) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FeedPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FeedPrice.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 *FeedPrice) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeedPrice.Merge(m, src) +} +func (m *FeedPrice) XXX_Size() int { + return m.Size() +} +func (m *FeedPrice) XXX_DiscardUnknown() { + xxx_messageInfo_FeedPrice.DiscardUnknown(m) +} + +var xxx_messageInfo_FeedPrice proto.InternalMessageInfo + +func (m *FeedPrice) GetAsset() string { + if m != nil { + return m.Asset + } + return "" +} + +func (m *FeedPrice) GetSource() string { + if m != nil { + return m.Source + } + return "" +} + type MsgFeedPrice struct { - Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` - Price cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"` - Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` - Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` + Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` + FeedPrice FeedPrice `protobuf:"bytes,2,opt,name=feed_price,json=feedPrice,proto3" json:"feed_price"` } func (m *MsgFeedPrice) Reset() { *m = MsgFeedPrice{} } func (m *MsgFeedPrice) String() string { return proto.CompactTextString(m) } func (*MsgFeedPrice) ProtoMessage() {} func (*MsgFeedPrice) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{0} + return fileDescriptor_f1fcab3fbd407da0, []int{1} } func (m *MsgFeedPrice) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,25 +124,18 @@ func (m *MsgFeedPrice) XXX_DiscardUnknown() { var xxx_messageInfo_MsgFeedPrice proto.InternalMessageInfo -func (m *MsgFeedPrice) GetAsset() string { - if m != nil { - return m.Asset - } - return "" -} - -func (m *MsgFeedPrice) GetSource() string { +func (m *MsgFeedPrice) GetProvider() string { if m != nil { - return m.Source + return m.Provider } return "" } -func (m *MsgFeedPrice) GetProvider() string { +func (m *MsgFeedPrice) GetFeedPrice() FeedPrice { if m != nil { - return m.Provider + return m.FeedPrice } - return "" + return FeedPrice{} } type MsgFeedPriceResponse struct { @@ -101,7 +145,7 @@ func (m *MsgFeedPriceResponse) Reset() { *m = MsgFeedPriceResponse{} } func (m *MsgFeedPriceResponse) String() string { return proto.CompactTextString(m) } func (*MsgFeedPriceResponse) ProtoMessage() {} func (*MsgFeedPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{1} + return fileDescriptor_f1fcab3fbd407da0, []int{2} } func (m *MsgFeedPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -139,7 +183,7 @@ func (m *MsgSetPriceFeeder) Reset() { *m = MsgSetPriceFeeder{} } func (m *MsgSetPriceFeeder) String() string { return proto.CompactTextString(m) } func (*MsgSetPriceFeeder) ProtoMessage() {} func (*MsgSetPriceFeeder) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{2} + return fileDescriptor_f1fcab3fbd407da0, []int{3} } func (m *MsgSetPriceFeeder) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -189,7 +233,7 @@ func (m *MsgSetPriceFeederResponse) Reset() { *m = MsgSetPriceFeederResp func (m *MsgSetPriceFeederResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetPriceFeederResponse) ProtoMessage() {} func (*MsgSetPriceFeederResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{3} + return fileDescriptor_f1fcab3fbd407da0, []int{4} } func (m *MsgSetPriceFeederResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -226,7 +270,7 @@ func (m *MsgDeletePriceFeeder) Reset() { *m = MsgDeletePriceFeeder{} } func (m *MsgDeletePriceFeeder) String() string { return proto.CompactTextString(m) } func (*MsgDeletePriceFeeder) ProtoMessage() {} func (*MsgDeletePriceFeeder) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{4} + return fileDescriptor_f1fcab3fbd407da0, []int{5} } func (m *MsgDeletePriceFeeder) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -269,7 +313,7 @@ func (m *MsgDeletePriceFeederResponse) Reset() { *m = MsgDeletePriceFeed func (m *MsgDeletePriceFeederResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeletePriceFeederResponse) ProtoMessage() {} func (*MsgDeletePriceFeederResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{5} + return fileDescriptor_f1fcab3fbd407da0, []int{6} } func (m *MsgDeletePriceFeederResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -299,15 +343,15 @@ func (m *MsgDeletePriceFeederResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDeletePriceFeederResponse proto.InternalMessageInfo type MsgFeedMultiplePrices struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Prices []Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + FeedPrices []FeedPrice `protobuf:"bytes,2,rep,name=feed_prices,json=feedPrices,proto3" json:"feed_prices"` } func (m *MsgFeedMultiplePrices) Reset() { *m = MsgFeedMultiplePrices{} } func (m *MsgFeedMultiplePrices) String() string { return proto.CompactTextString(m) } func (*MsgFeedMultiplePrices) ProtoMessage() {} func (*MsgFeedMultiplePrices) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{6} + return fileDescriptor_f1fcab3fbd407da0, []int{7} } func (m *MsgFeedMultiplePrices) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -343,9 +387,9 @@ func (m *MsgFeedMultiplePrices) GetCreator() string { return "" } -func (m *MsgFeedMultiplePrices) GetPrices() []Price { +func (m *MsgFeedMultiplePrices) GetFeedPrices() []FeedPrice { if m != nil { - return m.Prices + return m.FeedPrices } return nil } @@ -357,7 +401,7 @@ func (m *MsgFeedMultiplePricesResponse) Reset() { *m = MsgFeedMultiplePr func (m *MsgFeedMultiplePricesResponse) String() string { return proto.CompactTextString(m) } func (*MsgFeedMultiplePricesResponse) ProtoMessage() {} func (*MsgFeedMultiplePricesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{7} + return fileDescriptor_f1fcab3fbd407da0, []int{8} } func (m *MsgFeedMultiplePricesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -395,7 +439,7 @@ func (m *MsgRemoveAssetInfo) Reset() { *m = MsgRemoveAssetInfo{} } func (m *MsgRemoveAssetInfo) String() string { return proto.CompactTextString(m) } func (*MsgRemoveAssetInfo) ProtoMessage() {} func (*MsgRemoveAssetInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{8} + return fileDescriptor_f1fcab3fbd407da0, []int{9} } func (m *MsgRemoveAssetInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -445,7 +489,7 @@ func (m *MsgRemoveAssetInfoResponse) Reset() { *m = MsgRemoveAssetInfoRe func (m *MsgRemoveAssetInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveAssetInfoResponse) ProtoMessage() {} func (*MsgRemoveAssetInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{9} + return fileDescriptor_f1fcab3fbd407da0, []int{10} } func (m *MsgRemoveAssetInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -483,7 +527,7 @@ func (m *MsgAddPriceFeeders) Reset() { *m = MsgAddPriceFeeders{} } func (m *MsgAddPriceFeeders) String() string { return proto.CompactTextString(m) } func (*MsgAddPriceFeeders) ProtoMessage() {} func (*MsgAddPriceFeeders) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{10} + return fileDescriptor_f1fcab3fbd407da0, []int{11} } func (m *MsgAddPriceFeeders) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -533,7 +577,7 @@ func (m *MsgAddPriceFeedersResponse) Reset() { *m = MsgAddPriceFeedersRe func (m *MsgAddPriceFeedersResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddPriceFeedersResponse) ProtoMessage() {} func (*MsgAddPriceFeedersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{11} + return fileDescriptor_f1fcab3fbd407da0, []int{12} } func (m *MsgAddPriceFeedersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -571,7 +615,7 @@ func (m *MsgRemovePriceFeeders) Reset() { *m = MsgRemovePriceFeeders{} } func (m *MsgRemovePriceFeeders) String() string { return proto.CompactTextString(m) } func (*MsgRemovePriceFeeders) ProtoMessage() {} func (*MsgRemovePriceFeeders) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{12} + return fileDescriptor_f1fcab3fbd407da0, []int{13} } func (m *MsgRemovePriceFeeders) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -621,7 +665,7 @@ func (m *MsgRemovePriceFeedersResponse) Reset() { *m = MsgRemovePriceFee func (m *MsgRemovePriceFeedersResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemovePriceFeedersResponse) ProtoMessage() {} func (*MsgRemovePriceFeedersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{13} + return fileDescriptor_f1fcab3fbd407da0, []int{14} } func (m *MsgRemovePriceFeedersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -660,7 +704,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{14} + return fileDescriptor_f1fcab3fbd407da0, []int{15} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -710,7 +754,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{15} + return fileDescriptor_f1fcab3fbd407da0, []int{16} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -753,7 +797,7 @@ func (m *MsgCreateAssetInfo) Reset() { *m = MsgCreateAssetInfo{} } func (m *MsgCreateAssetInfo) String() string { return proto.CompactTextString(m) } func (*MsgCreateAssetInfo) ProtoMessage() {} func (*MsgCreateAssetInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{16} + return fileDescriptor_f1fcab3fbd407da0, []int{17} } func (m *MsgCreateAssetInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +875,7 @@ func (m *MsgCreateAssetInfoResponse) Reset() { *m = MsgCreateAssetInfoRe func (m *MsgCreateAssetInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateAssetInfoResponse) ProtoMessage() {} func (*MsgCreateAssetInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f1fcab3fbd407da0, []int{17} + return fileDescriptor_f1fcab3fbd407da0, []int{18} } func (m *MsgCreateAssetInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -861,6 +905,7 @@ func (m *MsgCreateAssetInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgCreateAssetInfoResponse proto.InternalMessageInfo func init() { + proto.RegisterType((*FeedPrice)(nil), "elys.oracle.FeedPrice") proto.RegisterType((*MsgFeedPrice)(nil), "elys.oracle.MsgFeedPrice") proto.RegisterType((*MsgFeedPriceResponse)(nil), "elys.oracle.MsgFeedPriceResponse") proto.RegisterType((*MsgSetPriceFeeder)(nil), "elys.oracle.MsgSetPriceFeeder") @@ -884,69 +929,71 @@ func init() { func init() { proto.RegisterFile("elys/oracle/tx.proto", fileDescriptor_f1fcab3fbd407da0) } var fileDescriptor_f1fcab3fbd407da0 = []byte{ - // 992 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x36, 0xfd, 0xa3, 0x58, 0xeb, 0xa0, 0x81, 0x19, 0xd5, 0xa1, 0x68, 0x95, 0x72, 0x89, 0xfe, - 0x38, 0x4a, 0x2d, 0x56, 0x6e, 0xd1, 0x83, 0x6e, 0x76, 0xdd, 0x14, 0x01, 0x2a, 0x20, 0x60, 0x5a, - 0xa0, 0x68, 0x0f, 0xc2, 0x8a, 0x5c, 0xd3, 0x84, 0x45, 0xae, 0xc0, 0x5d, 0xa9, 0xd1, 0x2d, 0xe8, - 0xb1, 0xe8, 0x21, 0x87, 0x9e, 0xfa, 0x02, 0xbd, 0xf4, 0xe0, 0x43, 0x1e, 0x22, 0x40, 0x2f, 0x41, - 0x4e, 0x45, 0x0f, 0x41, 0x61, 0x1f, 0xfc, 0x1a, 0xc5, 0xfe, 0x90, 0x22, 0x97, 0xb2, 0x05, 0xb8, - 0xc8, 0xc5, 0xd6, 0xcc, 0x7c, 0x33, 0xf3, 0xcd, 0xec, 0xec, 0x2c, 0x41, 0x0d, 0x0d, 0xa7, 0xc4, - 0xc1, 0x09, 0xf4, 0x86, 0xc8, 0xa1, 0x4f, 0xdb, 0xa3, 0x04, 0x53, 0xac, 0x6f, 0x30, 0x6d, 0x5b, - 0x68, 0xcd, 0x5a, 0x80, 0x03, 0xcc, 0xf5, 0x0e, 0xfb, 0x25, 0x20, 0xa6, 0xe5, 0x61, 0x12, 0x61, - 0xe2, 0x0c, 0x20, 0x41, 0xce, 0xa4, 0x33, 0x40, 0x14, 0x76, 0x1c, 0x0f, 0x87, 0xb1, 0xb4, 0x37, - 0xf2, 0x81, 0x07, 0x30, 0xf6, 0xfb, 0xa3, 0x24, 0xf4, 0xd0, 0x3c, 0x2b, 0x24, 0x04, 0xd1, 0x7e, - 0x18, 0x1f, 0xa7, 0xb1, 0xef, 0xe5, 0xad, 0x79, 0x37, 0xab, 0x64, 0xe8, 0x1f, 0x23, 0xe4, 0xa3, - 0x44, 0xda, 0x8d, 0x82, 0x1d, 0x26, 0x30, 0x22, 0x69, 0x48, 0x49, 0x37, 0x22, 0x81, 0x33, 0xe9, - 0xb0, 0x7f, 0xd2, 0xb0, 0x09, 0xa3, 0x30, 0xc6, 0x0e, 0xff, 0x2b, 0x55, 0x75, 0x81, 0xed, 0x8b, - 0x9a, 0x85, 0x20, 0x4c, 0xf6, 0xb9, 0x06, 0x6e, 0xf7, 0x48, 0xf0, 0x10, 0x21, 0xff, 0x31, 0x4b, - 0xaf, 0xd7, 0xc0, 0x1a, 0xa7, 0x6f, 0x68, 0x3b, 0xda, 0x6e, 0xd5, 0x15, 0x82, 0xfe, 0x35, 0x58, - 0xe3, 0xec, 0x8c, 0x65, 0xa6, 0x3d, 0xec, 0xbc, 0x7c, 0xd3, 0x5c, 0xfa, 0xe7, 0x4d, 0x73, 0x5b, - 0xc4, 0x22, 0xfe, 0x69, 0x3b, 0xc4, 0x4e, 0x04, 0xe9, 0x49, 0xfb, 0x1b, 0x14, 0x40, 0x6f, 0x7a, - 0x84, 0xbc, 0xd7, 0x2f, 0xf6, 0x80, 0x4c, 0x75, 0x84, 0x3c, 0x57, 0xf8, 0xeb, 0x5b, 0xa0, 0x42, - 0xf0, 0x38, 0xf1, 0x90, 0xb1, 0xc2, 0xe3, 0x4b, 0x49, 0xff, 0x1c, 0xac, 0x8f, 0x12, 0x3c, 0x09, - 0x7d, 0x94, 0x18, 0xab, 0x3c, 0x87, 0xf1, 0xfa, 0xc5, 0x5e, 0x4d, 0x06, 0x38, 0xf0, 0xfd, 0x04, - 0x11, 0xf2, 0x84, 0x26, 0x61, 0x1c, 0xb8, 0x19, 0xb2, 0xfb, 0xe1, 0xcf, 0x97, 0x67, 0xad, 0x4c, - 0xfc, 0xe5, 0xf2, 0xac, 0x75, 0x57, 0xf6, 0x2a, 0x5f, 0x93, 0xbd, 0x05, 0x6a, 0x79, 0xd9, 0x45, - 0x64, 0x84, 0x63, 0x82, 0xec, 0x5f, 0x35, 0xb0, 0xd9, 0x23, 0xc1, 0x13, 0x44, 0xb9, 0xfe, 0x21, - 0xef, 0xbc, 0xfe, 0x29, 0xa8, 0x88, 0x33, 0x10, 0x2d, 0xb8, 0x86, 0x88, 0xc4, 0xe9, 0xdb, 0xa0, - 0x1a, 0x92, 0x3e, 0xf4, 0x68, 0x38, 0x11, 0x1d, 0x5a, 0x77, 0xd7, 0x43, 0x72, 0xc0, 0xe5, 0xee, - 0x2e, 0xe3, 0x28, 0x91, 0x8c, 0xa1, 0x31, 0x63, 0x58, 0x4c, 0x6c, 0x6f, 0x83, 0x7a, 0x49, 0x99, - 0x71, 0x1d, 0xf3, 0x1a, 0x8e, 0xd0, 0x10, 0x51, 0xf4, 0xbf, 0xd8, 0x76, 0x1f, 0x28, 0x84, 0xb6, - 0x67, 0x84, 0x4a, 0xe1, 0x6d, 0x0b, 0x34, 0xe6, 0xe9, 0x33, 0x5a, 0x7f, 0x6a, 0xe0, 0x5d, 0xd9, - 0xdb, 0xde, 0x78, 0x48, 0xc3, 0xd1, 0x50, 0xc0, 0x88, 0xbe, 0x0f, 0x6e, 0x79, 0x09, 0x82, 0x14, - 0x2f, 0x66, 0x96, 0x02, 0x59, 0x31, 0x7c, 0x4c, 0x88, 0xb1, 0xbc, 0xb3, 0xb2, 0xbb, 0xb1, 0xaf, - 0xb7, 0x73, 0xf7, 0xb6, 0xcd, 0x03, 0x1f, 0xae, 0xb2, 0xd9, 0x73, 0x25, 0xae, 0xbb, 0xc7, 0x8a, - 0x49, 0xfd, 0x59, 0x35, 0x8d, 0xe2, 0x00, 0x14, 0x49, 0xd9, 0x4d, 0xf0, 0xde, 0x5c, 0x43, 0x56, - 0xcf, 0x73, 0x0d, 0xe8, 0x3d, 0x12, 0xb8, 0x28, 0xc2, 0x13, 0x74, 0xc0, 0x66, 0xff, 0x51, 0x7c, - 0x8c, 0xf5, 0x2f, 0x40, 0x15, 0x8e, 0xe9, 0x09, 0x4e, 0x42, 0x3a, 0x5d, 0x58, 0xce, 0x0c, 0xca, - 0x6e, 0x93, 0x8f, 0x62, 0x1c, 0x89, 0x7b, 0xe3, 0x0a, 0xa1, 0xfb, 0x09, 0x23, 0x3d, 0x43, 0x31, - 0xda, 0xf5, 0x19, 0x6d, 0x25, 0xb7, 0xdd, 0x00, 0x66, 0x59, 0x9b, 0x11, 0xfe, 0x4d, 0x10, 0x3e, - 0xf0, 0xfd, 0xdc, 0xf1, 0x90, 0x1b, 0x13, 0x36, 0xc0, 0x2d, 0x31, 0x19, 0xe2, 0x08, 0xaa, 0x6e, - 0x2a, 0x2e, 0x20, 0xad, 0xe4, 0x97, 0xa4, 0x15, 0x6d, 0x46, 0xfa, 0x77, 0x31, 0x35, 0xa2, 0xa6, - 0xb7, 0xcc, 0xdb, 0x29, 0xf3, 0x6e, 0xa8, 0xcd, 0x2e, 0x50, 0x17, 0x33, 0x52, 0x36, 0x64, 0xec, - 0xff, 0xd0, 0xc0, 0x9d, 0x1e, 0x09, 0xbe, 0x1b, 0xf9, 0x90, 0xa2, 0xc7, 0x7c, 0x29, 0xdf, 0x98, - 0x77, 0x07, 0x54, 0xc4, 0x5a, 0xe7, 0x13, 0xb2, 0xb1, 0x7f, 0xb7, 0x38, 0xf1, 0xdc, 0x94, 0x8d, - 0x3c, 0x97, 0xba, 0xf7, 0xcb, 0x05, 0x6d, 0xcd, 0x0a, 0xca, 0xb3, 0xb2, 0xeb, 0xe0, 0x9e, 0xa2, - 0xca, 0x8a, 0x78, 0xb6, 0xcc, 0xe7, 0xe6, 0x4b, 0x76, 0x73, 0x72, 0x83, 0x7e, 0x93, 0x5b, 0x3b, - 0x77, 0xc8, 0xd9, 0x89, 0xf8, 0x21, 0x19, 0x0d, 0xe1, 0x54, 0xae, 0xfa, 0x54, 0xd4, 0x9b, 0x60, - 0x83, 0xbf, 0x9f, 0x34, 0xf4, 0x4e, 0xd3, 0x75, 0xef, 0x02, 0xa6, 0xfa, 0x96, 0x6b, 0x18, 0x80, - 0x75, 0x21, 0x05, 0xac, 0x09, 0x00, 0x53, 0x49, 0x00, 0x8b, 0x8d, 0xbc, 0x30, 0x82, 0x43, 0xa3, - 0xb2, 0xa3, 0xed, 0xae, 0xba, 0xa9, 0xd8, 0x6d, 0xa9, 0xfb, 0x20, 0x37, 0xa3, 0x4a, 0xad, 0x72, - 0x46, 0x15, 0x6d, 0xda, 0xa0, 0xfd, 0xbf, 0x2a, 0x60, 0xa5, 0x47, 0x02, 0xfd, 0x11, 0xa8, 0xce, - 0x5e, 0xc7, 0x7a, 0xe1, 0x78, 0xf2, 0x8f, 0x8a, 0xf9, 0xfe, 0x95, 0xa6, 0x34, 0xa4, 0xee, 0x03, - 0x7d, 0xce, 0xa2, 0xb4, 0xe7, 0x39, 0x16, 0x31, 0x66, 0x6b, 0x31, 0x26, 0xcb, 0xf2, 0x3d, 0x78, - 0x47, 0x79, 0xd1, 0x2c, 0xd5, 0xbb, 0x68, 0x37, 0x3f, 0xba, 0xde, 0x9e, 0x45, 0x86, 0x60, 0xb3, - 0xfc, 0x00, 0x95, 0xea, 0x2e, 0x41, 0xcc, 0xfb, 0x0b, 0x21, 0x59, 0x8a, 0x1f, 0xc1, 0x1d, 0x75, - 0xf7, 0x36, 0x55, 0x6f, 0x05, 0x60, 0x7e, 0xbc, 0x00, 0x90, 0x0f, 0xae, 0xee, 0xc9, 0x52, 0x70, - 0x05, 0x50, 0x0e, 0x7e, 0xc5, 0x4e, 0x63, 0x87, 0x3b, 0x67, 0x9f, 0xd9, 0xf3, 0xb9, 0x15, 0x52, - 0xb4, 0x16, 0x63, 0xb2, 0x2c, 0x2e, 0xb8, 0x5d, 0xd8, 0x3b, 0x0d, 0xd5, 0x37, 0x6f, 0x35, 0x3f, - 0xb8, 0xce, 0x9a, 0x6f, 0x8b, 0xba, 0x06, 0x4a, 0x6d, 0x51, 0x00, 0xe5, 0xb6, 0x5c, 0x71, 0x8d, - 0xcc, 0xb5, 0x67, 0x97, 0x67, 0x2d, 0xed, 0xf0, 0xab, 0x97, 0xe7, 0x96, 0xf6, 0xea, 0xdc, 0xd2, - 0xfe, 0x3d, 0xb7, 0xb4, 0xe7, 0x17, 0xd6, 0xd2, 0xab, 0x0b, 0x6b, 0xe9, 0xef, 0x0b, 0x6b, 0xe9, - 0x87, 0x07, 0x41, 0x48, 0x4f, 0xc6, 0x83, 0xb6, 0x87, 0x23, 0x87, 0xc5, 0xdc, 0x8b, 0x11, 0xfd, - 0x09, 0x27, 0xa7, 0x5c, 0x70, 0x9e, 0x66, 0x9f, 0xf2, 0xd3, 0x11, 0x22, 0x83, 0x0a, 0xff, 0x6a, - 0xfd, 0xec, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x7c, 0x86, 0xd0, 0xe6, 0x0b, 0x00, 0x00, + // 1014 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4d, 0x6f, 0xdb, 0x46, + 0x13, 0x36, 0xfd, 0xa1, 0x58, 0xe3, 0xe0, 0x0d, 0xcc, 0xe8, 0x75, 0x28, 0x5a, 0xa5, 0x5c, 0xa2, + 0x1f, 0x8e, 0x52, 0x8b, 0x95, 0x5b, 0xf4, 0xa0, 0xa2, 0x07, 0xbb, 0x6e, 0x8a, 0x00, 0x15, 0x10, + 0x30, 0x2d, 0x50, 0xb4, 0x07, 0x81, 0x22, 0xd7, 0x34, 0x61, 0x91, 0x2b, 0x70, 0x29, 0x35, 0xba, + 0x05, 0x39, 0x16, 0x3d, 0xe4, 0xd0, 0x53, 0xff, 0x40, 0x7b, 0xf4, 0x21, 0x97, 0xfe, 0x83, 0x00, + 0xbd, 0x04, 0x39, 0x15, 0x3d, 0x04, 0x85, 0x7d, 0xf0, 0xdf, 0x28, 0x96, 0xbb, 0xfc, 0x5a, 0xca, + 0x21, 0xe0, 0xa2, 0x17, 0x5b, 0x33, 0xf3, 0xec, 0x33, 0xcf, 0xec, 0xce, 0xce, 0x4a, 0xd0, 0x40, + 0xe3, 0x39, 0x31, 0x70, 0x68, 0xd9, 0x63, 0x64, 0x44, 0x8f, 0xbb, 0x93, 0x10, 0x47, 0x58, 0xde, + 0xa0, 0xde, 0x2e, 0xf3, 0xaa, 0x0d, 0x17, 0xbb, 0x38, 0xf6, 0x1b, 0xf4, 0x13, 0x83, 0xa8, 0x9a, + 0x8d, 0x89, 0x8f, 0x89, 0x31, 0xb2, 0x08, 0x32, 0x66, 0xbd, 0x11, 0x8a, 0xac, 0x9e, 0x61, 0x63, + 0x2f, 0xe0, 0xf1, 0x56, 0x9e, 0x78, 0x64, 0x05, 0xce, 0x70, 0x12, 0x7a, 0x36, 0x5a, 0x14, 0xb5, + 0x08, 0x41, 0xd1, 0xd0, 0x0b, 0x8e, 0x13, 0xee, 0x3b, 0xf9, 0x68, 0x7e, 0x99, 0x56, 0x0a, 0x0c, + 0x8f, 0x11, 0x72, 0x50, 0xc8, 0xe3, 0x4a, 0x21, 0x6e, 0x85, 0x96, 0x4f, 0x12, 0x4a, 0x2e, 0xd7, + 0x27, 0xae, 0x31, 0xeb, 0xd1, 0x7f, 0x3c, 0xb0, 0x69, 0xf9, 0x5e, 0x80, 0x8d, 0xf8, 0x2f, 0x77, + 0x35, 0x19, 0x76, 0xc8, 0x6a, 0x66, 0x06, 0x0b, 0xe9, 0x4f, 0x25, 0xa8, 0xdf, 0x47, 0xc8, 0x79, + 0x48, 0x73, 0xcb, 0x0d, 0x58, 0x8b, 0xb5, 0x2b, 0xd2, 0x8e, 0xb4, 0x5b, 0x37, 0x99, 0x21, 0x7f, + 0x09, 0x6b, 0xb1, 0x34, 0x65, 0x99, 0x7a, 0x0f, 0x7b, 0x2f, 0x5e, 0xb7, 0x97, 0xfe, 0x7a, 0xdd, + 0xde, 0x66, 0x44, 0xc4, 0x39, 0xed, 0x7a, 0xd8, 0xf0, 0xad, 0xe8, 0xa4, 0xfb, 0x15, 0x72, 0x2d, + 0x7b, 0x7e, 0x84, 0xec, 0x57, 0xcf, 0xf7, 0x80, 0xe7, 0x39, 0x42, 0xb6, 0xc9, 0xd6, 0xcb, 0x5b, + 0x50, 0x23, 0x78, 0x1a, 0xda, 0x48, 0x59, 0x89, 0xf9, 0xb9, 0xa5, 0xff, 0x26, 0xc1, 0xcd, 0x01, + 0x71, 0x33, 0x1d, 0x1f, 0xc3, 0xfa, 0x24, 0xc4, 0x33, 0xcf, 0x41, 0x21, 0x93, 0x72, 0xa8, 0xbc, + 0x7a, 0xbe, 0xd7, 0xe0, 0x8c, 0x07, 0x8e, 0x13, 0x22, 0x42, 0x1e, 0x45, 0xa1, 0x17, 0xb8, 0x66, + 0x8a, 0x94, 0x3f, 0x05, 0xa0, 0x9b, 0x37, 0xcc, 0xc4, 0x6e, 0xec, 0x6f, 0x75, 0x73, 0x27, 0xdf, + 0x4d, 0x33, 0x1c, 0xae, 0xd2, 0x22, 0xcc, 0xfa, 0x71, 0xe2, 0xe8, 0xbf, 0xfb, 0xf4, 0xf2, 0xac, + 0x93, 0x72, 0xfd, 0x78, 0x79, 0xd6, 0xb9, 0xcd, 0xb7, 0x3d, 0xaf, 0x4c, 0xdf, 0x82, 0x46, 0xde, + 0x36, 0x11, 0x99, 0xe0, 0x80, 0x20, 0xfd, 0x27, 0x09, 0x36, 0x07, 0xc4, 0x7d, 0x84, 0xa2, 0xd8, + 0x7f, 0x3f, 0x3e, 0x44, 0xf9, 0x43, 0xa8, 0xb1, 0xe3, 0xac, 0xac, 0x82, 0xe3, 0xe4, 0x6d, 0xa8, + 0x7b, 0x64, 0x68, 0xd9, 0x91, 0x37, 0x63, 0x25, 0xac, 0x9b, 0xeb, 0x1e, 0x39, 0x88, 0xed, 0xfe, + 0x2e, 0xd5, 0xc8, 0x91, 0x54, 0xa1, 0x92, 0x29, 0x2c, 0x26, 0xd6, 0xb7, 0xa1, 0x59, 0x72, 0xa6, + 0x5a, 0xa7, 0x71, 0x0d, 0x47, 0x68, 0x8c, 0x22, 0xf4, 0xaf, 0xd4, 0xf6, 0xef, 0x09, 0x82, 0xb6, + 0x33, 0x41, 0x25, 0x7a, 0x5d, 0x83, 0xd6, 0x22, 0x7f, 0x2a, 0xeb, 0x77, 0x09, 0xfe, 0xcf, 0xf7, + 0x76, 0x30, 0x1d, 0x47, 0xde, 0x64, 0xcc, 0x60, 0x44, 0xde, 0x87, 0x1b, 0x76, 0x88, 0xac, 0x08, + 0x57, 0x2b, 0x4b, 0x80, 0xf2, 0x67, 0xb0, 0x91, 0x35, 0x03, 0x51, 0x96, 0x77, 0x56, 0x2a, 0xbb, + 0x01, 0xd2, 0x6e, 0x20, 0xfd, 0x3d, 0x5a, 0x59, 0x42, 0x46, 0x4b, 0x6b, 0x15, 0xbb, 0xa1, 0xa8, + 0x50, 0x6f, 0xc3, 0x5b, 0x0b, 0x03, 0x69, 0x71, 0xcf, 0x24, 0x90, 0x07, 0xc4, 0x35, 0x91, 0x8f, + 0x67, 0xe8, 0x80, 0x5e, 0xab, 0x07, 0xc1, 0x31, 0x96, 0x3f, 0x81, 0xba, 0x35, 0x8d, 0x4e, 0x70, + 0xe8, 0x45, 0xf3, 0xca, 0xda, 0x32, 0x28, 0xbd, 0xa8, 0x0e, 0x0a, 0xb0, 0xcf, 0xae, 0xa4, 0xc9, + 0x8c, 0xfe, 0x07, 0x54, 0x74, 0x86, 0xa2, 0xb2, 0x9b, 0x99, 0x6c, 0x21, 0xb7, 0xde, 0x02, 0xb5, + 0xec, 0x4d, 0x05, 0xff, 0xcc, 0x04, 0x1f, 0x38, 0x4e, 0xee, 0xac, 0xc8, 0xb5, 0x05, 0x2b, 0x70, + 0x83, 0xb5, 0x09, 0x3b, 0x8a, 0xba, 0x99, 0x98, 0x15, 0xa2, 0x85, 0xfc, 0x5c, 0xb4, 0xe0, 0x4d, + 0x45, 0xff, 0xc2, 0x5a, 0x88, 0xd5, 0xf4, 0x1f, 0xeb, 0x36, 0xca, 0xba, 0x5b, 0xe2, 0x66, 0x17, + 0xa4, 0xb3, 0x1e, 0x29, 0x07, 0x52, 0xf5, 0xbf, 0x4a, 0x70, 0x6b, 0x40, 0xdc, 0x6f, 0x26, 0x8e, + 0x15, 0xa1, 0x87, 0xf1, 0xb0, 0xbf, 0xb6, 0xee, 0x1e, 0xd4, 0xd8, 0x73, 0xc1, 0xe7, 0xe0, 0xed, + 0x42, 0xe7, 0x33, 0x72, 0xde, 0xf6, 0x1c, 0xd8, 0xbf, 0x5b, 0x2e, 0x68, 0x2b, 0x2b, 0x28, 0xaf, + 0x4a, 0x6f, 0xc2, 0x1d, 0xc1, 0x95, 0x16, 0xf1, 0x64, 0x39, 0xee, 0x9b, 0xcf, 0xe9, 0xcd, 0xc9, + 0x35, 0xfa, 0x75, 0xae, 0xf0, 0xc2, 0x26, 0xa7, 0x27, 0xe2, 0x78, 0x64, 0x32, 0xb6, 0xe6, 0xfc, + 0x15, 0x49, 0x4c, 0xb9, 0x0d, 0x1b, 0xf1, 0xbb, 0x1c, 0x79, 0xf6, 0x29, 0x0a, 0x95, 0xd5, 0x38, + 0x0a, 0xd4, 0xf5, 0x75, 0xec, 0xa1, 0x00, 0xba, 0x0b, 0x09, 0x60, 0x8d, 0x01, 0xa8, 0x8b, 0x03, + 0x28, 0x37, 0xb2, 0x3d, 0xdf, 0x1a, 0x2b, 0xb5, 0x1d, 0x69, 0x77, 0xd5, 0x4c, 0xcc, 0x7e, 0x47, + 0x9c, 0x07, 0xb9, 0x1e, 0x15, 0x6a, 0xe5, 0x3d, 0x2a, 0x78, 0x93, 0x0d, 0xda, 0xff, 0xa3, 0x06, + 0x2b, 0x03, 0xe2, 0xca, 0x0f, 0xf2, 0x0f, 0x6f, 0xb3, 0x70, 0x3c, 0xf9, 0x17, 0x46, 0x7d, 0xfb, + 0xca, 0x50, 0x42, 0x29, 0x3b, 0x20, 0x2f, 0x98, 0x9a, 0xfa, 0xa2, 0x85, 0x45, 0x8c, 0xda, 0xa9, + 0xc6, 0xa4, 0x59, 0xbe, 0x85, 0xff, 0x09, 0xcf, 0x9b, 0x26, 0xae, 0x2e, 0xc6, 0xd5, 0xf7, 0xde, + 0x1c, 0x4f, 0x99, 0x2d, 0xd8, 0x2c, 0xbf, 0x46, 0xa5, 0xba, 0x4b, 0x10, 0xf5, 0x6e, 0x25, 0x24, + 0x4d, 0xf1, 0x3d, 0xdc, 0x12, 0x67, 0x6f, 0x5b, 0x5c, 0x2d, 0x00, 0xd4, 0xf7, 0x2b, 0x00, 0x79, + 0x72, 0x71, 0x4e, 0x96, 0xc8, 0x05, 0x40, 0x99, 0xfc, 0x8a, 0x99, 0x46, 0x0f, 0x77, 0xc1, 0x3c, + 0xd3, 0x17, 0x6b, 0x2b, 0xa4, 0xe8, 0x54, 0x63, 0xd2, 0x2c, 0x26, 0xdc, 0x2c, 0xcc, 0x9d, 0x96, + 0xb8, 0x36, 0x1f, 0x55, 0xdf, 0x79, 0x53, 0x34, 0xbf, 0x2d, 0xe2, 0x18, 0x28, 0x6d, 0x8b, 0x00, + 0x28, 0x6f, 0xcb, 0x15, 0xd7, 0x48, 0x5d, 0x7b, 0x72, 0x79, 0xd6, 0x91, 0x0e, 0xbf, 0x78, 0x71, + 0xae, 0x49, 0x2f, 0xcf, 0x35, 0xe9, 0xef, 0x73, 0x4d, 0x7a, 0x76, 0xa1, 0x2d, 0xbd, 0xbc, 0xd0, + 0x96, 0xfe, 0xbc, 0xd0, 0x96, 0xbe, 0xbb, 0xe7, 0x7a, 0xd1, 0xc9, 0x74, 0xd4, 0xb5, 0xb1, 0x6f, + 0x50, 0xce, 0xbd, 0x00, 0x45, 0x3f, 0xe0, 0xf0, 0x34, 0x36, 0x8c, 0xc7, 0xe9, 0x4f, 0x84, 0xf9, + 0x04, 0x91, 0x51, 0x2d, 0xfe, 0x36, 0xfc, 0xd1, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x45, 0xc0, + 0xf2, 0x95, 0x3e, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1276,7 +1323,6 @@ func _Msg_CreateAssetInfo_Handler(srv interface{}, ctx context.Context, dec func return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.oracle.Msg", HandlerType: (*MsgServer)(nil), @@ -1322,7 +1368,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Metadata: "elys/oracle/tx.proto", } -func (m *MsgFeedPrice) Marshal() (dAtA []byte, err error) { +func (m *FeedPrice) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1332,23 +1378,16 @@ func (m *MsgFeedPrice) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgFeedPrice) MarshalTo(dAtA []byte) (int, error) { +func (m *FeedPrice) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Provider) > 0 { - i -= len(m.Provider) - copy(dAtA[i:], m.Provider) - i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) - i-- - dAtA[i] = 0x22 - } if len(m.Source) > 0 { i -= len(m.Source) copy(dAtA[i:], m.Source) @@ -1376,6 +1415,46 @@ func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MsgFeedPrice) 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 *MsgFeedPrice) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgFeedPrice) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.FeedPrice.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Provider) > 0 { + i -= len(m.Provider) + copy(dAtA[i:], m.Provider) + i = encodeVarintTx(dAtA, i, uint64(len(m.Provider))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *MsgFeedPriceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1535,10 +1614,10 @@ func (m *MsgFeedMultiplePrices) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Prices) > 0 { - for iNdEx := len(m.Prices) - 1; iNdEx >= 0; iNdEx-- { + if len(m.FeedPrices) > 0 { + for iNdEx := len(m.FeedPrices) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Prices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.FeedPrices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1926,7 +2005,7 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } -func (m *MsgFeedPrice) Size() (n int) { +func (m *FeedPrice) Size() (n int) { if m == nil { return 0 } @@ -1942,10 +2021,21 @@ func (m *MsgFeedPrice) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } + return n +} + +func (m *MsgFeedPrice) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l l = len(m.Provider) if l > 0 { n += 1 + l + sovTx(uint64(l)) } + l = m.FeedPrice.Size() + n += 1 + l + sovTx(uint64(l)) return n } @@ -2015,8 +2105,8 @@ func (m *MsgFeedMultiplePrices) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if len(m.Prices) > 0 { - for _, e := range m.Prices { + if len(m.FeedPrices) > 0 { + for _, e := range m.FeedPrices { l = e.Size() n += 1 + l + sovTx(uint64(l)) } @@ -2186,7 +2276,7 @@ func sovTx(x uint64) (n int) { func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error { +func (m *FeedPrice) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2209,10 +2299,10 @@ func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgFeedPrice: wiretype end group for non-group") + return fmt.Errorf("proto: FeedPrice: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgFeedPrice: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: FeedPrice: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2313,7 +2403,57 @@ func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error { } m.Source = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgFeedPrice) 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 ErrIntOverflowTx + } + 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: MsgFeedPrice: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgFeedPrice: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } @@ -2345,6 +2485,39 @@ func (m *MsgFeedPrice) Unmarshal(dAtA []byte) error { } m.Provider = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeedPrice", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.FeedPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -2763,7 +2936,7 @@ func (m *MsgFeedMultiplePrices) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Prices", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FeedPrices", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2790,8 +2963,8 @@ func (m *MsgFeedMultiplePrices) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Prices = append(m.Prices, Price{}) - if err := m.Prices[len(m.Prices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.FeedPrices = append(m.FeedPrices, FeedPrice{}) + if err := m.FeedPrices[len(m.FeedPrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/x/parameter/types/query.pb.go b/x/parameter/types/query.pb.go index 5e460ad8c..1cfe0187a 100644 --- a/x/parameter/types/query.pb.go +++ b/x/parameter/types/query.pb.go @@ -209,7 +209,6 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.parameter.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/parameter/types/tx.pb.go b/x/parameter/types/tx.pb.go index e5f597c2f..bd1937d03 100644 --- a/x/parameter/types/tx.pb.go +++ b/x/parameter/types/tx.pb.go @@ -709,7 +709,6 @@ func _Msg_UpdateRewardsDataLifetime_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.parameter.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/perpetual/types/query.pb.go b/x/perpetual/types/query.pb.go index 8d7f051c8..23f70dd52 100644 --- a/x/perpetual/types/query.pb.go +++ b/x/perpetual/types/query.pb.go @@ -2142,7 +2142,6 @@ func _Query_CloseEstimation_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.perpetual.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/perpetual/types/tx.pb.go b/x/perpetual/types/tx.pb.go index 4809a5fdc..8e741fce6 100644 --- a/x/perpetual/types/tx.pb.go +++ b/x/perpetual/types/tx.pb.go @@ -1185,7 +1185,6 @@ func _Msg_UpdateTakeProfitPrice_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.perpetual.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/stablestake/types/query.pb.go b/x/stablestake/types/query.pb.go index 4c000b8f0..a6a256c59 100644 --- a/x/stablestake/types/query.pb.go +++ b/x/stablestake/types/query.pb.go @@ -340,7 +340,6 @@ func _Query_BorrowRatio_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.stablestake.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/stablestake/types/tx.pb.go b/x/stablestake/types/tx.pb.go index 8c9259238..97f640998 100644 --- a/x/stablestake/types/tx.pb.go +++ b/x/stablestake/types/tx.pb.go @@ -463,7 +463,6 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.stablestake.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/tier/types/query.pb.go b/x/tier/types/query.pb.go index d278108c0..65ae543bd 100644 --- a/x/tier/types/query.pb.go +++ b/x/tier/types/query.pb.go @@ -1750,7 +1750,6 @@ func _Query_GetUsersPoolData_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tier.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/tier/types/tx.pb.go b/x/tier/types/tx.pb.go index 3f8f67e92..36df4574e 100644 --- a/x/tier/types/tx.pb.go +++ b/x/tier/types/tx.pb.go @@ -216,7 +216,6 @@ func _Msg_SetPortfolio_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tier.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/tokenomics/types/query.pb.go b/x/tokenomics/types/query.pb.go index 90d2fe161..0c048722d 100644 --- a/x/tokenomics/types/query.pb.go +++ b/x/tokenomics/types/query.pb.go @@ -874,7 +874,6 @@ func _Query_TimeBasedInflationAll_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tokenomics.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/tokenomics/types/tx.pb.go b/x/tokenomics/types/tx.pb.go index 441b60fa1..0667a4462 100644 --- a/x/tokenomics/types/tx.pb.go +++ b/x/tokenomics/types/tx.pb.go @@ -1198,7 +1198,6 @@ func _Msg_DeleteTimeBasedInflation_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tokenomics.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/tradeshield/types/query.pb.go b/x/tradeshield/types/query.pb.go index 9ee0bd345..3483d627f 100644 --- a/x/tradeshield/types/query.pb.go +++ b/x/tradeshield/types/query.pb.go @@ -1029,7 +1029,6 @@ func _Query_PendingSpotOrderForAddress_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tradeshield.Query", HandlerType: (*QueryServer)(nil), diff --git a/x/tradeshield/types/tx.pb.go b/x/tradeshield/types/tx.pb.go index ff87d15d5..17a04d6ab 100644 --- a/x/tradeshield/types/tx.pb.go +++ b/x/tradeshield/types/tx.pb.go @@ -1633,7 +1633,6 @@ func _Msg_ExecuteOrders_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.tradeshield.Msg", HandlerType: (*MsgServer)(nil), diff --git a/x/transferhook/types/query.pb.go b/x/transferhook/types/query.pb.go index f15e496a5..38afb9ad9 100644 --- a/x/transferhook/types/query.pb.go +++ b/x/transferhook/types/query.pb.go @@ -210,7 +210,6 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } -var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "elys.transferhook.Query", HandlerType: (*QueryServer)(nil),