diff --git a/Makefile b/Makefile index e54c27b2..c46e3f22 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: proto-format proto-lint proto-breaking proto-gen license format lint test-unit build +.PHONY: proto-format proto-lint proto-gen license format lint test-unit build all: proto-all format lint test-unit build ############################################################################### @@ -38,7 +38,7 @@ lint: BUF_VERSION=1.42 BUILDER_VERSION=0.15.1 -proto-all: proto-format proto-lint proto-breaking proto-gen +proto-all: proto-format proto-lint proto-gen proto-format: @echo "🤖 Running protobuf formatter..." @@ -58,12 +58,6 @@ proto-lint: bufbuild/buf:$(BUF_VERSION) lint @echo "✅ Completed protobuf linting!" -proto-breaking: - @echo "🤖 Running protobuf breaking checks..." - @docker run --rm --volume "$(PWD)":/workspace --workdir /workspace \ - bufbuild/buf:$(BUF_VERSION) breaking --against "https://github.com/monerium/module-noble.git#branch=v1.0.0" - @echo "✅ Completed protobuf breaking checks!" - ############################################################################### ### Testing ### ############################################################################### diff --git a/api/module/v1/module.pulsar.go b/api/module/v1/module.pulsar.go index 1f27b992..fa7ad148 100644 --- a/api/module/v1/module.pulsar.go +++ b/api/module/v1/module.pulsar.go @@ -491,26 +491,25 @@ var file_florin_module_v1_module_proto_rawDesc = []byte{ 0x10, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x5c, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, + 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x34, 0xba, 0xc0, 0x96, - 0xda, 0x01, 0x2e, 0x0a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x2b, 0xba, 0xc0, 0x96, + 0xda, 0x01, 0x25, 0x0a, 0x23, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, - 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x78, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x42, 0xc8, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, - 0x4d, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x46, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x42, 0xc8, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, + 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, + 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, + 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, 0x4d, 0x58, 0xaa, 0x02, 0x10, 0x46, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x46, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, + 0x02, 0x1c, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x12, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/v1/tx.pulsar.go b/api/v1/tx.pulsar.go index fc950b00..7a98c557 100644 --- a/api/v1/tx.pulsar.go +++ b/api/v1/tx.pulsar.go @@ -11,34 +11,39 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoiface "google.golang.org/protobuf/runtime/protoiface" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - anypb "google.golang.org/protobuf/types/known/anypb" io "io" reflect "reflect" sync "sync" ) var ( - md_MsgAcceptOwnership protoreflect.MessageDescriptor - fd_MsgAcceptOwnership_denom protoreflect.FieldDescriptor - fd_MsgAcceptOwnership_signer protoreflect.FieldDescriptor + md_MsgBurn protoreflect.MessageDescriptor + fd_MsgBurn_denom protoreflect.FieldDescriptor + fd_MsgBurn_signer protoreflect.FieldDescriptor + fd_MsgBurn_from protoreflect.FieldDescriptor + fd_MsgBurn_amount protoreflect.FieldDescriptor + fd_MsgBurn_signature protoreflect.FieldDescriptor ) func init() { file_florin_v1_tx_proto_init() - md_MsgAcceptOwnership = File_florin_v1_tx_proto.Messages().ByName("MsgAcceptOwnership") - fd_MsgAcceptOwnership_denom = md_MsgAcceptOwnership.Fields().ByName("denom") - fd_MsgAcceptOwnership_signer = md_MsgAcceptOwnership.Fields().ByName("signer") + md_MsgBurn = File_florin_v1_tx_proto.Messages().ByName("MsgBurn") + fd_MsgBurn_denom = md_MsgBurn.Fields().ByName("denom") + fd_MsgBurn_signer = md_MsgBurn.Fields().ByName("signer") + fd_MsgBurn_from = md_MsgBurn.Fields().ByName("from") + fd_MsgBurn_amount = md_MsgBurn.Fields().ByName("amount") + fd_MsgBurn_signature = md_MsgBurn.Fields().ByName("signature") } -var _ protoreflect.Message = (*fastReflection_MsgAcceptOwnership)(nil) +var _ protoreflect.Message = (*fastReflection_MsgBurn)(nil) -type fastReflection_MsgAcceptOwnership MsgAcceptOwnership +type fastReflection_MsgBurn MsgBurn -func (x *MsgAcceptOwnership) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAcceptOwnership)(x) +func (x *MsgBurn) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgBurn)(x) } -func (x *MsgAcceptOwnership) slowProtoReflect() protoreflect.Message { +func (x *MsgBurn) slowProtoReflect() protoreflect.Message { mi := &file_florin_v1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -50,43 +55,43 @@ func (x *MsgAcceptOwnership) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAcceptOwnership_messageType fastReflection_MsgAcceptOwnership_messageType -var _ protoreflect.MessageType = fastReflection_MsgAcceptOwnership_messageType{} +var _fastReflection_MsgBurn_messageType fastReflection_MsgBurn_messageType +var _ protoreflect.MessageType = fastReflection_MsgBurn_messageType{} -type fastReflection_MsgAcceptOwnership_messageType struct{} +type fastReflection_MsgBurn_messageType struct{} -func (x fastReflection_MsgAcceptOwnership_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAcceptOwnership)(nil) +func (x fastReflection_MsgBurn_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgBurn)(nil) } -func (x fastReflection_MsgAcceptOwnership_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAcceptOwnership) +func (x fastReflection_MsgBurn_messageType) New() protoreflect.Message { + return new(fastReflection_MsgBurn) } -func (x fastReflection_MsgAcceptOwnership_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAcceptOwnership +func (x fastReflection_MsgBurn_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurn } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAcceptOwnership) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAcceptOwnership +func (x *fastReflection_MsgBurn) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurn } // 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_MsgAcceptOwnership) Type() protoreflect.MessageType { - return _fastReflection_MsgAcceptOwnership_messageType +func (x *fastReflection_MsgBurn) Type() protoreflect.MessageType { + return _fastReflection_MsgBurn_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAcceptOwnership) New() protoreflect.Message { - return new(fastReflection_MsgAcceptOwnership) +func (x *fastReflection_MsgBurn) New() protoreflect.Message { + return new(fastReflection_MsgBurn) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAcceptOwnership) Interface() protoreflect.ProtoMessage { - return (*MsgAcceptOwnership)(x) +func (x *fastReflection_MsgBurn) Interface() protoreflect.ProtoMessage { + return (*MsgBurn)(x) } // Range iterates over every populated field in an undefined order, @@ -94,16 +99,34 @@ func (x *fastReflection_MsgAcceptOwnership) Interface() protoreflect.ProtoMessag // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAcceptOwnership) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgBurn) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Denom != "" { value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgAcceptOwnership_denom, value) { + if !f(fd_MsgBurn_denom, value) { return } } if x.Signer != "" { value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgAcceptOwnership_signer, value) { + if !f(fd_MsgBurn_signer, value) { + return + } + } + if x.From != "" { + value := protoreflect.ValueOfString(x.From) + if !f(fd_MsgBurn_from, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgBurn_amount, value) { + return + } + } + if len(x.Signature) != 0 { + value := protoreflect.ValueOfBytes(x.Signature) + if !f(fd_MsgBurn_signature, value) { return } } @@ -120,17 +143,23 @@ func (x *fastReflection_MsgAcceptOwnership) Range(f func(protoreflect.FieldDescr // 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_MsgAcceptOwnership) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgBurn) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": + case "florin.v1.MsgBurn.denom": return x.Denom != "" - case "florin.v1.MsgAcceptOwnership.signer": + case "florin.v1.MsgBurn.signer": return x.Signer != "" + case "florin.v1.MsgBurn.from": + return x.From != "" + case "florin.v1.MsgBurn.amount": + return x.Amount != "" + case "florin.v1.MsgBurn.signature": + return len(x.Signature) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn does not contain field %s", fd.FullName())) } } @@ -140,17 +169,23 @@ func (x *fastReflection_MsgAcceptOwnership) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnership) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgBurn) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": + case "florin.v1.MsgBurn.denom": x.Denom = "" - case "florin.v1.MsgAcceptOwnership.signer": + case "florin.v1.MsgBurn.signer": x.Signer = "" + case "florin.v1.MsgBurn.from": + x.From = "" + case "florin.v1.MsgBurn.amount": + x.Amount = "" + case "florin.v1.MsgBurn.signature": + x.Signature = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn does not contain field %s", fd.FullName())) } } @@ -160,19 +195,28 @@ func (x *fastReflection_MsgAcceptOwnership) Clear(fd protoreflect.FieldDescripto // 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_MsgAcceptOwnership) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurn) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": + case "florin.v1.MsgBurn.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.MsgAcceptOwnership.signer": + case "florin.v1.MsgBurn.signer": value := x.Signer return protoreflect.ValueOfString(value) + case "florin.v1.MsgBurn.from": + value := x.From + return protoreflect.ValueOfString(value) + case "florin.v1.MsgBurn.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + case "florin.v1.MsgBurn.signature": + value := x.Signature + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn does not contain field %s", descriptor.FullName())) } } @@ -186,17 +230,23 @@ func (x *fastReflection_MsgAcceptOwnership) Get(descriptor protoreflect.FieldDes // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnership) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgBurn) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": + case "florin.v1.MsgBurn.denom": x.Denom = value.Interface().(string) - case "florin.v1.MsgAcceptOwnership.signer": + case "florin.v1.MsgBurn.signer": x.Signer = value.Interface().(string) + case "florin.v1.MsgBurn.from": + x.From = value.Interface().(string) + case "florin.v1.MsgBurn.amount": + x.Amount = value.Interface().(string) + case "florin.v1.MsgBurn.signature": + x.Signature = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn does not contain field %s", fd.FullName())) } } @@ -210,44 +260,56 @@ func (x *fastReflection_MsgAcceptOwnership) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnership) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurn) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgAcceptOwnership is not mutable")) - case "florin.v1.MsgAcceptOwnership.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgAcceptOwnership is not mutable")) + case "florin.v1.MsgBurn.denom": + panic(fmt.Errorf("field denom of message florin.v1.MsgBurn is not mutable")) + case "florin.v1.MsgBurn.signer": + panic(fmt.Errorf("field signer of message florin.v1.MsgBurn is not mutable")) + case "florin.v1.MsgBurn.from": + panic(fmt.Errorf("field from of message florin.v1.MsgBurn is not mutable")) + case "florin.v1.MsgBurn.amount": + panic(fmt.Errorf("field amount of message florin.v1.MsgBurn is not mutable")) + case "florin.v1.MsgBurn.signature": + panic(fmt.Errorf("field signature of message florin.v1.MsgBurn is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgAcceptOwnership) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurn) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAcceptOwnership.denom": + case "florin.v1.MsgBurn.denom": + return protoreflect.ValueOfString("") + case "florin.v1.MsgBurn.signer": + return protoreflect.ValueOfString("") + case "florin.v1.MsgBurn.from": return protoreflect.ValueOfString("") - case "florin.v1.MsgAcceptOwnership.signer": + case "florin.v1.MsgBurn.amount": return protoreflect.ValueOfString("") + case "florin.v1.MsgBurn.signature": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnership")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnership does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgAcceptOwnership) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgBurn) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAcceptOwnership", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgBurn", d.FullName())) } panic("unreachable") } @@ -255,7 +317,7 @@ func (x *fastReflection_MsgAcceptOwnership) WhichOneof(d protoreflect.OneofDescr // 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_MsgAcceptOwnership) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgBurn) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -266,7 +328,7 @@ func (x *fastReflection_MsgAcceptOwnership) 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_MsgAcceptOwnership) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgBurn) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -278,7 +340,7 @@ func (x *fastReflection_MsgAcceptOwnership) SetUnknown(fields protoreflect.RawFi // 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_MsgAcceptOwnership) IsValid() bool { +func (x *fastReflection_MsgBurn) IsValid() bool { return x != nil } @@ -288,9 +350,9 @@ func (x *fastReflection_MsgAcceptOwnership) 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_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgBurn) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAcceptOwnership) + x := input.Message.Interface().(*MsgBurn) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -310,6 +372,18 @@ func (x *fastReflection_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.From) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signature) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -320,7 +394,7 @@ func (x *fastReflection_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAcceptOwnership) + x := input.Message.Interface().(*MsgBurn) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -339,6 +413,27 @@ func (x *fastReflection_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Signature) > 0 { + i -= len(x.Signature) + copy(dAtA[i:], x.Signature) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) + i-- + dAtA[i] = 0x2a + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.From) > 0 { + i -= len(x.From) + copy(dAtA[i:], x.From) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) + i-- + dAtA[i] = 0x1a + } if len(x.Signer) > 0 { i -= len(x.Signer) copy(dAtA[i:], x.Signer) @@ -364,7 +459,7 @@ func (x *fastReflection_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAcceptOwnership) + x := input.Message.Interface().(*MsgBurn) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -396,10 +491,10 @@ func (x *fastReflection_MsgAcceptOwnership) 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: MsgAcceptOwnership: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnership: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -466,107 +561,205 @@ func (x *fastReflection_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { } x.Signer = 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 + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field From", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 } - if (iNdEx + skippy) > l { + 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 } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + x.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) } - 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_MsgAcceptOwnershipResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgAcceptOwnershipResponse = File_florin_v1_tx_proto.Messages().ByName("MsgAcceptOwnershipResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgAcceptOwnershipResponse)(nil) - -type fastReflection_MsgAcceptOwnershipResponse MsgAcceptOwnershipResponse - -func (x *MsgAcceptOwnershipResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAcceptOwnershipResponse)(x) -} - -func (x *MsgAcceptOwnershipResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_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_MsgAcceptOwnershipResponse_messageType fastReflection_MsgAcceptOwnershipResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgAcceptOwnershipResponse_messageType{} - -type fastReflection_MsgAcceptOwnershipResponse_messageType struct{} - -func (x fastReflection_MsgAcceptOwnershipResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAcceptOwnershipResponse)(nil) -} -func (x fastReflection_MsgAcceptOwnershipResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAcceptOwnershipResponse) -} -func (x fastReflection_MsgAcceptOwnershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAcceptOwnershipResponse -} + 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.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + 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++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) + if x.Signature == nil { + x.Signature = []byte{} + } + 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_MsgBurnResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v1_tx_proto_init() + md_MsgBurnResponse = File_florin_v1_tx_proto.Messages().ByName("MsgBurnResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgBurnResponse)(nil) + +type fastReflection_MsgBurnResponse MsgBurnResponse + +func (x *MsgBurnResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgBurnResponse)(x) +} + +func (x *MsgBurnResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v1_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_MsgBurnResponse_messageType fastReflection_MsgBurnResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgBurnResponse_messageType{} + +type fastReflection_MsgBurnResponse_messageType struct{} + +func (x fastReflection_MsgBurnResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgBurnResponse)(nil) +} +func (x fastReflection_MsgBurnResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgBurnResponse) +} +func (x fastReflection_MsgBurnResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurnResponse +} // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAcceptOwnershipResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAcceptOwnershipResponse +func (x *fastReflection_MsgBurnResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurnResponse } // 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_MsgAcceptOwnershipResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgAcceptOwnershipResponse_messageType +func (x *fastReflection_MsgBurnResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgBurnResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAcceptOwnershipResponse) New() protoreflect.Message { - return new(fastReflection_MsgAcceptOwnershipResponse) +func (x *fastReflection_MsgBurnResponse) New() protoreflect.Message { + return new(fastReflection_MsgBurnResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAcceptOwnershipResponse) Interface() protoreflect.ProtoMessage { - return (*MsgAcceptOwnershipResponse)(x) +func (x *fastReflection_MsgBurnResponse) Interface() protoreflect.ProtoMessage { + return (*MsgBurnResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -574,7 +767,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAcceptOwnershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgBurnResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -588,13 +781,13 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Range(f func(protoreflect.Fi // 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_MsgAcceptOwnershipResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgBurnResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse does not contain field %s", fd.FullName())) } } @@ -604,13 +797,13 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnershipResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgBurnResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse does not contain field %s", fd.FullName())) } } @@ -620,13 +813,13 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Clear(fd protoreflect.FieldD // 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_MsgAcceptOwnershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurnResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse does not contain field %s", descriptor.FullName())) } } @@ -640,13 +833,13 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgBurnResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse does not contain field %s", fd.FullName())) } } @@ -660,36 +853,36 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurnResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgAcceptOwnershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgBurnResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAcceptOwnershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAcceptOwnershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgAcceptOwnershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgBurnResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAcceptOwnershipResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgBurnResponse", d.FullName())) } panic("unreachable") } @@ -697,7 +890,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) WhichOneof(d protoreflect.On // 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_MsgAcceptOwnershipResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgBurnResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -708,7 +901,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAcceptOwnershipResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgBurnResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -720,7 +913,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) SetUnknown(fields protorefle // 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_MsgAcceptOwnershipResponse) IsValid() bool { +func (x *fastReflection_MsgBurnResponse) IsValid() bool { return x != nil } @@ -730,9 +923,9 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) 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_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgBurnResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAcceptOwnershipResponse) + x := input.Message.Interface().(*MsgBurnResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -754,7 +947,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAcceptOwnershipResponse) + x := input.Message.Interface().(*MsgBurnResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -784,7 +977,7 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAcceptOwnershipResponse) + x := input.Message.Interface().(*MsgBurnResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -816,10 +1009,10 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnershipResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -858,29 +1051,31 @@ func (x *fastReflection_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.M } var ( - md_MsgAddAdminAccount protoreflect.MessageDescriptor - fd_MsgAddAdminAccount_denom protoreflect.FieldDescriptor - fd_MsgAddAdminAccount_signer protoreflect.FieldDescriptor - fd_MsgAddAdminAccount_account protoreflect.FieldDescriptor + md_MsgMint protoreflect.MessageDescriptor + fd_MsgMint_denom protoreflect.FieldDescriptor + fd_MsgMint_signer protoreflect.FieldDescriptor + fd_MsgMint_to protoreflect.FieldDescriptor + fd_MsgMint_amount protoreflect.FieldDescriptor ) func init() { file_florin_v1_tx_proto_init() - md_MsgAddAdminAccount = File_florin_v1_tx_proto.Messages().ByName("MsgAddAdminAccount") - fd_MsgAddAdminAccount_denom = md_MsgAddAdminAccount.Fields().ByName("denom") - fd_MsgAddAdminAccount_signer = md_MsgAddAdminAccount.Fields().ByName("signer") - fd_MsgAddAdminAccount_account = md_MsgAddAdminAccount.Fields().ByName("account") + md_MsgMint = File_florin_v1_tx_proto.Messages().ByName("MsgMint") + fd_MsgMint_denom = md_MsgMint.Fields().ByName("denom") + fd_MsgMint_signer = md_MsgMint.Fields().ByName("signer") + fd_MsgMint_to = md_MsgMint.Fields().ByName("to") + fd_MsgMint_amount = md_MsgMint.Fields().ByName("amount") } -var _ protoreflect.Message = (*fastReflection_MsgAddAdminAccount)(nil) +var _ protoreflect.Message = (*fastReflection_MsgMint)(nil) -type fastReflection_MsgAddAdminAccount MsgAddAdminAccount +type fastReflection_MsgMint MsgMint -func (x *MsgAddAdminAccount) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAddAdminAccount)(x) +func (x *MsgMint) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMint)(x) } -func (x *MsgAddAdminAccount) slowProtoReflect() protoreflect.Message { +func (x *MsgMint) slowProtoReflect() protoreflect.Message { mi := &file_florin_v1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -892,43 +1087,43 @@ func (x *MsgAddAdminAccount) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAddAdminAccount_messageType fastReflection_MsgAddAdminAccount_messageType -var _ protoreflect.MessageType = fastReflection_MsgAddAdminAccount_messageType{} +var _fastReflection_MsgMint_messageType fastReflection_MsgMint_messageType +var _ protoreflect.MessageType = fastReflection_MsgMint_messageType{} -type fastReflection_MsgAddAdminAccount_messageType struct{} +type fastReflection_MsgMint_messageType struct{} -func (x fastReflection_MsgAddAdminAccount_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAddAdminAccount)(nil) +func (x fastReflection_MsgMint_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMint)(nil) } -func (x fastReflection_MsgAddAdminAccount_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAddAdminAccount) +func (x fastReflection_MsgMint_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMint) } -func (x fastReflection_MsgAddAdminAccount_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddAdminAccount +func (x fastReflection_MsgMint_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMint } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAddAdminAccount) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddAdminAccount +func (x *fastReflection_MsgMint) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMint } // 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_MsgAddAdminAccount) Type() protoreflect.MessageType { - return _fastReflection_MsgAddAdminAccount_messageType +func (x *fastReflection_MsgMint) Type() protoreflect.MessageType { + return _fastReflection_MsgMint_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAddAdminAccount) New() protoreflect.Message { - return new(fastReflection_MsgAddAdminAccount) +func (x *fastReflection_MsgMint) New() protoreflect.Message { + return new(fastReflection_MsgMint) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAddAdminAccount) Interface() protoreflect.ProtoMessage { - return (*MsgAddAdminAccount)(x) +func (x *fastReflection_MsgMint) Interface() protoreflect.ProtoMessage { + return (*MsgMint)(x) } // Range iterates over every populated field in an undefined order, @@ -936,22 +1131,28 @@ func (x *fastReflection_MsgAddAdminAccount) Interface() protoreflect.ProtoMessag // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAddAdminAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgMint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Denom != "" { value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgAddAdminAccount_denom, value) { + if !f(fd_MsgMint_denom, value) { return } } if x.Signer != "" { value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgAddAdminAccount_signer, value) { + if !f(fd_MsgMint_signer, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_MsgMint_to, value) { return } } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgAddAdminAccount_account, value) { + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgMint_amount, value) { return } } @@ -968,19 +1169,21 @@ func (x *fastReflection_MsgAddAdminAccount) Range(f func(protoreflect.FieldDescr // 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_MsgAddAdminAccount) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgMint) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": + case "florin.v1.MsgMint.denom": return x.Denom != "" - case "florin.v1.MsgAddAdminAccount.signer": + case "florin.v1.MsgMint.signer": return x.Signer != "" - case "florin.v1.MsgAddAdminAccount.account": - return x.Account != "" + case "florin.v1.MsgMint.to": + return x.To != "" + case "florin.v1.MsgMint.amount": + return x.Amount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMint does not contain field %s", fd.FullName())) } } @@ -990,19 +1193,21 @@ func (x *fastReflection_MsgAddAdminAccount) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccount) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgMint) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": + case "florin.v1.MsgMint.denom": x.Denom = "" - case "florin.v1.MsgAddAdminAccount.signer": + case "florin.v1.MsgMint.signer": x.Signer = "" - case "florin.v1.MsgAddAdminAccount.account": - x.Account = "" + case "florin.v1.MsgMint.to": + x.To = "" + case "florin.v1.MsgMint.amount": + x.Amount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMint does not contain field %s", fd.FullName())) } } @@ -1012,22 +1217,25 @@ func (x *fastReflection_MsgAddAdminAccount) Clear(fd protoreflect.FieldDescripto // 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_MsgAddAdminAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": + case "florin.v1.MsgMint.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.MsgAddAdminAccount.signer": + case "florin.v1.MsgMint.signer": value := x.Signer return protoreflect.ValueOfString(value) - case "florin.v1.MsgAddAdminAccount.account": - value := x.Account + case "florin.v1.MsgMint.to": + value := x.To + return protoreflect.ValueOfString(value) + case "florin.v1.MsgMint.amount": + value := x.Amount return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMint does not contain field %s", descriptor.FullName())) } } @@ -1041,19 +1249,21 @@ func (x *fastReflection_MsgAddAdminAccount) Get(descriptor protoreflect.FieldDes // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgMint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": + case "florin.v1.MsgMint.denom": x.Denom = value.Interface().(string) - case "florin.v1.MsgAddAdminAccount.signer": + case "florin.v1.MsgMint.signer": x.Signer = value.Interface().(string) - case "florin.v1.MsgAddAdminAccount.account": - x.Account = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", fd.FullName())) + case "florin.v1.MsgMint.to": + x.To = value.Interface().(string) + case "florin.v1.MsgMint.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) + } + panic(fmt.Errorf("message florin.v1.MsgMint does not contain field %s", fd.FullName())) } } @@ -1067,48 +1277,52 @@ func (x *fastReflection_MsgAddAdminAccount) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgAddAdminAccount is not mutable")) - case "florin.v1.MsgAddAdminAccount.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgAddAdminAccount is not mutable")) - case "florin.v1.MsgAddAdminAccount.account": - panic(fmt.Errorf("field account of message florin.v1.MsgAddAdminAccount is not mutable")) + case "florin.v1.MsgMint.denom": + panic(fmt.Errorf("field denom of message florin.v1.MsgMint is not mutable")) + case "florin.v1.MsgMint.signer": + panic(fmt.Errorf("field signer of message florin.v1.MsgMint is not mutable")) + case "florin.v1.MsgMint.to": + panic(fmt.Errorf("field to of message florin.v1.MsgMint is not mutable")) + case "florin.v1.MsgMint.amount": + panic(fmt.Errorf("field amount of message florin.v1.MsgMint is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgAddAdminAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAddAdminAccount.denom": + case "florin.v1.MsgMint.denom": + return protoreflect.ValueOfString("") + case "florin.v1.MsgMint.signer": return protoreflect.ValueOfString("") - case "florin.v1.MsgAddAdminAccount.signer": + case "florin.v1.MsgMint.to": return protoreflect.ValueOfString("") - case "florin.v1.MsgAddAdminAccount.account": + case "florin.v1.MsgMint.amount": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgAddAdminAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgMint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAddAdminAccount", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgMint", d.FullName())) } panic("unreachable") } @@ -1116,7 +1330,7 @@ func (x *fastReflection_MsgAddAdminAccount) WhichOneof(d protoreflect.OneofDescr // 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_MsgAddAdminAccount) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgMint) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1127,7 +1341,7 @@ func (x *fastReflection_MsgAddAdminAccount) 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_MsgAddAdminAccount) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgMint) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1139,7 +1353,7 @@ func (x *fastReflection_MsgAddAdminAccount) SetUnknown(fields protoreflect.RawFi // 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_MsgAddAdminAccount) IsValid() bool { +func (x *fastReflection_MsgMint) IsValid() bool { return x != nil } @@ -1149,9 +1363,9 @@ func (x *fastReflection_MsgAddAdminAccount) 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_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgMint) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAddAdminAccount) + x := input.Message.Interface().(*MsgMint) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1171,7 +1385,11 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Account) + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -1185,7 +1403,7 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAddAdminAccount) + x := input.Message.Interface().(*MsgMint) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1204,10 +1422,17 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) i-- dAtA[i] = 0x1a } @@ -1236,7 +1461,7 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAddAdminAccount) + x := input.Message.Interface().(*MsgMint) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1268,10 +1493,10 @@ func (x *fastReflection_MsgAddAdminAccount) 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: MsgAddAdminAccount: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccount: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -1340,7 +1565,39 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { iNdEx = postIndex case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", 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.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1368,7 +1625,7 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Account = string(dAtA[iNdEx:postIndex]) + x.Amount = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -1406,23 +1663,23 @@ func (x *fastReflection_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { } var ( - md_MsgAddAdminAccountResponse protoreflect.MessageDescriptor + md_MsgMintResponse protoreflect.MessageDescriptor ) func init() { file_florin_v1_tx_proto_init() - md_MsgAddAdminAccountResponse = File_florin_v1_tx_proto.Messages().ByName("MsgAddAdminAccountResponse") + md_MsgMintResponse = File_florin_v1_tx_proto.Messages().ByName("MsgMintResponse") } -var _ protoreflect.Message = (*fastReflection_MsgAddAdminAccountResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgMintResponse)(nil) -type fastReflection_MsgAddAdminAccountResponse MsgAddAdminAccountResponse +type fastReflection_MsgMintResponse MsgMintResponse -func (x *MsgAddAdminAccountResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAddAdminAccountResponse)(x) +func (x *MsgMintResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMintResponse)(x) } -func (x *MsgAddAdminAccountResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgMintResponse) slowProtoReflect() protoreflect.Message { mi := &file_florin_v1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1434,43 +1691,43 @@ func (x *MsgAddAdminAccountResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAddAdminAccountResponse_messageType fastReflection_MsgAddAdminAccountResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgAddAdminAccountResponse_messageType{} +var _fastReflection_MsgMintResponse_messageType fastReflection_MsgMintResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgMintResponse_messageType{} -type fastReflection_MsgAddAdminAccountResponse_messageType struct{} +type fastReflection_MsgMintResponse_messageType struct{} -func (x fastReflection_MsgAddAdminAccountResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAddAdminAccountResponse)(nil) +func (x fastReflection_MsgMintResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMintResponse)(nil) } -func (x fastReflection_MsgAddAdminAccountResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAddAdminAccountResponse) +func (x fastReflection_MsgMintResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMintResponse) } -func (x fastReflection_MsgAddAdminAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddAdminAccountResponse +func (x fastReflection_MsgMintResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMintResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAddAdminAccountResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddAdminAccountResponse +func (x *fastReflection_MsgMintResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMintResponse } // 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_MsgAddAdminAccountResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgAddAdminAccountResponse_messageType +func (x *fastReflection_MsgMintResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgMintResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAddAdminAccountResponse) New() protoreflect.Message { - return new(fastReflection_MsgAddAdminAccountResponse) +func (x *fastReflection_MsgMintResponse) New() protoreflect.Message { + return new(fastReflection_MsgMintResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAddAdminAccountResponse) Interface() protoreflect.ProtoMessage { - return (*MsgAddAdminAccountResponse)(x) +func (x *fastReflection_MsgMintResponse) Interface() protoreflect.ProtoMessage { + return (*MsgMintResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -1478,7 +1735,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAddAdminAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgMintResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -1492,13 +1749,13 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Range(f func(protoreflect.Fi // 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_MsgAddAdminAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgMintResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse does not contain field %s", fd.FullName())) } } @@ -1508,13 +1765,13 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccountResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgMintResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse does not contain field %s", fd.FullName())) } } @@ -1524,13 +1781,13 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Clear(fd protoreflect.FieldD // 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_MsgAddAdminAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMintResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse does not contain field %s", descriptor.FullName())) } } @@ -1544,13 +1801,13 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgMintResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse does not contain field %s", fd.FullName())) } } @@ -1564,36 +1821,36 @@ func (x *fastReflection_MsgAddAdminAccountResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMintResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgAddAdminAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgMintResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddAdminAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddAdminAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgAddAdminAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgMintResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAddAdminAccountResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgMintResponse", d.FullName())) } panic("unreachable") } @@ -1601,7 +1858,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) WhichOneof(d protoreflect.On // 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_MsgAddAdminAccountResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgMintResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1612,7 +1869,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddAdminAccountResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgMintResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1624,7 +1881,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) SetUnknown(fields protorefle // 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_MsgAddAdminAccountResponse) IsValid() bool { +func (x *fastReflection_MsgMintResponse) IsValid() bool { return x != nil } @@ -1634,9 +1891,9 @@ func (x *fastReflection_MsgAddAdminAccountResponse) 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_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgMintResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAddAdminAccountResponse) + x := input.Message.Interface().(*MsgMintResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1658,7 +1915,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAddAdminAccountResponse) + x := input.Message.Interface().(*MsgMintResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1688,7 +1945,7 @@ func (x *fastReflection_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAddAdminAccountResponse) + x := input.Message.Interface().(*MsgMintResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1720,10 +1977,10 @@ func (x *fastReflection_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccountResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -1762,29 +2019,33 @@ func (x *fastReflection_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.M } var ( - md_MsgAddSystemAccount protoreflect.MessageDescriptor - fd_MsgAddSystemAccount_denom protoreflect.FieldDescriptor - fd_MsgAddSystemAccount_signer protoreflect.FieldDescriptor - fd_MsgAddSystemAccount_account protoreflect.FieldDescriptor + md_MsgRecover protoreflect.MessageDescriptor + fd_MsgRecover_denom protoreflect.FieldDescriptor + fd_MsgRecover_signer protoreflect.FieldDescriptor + fd_MsgRecover_from protoreflect.FieldDescriptor + fd_MsgRecover_to protoreflect.FieldDescriptor + fd_MsgRecover_signature protoreflect.FieldDescriptor ) func init() { file_florin_v1_tx_proto_init() - md_MsgAddSystemAccount = File_florin_v1_tx_proto.Messages().ByName("MsgAddSystemAccount") - fd_MsgAddSystemAccount_denom = md_MsgAddSystemAccount.Fields().ByName("denom") - fd_MsgAddSystemAccount_signer = md_MsgAddSystemAccount.Fields().ByName("signer") - fd_MsgAddSystemAccount_account = md_MsgAddSystemAccount.Fields().ByName("account") + md_MsgRecover = File_florin_v1_tx_proto.Messages().ByName("MsgRecover") + fd_MsgRecover_denom = md_MsgRecover.Fields().ByName("denom") + fd_MsgRecover_signer = md_MsgRecover.Fields().ByName("signer") + fd_MsgRecover_from = md_MsgRecover.Fields().ByName("from") + fd_MsgRecover_to = md_MsgRecover.Fields().ByName("to") + fd_MsgRecover_signature = md_MsgRecover.Fields().ByName("signature") } -var _ protoreflect.Message = (*fastReflection_MsgAddSystemAccount)(nil) +var _ protoreflect.Message = (*fastReflection_MsgRecover)(nil) -type fastReflection_MsgAddSystemAccount MsgAddSystemAccount +type fastReflection_MsgRecover MsgRecover -func (x *MsgAddSystemAccount) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAddSystemAccount)(x) +func (x *MsgRecover) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRecover)(x) } -func (x *MsgAddSystemAccount) slowProtoReflect() protoreflect.Message { +func (x *MsgRecover) slowProtoReflect() protoreflect.Message { mi := &file_florin_v1_tx_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1796,43 +2057,43 @@ func (x *MsgAddSystemAccount) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAddSystemAccount_messageType fastReflection_MsgAddSystemAccount_messageType -var _ protoreflect.MessageType = fastReflection_MsgAddSystemAccount_messageType{} +var _fastReflection_MsgRecover_messageType fastReflection_MsgRecover_messageType +var _ protoreflect.MessageType = fastReflection_MsgRecover_messageType{} -type fastReflection_MsgAddSystemAccount_messageType struct{} +type fastReflection_MsgRecover_messageType struct{} -func (x fastReflection_MsgAddSystemAccount_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAddSystemAccount)(nil) +func (x fastReflection_MsgRecover_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRecover)(nil) } -func (x fastReflection_MsgAddSystemAccount_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAddSystemAccount) +func (x fastReflection_MsgRecover_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRecover) } -func (x fastReflection_MsgAddSystemAccount_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddSystemAccount +func (x fastReflection_MsgRecover_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecover } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAddSystemAccount) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddSystemAccount +func (x *fastReflection_MsgRecover) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecover } // 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_MsgAddSystemAccount) Type() protoreflect.MessageType { - return _fastReflection_MsgAddSystemAccount_messageType +func (x *fastReflection_MsgRecover) Type() protoreflect.MessageType { + return _fastReflection_MsgRecover_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAddSystemAccount) New() protoreflect.Message { - return new(fastReflection_MsgAddSystemAccount) +func (x *fastReflection_MsgRecover) New() protoreflect.Message { + return new(fastReflection_MsgRecover) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAddSystemAccount) Interface() protoreflect.ProtoMessage { - return (*MsgAddSystemAccount)(x) +func (x *fastReflection_MsgRecover) Interface() protoreflect.ProtoMessage { + return (*MsgRecover)(x) } // Range iterates over every populated field in an undefined order, @@ -1840,22 +2101,34 @@ func (x *fastReflection_MsgAddSystemAccount) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAddSystemAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgRecover) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Denom != "" { value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgAddSystemAccount_denom, value) { + if !f(fd_MsgRecover_denom, value) { return } } if x.Signer != "" { value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgAddSystemAccount_signer, value) { + if !f(fd_MsgRecover_signer, value) { + return + } + } + if x.From != "" { + value := protoreflect.ValueOfString(x.From) + if !f(fd_MsgRecover_from, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_MsgRecover_to, value) { return } } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgAddSystemAccount_account, value) { + if len(x.Signature) != 0 { + value := protoreflect.ValueOfBytes(x.Signature) + if !f(fd_MsgRecover_signature, value) { return } } @@ -1872,19 +2145,23 @@ func (x *fastReflection_MsgAddSystemAccount) Range(f func(protoreflect.FieldDesc // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgAddSystemAccount) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgRecover) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": + case "florin.v1.MsgRecover.denom": return x.Denom != "" - case "florin.v1.MsgAddSystemAccount.signer": + case "florin.v1.MsgRecover.signer": return x.Signer != "" - case "florin.v1.MsgAddSystemAccount.account": - return x.Account != "" + case "florin.v1.MsgRecover.from": + return x.From != "" + case "florin.v1.MsgRecover.to": + return x.To != "" + case "florin.v1.MsgRecover.signature": + return len(x.Signature) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover does not contain field %s", fd.FullName())) } } @@ -1894,19 +2171,23 @@ func (x *fastReflection_MsgAddSystemAccount) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccount) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgRecover) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": + case "florin.v1.MsgRecover.denom": x.Denom = "" - case "florin.v1.MsgAddSystemAccount.signer": + case "florin.v1.MsgRecover.signer": x.Signer = "" - case "florin.v1.MsgAddSystemAccount.account": - x.Account = "" + case "florin.v1.MsgRecover.from": + x.From = "" + case "florin.v1.MsgRecover.to": + x.To = "" + case "florin.v1.MsgRecover.signature": + x.Signature = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover does not contain field %s", fd.FullName())) } } @@ -1916,22 +2197,28 @@ func (x *fastReflection_MsgAddSystemAccount) Clear(fd protoreflect.FieldDescript // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgAddSystemAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecover) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": + case "florin.v1.MsgRecover.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.MsgAddSystemAccount.signer": + case "florin.v1.MsgRecover.signer": value := x.Signer return protoreflect.ValueOfString(value) - case "florin.v1.MsgAddSystemAccount.account": - value := x.Account + case "florin.v1.MsgRecover.from": + value := x.From + return protoreflect.ValueOfString(value) + case "florin.v1.MsgRecover.to": + value := x.To return protoreflect.ValueOfString(value) + case "florin.v1.MsgRecover.signature": + value := x.Signature + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover does not contain field %s", descriptor.FullName())) } } @@ -1945,19 +2232,23 @@ func (x *fastReflection_MsgAddSystemAccount) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgRecover) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": + case "florin.v1.MsgRecover.denom": x.Denom = value.Interface().(string) - case "florin.v1.MsgAddSystemAccount.signer": + case "florin.v1.MsgRecover.signer": x.Signer = value.Interface().(string) - case "florin.v1.MsgAddSystemAccount.account": - x.Account = value.Interface().(string) + case "florin.v1.MsgRecover.from": + x.From = value.Interface().(string) + case "florin.v1.MsgRecover.to": + x.To = value.Interface().(string) + case "florin.v1.MsgRecover.signature": + x.Signature = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover does not contain field %s", fd.FullName())) } } @@ -1971,48 +2262,56 @@ func (x *fastReflection_MsgAddSystemAccount) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecover) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgAddSystemAccount is not mutable")) - case "florin.v1.MsgAddSystemAccount.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgAddSystemAccount is not mutable")) - case "florin.v1.MsgAddSystemAccount.account": - panic(fmt.Errorf("field account of message florin.v1.MsgAddSystemAccount is not mutable")) + case "florin.v1.MsgRecover.denom": + panic(fmt.Errorf("field denom of message florin.v1.MsgRecover is not mutable")) + case "florin.v1.MsgRecover.signer": + panic(fmt.Errorf("field signer of message florin.v1.MsgRecover is not mutable")) + case "florin.v1.MsgRecover.from": + panic(fmt.Errorf("field from of message florin.v1.MsgRecover is not mutable")) + case "florin.v1.MsgRecover.to": + panic(fmt.Errorf("field to of message florin.v1.MsgRecover is not mutable")) + case "florin.v1.MsgRecover.signature": + panic(fmt.Errorf("field signature of message florin.v1.MsgRecover is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgAddSystemAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecover) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MsgAddSystemAccount.denom": + case "florin.v1.MsgRecover.denom": return protoreflect.ValueOfString("") - case "florin.v1.MsgAddSystemAccount.signer": + case "florin.v1.MsgRecover.signer": + return protoreflect.ValueOfString("") + case "florin.v1.MsgRecover.from": return protoreflect.ValueOfString("") - case "florin.v1.MsgAddSystemAccount.account": + case "florin.v1.MsgRecover.to": return protoreflect.ValueOfString("") + case "florin.v1.MsgRecover.signature": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgAddSystemAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgRecover) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAddSystemAccount", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRecover", d.FullName())) } panic("unreachable") } @@ -2020,7 +2319,7 @@ func (x *fastReflection_MsgAddSystemAccount) WhichOneof(d protoreflect.OneofDesc // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgAddSystemAccount) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgRecover) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2031,7 +2330,7 @@ func (x *fastReflection_MsgAddSystemAccount) 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_MsgAddSystemAccount) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgRecover) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2043,7 +2342,7 @@ func (x *fastReflection_MsgAddSystemAccount) SetUnknown(fields protoreflect.RawF // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgAddSystemAccount) IsValid() bool { +func (x *fastReflection_MsgRecover) IsValid() bool { return x != nil } @@ -2053,9 +2352,9 @@ func (x *fastReflection_MsgAddSystemAccount) 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_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgRecover) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAddSystemAccount) + x := input.Message.Interface().(*MsgRecover) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2075,7 +2374,15 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Account) + l = len(x.From) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signature) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -2089,7 +2396,7 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAddSystemAccount) + x := input.Message.Interface().(*MsgRecover) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2108,10 +2415,24 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + if len(x.Signature) > 0 { + i -= len(x.Signature) + copy(dAtA[i:], x.Signature) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) + i-- + dAtA[i] = 0x2a + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x22 + } + if len(x.From) > 0 { + i -= len(x.From) + copy(dAtA[i:], x.From) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) i-- dAtA[i] = 0x1a } @@ -2140,7 +2461,7 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAddSystemAccount) + x := input.Message.Interface().(*MsgRecover) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2172,10 +2493,10 @@ func (x *fastReflection_MsgAddSystemAccount) 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: MsgAddSystemAccount: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccount: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2244,7 +2565,39 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods iNdEx = postIndex case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field From", 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.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2272,7 +2625,41 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Account = string(dAtA[iNdEx:postIndex]) + x.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + 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++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) + if x.Signature == nil { + x.Signature = []byte{} + } iNdEx = postIndex default: iNdEx = preIndex @@ -2310,23 +2697,23 @@ func (x *fastReflection_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods } var ( - md_MsgAddSystemAccountResponse protoreflect.MessageDescriptor + md_MsgRecoverResponse protoreflect.MessageDescriptor ) func init() { file_florin_v1_tx_proto_init() - md_MsgAddSystemAccountResponse = File_florin_v1_tx_proto.Messages().ByName("MsgAddSystemAccountResponse") + md_MsgRecoverResponse = File_florin_v1_tx_proto.Messages().ByName("MsgRecoverResponse") } -var _ protoreflect.Message = (*fastReflection_MsgAddSystemAccountResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgRecoverResponse)(nil) -type fastReflection_MsgAddSystemAccountResponse MsgAddSystemAccountResponse +type fastReflection_MsgRecoverResponse MsgRecoverResponse -func (x *MsgAddSystemAccountResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAddSystemAccountResponse)(x) +func (x *MsgRecoverResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRecoverResponse)(x) } -func (x *MsgAddSystemAccountResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgRecoverResponse) slowProtoReflect() protoreflect.Message { mi := &file_florin_v1_tx_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2338,43 +2725,43 @@ func (x *MsgAddSystemAccountResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAddSystemAccountResponse_messageType fastReflection_MsgAddSystemAccountResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgAddSystemAccountResponse_messageType{} +var _fastReflection_MsgRecoverResponse_messageType fastReflection_MsgRecoverResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgRecoverResponse_messageType{} -type fastReflection_MsgAddSystemAccountResponse_messageType struct{} +type fastReflection_MsgRecoverResponse_messageType struct{} -func (x fastReflection_MsgAddSystemAccountResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAddSystemAccountResponse)(nil) +func (x fastReflection_MsgRecoverResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRecoverResponse)(nil) } -func (x fastReflection_MsgAddSystemAccountResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAddSystemAccountResponse) +func (x fastReflection_MsgRecoverResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRecoverResponse) } -func (x fastReflection_MsgAddSystemAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddSystemAccountResponse +func (x fastReflection_MsgRecoverResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecoverResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAddSystemAccountResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddSystemAccountResponse +func (x *fastReflection_MsgRecoverResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecoverResponse } // 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_MsgAddSystemAccountResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgAddSystemAccountResponse_messageType +func (x *fastReflection_MsgRecoverResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgRecoverResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAddSystemAccountResponse) New() protoreflect.Message { - return new(fastReflection_MsgAddSystemAccountResponse) +func (x *fastReflection_MsgRecoverResponse) New() protoreflect.Message { + return new(fastReflection_MsgRecoverResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAddSystemAccountResponse) Interface() protoreflect.ProtoMessage { - return (*MsgAddSystemAccountResponse)(x) +func (x *fastReflection_MsgRecoverResponse) Interface() protoreflect.ProtoMessage { + return (*MsgRecoverResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -2382,7 +2769,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgAddSystemAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgRecoverResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -2396,13 +2783,13 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Range(f func(protoreflect.F // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgAddSystemAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgRecoverResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse does not contain field %s", fd.FullName())) } } @@ -2412,13 +2799,13 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccountResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgRecoverResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse does not contain field %s", fd.FullName())) } } @@ -2428,13 +2815,13 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Clear(fd protoreflect.Field // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgAddSystemAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecoverResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse does not contain field %s", descriptor.FullName())) } } @@ -2448,13 +2835,13 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgRecoverResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse does not contain field %s", fd.FullName())) } } @@ -2468,36 +2855,36 @@ func (x *fastReflection_MsgAddSystemAccountResponse) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecoverResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgAddSystemAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRecoverResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAddSystemAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) } - panic(fmt.Errorf("message florin.v1.MsgAddSystemAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgAddSystemAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgRecoverResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAddSystemAccountResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRecoverResponse", d.FullName())) } panic("unreachable") } @@ -2505,7 +2892,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) WhichOneof(d protoreflect.O // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgAddSystemAccountResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgRecoverResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2516,7 +2903,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddSystemAccountResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgRecoverResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2528,7 +2915,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) SetUnknown(fields protorefl // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgAddSystemAccountResponse) IsValid() bool { +func (x *fastReflection_MsgRecoverResponse) IsValid() bool { return x != nil } @@ -2538,9 +2925,9 @@ func (x *fastReflection_MsgAddSystemAccountResponse) 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_MsgAddSystemAccountResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgRecoverResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAddSystemAccountResponse) + x := input.Message.Interface().(*MsgRecoverResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2562,7 +2949,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAddSystemAccountResponse) + x := input.Message.Interface().(*MsgRecoverResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2592,7 +2979,7 @@ func (x *fastReflection_MsgAddSystemAccountResponse) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAddSystemAccountResponse) + x := input.Message.Interface().(*MsgRecoverResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2624,10 +3011,10 @@ func (x *fastReflection_MsgAddSystemAccountResponse) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccountResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -2665,9703 +3052,294 @@ func (x *fastReflection_MsgAddSystemAccountResponse) ProtoMethods() *protoiface. } } -var ( - md_MsgAllowDenom protoreflect.MessageDescriptor - fd_MsgAllowDenom_signer protoreflect.FieldDescriptor - fd_MsgAllowDenom_denom protoreflect.FieldDescriptor - fd_MsgAllowDenom_owner protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgAllowDenom = File_florin_v1_tx_proto.Messages().ByName("MsgAllowDenom") - fd_MsgAllowDenom_signer = md_MsgAllowDenom.Fields().ByName("signer") - fd_MsgAllowDenom_denom = md_MsgAllowDenom.Fields().ByName("denom") - fd_MsgAllowDenom_owner = md_MsgAllowDenom.Fields().ByName("owner") -} +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: florin/v1/tx.proto -var _ protoreflect.Message = (*fastReflection_MsgAllowDenom)(nil) +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -type fastReflection_MsgAllowDenom MsgAllowDenom +// MsgBurn implements the burn (0x8d1247ba) method. +type MsgBurn struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *MsgAllowDenom) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAllowDenom)(x) + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` } -func (x *MsgAllowDenom) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { +func (x *MsgBurn) Reset() { + *x = MsgBurn{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms + ms.StoreMessageInfo(mi) } - return mi.MessageOf(x) } -var _fastReflection_MsgAllowDenom_messageType fastReflection_MsgAllowDenom_messageType -var _ protoreflect.MessageType = fastReflection_MsgAllowDenom_messageType{} +func (x *MsgBurn) String() string { + return protoimpl.X.MessageStringOf(x) +} -type fastReflection_MsgAllowDenom_messageType struct{} +func (*MsgBurn) ProtoMessage() {} -func (x fastReflection_MsgAllowDenom_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAllowDenom)(nil) +// Deprecated: Use MsgBurn.ProtoReflect.Descriptor instead. +func (*MsgBurn) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{0} } -func (x fastReflection_MsgAllowDenom_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAllowDenom) + +func (x *MsgBurn) GetDenom() string { + if x != nil { + return x.Denom + } + return "" } -func (x fastReflection_MsgAllowDenom_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAllowDenom + +func (x *MsgBurn) GetSigner() string { + if x != nil { + return x.Signer + } + return "" } -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgAllowDenom) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAllowDenom +func (x *MsgBurn) GetFrom() string { + if x != nil { + return x.From + } + return "" } -// 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_MsgAllowDenom) Type() protoreflect.MessageType { - return _fastReflection_MsgAllowDenom_messageType +func (x *MsgBurn) GetAmount() string { + if x != nil { + return x.Amount + } + return "" } -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAllowDenom) New() protoreflect.Message { - return new(fastReflection_MsgAllowDenom) +func (x *MsgBurn) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil } -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAllowDenom) Interface() protoreflect.ProtoMessage { - return (*MsgAllowDenom)(x) +// MsgBurnResponse is the response of the Burn action. +type MsgBurnResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -// 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_MsgAllowDenom) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgAllowDenom_signer, value) { - return - } - } - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgAllowDenom_denom, value) { - return - } - } - if x.Owner != "" { - value := protoreflect.ValueOfString(x.Owner) - if !f(fd_MsgAllowDenom_owner, 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_MsgAllowDenom) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgAllowDenom.signer": - return x.Signer != "" - case "florin.v1.MsgAllowDenom.denom": - return x.Denom != "" - case "florin.v1.MsgAllowDenom.owner": - return x.Owner != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgAllowDenom.signer": - x.Signer = "" - case "florin.v1.MsgAllowDenom.denom": - x.Denom = "" - case "florin.v1.MsgAllowDenom.owner": - x.Owner = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgAllowDenom.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgAllowDenom.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgAllowDenom.owner": - value := x.Owner - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgAllowDenom.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgAllowDenom.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgAllowDenom.owner": - x.Owner = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgAllowDenom.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgAllowDenom is not mutable")) - case "florin.v1.MsgAllowDenom.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgAllowDenom is not mutable")) - case "florin.v1.MsgAllowDenom.owner": - panic(fmt.Errorf("field owner of message florin.v1.MsgAllowDenom is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgAllowDenom.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgAllowDenom.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgAllowDenom.owner": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenom")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenom 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_MsgAllowDenom) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAllowDenom", 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_MsgAllowDenom) 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_MsgAllowDenom) 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_MsgAllowDenom) 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_MsgAllowDenom) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAllowDenom) - 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.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Owner) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAllowDenom) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Owner) > 0 { - i -= len(x.Owner) - copy(dAtA[i:], x.Owner) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) - i-- - dAtA[i] = 0x1a - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - i-- - dAtA[i] = 0x12 - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - 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().(*MsgAllowDenom) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenom: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenom: 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 Signer", 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.Signer = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Denom", 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.Denom = 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 Owner", 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.Owner = 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_MsgAllowDenomResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgAllowDenomResponse = File_florin_v1_tx_proto.Messages().ByName("MsgAllowDenomResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgAllowDenomResponse)(nil) - -type fastReflection_MsgAllowDenomResponse MsgAllowDenomResponse - -func (x *MsgAllowDenomResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAllowDenomResponse)(x) -} - -func (x *MsgAllowDenomResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[7] - 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_MsgAllowDenomResponse_messageType fastReflection_MsgAllowDenomResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgAllowDenomResponse_messageType{} - -type fastReflection_MsgAllowDenomResponse_messageType struct{} - -func (x fastReflection_MsgAllowDenomResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAllowDenomResponse)(nil) -} -func (x fastReflection_MsgAllowDenomResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAllowDenomResponse) -} -func (x fastReflection_MsgAllowDenomResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAllowDenomResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgAllowDenomResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAllowDenomResponse -} - -// 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_MsgAllowDenomResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgAllowDenomResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAllowDenomResponse) New() protoreflect.Message { - return new(fastReflection_MsgAllowDenomResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAllowDenomResponse) Interface() protoreflect.ProtoMessage { - return (*MsgAllowDenomResponse)(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_MsgAllowDenomResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgAllowDenomResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgAllowDenomResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgAllowDenomResponse 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_MsgAllowDenomResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgAllowDenomResponse", 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAllowDenomResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgAllowDenomResponse) - 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 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().(*MsgAllowDenomResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenomResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgBurn protoreflect.MessageDescriptor - fd_MsgBurn_denom protoreflect.FieldDescriptor - fd_MsgBurn_signer protoreflect.FieldDescriptor - fd_MsgBurn_from protoreflect.FieldDescriptor - fd_MsgBurn_amount protoreflect.FieldDescriptor - fd_MsgBurn_signature protoreflect.FieldDescriptor - fd_MsgBurn_pub_key protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgBurn = File_florin_v1_tx_proto.Messages().ByName("MsgBurn") - fd_MsgBurn_denom = md_MsgBurn.Fields().ByName("denom") - fd_MsgBurn_signer = md_MsgBurn.Fields().ByName("signer") - fd_MsgBurn_from = md_MsgBurn.Fields().ByName("from") - fd_MsgBurn_amount = md_MsgBurn.Fields().ByName("amount") - fd_MsgBurn_signature = md_MsgBurn.Fields().ByName("signature") - fd_MsgBurn_pub_key = md_MsgBurn.Fields().ByName("pub_key") -} - -var _ protoreflect.Message = (*fastReflection_MsgBurn)(nil) - -type fastReflection_MsgBurn MsgBurn - -func (x *MsgBurn) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgBurn)(x) -} - -func (x *MsgBurn) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[8] - 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_MsgBurn_messageType fastReflection_MsgBurn_messageType -var _ protoreflect.MessageType = fastReflection_MsgBurn_messageType{} - -type fastReflection_MsgBurn_messageType struct{} - -func (x fastReflection_MsgBurn_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgBurn)(nil) -} -func (x fastReflection_MsgBurn_messageType) New() protoreflect.Message { - return new(fastReflection_MsgBurn) -} -func (x fastReflection_MsgBurn_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgBurn -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgBurn) Descriptor() protoreflect.MessageDescriptor { - return md_MsgBurn -} - -// 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_MsgBurn) Type() protoreflect.MessageType { - return _fastReflection_MsgBurn_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgBurn) New() protoreflect.Message { - return new(fastReflection_MsgBurn) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgBurn) Interface() protoreflect.ProtoMessage { - return (*MsgBurn)(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_MsgBurn) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgBurn_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgBurn_signer, value) { - return - } - } - if x.From != "" { - value := protoreflect.ValueOfString(x.From) - if !f(fd_MsgBurn_from, value) { - return - } - } - if x.Amount != "" { - value := protoreflect.ValueOfString(x.Amount) - if !f(fd_MsgBurn_amount, value) { - return - } - } - if len(x.Signature) != 0 { - value := protoreflect.ValueOfBytes(x.Signature) - if !f(fd_MsgBurn_signature, value) { - return - } - } - if x.PubKey != nil { - value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - if !f(fd_MsgBurn_pub_key, 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_MsgBurn) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgBurn.denom": - return x.Denom != "" - case "florin.v1.MsgBurn.signer": - return x.Signer != "" - case "florin.v1.MsgBurn.from": - return x.From != "" - case "florin.v1.MsgBurn.amount": - return x.Amount != "" - case "florin.v1.MsgBurn.signature": - return len(x.Signature) != 0 - case "florin.v1.MsgBurn.pub_key": - return x.PubKey != nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgBurn.denom": - x.Denom = "" - case "florin.v1.MsgBurn.signer": - x.Signer = "" - case "florin.v1.MsgBurn.from": - x.From = "" - case "florin.v1.MsgBurn.amount": - x.Amount = "" - case "florin.v1.MsgBurn.signature": - x.Signature = nil - case "florin.v1.MsgBurn.pub_key": - x.PubKey = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgBurn.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgBurn.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgBurn.from": - value := x.From - return protoreflect.ValueOfString(value) - case "florin.v1.MsgBurn.amount": - value := x.Amount - return protoreflect.ValueOfString(value) - case "florin.v1.MsgBurn.signature": - value := x.Signature - return protoreflect.ValueOfBytes(value) - case "florin.v1.MsgBurn.pub_key": - value := x.PubKey - return protoreflect.ValueOfMessage(value.ProtoReflect()) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgBurn.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgBurn.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgBurn.from": - x.From = value.Interface().(string) - case "florin.v1.MsgBurn.amount": - x.Amount = value.Interface().(string) - case "florin.v1.MsgBurn.signature": - x.Signature = value.Bytes() - case "florin.v1.MsgBurn.pub_key": - x.PubKey = value.Message().Interface().(*anypb.Any) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgBurn.pub_key": - if x.PubKey == nil { - x.PubKey = new(anypb.Any) - } - return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - case "florin.v1.MsgBurn.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgBurn is not mutable")) - case "florin.v1.MsgBurn.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgBurn is not mutable")) - case "florin.v1.MsgBurn.from": - panic(fmt.Errorf("field from of message florin.v1.MsgBurn is not mutable")) - case "florin.v1.MsgBurn.amount": - panic(fmt.Errorf("field amount of message florin.v1.MsgBurn is not mutable")) - case "florin.v1.MsgBurn.signature": - panic(fmt.Errorf("field signature of message florin.v1.MsgBurn is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgBurn.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgBurn.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgBurn.from": - return protoreflect.ValueOfString("") - case "florin.v1.MsgBurn.amount": - return protoreflect.ValueOfString("") - case "florin.v1.MsgBurn.signature": - return protoreflect.ValueOfBytes(nil) - case "florin.v1.MsgBurn.pub_key": - m := new(anypb.Any) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurn")) - } - panic(fmt.Errorf("message florin.v1.MsgBurn 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_MsgBurn) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgBurn", 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_MsgBurn) 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_MsgBurn) 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_MsgBurn) 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_MsgBurn) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgBurn) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.From) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Amount) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signature) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.PubKey != nil { - l = options.Size(x.PubKey) - 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().(*MsgBurn) - 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.PubKey != nil { - encoded, err := options.Marshal(x.PubKey) - 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] = 0x32 - } - if len(x.Signature) > 0 { - i -= len(x.Signature) - copy(dAtA[i:], x.Signature) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) - i-- - dAtA[i] = 0x2a - } - if len(x.Amount) > 0 { - i -= len(x.Amount) - copy(dAtA[i:], x.Amount) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) - i-- - dAtA[i] = 0x22 - } - if len(x.From) > 0 { - i -= len(x.From) - copy(dAtA[i:], x.From) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgBurn) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 From", 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.From = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - 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++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + byteLen - 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) - if x.Signature == nil { - x.Signature = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) - } - var msglen int - 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++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - 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 - } - if x.PubKey == nil { - x.PubKey = &anypb.Any{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - 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_MsgBurnResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgBurnResponse = File_florin_v1_tx_proto.Messages().ByName("MsgBurnResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgBurnResponse)(nil) - -type fastReflection_MsgBurnResponse MsgBurnResponse - -func (x *MsgBurnResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgBurnResponse)(x) -} - -func (x *MsgBurnResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[9] - 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_MsgBurnResponse_messageType fastReflection_MsgBurnResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgBurnResponse_messageType{} - -type fastReflection_MsgBurnResponse_messageType struct{} - -func (x fastReflection_MsgBurnResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgBurnResponse)(nil) -} -func (x fastReflection_MsgBurnResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgBurnResponse) -} -func (x fastReflection_MsgBurnResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgBurnResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgBurnResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgBurnResponse -} - -// 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_MsgBurnResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgBurnResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgBurnResponse) New() protoreflect.Message { - return new(fastReflection_MsgBurnResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgBurnResponse) Interface() protoreflect.ProtoMessage { - return (*MsgBurnResponse)(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_MsgBurnResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgBurnResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgBurnResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgBurnResponse 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_MsgBurnResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgBurnResponse", 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_MsgBurnResponse) 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_MsgBurnResponse) 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_MsgBurnResponse) 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_MsgBurnResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgBurnResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgBurnResponse) - 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 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().(*MsgBurnResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgMint protoreflect.MessageDescriptor - fd_MsgMint_denom protoreflect.FieldDescriptor - fd_MsgMint_signer protoreflect.FieldDescriptor - fd_MsgMint_to protoreflect.FieldDescriptor - fd_MsgMint_amount protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgMint = File_florin_v1_tx_proto.Messages().ByName("MsgMint") - fd_MsgMint_denom = md_MsgMint.Fields().ByName("denom") - fd_MsgMint_signer = md_MsgMint.Fields().ByName("signer") - fd_MsgMint_to = md_MsgMint.Fields().ByName("to") - fd_MsgMint_amount = md_MsgMint.Fields().ByName("amount") -} - -var _ protoreflect.Message = (*fastReflection_MsgMint)(nil) - -type fastReflection_MsgMint MsgMint - -func (x *MsgMint) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgMint)(x) -} - -func (x *MsgMint) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[10] - 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_MsgMint_messageType fastReflection_MsgMint_messageType -var _ protoreflect.MessageType = fastReflection_MsgMint_messageType{} - -type fastReflection_MsgMint_messageType struct{} - -func (x fastReflection_MsgMint_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgMint)(nil) -} -func (x fastReflection_MsgMint_messageType) New() protoreflect.Message { - return new(fastReflection_MsgMint) -} -func (x fastReflection_MsgMint_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgMint -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgMint) Descriptor() protoreflect.MessageDescriptor { - return md_MsgMint -} - -// 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_MsgMint) Type() protoreflect.MessageType { - return _fastReflection_MsgMint_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgMint) New() protoreflect.Message { - return new(fastReflection_MsgMint) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgMint) Interface() protoreflect.ProtoMessage { - return (*MsgMint)(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_MsgMint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgMint_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgMint_signer, value) { - return - } - } - if x.To != "" { - value := protoreflect.ValueOfString(x.To) - if !f(fd_MsgMint_to, value) { - return - } - } - if x.Amount != "" { - value := protoreflect.ValueOfString(x.Amount) - if !f(fd_MsgMint_amount, 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_MsgMint) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgMint.denom": - return x.Denom != "" - case "florin.v1.MsgMint.signer": - return x.Signer != "" - case "florin.v1.MsgMint.to": - return x.To != "" - case "florin.v1.MsgMint.amount": - return x.Amount != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgMint.denom": - x.Denom = "" - case "florin.v1.MsgMint.signer": - x.Signer = "" - case "florin.v1.MsgMint.to": - x.To = "" - case "florin.v1.MsgMint.amount": - x.Amount = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgMint.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgMint.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgMint.to": - value := x.To - return protoreflect.ValueOfString(value) - case "florin.v1.MsgMint.amount": - value := x.Amount - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgMint.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgMint.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgMint.to": - x.To = value.Interface().(string) - case "florin.v1.MsgMint.amount": - x.Amount = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgMint.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgMint is not mutable")) - case "florin.v1.MsgMint.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgMint is not mutable")) - case "florin.v1.MsgMint.to": - panic(fmt.Errorf("field to of message florin.v1.MsgMint is not mutable")) - case "florin.v1.MsgMint.amount": - panic(fmt.Errorf("field amount of message florin.v1.MsgMint is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgMint.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgMint.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgMint.to": - return protoreflect.ValueOfString("") - case "florin.v1.MsgMint.amount": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMint")) - } - panic(fmt.Errorf("message florin.v1.MsgMint 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_MsgMint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgMint", 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_MsgMint) 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_MsgMint) 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_MsgMint) 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_MsgMint) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgMint) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.To) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Amount) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgMint) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Amount) > 0 { - i -= len(x.Amount) - copy(dAtA[i:], x.Amount) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) - i-- - dAtA[i] = 0x22 - } - if len(x.To) > 0 { - i -= len(x.To) - copy(dAtA[i:], x.To) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgMint) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 To", 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.To = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = 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_MsgMintResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgMintResponse = File_florin_v1_tx_proto.Messages().ByName("MsgMintResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgMintResponse)(nil) - -type fastReflection_MsgMintResponse MsgMintResponse - -func (x *MsgMintResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgMintResponse)(x) -} - -func (x *MsgMintResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[11] - 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_MsgMintResponse_messageType fastReflection_MsgMintResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgMintResponse_messageType{} - -type fastReflection_MsgMintResponse_messageType struct{} - -func (x fastReflection_MsgMintResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgMintResponse)(nil) -} -func (x fastReflection_MsgMintResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgMintResponse) -} -func (x fastReflection_MsgMintResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgMintResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgMintResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgMintResponse -} - -// 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_MsgMintResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgMintResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgMintResponse) New() protoreflect.Message { - return new(fastReflection_MsgMintResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgMintResponse) Interface() protoreflect.ProtoMessage { - return (*MsgMintResponse)(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_MsgMintResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgMintResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgMintResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgMintResponse 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_MsgMintResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgMintResponse", 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_MsgMintResponse) 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_MsgMintResponse) 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_MsgMintResponse) 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_MsgMintResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgMintResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgMintResponse) - 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 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().(*MsgMintResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgRecover protoreflect.MessageDescriptor - fd_MsgRecover_denom protoreflect.FieldDescriptor - fd_MsgRecover_signer protoreflect.FieldDescriptor - fd_MsgRecover_from protoreflect.FieldDescriptor - fd_MsgRecover_to protoreflect.FieldDescriptor - fd_MsgRecover_signature protoreflect.FieldDescriptor - fd_MsgRecover_pub_key protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRecover = File_florin_v1_tx_proto.Messages().ByName("MsgRecover") - fd_MsgRecover_denom = md_MsgRecover.Fields().ByName("denom") - fd_MsgRecover_signer = md_MsgRecover.Fields().ByName("signer") - fd_MsgRecover_from = md_MsgRecover.Fields().ByName("from") - fd_MsgRecover_to = md_MsgRecover.Fields().ByName("to") - fd_MsgRecover_signature = md_MsgRecover.Fields().ByName("signature") - fd_MsgRecover_pub_key = md_MsgRecover.Fields().ByName("pub_key") -} - -var _ protoreflect.Message = (*fastReflection_MsgRecover)(nil) - -type fastReflection_MsgRecover MsgRecover - -func (x *MsgRecover) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRecover)(x) -} - -func (x *MsgRecover) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[12] - 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_MsgRecover_messageType fastReflection_MsgRecover_messageType -var _ protoreflect.MessageType = fastReflection_MsgRecover_messageType{} - -type fastReflection_MsgRecover_messageType struct{} - -func (x fastReflection_MsgRecover_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRecover)(nil) -} -func (x fastReflection_MsgRecover_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRecover) -} -func (x fastReflection_MsgRecover_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRecover -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRecover) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRecover -} - -// 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_MsgRecover) Type() protoreflect.MessageType { - return _fastReflection_MsgRecover_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRecover) New() protoreflect.Message { - return new(fastReflection_MsgRecover) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRecover) Interface() protoreflect.ProtoMessage { - return (*MsgRecover)(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_MsgRecover) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgRecover_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgRecover_signer, value) { - return - } - } - if x.From != "" { - value := protoreflect.ValueOfString(x.From) - if !f(fd_MsgRecover_from, value) { - return - } - } - if x.To != "" { - value := protoreflect.ValueOfString(x.To) - if !f(fd_MsgRecover_to, value) { - return - } - } - if len(x.Signature) != 0 { - value := protoreflect.ValueOfBytes(x.Signature) - if !f(fd_MsgRecover_signature, value) { - return - } - } - if x.PubKey != nil { - value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - if !f(fd_MsgRecover_pub_key, 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_MsgRecover) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgRecover.denom": - return x.Denom != "" - case "florin.v1.MsgRecover.signer": - return x.Signer != "" - case "florin.v1.MsgRecover.from": - return x.From != "" - case "florin.v1.MsgRecover.to": - return x.To != "" - case "florin.v1.MsgRecover.signature": - return len(x.Signature) != 0 - case "florin.v1.MsgRecover.pub_key": - return x.PubKey != nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgRecover.denom": - x.Denom = "" - case "florin.v1.MsgRecover.signer": - x.Signer = "" - case "florin.v1.MsgRecover.from": - x.From = "" - case "florin.v1.MsgRecover.to": - x.To = "" - case "florin.v1.MsgRecover.signature": - x.Signature = nil - case "florin.v1.MsgRecover.pub_key": - x.PubKey = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgRecover.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRecover.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRecover.from": - value := x.From - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRecover.to": - value := x.To - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRecover.signature": - value := x.Signature - return protoreflect.ValueOfBytes(value) - case "florin.v1.MsgRecover.pub_key": - value := x.PubKey - return protoreflect.ValueOfMessage(value.ProtoReflect()) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgRecover.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgRecover.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgRecover.from": - x.From = value.Interface().(string) - case "florin.v1.MsgRecover.to": - x.To = value.Interface().(string) - case "florin.v1.MsgRecover.signature": - x.Signature = value.Bytes() - case "florin.v1.MsgRecover.pub_key": - x.PubKey = value.Message().Interface().(*anypb.Any) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRecover.pub_key": - if x.PubKey == nil { - x.PubKey = new(anypb.Any) - } - return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) - case "florin.v1.MsgRecover.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgRecover is not mutable")) - case "florin.v1.MsgRecover.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgRecover is not mutable")) - case "florin.v1.MsgRecover.from": - panic(fmt.Errorf("field from of message florin.v1.MsgRecover is not mutable")) - case "florin.v1.MsgRecover.to": - panic(fmt.Errorf("field to of message florin.v1.MsgRecover is not mutable")) - case "florin.v1.MsgRecover.signature": - panic(fmt.Errorf("field signature of message florin.v1.MsgRecover is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRecover.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRecover.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRecover.from": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRecover.to": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRecover.signature": - return protoreflect.ValueOfBytes(nil) - case "florin.v1.MsgRecover.pub_key": - m := new(anypb.Any) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecover")) - } - panic(fmt.Errorf("message florin.v1.MsgRecover 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_MsgRecover) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRecover", 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_MsgRecover) 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_MsgRecover) 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_MsgRecover) 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_MsgRecover) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRecover) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.From) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.To) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signature) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.PubKey != nil { - l = options.Size(x.PubKey) - 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().(*MsgRecover) - 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.PubKey != nil { - encoded, err := options.Marshal(x.PubKey) - 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] = 0x32 - } - if len(x.Signature) > 0 { - i -= len(x.Signature) - copy(dAtA[i:], x.Signature) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) - i-- - dAtA[i] = 0x2a - } - if len(x.To) > 0 { - i -= len(x.To) - copy(dAtA[i:], x.To) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) - i-- - dAtA[i] = 0x22 - } - if len(x.From) > 0 { - i -= len(x.From) - copy(dAtA[i:], x.From) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgRecover) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 From", 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.From = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", 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.To = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var byteLen int - 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++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + byteLen - 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) - if x.Signature == nil { - x.Signature = []byte{} - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) - } - var msglen int - 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++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - 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 - } - if x.PubKey == nil { - x.PubKey = &anypb.Any{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - 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_MsgRecoverResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRecoverResponse = File_florin_v1_tx_proto.Messages().ByName("MsgRecoverResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgRecoverResponse)(nil) - -type fastReflection_MsgRecoverResponse MsgRecoverResponse - -func (x *MsgRecoverResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRecoverResponse)(x) -} - -func (x *MsgRecoverResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[13] - 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_MsgRecoverResponse_messageType fastReflection_MsgRecoverResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgRecoverResponse_messageType{} - -type fastReflection_MsgRecoverResponse_messageType struct{} - -func (x fastReflection_MsgRecoverResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRecoverResponse)(nil) -} -func (x fastReflection_MsgRecoverResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRecoverResponse) -} -func (x fastReflection_MsgRecoverResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRecoverResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRecoverResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRecoverResponse -} - -// 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_MsgRecoverResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgRecoverResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRecoverResponse) New() protoreflect.Message { - return new(fastReflection_MsgRecoverResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRecoverResponse) Interface() protoreflect.ProtoMessage { - return (*MsgRecoverResponse)(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_MsgRecoverResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgRecoverResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRecoverResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRecoverResponse 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_MsgRecoverResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRecoverResponse", 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_MsgRecoverResponse) 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_MsgRecoverResponse) 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_MsgRecoverResponse) 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_MsgRecoverResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRecoverResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgRecoverResponse) - 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 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().(*MsgRecoverResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgRemoveAdminAccount protoreflect.MessageDescriptor - fd_MsgRemoveAdminAccount_denom protoreflect.FieldDescriptor - fd_MsgRemoveAdminAccount_signer protoreflect.FieldDescriptor - fd_MsgRemoveAdminAccount_account protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRemoveAdminAccount = File_florin_v1_tx_proto.Messages().ByName("MsgRemoveAdminAccount") - fd_MsgRemoveAdminAccount_denom = md_MsgRemoveAdminAccount.Fields().ByName("denom") - fd_MsgRemoveAdminAccount_signer = md_MsgRemoveAdminAccount.Fields().ByName("signer") - fd_MsgRemoveAdminAccount_account = md_MsgRemoveAdminAccount.Fields().ByName("account") -} - -var _ protoreflect.Message = (*fastReflection_MsgRemoveAdminAccount)(nil) - -type fastReflection_MsgRemoveAdminAccount MsgRemoveAdminAccount - -func (x *MsgRemoveAdminAccount) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveAdminAccount)(x) -} - -func (x *MsgRemoveAdminAccount) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[14] - 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_MsgRemoveAdminAccount_messageType fastReflection_MsgRemoveAdminAccount_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveAdminAccount_messageType{} - -type fastReflection_MsgRemoveAdminAccount_messageType struct{} - -func (x fastReflection_MsgRemoveAdminAccount_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveAdminAccount)(nil) -} -func (x fastReflection_MsgRemoveAdminAccount_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveAdminAccount) -} -func (x fastReflection_MsgRemoveAdminAccount_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveAdminAccount -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRemoveAdminAccount) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveAdminAccount -} - -// 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_MsgRemoveAdminAccount) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveAdminAccount_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveAdminAccount) New() protoreflect.Message { - return new(fastReflection_MsgRemoveAdminAccount) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveAdminAccount) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveAdminAccount)(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_MsgRemoveAdminAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgRemoveAdminAccount_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgRemoveAdminAccount_signer, value) { - return - } - } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgRemoveAdminAccount_account, 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_MsgRemoveAdminAccount) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - return x.Denom != "" - case "florin.v1.MsgRemoveAdminAccount.signer": - return x.Signer != "" - case "florin.v1.MsgRemoveAdminAccount.account": - return x.Account != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - x.Denom = "" - case "florin.v1.MsgRemoveAdminAccount.signer": - x.Signer = "" - case "florin.v1.MsgRemoveAdminAccount.account": - x.Account = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRemoveAdminAccount.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRemoveAdminAccount.account": - value := x.Account - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgRemoveAdminAccount.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgRemoveAdminAccount.account": - x.Account = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgRemoveAdminAccount is not mutable")) - case "florin.v1.MsgRemoveAdminAccount.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgRemoveAdminAccount is not mutable")) - case "florin.v1.MsgRemoveAdminAccount.account": - panic(fmt.Errorf("field account of message florin.v1.MsgRemoveAdminAccount is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRemoveAdminAccount.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRemoveAdminAccount.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRemoveAdminAccount.account": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRemoveAdminAccount", 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveAdminAccount) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Account) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveAdminAccount) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgRemoveAdminAccount) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgRemoveAdminAccountResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRemoveAdminAccountResponse = File_florin_v1_tx_proto.Messages().ByName("MsgRemoveAdminAccountResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgRemoveAdminAccountResponse)(nil) - -type fastReflection_MsgRemoveAdminAccountResponse MsgRemoveAdminAccountResponse - -func (x *MsgRemoveAdminAccountResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveAdminAccountResponse)(x) -} - -func (x *MsgRemoveAdminAccountResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[15] - 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_MsgRemoveAdminAccountResponse_messageType fastReflection_MsgRemoveAdminAccountResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveAdminAccountResponse_messageType{} - -type fastReflection_MsgRemoveAdminAccountResponse_messageType struct{} - -func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveAdminAccountResponse)(nil) -} -func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveAdminAccountResponse) -} -func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveAdminAccountResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRemoveAdminAccountResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveAdminAccountResponse -} - -// 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_MsgRemoveAdminAccountResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveAdminAccountResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveAdminAccountResponse) New() protoreflect.Message { - return new(fastReflection_MsgRemoveAdminAccountResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveAdminAccountResponse) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveAdminAccountResponse)(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_MsgRemoveAdminAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgRemoveAdminAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveAdminAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRemoveAdminAccountResponse", 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveAdminAccountResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgRemoveAdminAccountResponse) - 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 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().(*MsgRemoveAdminAccountResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgRemoveSystemAccount protoreflect.MessageDescriptor - fd_MsgRemoveSystemAccount_denom protoreflect.FieldDescriptor - fd_MsgRemoveSystemAccount_signer protoreflect.FieldDescriptor - fd_MsgRemoveSystemAccount_account protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRemoveSystemAccount = File_florin_v1_tx_proto.Messages().ByName("MsgRemoveSystemAccount") - fd_MsgRemoveSystemAccount_denom = md_MsgRemoveSystemAccount.Fields().ByName("denom") - fd_MsgRemoveSystemAccount_signer = md_MsgRemoveSystemAccount.Fields().ByName("signer") - fd_MsgRemoveSystemAccount_account = md_MsgRemoveSystemAccount.Fields().ByName("account") -} - -var _ protoreflect.Message = (*fastReflection_MsgRemoveSystemAccount)(nil) - -type fastReflection_MsgRemoveSystemAccount MsgRemoveSystemAccount - -func (x *MsgRemoveSystemAccount) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveSystemAccount)(x) -} - -func (x *MsgRemoveSystemAccount) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[16] - 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_MsgRemoveSystemAccount_messageType fastReflection_MsgRemoveSystemAccount_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveSystemAccount_messageType{} - -type fastReflection_MsgRemoveSystemAccount_messageType struct{} - -func (x fastReflection_MsgRemoveSystemAccount_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveSystemAccount)(nil) -} -func (x fastReflection_MsgRemoveSystemAccount_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveSystemAccount) -} -func (x fastReflection_MsgRemoveSystemAccount_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveSystemAccount -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRemoveSystemAccount) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveSystemAccount -} - -// 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_MsgRemoveSystemAccount) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveSystemAccount_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveSystemAccount) New() protoreflect.Message { - return new(fastReflection_MsgRemoveSystemAccount) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveSystemAccount) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveSystemAccount)(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_MsgRemoveSystemAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgRemoveSystemAccount_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgRemoveSystemAccount_signer, value) { - return - } - } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgRemoveSystemAccount_account, 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_MsgRemoveSystemAccount) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - return x.Denom != "" - case "florin.v1.MsgRemoveSystemAccount.signer": - return x.Signer != "" - case "florin.v1.MsgRemoveSystemAccount.account": - return x.Account != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - x.Denom = "" - case "florin.v1.MsgRemoveSystemAccount.signer": - x.Signer = "" - case "florin.v1.MsgRemoveSystemAccount.account": - x.Account = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRemoveSystemAccount.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgRemoveSystemAccount.account": - value := x.Account - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgRemoveSystemAccount.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgRemoveSystemAccount.account": - x.Account = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgRemoveSystemAccount is not mutable")) - case "florin.v1.MsgRemoveSystemAccount.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgRemoveSystemAccount is not mutable")) - case "florin.v1.MsgRemoveSystemAccount.account": - panic(fmt.Errorf("field account of message florin.v1.MsgRemoveSystemAccount is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgRemoveSystemAccount.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRemoveSystemAccount.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgRemoveSystemAccount.account": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccount")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRemoveSystemAccount", 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveSystemAccount) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Account) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveSystemAccount) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgRemoveSystemAccount) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccount: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgRemoveSystemAccountResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgRemoveSystemAccountResponse = File_florin_v1_tx_proto.Messages().ByName("MsgRemoveSystemAccountResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgRemoveSystemAccountResponse)(nil) - -type fastReflection_MsgRemoveSystemAccountResponse MsgRemoveSystemAccountResponse - -func (x *MsgRemoveSystemAccountResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveSystemAccountResponse)(x) -} - -func (x *MsgRemoveSystemAccountResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[17] - 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_MsgRemoveSystemAccountResponse_messageType fastReflection_MsgRemoveSystemAccountResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveSystemAccountResponse_messageType{} - -type fastReflection_MsgRemoveSystemAccountResponse_messageType struct{} - -func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveSystemAccountResponse)(nil) -} -func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveSystemAccountResponse) -} -func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveSystemAccountResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgRemoveSystemAccountResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveSystemAccountResponse -} - -// 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_MsgRemoveSystemAccountResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveSystemAccountResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveSystemAccountResponse) New() protoreflect.Message { - return new(fastReflection_MsgRemoveSystemAccountResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveSystemAccountResponse) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveSystemAccountResponse)(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_MsgRemoveSystemAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgRemoveSystemAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgRemoveSystemAccountResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgRemoveSystemAccountResponse", 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveSystemAccountResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgRemoveSystemAccountResponse) - 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 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().(*MsgRemoveSystemAccountResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccountResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgSetMaxMintAllowance protoreflect.MessageDescriptor - fd_MsgSetMaxMintAllowance_denom protoreflect.FieldDescriptor - fd_MsgSetMaxMintAllowance_signer protoreflect.FieldDescriptor - fd_MsgSetMaxMintAllowance_amount protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgSetMaxMintAllowance = File_florin_v1_tx_proto.Messages().ByName("MsgSetMaxMintAllowance") - fd_MsgSetMaxMintAllowance_denom = md_MsgSetMaxMintAllowance.Fields().ByName("denom") - fd_MsgSetMaxMintAllowance_signer = md_MsgSetMaxMintAllowance.Fields().ByName("signer") - fd_MsgSetMaxMintAllowance_amount = md_MsgSetMaxMintAllowance.Fields().ByName("amount") -} - -var _ protoreflect.Message = (*fastReflection_MsgSetMaxMintAllowance)(nil) - -type fastReflection_MsgSetMaxMintAllowance MsgSetMaxMintAllowance - -func (x *MsgSetMaxMintAllowance) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMaxMintAllowance)(x) -} - -func (x *MsgSetMaxMintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[18] - 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_MsgSetMaxMintAllowance_messageType fastReflection_MsgSetMaxMintAllowance_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMaxMintAllowance_messageType{} - -type fastReflection_MsgSetMaxMintAllowance_messageType struct{} - -func (x fastReflection_MsgSetMaxMintAllowance_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMaxMintAllowance)(nil) -} -func (x fastReflection_MsgSetMaxMintAllowance_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMaxMintAllowance) -} -func (x fastReflection_MsgSetMaxMintAllowance_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMaxMintAllowance -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgSetMaxMintAllowance) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMaxMintAllowance -} - -// 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_MsgSetMaxMintAllowance) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMaxMintAllowance_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMaxMintAllowance) New() protoreflect.Message { - return new(fastReflection_MsgSetMaxMintAllowance) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMaxMintAllowance) Interface() protoreflect.ProtoMessage { - return (*MsgSetMaxMintAllowance)(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_MsgSetMaxMintAllowance) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgSetMaxMintAllowance_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgSetMaxMintAllowance_signer, value) { - return - } - } - if x.Amount != "" { - value := protoreflect.ValueOfString(x.Amount) - if !f(fd_MsgSetMaxMintAllowance_amount, 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_MsgSetMaxMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - return x.Denom != "" - case "florin.v1.MsgSetMaxMintAllowance.signer": - return x.Signer != "" - case "florin.v1.MsgSetMaxMintAllowance.amount": - return x.Amount != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - x.Denom = "" - case "florin.v1.MsgSetMaxMintAllowance.signer": - x.Signer = "" - case "florin.v1.MsgSetMaxMintAllowance.amount": - x.Amount = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgSetMaxMintAllowance.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgSetMaxMintAllowance.amount": - value := x.Amount - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgSetMaxMintAllowance.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgSetMaxMintAllowance.amount": - x.Amount = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgSetMaxMintAllowance is not mutable")) - case "florin.v1.MsgSetMaxMintAllowance.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgSetMaxMintAllowance is not mutable")) - case "florin.v1.MsgSetMaxMintAllowance.amount": - panic(fmt.Errorf("field amount of message florin.v1.MsgSetMaxMintAllowance is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgSetMaxMintAllowance.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgSetMaxMintAllowance.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgSetMaxMintAllowance.amount": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgSetMaxMintAllowance", 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMaxMintAllowance) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Amount) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMaxMintAllowance) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Amount) > 0 { - i -= len(x.Amount) - copy(dAtA[i:], x.Amount) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgSetMaxMintAllowance) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowance: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowance: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Amount", 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.Amount = 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_MsgSetMaxMintAllowanceResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgSetMaxMintAllowanceResponse = File_florin_v1_tx_proto.Messages().ByName("MsgSetMaxMintAllowanceResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgSetMaxMintAllowanceResponse)(nil) - -type fastReflection_MsgSetMaxMintAllowanceResponse MsgSetMaxMintAllowanceResponse - -func (x *MsgSetMaxMintAllowanceResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMaxMintAllowanceResponse)(x) -} - -func (x *MsgSetMaxMintAllowanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[19] - 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_MsgSetMaxMintAllowanceResponse_messageType fastReflection_MsgSetMaxMintAllowanceResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMaxMintAllowanceResponse_messageType{} - -type fastReflection_MsgSetMaxMintAllowanceResponse_messageType struct{} - -func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMaxMintAllowanceResponse)(nil) -} -func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMaxMintAllowanceResponse) -} -func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMaxMintAllowanceResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgSetMaxMintAllowanceResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMaxMintAllowanceResponse -} - -// 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_MsgSetMaxMintAllowanceResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMaxMintAllowanceResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMaxMintAllowanceResponse) New() protoreflect.Message { - return new(fastReflection_MsgSetMaxMintAllowanceResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMaxMintAllowanceResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSetMaxMintAllowanceResponse)(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_MsgSetMaxMintAllowanceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgSetMaxMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMaxMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgSetMaxMintAllowanceResponse", 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMaxMintAllowanceResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgSetMaxMintAllowanceResponse) - 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 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().(*MsgSetMaxMintAllowanceResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowanceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgSetMintAllowance protoreflect.MessageDescriptor - fd_MsgSetMintAllowance_denom protoreflect.FieldDescriptor - fd_MsgSetMintAllowance_signer protoreflect.FieldDescriptor - fd_MsgSetMintAllowance_account protoreflect.FieldDescriptor - fd_MsgSetMintAllowance_amount protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgSetMintAllowance = File_florin_v1_tx_proto.Messages().ByName("MsgSetMintAllowance") - fd_MsgSetMintAllowance_denom = md_MsgSetMintAllowance.Fields().ByName("denom") - fd_MsgSetMintAllowance_signer = md_MsgSetMintAllowance.Fields().ByName("signer") - fd_MsgSetMintAllowance_account = md_MsgSetMintAllowance.Fields().ByName("account") - fd_MsgSetMintAllowance_amount = md_MsgSetMintAllowance.Fields().ByName("amount") -} - -var _ protoreflect.Message = (*fastReflection_MsgSetMintAllowance)(nil) - -type fastReflection_MsgSetMintAllowance MsgSetMintAllowance - -func (x *MsgSetMintAllowance) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMintAllowance)(x) -} - -func (x *MsgSetMintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[20] - 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_MsgSetMintAllowance_messageType fastReflection_MsgSetMintAllowance_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMintAllowance_messageType{} - -type fastReflection_MsgSetMintAllowance_messageType struct{} - -func (x fastReflection_MsgSetMintAllowance_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMintAllowance)(nil) -} -func (x fastReflection_MsgSetMintAllowance_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMintAllowance) -} -func (x fastReflection_MsgSetMintAllowance_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMintAllowance -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgSetMintAllowance) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMintAllowance -} - -// 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_MsgSetMintAllowance) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMintAllowance_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMintAllowance) New() protoreflect.Message { - return new(fastReflection_MsgSetMintAllowance) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMintAllowance) Interface() protoreflect.ProtoMessage { - return (*MsgSetMintAllowance)(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_MsgSetMintAllowance) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgSetMintAllowance_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgSetMintAllowance_signer, value) { - return - } - } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgSetMintAllowance_account, value) { - return - } - } - if x.Amount != "" { - value := protoreflect.ValueOfString(x.Amount) - if !f(fd_MsgSetMintAllowance_amount, 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_MsgSetMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - return x.Denom != "" - case "florin.v1.MsgSetMintAllowance.signer": - return x.Signer != "" - case "florin.v1.MsgSetMintAllowance.account": - return x.Account != "" - case "florin.v1.MsgSetMintAllowance.amount": - return x.Amount != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - x.Denom = "" - case "florin.v1.MsgSetMintAllowance.signer": - x.Signer = "" - case "florin.v1.MsgSetMintAllowance.account": - x.Account = "" - case "florin.v1.MsgSetMintAllowance.amount": - x.Amount = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgSetMintAllowance.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgSetMintAllowance.account": - value := x.Account - return protoreflect.ValueOfString(value) - case "florin.v1.MsgSetMintAllowance.amount": - value := x.Amount - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgSetMintAllowance.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgSetMintAllowance.account": - x.Account = value.Interface().(string) - case "florin.v1.MsgSetMintAllowance.amount": - x.Amount = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgSetMintAllowance is not mutable")) - case "florin.v1.MsgSetMintAllowance.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgSetMintAllowance is not mutable")) - case "florin.v1.MsgSetMintAllowance.account": - panic(fmt.Errorf("field account of message florin.v1.MsgSetMintAllowance is not mutable")) - case "florin.v1.MsgSetMintAllowance.amount": - panic(fmt.Errorf("field amount of message florin.v1.MsgSetMintAllowance is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgSetMintAllowance.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgSetMintAllowance.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgSetMintAllowance.account": - return protoreflect.ValueOfString("") - case "florin.v1.MsgSetMintAllowance.amount": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowance")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowance 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_MsgSetMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgSetMintAllowance", 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMintAllowance) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Account) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Amount) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMintAllowance) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.Amount) > 0 { - i -= len(x.Amount) - copy(dAtA[i:], x.Amount) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) - i-- - dAtA[i] = 0x22 - } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgSetMintAllowance) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowance: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowance: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = 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_MsgSetMintAllowanceResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgSetMintAllowanceResponse = File_florin_v1_tx_proto.Messages().ByName("MsgSetMintAllowanceResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgSetMintAllowanceResponse)(nil) - -type fastReflection_MsgSetMintAllowanceResponse MsgSetMintAllowanceResponse - -func (x *MsgSetMintAllowanceResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMintAllowanceResponse)(x) -} - -func (x *MsgSetMintAllowanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_MsgSetMintAllowanceResponse_messageType fastReflection_MsgSetMintAllowanceResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMintAllowanceResponse_messageType{} - -type fastReflection_MsgSetMintAllowanceResponse_messageType struct{} - -func (x fastReflection_MsgSetMintAllowanceResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMintAllowanceResponse)(nil) -} -func (x fastReflection_MsgSetMintAllowanceResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMintAllowanceResponse) -} -func (x fastReflection_MsgSetMintAllowanceResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMintAllowanceResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgSetMintAllowanceResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMintAllowanceResponse -} - -// 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_MsgSetMintAllowanceResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMintAllowanceResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMintAllowanceResponse) New() protoreflect.Message { - return new(fastReflection_MsgSetMintAllowanceResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMintAllowanceResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSetMintAllowanceResponse)(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_MsgSetMintAllowanceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgSetMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgSetMintAllowanceResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgSetMintAllowanceResponse", 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMintAllowanceResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgSetMintAllowanceResponse) - 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 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().(*MsgSetMintAllowanceResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowanceResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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_MsgTransferOwnership protoreflect.MessageDescriptor - fd_MsgTransferOwnership_denom protoreflect.FieldDescriptor - fd_MsgTransferOwnership_signer protoreflect.FieldDescriptor - fd_MsgTransferOwnership_new_owner protoreflect.FieldDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgTransferOwnership = File_florin_v1_tx_proto.Messages().ByName("MsgTransferOwnership") - fd_MsgTransferOwnership_denom = md_MsgTransferOwnership.Fields().ByName("denom") - fd_MsgTransferOwnership_signer = md_MsgTransferOwnership.Fields().ByName("signer") - fd_MsgTransferOwnership_new_owner = md_MsgTransferOwnership.Fields().ByName("new_owner") -} - -var _ protoreflect.Message = (*fastReflection_MsgTransferOwnership)(nil) - -type fastReflection_MsgTransferOwnership MsgTransferOwnership - -func (x *MsgTransferOwnership) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgTransferOwnership)(x) -} - -func (x *MsgTransferOwnership) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[22] - 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_MsgTransferOwnership_messageType fastReflection_MsgTransferOwnership_messageType -var _ protoreflect.MessageType = fastReflection_MsgTransferOwnership_messageType{} - -type fastReflection_MsgTransferOwnership_messageType struct{} - -func (x fastReflection_MsgTransferOwnership_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgTransferOwnership)(nil) -} -func (x fastReflection_MsgTransferOwnership_messageType) New() protoreflect.Message { - return new(fastReflection_MsgTransferOwnership) -} -func (x fastReflection_MsgTransferOwnership_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgTransferOwnership -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgTransferOwnership) Descriptor() protoreflect.MessageDescriptor { - return md_MsgTransferOwnership -} - -// 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_MsgTransferOwnership) Type() protoreflect.MessageType { - return _fastReflection_MsgTransferOwnership_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgTransferOwnership) New() protoreflect.Message { - return new(fastReflection_MsgTransferOwnership) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgTransferOwnership) Interface() protoreflect.ProtoMessage { - return (*MsgTransferOwnership)(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_MsgTransferOwnership) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Denom != "" { - value := protoreflect.ValueOfString(x.Denom) - if !f(fd_MsgTransferOwnership_denom, value) { - return - } - } - if x.Signer != "" { - value := protoreflect.ValueOfString(x.Signer) - if !f(fd_MsgTransferOwnership_signer, value) { - return - } - } - if x.NewOwner != "" { - value := protoreflect.ValueOfString(x.NewOwner) - if !f(fd_MsgTransferOwnership_new_owner, 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_MsgTransferOwnership) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - return x.Denom != "" - case "florin.v1.MsgTransferOwnership.signer": - return x.Signer != "" - case "florin.v1.MsgTransferOwnership.new_owner": - return x.NewOwner != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - x.Denom = "" - case "florin.v1.MsgTransferOwnership.signer": - x.Signer = "" - case "florin.v1.MsgTransferOwnership.new_owner": - x.NewOwner = "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - value := x.Denom - return protoreflect.ValueOfString(value) - case "florin.v1.MsgTransferOwnership.signer": - value := x.Signer - return protoreflect.ValueOfString(value) - case "florin.v1.MsgTransferOwnership.new_owner": - value := x.NewOwner - return protoreflect.ValueOfString(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - x.Denom = value.Interface().(string) - case "florin.v1.MsgTransferOwnership.signer": - x.Signer = value.Interface().(string) - case "florin.v1.MsgTransferOwnership.new_owner": - x.NewOwner = value.Interface().(string) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - panic(fmt.Errorf("field denom of message florin.v1.MsgTransferOwnership is not mutable")) - case "florin.v1.MsgTransferOwnership.signer": - panic(fmt.Errorf("field signer of message florin.v1.MsgTransferOwnership is not mutable")) - case "florin.v1.MsgTransferOwnership.new_owner": - panic(fmt.Errorf("field new_owner of message florin.v1.MsgTransferOwnership is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "florin.v1.MsgTransferOwnership.denom": - return protoreflect.ValueOfString("") - case "florin.v1.MsgTransferOwnership.signer": - return protoreflect.ValueOfString("") - case "florin.v1.MsgTransferOwnership.new_owner": - return protoreflect.ValueOfString("") - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnership")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnership 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_MsgTransferOwnership) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgTransferOwnership", 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_MsgTransferOwnership) 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_MsgTransferOwnership) 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_MsgTransferOwnership) 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_MsgTransferOwnership) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgTransferOwnership) - 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.Denom) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Signer) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.NewOwner) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgTransferOwnership) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if len(x.NewOwner) > 0 { - i -= len(x.NewOwner) - copy(dAtA[i:], x.NewOwner) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.NewOwner))) - i-- - dAtA[i] = 0x1a - } - if len(x.Signer) > 0 { - i -= len(x.Signer) - copy(dAtA[i:], x.Signer) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) - i-- - dAtA[i] = 0x12 - } - if len(x.Denom) > 0 { - i -= len(x.Denom) - copy(dAtA[i:], x.Denom) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) - 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().(*MsgTransferOwnership) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnership: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnership: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 NewOwner", 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.NewOwner = 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_MsgTransferOwnershipResponse protoreflect.MessageDescriptor -) - -func init() { - file_florin_v1_tx_proto_init() - md_MsgTransferOwnershipResponse = File_florin_v1_tx_proto.Messages().ByName("MsgTransferOwnershipResponse") -} - -var _ protoreflect.Message = (*fastReflection_MsgTransferOwnershipResponse)(nil) - -type fastReflection_MsgTransferOwnershipResponse MsgTransferOwnershipResponse - -func (x *MsgTransferOwnershipResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgTransferOwnershipResponse)(x) -} - -func (x *MsgTransferOwnershipResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_tx_proto_msgTypes[23] - 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_MsgTransferOwnershipResponse_messageType fastReflection_MsgTransferOwnershipResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgTransferOwnershipResponse_messageType{} - -type fastReflection_MsgTransferOwnershipResponse_messageType struct{} - -func (x fastReflection_MsgTransferOwnershipResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgTransferOwnershipResponse)(nil) -} -func (x fastReflection_MsgTransferOwnershipResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgTransferOwnershipResponse) -} -func (x fastReflection_MsgTransferOwnershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgTransferOwnershipResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgTransferOwnershipResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgTransferOwnershipResponse -} - -// 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_MsgTransferOwnershipResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgTransferOwnershipResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgTransferOwnershipResponse) New() protoreflect.Message { - return new(fastReflection_MsgTransferOwnershipResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgTransferOwnershipResponse) Interface() protoreflect.ProtoMessage { - return (*MsgTransferOwnershipResponse)(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_MsgTransferOwnershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// 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_MsgTransferOwnershipResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MsgTransferOwnershipResponse")) - } - panic(fmt.Errorf("message florin.v1.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MsgTransferOwnershipResponse", 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgTransferOwnershipResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = 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().(*MsgTransferOwnershipResponse) - 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 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().(*MsgTransferOwnershipResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnershipResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - 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, - } -} - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: florin/v1/tx.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method. -type MsgAcceptOwnership struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` -} - -func (x *MsgAcceptOwnership) Reset() { - *x = MsgAcceptOwnership{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAcceptOwnership) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAcceptOwnership) ProtoMessage() {} - -// Deprecated: Use MsgAcceptOwnership.ProtoReflect.Descriptor instead. -func (*MsgAcceptOwnership) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{0} -} - -func (x *MsgAcceptOwnership) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgAcceptOwnership) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -// MsgAcceptOwnershipResponse is the response of the AcceptOwnership action. -type MsgAcceptOwnershipResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgAcceptOwnershipResponse) Reset() { - *x = MsgAcceptOwnershipResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAcceptOwnershipResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAcceptOwnershipResponse) ProtoMessage() {} - -// Deprecated: Use MsgAcceptOwnershipResponse.ProtoReflect.Descriptor instead. -func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{1} -} - -// MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method. -type MsgAddAdminAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` -} - -func (x *MsgAddAdminAccount) Reset() { - *x = MsgAddAdminAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAddAdminAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAddAdminAccount) ProtoMessage() {} - -// Deprecated: Use MsgAddAdminAccount.ProtoReflect.Descriptor instead. -func (*MsgAddAdminAccount) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{2} -} - -func (x *MsgAddAdminAccount) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgAddAdminAccount) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgAddAdminAccount) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - -// MsgAddAdminAccountResponse is the response of the AddAminAccount action. -type MsgAddAdminAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgAddAdminAccountResponse) Reset() { - *x = MsgAddAdminAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAddAdminAccountResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAddAdminAccountResponse) ProtoMessage() {} - -// Deprecated: Use MsgAddAdminAccountResponse.ProtoReflect.Descriptor instead. -func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{3} -} - -// MsgAddSystemAccount implements the addSystemAccount (0xa84c56d0) method. -type MsgAddSystemAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` -} - -func (x *MsgAddSystemAccount) Reset() { - *x = MsgAddSystemAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAddSystemAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAddSystemAccount) ProtoMessage() {} - -// Deprecated: Use MsgAddSystemAccount.ProtoReflect.Descriptor instead. -func (*MsgAddSystemAccount) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{4} -} - -func (x *MsgAddSystemAccount) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgAddSystemAccount) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgAddSystemAccount) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - -// MsgAddSystemAccountResponse is the response of the AddSystemAccount action. -type MsgAddSystemAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgAddSystemAccountResponse) Reset() { - *x = MsgAddSystemAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAddSystemAccountResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAddSystemAccountResponse) ProtoMessage() {} - -// Deprecated: Use MsgAddSystemAccountResponse.ProtoReflect.Descriptor instead. -func (*MsgAddSystemAccountResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{5} -} - -// MsgAllowDenom is the request of the AllowDenom action. -type MsgAllowDenom struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` -} - -func (x *MsgAllowDenom) Reset() { - *x = MsgAllowDenom{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAllowDenom) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAllowDenom) ProtoMessage() {} - -// Deprecated: Use MsgAllowDenom.ProtoReflect.Descriptor instead. -func (*MsgAllowDenom) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{6} -} - -func (x *MsgAllowDenom) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgAllowDenom) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgAllowDenom) GetOwner() string { - if x != nil { - return x.Owner - } - return "" -} - -// MsgAllowDenomResponse is the response of the AllowDenom action. -type MsgAllowDenomResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgAllowDenomResponse) Reset() { - *x = MsgAllowDenomResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgAllowDenomResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgAllowDenomResponse) ProtoMessage() {} - -// Deprecated: Use MsgAllowDenomResponse.ProtoReflect.Descriptor instead. -func (*MsgAllowDenomResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{7} -} - -// MsgBurn implements the burn (0x8d1247ba) method. -type MsgBurn struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` - Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` - PubKey *anypb.Any `protobuf:"bytes,6,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` -} - -func (x *MsgBurn) Reset() { - *x = MsgBurn{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgBurn) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgBurn) ProtoMessage() {} - -// Deprecated: Use MsgBurn.ProtoReflect.Descriptor instead. -func (*MsgBurn) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{8} -} - -func (x *MsgBurn) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgBurn) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgBurn) GetFrom() string { - if x != nil { - return x.From - } - return "" -} - -func (x *MsgBurn) GetAmount() string { - if x != nil { - return x.Amount - } - return "" -} - -func (x *MsgBurn) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *MsgBurn) GetPubKey() *anypb.Any { - if x != nil { - return x.PubKey - } - return nil -} - -// MsgBurnResponse is the response of the Burn action. -type MsgBurnResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgBurnResponse) Reset() { - *x = MsgBurnResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgBurnResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgBurnResponse) ProtoMessage() {} - -// Deprecated: Use MsgBurnResponse.ProtoReflect.Descriptor instead. -func (*MsgBurnResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{9} -} - -// MsgMint implements the mint (0x40c10f19) method. -type MsgMint struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *MsgMint) Reset() { - *x = MsgMint{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgMint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgMint) ProtoMessage() {} - -// Deprecated: Use MsgMint.ProtoReflect.Descriptor instead. -func (*MsgMint) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{10} -} - -func (x *MsgMint) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgMint) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgMint) GetTo() string { - if x != nil { - return x.To - } - return "" -} - -func (x *MsgMint) GetAmount() string { - if x != nil { - return x.Amount - } - return "" -} - -// MsgMintResponse is the response of the Mint action. -type MsgMintResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgMintResponse) Reset() { - *x = MsgMintResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgMintResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgMintResponse) ProtoMessage() {} - -// Deprecated: Use MsgMintResponse.ProtoReflect.Descriptor instead. -func (*MsgMintResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{11} -} - -// MsgRecover implements the recover (0x6eb4c609) method. -type MsgRecover struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` - To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` - Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` - PubKey *anypb.Any `protobuf:"bytes,6,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` -} - -func (x *MsgRecover) Reset() { - *x = MsgRecover{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRecover) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRecover) ProtoMessage() {} - -// Deprecated: Use MsgRecover.ProtoReflect.Descriptor instead. -func (*MsgRecover) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{12} -} - -func (x *MsgRecover) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgRecover) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgRecover) GetFrom() string { - if x != nil { - return x.From - } - return "" -} - -func (x *MsgRecover) GetTo() string { - if x != nil { - return x.To - } - return "" -} - -func (x *MsgRecover) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *MsgRecover) GetPubKey() *anypb.Any { - if x != nil { - return x.PubKey - } - return nil -} - -// MsgRecoverResponse is the response of the Recover action. -type MsgRecoverResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgRecoverResponse) Reset() { - *x = MsgRecoverResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRecoverResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRecoverResponse) ProtoMessage() {} - -// Deprecated: Use MsgRecoverResponse.ProtoReflect.Descriptor instead. -func (*MsgRecoverResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{13} -} - -// MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method. -type MsgRemoveAdminAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` -} - -func (x *MsgRemoveAdminAccount) Reset() { - *x = MsgRemoveAdminAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRemoveAdminAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRemoveAdminAccount) ProtoMessage() {} - -// Deprecated: Use MsgRemoveAdminAccount.ProtoReflect.Descriptor instead. -func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{14} -} - -func (x *MsgRemoveAdminAccount) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgRemoveAdminAccount) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgRemoveAdminAccount) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - -// MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action. -type MsgRemoveAdminAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgRemoveAdminAccountResponse) Reset() { - *x = MsgRemoveAdminAccountResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRemoveAdminAccountResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRemoveAdminAccountResponse) ProtoMessage() {} - -// Deprecated: Use MsgRemoveAdminAccountResponse.ProtoReflect.Descriptor instead. -func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{15} -} - -// MsgRemoveSystemAccount implements the removeSystemAccount (0xebbc3d46) method. -type MsgRemoveSystemAccount struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` -} - -func (x *MsgRemoveSystemAccount) Reset() { - *x = MsgRemoveSystemAccount{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgRemoveSystemAccount) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgRemoveSystemAccount) ProtoMessage() {} - -// Deprecated: Use MsgRemoveSystemAccount.ProtoReflect.Descriptor instead. -func (*MsgRemoveSystemAccount) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{16} -} - -func (x *MsgRemoveSystemAccount) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgRemoveSystemAccount) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgRemoveSystemAccount) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - -// MsgRemoveSystemAccountResponse is the response of the RemoveSystemAccount action. -type MsgRemoveSystemAccountResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgRemoveSystemAccountResponse) Reset() { - *x = MsgRemoveSystemAccountResponse{} +func (x *MsgBurnResponse) Reset() { + *x = MsgBurnResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[17] + mi := &file_florin_v1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgRemoveSystemAccountResponse) String() string { +func (x *MsgBurnResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgRemoveSystemAccountResponse) ProtoMessage() {} +func (*MsgBurnResponse) ProtoMessage() {} -// Deprecated: Use MsgRemoveSystemAccountResponse.ProtoReflect.Descriptor instead. -func (*MsgRemoveSystemAccountResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{17} +// Deprecated: Use MsgBurnResponse.ProtoReflect.Descriptor instead. +func (*MsgBurnResponse) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{1} } -// MsgSetMaxMintAllowance implements the setMaxMintAllowance (0xfd2319c4) method. -type MsgSetMaxMintAllowance struct { +// MsgMint implements the mint (0x40c10f19) method. +type MsgMint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` -} - -func (x *MsgSetMaxMintAllowance) Reset() { - *x = MsgSetMaxMintAllowance{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgSetMaxMintAllowance) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgSetMaxMintAllowance) ProtoMessage() {} - -// Deprecated: Use MsgSetMaxMintAllowance.ProtoReflect.Descriptor instead. -func (*MsgSetMaxMintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{18} -} - -func (x *MsgSetMaxMintAllowance) GetDenom() string { - if x != nil { - return x.Denom - } - return "" -} - -func (x *MsgSetMaxMintAllowance) GetSigner() string { - if x != nil { - return x.Signer - } - return "" -} - -func (x *MsgSetMaxMintAllowance) GetAmount() string { - if x != nil { - return x.Amount - } - return "" -} - -// MsgSetMaxMintAllowanceResponse is the response of the SetMaxMintAllowance action. -type MsgSetMaxMintAllowanceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgSetMaxMintAllowanceResponse) Reset() { - *x = MsgSetMaxMintAllowanceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MsgSetMaxMintAllowanceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgSetMaxMintAllowanceResponse) ProtoMessage() {} - -// Deprecated: Use MsgSetMaxMintAllowanceResponse.ProtoReflect.Descriptor instead. -func (*MsgSetMaxMintAllowanceResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{19} -} - -// MsgSetMintAllowance implements the setMintAllowance (0xf27c5f6e) method. -type MsgSetMintAllowance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` - Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` } -func (x *MsgSetMintAllowance) Reset() { - *x = MsgSetMintAllowance{} +func (x *MsgMint) Reset() { + *x = MsgMint{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[20] + mi := &file_florin_v1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetMintAllowance) String() string { +func (x *MsgMint) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetMintAllowance) ProtoMessage() {} +func (*MsgMint) ProtoMessage() {} -// Deprecated: Use MsgSetMintAllowance.ProtoReflect.Descriptor instead. -func (*MsgSetMintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{20} +// Deprecated: Use MsgMint.ProtoReflect.Descriptor instead. +func (*MsgMint) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{2} } -func (x *MsgSetMintAllowance) GetDenom() string { +func (x *MsgMint) GetDenom() string { if x != nil { return x.Denom } return "" } -func (x *MsgSetMintAllowance) GetSigner() string { +func (x *MsgMint) GetSigner() string { if x != nil { return x.Signer } return "" } -func (x *MsgSetMintAllowance) GetAccount() string { +func (x *MsgMint) GetTo() string { if x != nil { - return x.Account + return x.To } return "" } -func (x *MsgSetMintAllowance) GetAmount() string { +func (x *MsgMint) GetAmount() string { if x != nil { return x.Amount } return "" } -// MsgSetMintAllowanceResponse is the response of the SetMintAllowance action. -type MsgSetMintAllowanceResponse struct { +// MsgMintResponse is the response of the Mint action. +type MsgMintResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetMintAllowanceResponse) Reset() { - *x = MsgSetMintAllowanceResponse{} +func (x *MsgMintResponse) Reset() { + *x = MsgMintResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[21] + mi := &file_florin_v1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSetMintAllowanceResponse) String() string { +func (x *MsgMintResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetMintAllowanceResponse) ProtoMessage() {} +func (*MsgMintResponse) ProtoMessage() {} -// Deprecated: Use MsgSetMintAllowanceResponse.ProtoReflect.Descriptor instead. -func (*MsgSetMintAllowanceResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{21} +// Deprecated: Use MsgMintResponse.ProtoReflect.Descriptor instead. +func (*MsgMintResponse) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{3} } -// MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method. -type MsgTransferOwnership struct { +// MsgRecover implements the recover (0x6eb4c609) method. +type MsgRecover struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - NewOwner string `protobuf:"bytes,3,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` } -func (x *MsgTransferOwnership) Reset() { - *x = MsgTransferOwnership{} +func (x *MsgRecover) Reset() { + *x = MsgRecover{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[22] + mi := &file_florin_v1_tx_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgTransferOwnership) String() string { +func (x *MsgRecover) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgTransferOwnership) ProtoMessage() {} +func (*MsgRecover) ProtoMessage() {} -// Deprecated: Use MsgTransferOwnership.ProtoReflect.Descriptor instead. -func (*MsgTransferOwnership) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{22} +// Deprecated: Use MsgRecover.ProtoReflect.Descriptor instead. +func (*MsgRecover) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{4} } -func (x *MsgTransferOwnership) GetDenom() string { +func (x *MsgRecover) GetDenom() string { if x != nil { return x.Denom } return "" } -func (x *MsgTransferOwnership) GetSigner() string { +func (x *MsgRecover) GetSigner() string { if x != nil { return x.Signer } return "" } -func (x *MsgTransferOwnership) GetNewOwner() string { +func (x *MsgRecover) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +func (x *MsgRecover) GetTo() string { if x != nil { - return x.NewOwner + return x.To } return "" } -// MsgTransferOwnershipResponse is the response of the TransferOwnership action. -type MsgTransferOwnershipResponse struct { +func (x *MsgRecover) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +// MsgRecoverResponse is the response of the Recover action. +type MsgRecoverResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgTransferOwnershipResponse) Reset() { - *x = MsgTransferOwnershipResponse{} +func (x *MsgRecoverResponse) Reset() { + *x = MsgRecoverResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_tx_proto_msgTypes[23] + mi := &file_florin_v1_tx_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgTransferOwnershipResponse) String() string { +func (x *MsgRecoverResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgTransferOwnershipResponse) ProtoMessage() {} +func (*MsgRecoverResponse) ProtoMessage() {} -// Deprecated: Use MsgTransferOwnershipResponse.ProtoReflect.Descriptor instead. -func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_tx_proto_rawDescGZIP(), []int{23} +// Deprecated: Use MsgRecoverResponse.ProtoReflect.Descriptor instead. +func (*MsgRecoverResponse) Descriptor() ([]byte, []int) { + return file_florin_v1_tx_proto_rawDescGZIP(), []int{5} } var File_florin_v1_tx_proto protoreflect.FileDescriptor @@ -12374,271 +3352,80 @@ var file_florin_v1_tx_proto_rawDesc = []byte{ 0x31, 0x2f, 0x6d, 0x73, 0x67, 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, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, - 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, - 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x14, - 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, - 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, - 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, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x2e, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, - 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, - 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x63, - 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, - 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, - 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, - 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, - 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, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2e, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, - 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, - 0x16, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, - 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, - 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, + 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x02, 0x0a, + 0x07, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, + 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x12, 0x2c, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x48, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, + 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, + 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, + 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x42, 0x75, 0x72, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x4d, + 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, + 0x01, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x72, 0x12, 0x28, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 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, 0x02, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x4d, 0x69, 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x4d, + 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf2, + 0x01, 0x0a, 0x0a, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2f, 0x88, 0xa0, 0x1f, 0x00, 0xe8, - 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, - 0xb0, 0x2a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, - 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0d, 0x4d, 0x73, - 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, - 0x69, 0x67, 0x6e, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, - 0x6e, 0x6f, 0x6d, 0x12, 0x2e, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 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, 0x05, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x3a, 0x29, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, - 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x11, 0x66, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x17, - 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbb, 0x02, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x42, - 0x75, 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x04, 0x66, - 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, - 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, - 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x42, 0x75, 0x72, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x07, 0x4d, 0x73, 0x67, - 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x02, - 0x74, 0x6f, 0x18, 0x03, 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, 0x02, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, - 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x4d, 0x69, 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x0a, 0x4d, 0x73, 0x67, - 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, - 0x2c, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x28, 0x0a, - 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x70, 0x75, - 0x62, 0x4b, 0x65, 0x79, 0x3a, 0x26, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, - 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x66, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x14, 0x0a, 0x12, + 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x12, 0x28, 0x0a, 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x12, 0x1c, 0x0a, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x3a, 0x26, 0x88, 0xa0, 0x1f, + 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x22, 0x14, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xb6, 0x01, 0x0a, 0x03, 0x4d, 0x73, + 0x67, 0x12, 0x36, 0x0a, 0x04, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x1a, 0x1a, 0x2e, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x4d, 0x69, 0x6e, + 0x74, 0x12, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x15, 0x2e, 0x66, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, - 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x31, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, - 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, - 0x2a, 0x19, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, - 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, - 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, - 0x16, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, - 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x3a, 0x32, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, - 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, 0x66, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x16, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, - 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, - 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x32, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, - 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, - 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, - 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x02, 0x0a, - 0x13, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, - 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, - 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2f, 0x88, 0xa0, 0x1f, 0x00, - 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, - 0xe7, 0xb0, 0x2a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x53, 0x65, 0x74, 0x4d, 0x69, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x14, 0x4d, - 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, - 0x68, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, - 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x09, 0x6e, - 0x65, 0x77, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 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, 0x6e, 0x65, 0x77, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x3a, 0x30, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, - 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x18, 0x66, 0x6c, 0x6f, 0x72, - 0x69, 0x6e, 0x2f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xfc, 0x07, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x57, 0x0a, 0x0f, - 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, - 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, - 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x1a, 0x25, - 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, - 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, - 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, - 0x0a, 0x10, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x41, 0x6c, - 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, - 0x6f, 0x6d, 0x1a, 0x20, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x12, 0x2e, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, - 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x42, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, - 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, - 0x15, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, - 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, - 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x66, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x28, 0x2e, - 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, - 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x13, - 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, - 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, - 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5a, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, - 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x12, 0x1f, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, - 0x68, 0x69, 0x70, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, - 0xb0, 0x2a, 0x01, 0x42, 0x99, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, - 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, - 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, - 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, - 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x65, 0x42, 0x99, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, + 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, 0x6c, + 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, + 0x76, 0x31, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, 0x58, + 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, + 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -12653,66 +3440,27 @@ func file_florin_v1_tx_proto_rawDescGZIP() []byte { return file_florin_v1_tx_proto_rawDescData } -var file_florin_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_florin_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_florin_v1_tx_proto_goTypes = []interface{}{ - (*MsgAcceptOwnership)(nil), // 0: florin.v1.MsgAcceptOwnership - (*MsgAcceptOwnershipResponse)(nil), // 1: florin.v1.MsgAcceptOwnershipResponse - (*MsgAddAdminAccount)(nil), // 2: florin.v1.MsgAddAdminAccount - (*MsgAddAdminAccountResponse)(nil), // 3: florin.v1.MsgAddAdminAccountResponse - (*MsgAddSystemAccount)(nil), // 4: florin.v1.MsgAddSystemAccount - (*MsgAddSystemAccountResponse)(nil), // 5: florin.v1.MsgAddSystemAccountResponse - (*MsgAllowDenom)(nil), // 6: florin.v1.MsgAllowDenom - (*MsgAllowDenomResponse)(nil), // 7: florin.v1.MsgAllowDenomResponse - (*MsgBurn)(nil), // 8: florin.v1.MsgBurn - (*MsgBurnResponse)(nil), // 9: florin.v1.MsgBurnResponse - (*MsgMint)(nil), // 10: florin.v1.MsgMint - (*MsgMintResponse)(nil), // 11: florin.v1.MsgMintResponse - (*MsgRecover)(nil), // 12: florin.v1.MsgRecover - (*MsgRecoverResponse)(nil), // 13: florin.v1.MsgRecoverResponse - (*MsgRemoveAdminAccount)(nil), // 14: florin.v1.MsgRemoveAdminAccount - (*MsgRemoveAdminAccountResponse)(nil), // 15: florin.v1.MsgRemoveAdminAccountResponse - (*MsgRemoveSystemAccount)(nil), // 16: florin.v1.MsgRemoveSystemAccount - (*MsgRemoveSystemAccountResponse)(nil), // 17: florin.v1.MsgRemoveSystemAccountResponse - (*MsgSetMaxMintAllowance)(nil), // 18: florin.v1.MsgSetMaxMintAllowance - (*MsgSetMaxMintAllowanceResponse)(nil), // 19: florin.v1.MsgSetMaxMintAllowanceResponse - (*MsgSetMintAllowance)(nil), // 20: florin.v1.MsgSetMintAllowance - (*MsgSetMintAllowanceResponse)(nil), // 21: florin.v1.MsgSetMintAllowanceResponse - (*MsgTransferOwnership)(nil), // 22: florin.v1.MsgTransferOwnership - (*MsgTransferOwnershipResponse)(nil), // 23: florin.v1.MsgTransferOwnershipResponse - (*anypb.Any)(nil), // 24: google.protobuf.Any + (*MsgBurn)(nil), // 0: florin.v1.MsgBurn + (*MsgBurnResponse)(nil), // 1: florin.v1.MsgBurnResponse + (*MsgMint)(nil), // 2: florin.v1.MsgMint + (*MsgMintResponse)(nil), // 3: florin.v1.MsgMintResponse + (*MsgRecover)(nil), // 4: florin.v1.MsgRecover + (*MsgRecoverResponse)(nil), // 5: florin.v1.MsgRecoverResponse } var file_florin_v1_tx_proto_depIdxs = []int32{ - 24, // 0: florin.v1.MsgBurn.pub_key:type_name -> google.protobuf.Any - 24, // 1: florin.v1.MsgRecover.pub_key:type_name -> google.protobuf.Any - 0, // 2: florin.v1.Msg.AcceptOwnership:input_type -> florin.v1.MsgAcceptOwnership - 2, // 3: florin.v1.Msg.AddAdminAccount:input_type -> florin.v1.MsgAddAdminAccount - 4, // 4: florin.v1.Msg.AddSystemAccount:input_type -> florin.v1.MsgAddSystemAccount - 6, // 5: florin.v1.Msg.AllowDenom:input_type -> florin.v1.MsgAllowDenom - 8, // 6: florin.v1.Msg.Burn:input_type -> florin.v1.MsgBurn - 10, // 7: florin.v1.Msg.Mint:input_type -> florin.v1.MsgMint - 12, // 8: florin.v1.Msg.Recover:input_type -> florin.v1.MsgRecover - 14, // 9: florin.v1.Msg.RemoveAdminAccount:input_type -> florin.v1.MsgRemoveAdminAccount - 16, // 10: florin.v1.Msg.RemoveSystemAccount:input_type -> florin.v1.MsgRemoveSystemAccount - 18, // 11: florin.v1.Msg.SetMaxMintAllowance:input_type -> florin.v1.MsgSetMaxMintAllowance - 20, // 12: florin.v1.Msg.SetMintAllowance:input_type -> florin.v1.MsgSetMintAllowance - 22, // 13: florin.v1.Msg.TransferOwnership:input_type -> florin.v1.MsgTransferOwnership - 1, // 14: florin.v1.Msg.AcceptOwnership:output_type -> florin.v1.MsgAcceptOwnershipResponse - 3, // 15: florin.v1.Msg.AddAdminAccount:output_type -> florin.v1.MsgAddAdminAccountResponse - 5, // 16: florin.v1.Msg.AddSystemAccount:output_type -> florin.v1.MsgAddSystemAccountResponse - 7, // 17: florin.v1.Msg.AllowDenom:output_type -> florin.v1.MsgAllowDenomResponse - 9, // 18: florin.v1.Msg.Burn:output_type -> florin.v1.MsgBurnResponse - 11, // 19: florin.v1.Msg.Mint:output_type -> florin.v1.MsgMintResponse - 13, // 20: florin.v1.Msg.Recover:output_type -> florin.v1.MsgRecoverResponse - 15, // 21: florin.v1.Msg.RemoveAdminAccount:output_type -> florin.v1.MsgRemoveAdminAccountResponse - 17, // 22: florin.v1.Msg.RemoveSystemAccount:output_type -> florin.v1.MsgRemoveSystemAccountResponse - 19, // 23: florin.v1.Msg.SetMaxMintAllowance:output_type -> florin.v1.MsgSetMaxMintAllowanceResponse - 21, // 24: florin.v1.Msg.SetMintAllowance:output_type -> florin.v1.MsgSetMintAllowanceResponse - 23, // 25: florin.v1.Msg.TransferOwnership:output_type -> florin.v1.MsgTransferOwnershipResponse - 14, // [14:26] is the sub-list for method output_type - 2, // [2:14] 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: florin.v1.Msg.Burn:input_type -> florin.v1.MsgBurn + 2, // 1: florin.v1.Msg.Mint:input_type -> florin.v1.MsgMint + 4, // 2: florin.v1.Msg.Recover:input_type -> florin.v1.MsgRecover + 1, // 3: florin.v1.Msg.Burn:output_type -> florin.v1.MsgBurnResponse + 3, // 4: florin.v1.Msg.Mint:output_type -> florin.v1.MsgMintResponse + 5, // 5: florin.v1.Msg.Recover:output_type -> florin.v1.MsgRecoverResponse + 3, // [3:6] is the sub-list for method output_type + 0, // [0:3] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } func init() { file_florin_v1_tx_proto_init() } @@ -12722,102 +3470,6 @@ func file_florin_v1_tx_proto_init() { } if !protoimpl.UnsafeEnabled { file_florin_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAcceptOwnership); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAcceptOwnershipResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddAdminAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddAdminAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddSystemAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddSystemAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAllowDenom); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAllowDenomResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgBurn); i { case 0: return &v.state @@ -12829,7 +3481,7 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_florin_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgBurnResponse); i { case 0: return &v.state @@ -12841,7 +3493,7 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_florin_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgMint); i { case 0: return &v.state @@ -12853,7 +3505,7 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_florin_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgMintResponse); i { case 0: return &v.state @@ -12865,7 +3517,7 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_florin_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRecover); i { case 0: return &v.state @@ -12877,7 +3529,7 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_florin_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRecoverResponse); i { case 0: return &v.state @@ -12889,126 +3541,6 @@ func file_florin_v1_tx_proto_init() { return nil } } - file_florin_v1_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveAdminAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveAdminAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveSystemAccount); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveSystemAccountResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMaxMintAllowance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMaxMintAllowanceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMintAllowance); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMintAllowanceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgTransferOwnership); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_florin_v1_tx_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgTransferOwnershipResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } } type x struct{} out := protoimpl.TypeBuilder{ @@ -13016,7 +3548,7 @@ func file_florin_v1_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_florin_v1_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 24, + NumMessages: 6, NumExtensions: 0, NumServices: 1, }, diff --git a/api/v1/tx_grpc.pb.go b/api/v1/tx_grpc.pb.go index ec66afde..19acdf8b 100644 --- a/api/v1/tx_grpc.pb.go +++ b/api/v1/tx_grpc.pb.go @@ -19,36 +19,18 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Msg_AcceptOwnership_FullMethodName = "/florin.v1.Msg/AcceptOwnership" - Msg_AddAdminAccount_FullMethodName = "/florin.v1.Msg/AddAdminAccount" - Msg_AddSystemAccount_FullMethodName = "/florin.v1.Msg/AddSystemAccount" - Msg_AllowDenom_FullMethodName = "/florin.v1.Msg/AllowDenom" - Msg_Burn_FullMethodName = "/florin.v1.Msg/Burn" - Msg_Mint_FullMethodName = "/florin.v1.Msg/Mint" - Msg_Recover_FullMethodName = "/florin.v1.Msg/Recover" - Msg_RemoveAdminAccount_FullMethodName = "/florin.v1.Msg/RemoveAdminAccount" - Msg_RemoveSystemAccount_FullMethodName = "/florin.v1.Msg/RemoveSystemAccount" - Msg_SetMaxMintAllowance_FullMethodName = "/florin.v1.Msg/SetMaxMintAllowance" - Msg_SetMintAllowance_FullMethodName = "/florin.v1.Msg/SetMintAllowance" - Msg_TransferOwnership_FullMethodName = "/florin.v1.Msg/TransferOwnership" + Msg_Burn_FullMethodName = "/florin.v1.Msg/Burn" + Msg_Mint_FullMethodName = "/florin.v1.Msg/Mint" + Msg_Recover_FullMethodName = "/florin.v1.Msg/Recover" ) // MsgClient is the client API for Msg service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type MsgClient interface { - AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) - AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) - AddSystemAccount(ctx context.Context, in *MsgAddSystemAccount, opts ...grpc.CallOption) (*MsgAddSystemAccountResponse, error) - AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...grpc.CallOption) (*MsgAllowDenomResponse, error) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) - RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) - RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystemAccount, opts ...grpc.CallOption) (*MsgRemoveSystemAccountResponse, error) - SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAllowance, opts ...grpc.CallOption) (*MsgSetMaxMintAllowanceResponse, error) - SetMintAllowance(ctx context.Context, in *MsgSetMintAllowance, opts ...grpc.CallOption) (*MsgSetMintAllowanceResponse, error) - TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) } type msgClient struct { @@ -59,46 +41,6 @@ func NewMsgClient(cc grpc.ClientConnInterface) MsgClient { return &msgClient{cc} } -func (c *msgClient) AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgAcceptOwnershipResponse) - err := c.cc.Invoke(ctx, Msg_AcceptOwnership_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgAddAdminAccountResponse) - err := c.cc.Invoke(ctx, Msg_AddAdminAccount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) AddSystemAccount(ctx context.Context, in *MsgAddSystemAccount, opts ...grpc.CallOption) (*MsgAddSystemAccountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgAddSystemAccountResponse) - err := c.cc.Invoke(ctx, Msg_AddSystemAccount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...grpc.CallOption) (*MsgAllowDenomResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgAllowDenomResponse) - err := c.cc.Invoke(ctx, Msg_AllowDenom_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(MsgBurnResponse) @@ -129,72 +71,13 @@ func (c *msgClient) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.Ca return out, nil } -func (c *msgClient) RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgRemoveAdminAccountResponse) - err := c.cc.Invoke(ctx, Msg_RemoveAdminAccount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystemAccount, opts ...grpc.CallOption) (*MsgRemoveSystemAccountResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgRemoveSystemAccountResponse) - err := c.cc.Invoke(ctx, Msg_RemoveSystemAccount_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAllowance, opts ...grpc.CallOption) (*MsgSetMaxMintAllowanceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgSetMaxMintAllowanceResponse) - err := c.cc.Invoke(ctx, Msg_SetMaxMintAllowance_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) SetMintAllowance(ctx context.Context, in *MsgSetMintAllowance, opts ...grpc.CallOption) (*MsgSetMintAllowanceResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgSetMintAllowanceResponse) - err := c.cc.Invoke(ctx, Msg_SetMintAllowance_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *msgClient) TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MsgTransferOwnershipResponse) - err := c.cc.Invoke(ctx, Msg_TransferOwnership_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - // MsgServer is the server API for Msg service. // All implementations must embed UnimplementedMsgServer // for forward compatibility. type MsgServer interface { - AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error) - AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error) - AddSystemAccount(context.Context, *MsgAddSystemAccount) (*MsgAddSystemAccountResponse, error) - AllowDenom(context.Context, *MsgAllowDenom) (*MsgAllowDenomResponse, error) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) Mint(context.Context, *MsgMint) (*MsgMintResponse, error) Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error) - RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error) - RemoveSystemAccount(context.Context, *MsgRemoveSystemAccount) (*MsgRemoveSystemAccountResponse, error) - SetMaxMintAllowance(context.Context, *MsgSetMaxMintAllowance) (*MsgSetMaxMintAllowanceResponse, error) - SetMintAllowance(context.Context, *MsgSetMintAllowance) (*MsgSetMintAllowanceResponse, error) - TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) mustEmbedUnimplementedMsgServer() } @@ -205,18 +88,6 @@ type MsgServer interface { // pointer dereference when methods are called. type UnimplementedMsgServer struct{} -func (UnimplementedMsgServer) AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AcceptOwnership not implemented") -} -func (UnimplementedMsgServer) AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddAdminAccount not implemented") -} -func (UnimplementedMsgServer) AddSystemAccount(context.Context, *MsgAddSystemAccount) (*MsgAddSystemAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddSystemAccount not implemented") -} -func (UnimplementedMsgServer) AllowDenom(context.Context, *MsgAllowDenom) (*MsgAllowDenomResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllowDenom not implemented") -} func (UnimplementedMsgServer) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Burn not implemented") } @@ -226,21 +97,6 @@ func (UnimplementedMsgServer) Mint(context.Context, *MsgMint) (*MsgMintResponse, func (UnimplementedMsgServer) Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Recover not implemented") } -func (UnimplementedMsgServer) RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveAdminAccount not implemented") -} -func (UnimplementedMsgServer) RemoveSystemAccount(context.Context, *MsgRemoveSystemAccount) (*MsgRemoveSystemAccountResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveSystemAccount not implemented") -} -func (UnimplementedMsgServer) SetMaxMintAllowance(context.Context, *MsgSetMaxMintAllowance) (*MsgSetMaxMintAllowanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMaxMintAllowance not implemented") -} -func (UnimplementedMsgServer) SetMintAllowance(context.Context, *MsgSetMintAllowance) (*MsgSetMintAllowanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMintAllowance not implemented") -} -func (UnimplementedMsgServer) TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TransferOwnership not implemented") -} func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} func (UnimplementedMsgServer) testEmbeddedByValue() {} @@ -262,78 +118,6 @@ func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) { s.RegisterService(&Msg_ServiceDesc, srv) } -func _Msg_AcceptOwnership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAcceptOwnership) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AcceptOwnership(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_AcceptOwnership_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AcceptOwnership(ctx, req.(*MsgAcceptOwnership)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_AddAdminAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddAdminAccount) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AddAdminAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_AddAdminAccount_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddAdminAccount(ctx, req.(*MsgAddAdminAccount)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_AddSystemAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddSystemAccount) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AddSystemAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_AddSystemAccount_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddSystemAccount(ctx, req.(*MsgAddSystemAccount)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_AllowDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAllowDenom) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AllowDenom(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_AllowDenom_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AllowDenom(ctx, req.(*MsgAllowDenom)) - } - return interceptor(ctx, in, info, handler) -} - func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgBurn) if err := dec(in); err != nil { @@ -388,96 +172,6 @@ func _Msg_Recover_Handler(srv interface{}, ctx context.Context, dec func(interfa return interceptor(ctx, in, info, handler) } -func _Msg_RemoveAdminAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgRemoveAdminAccount) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).RemoveAdminAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_RemoveAdminAccount_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).RemoveAdminAccount(ctx, req.(*MsgRemoveAdminAccount)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_RemoveSystemAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgRemoveSystemAccount) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).RemoveSystemAccount(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_RemoveSystemAccount_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).RemoveSystemAccount(ctx, req.(*MsgRemoveSystemAccount)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_SetMaxMintAllowance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetMaxMintAllowance) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).SetMaxMintAllowance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_SetMaxMintAllowance_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetMaxMintAllowance(ctx, req.(*MsgSetMaxMintAllowance)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_SetMintAllowance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetMintAllowance) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).SetMintAllowance(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_SetMintAllowance_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetMintAllowance(ctx, req.(*MsgSetMintAllowance)) - } - return interceptor(ctx, in, info, handler) -} - -func _Msg_TransferOwnership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgTransferOwnership) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).TransferOwnership(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Msg_TransferOwnership_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).TransferOwnership(ctx, req.(*MsgTransferOwnership)) - } - return interceptor(ctx, in, info, handler) -} - // Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -485,22 +179,6 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "florin.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ - { - MethodName: "AcceptOwnership", - Handler: _Msg_AcceptOwnership_Handler, - }, - { - MethodName: "AddAdminAccount", - Handler: _Msg_AddAdminAccount_Handler, - }, - { - MethodName: "AddSystemAccount", - Handler: _Msg_AddSystemAccount_Handler, - }, - { - MethodName: "AllowDenom", - Handler: _Msg_AllowDenom_Handler, - }, { MethodName: "Burn", Handler: _Msg_Burn_Handler, @@ -513,26 +191,6 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "Recover", Handler: _Msg_Recover_Handler, }, - { - MethodName: "RemoveAdminAccount", - Handler: _Msg_RemoveAdminAccount_Handler, - }, - { - MethodName: "RemoveSystemAccount", - Handler: _Msg_RemoveSystemAccount_Handler, - }, - { - MethodName: "SetMaxMintAllowance", - Handler: _Msg_SetMaxMintAllowance_Handler, - }, - { - MethodName: "SetMintAllowance", - Handler: _Msg_SetMintAllowance_Handler, - }, - { - MethodName: "TransferOwnership", - Handler: _Msg_TransferOwnership_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "florin/v1/tx.proto", diff --git a/api/v1/events.pulsar.go b/api/v2/events.pulsar.go similarity index 90% rename from api/v1/events.pulsar.go rename to api/v2/events.pulsar.go index d2b3d702..95f06506 100644 --- a/api/v1/events.pulsar.go +++ b/api/v2/events.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package florinv1 +package florinv2 import ( _ "cosmossdk.io/api/amino" @@ -22,8 +22,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_DenomAllowed = File_florin_v1_events_proto.Messages().ByName("DenomAllowed") + file_florin_v2_events_proto_init() + md_DenomAllowed = File_florin_v2_events_proto.Messages().ByName("DenomAllowed") fd_DenomAllowed_denom = md_DenomAllowed.Fields().ByName("denom") fd_DenomAllowed_owner = md_DenomAllowed.Fields().ByName("owner") } @@ -37,7 +37,7 @@ func (x *DenomAllowed) ProtoReflect() protoreflect.Message { } func (x *DenomAllowed) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[0] + mi := &file_florin_v2_events_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -120,15 +120,15 @@ func (x *fastReflection_DenomAllowed) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_DenomAllowed) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.DenomAllowed.denom": + case "florin.v2.DenomAllowed.denom": return x.Denom != "" - case "florin.v1.DenomAllowed.owner": + case "florin.v2.DenomAllowed.owner": return x.Owner != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", fd.FullName())) } } @@ -140,15 +140,15 @@ func (x *fastReflection_DenomAllowed) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_DenomAllowed) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.DenomAllowed.denom": + case "florin.v2.DenomAllowed.denom": x.Denom = "" - case "florin.v1.DenomAllowed.owner": + case "florin.v2.DenomAllowed.owner": x.Owner = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", fd.FullName())) } } @@ -160,17 +160,17 @@ func (x *fastReflection_DenomAllowed) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_DenomAllowed) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.DenomAllowed.denom": + case "florin.v2.DenomAllowed.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.DenomAllowed.owner": + case "florin.v2.DenomAllowed.owner": value := x.Owner return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", descriptor.FullName())) } } @@ -186,15 +186,15 @@ func (x *fastReflection_DenomAllowed) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_DenomAllowed) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.DenomAllowed.denom": + case "florin.v2.DenomAllowed.denom": x.Denom = value.Interface().(string) - case "florin.v1.DenomAllowed.owner": + case "florin.v2.DenomAllowed.owner": x.Owner = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", fd.FullName())) } } @@ -210,15 +210,15 @@ func (x *fastReflection_DenomAllowed) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_DenomAllowed) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.DenomAllowed.denom": - panic(fmt.Errorf("field denom of message florin.v1.DenomAllowed is not mutable")) - case "florin.v1.DenomAllowed.owner": - panic(fmt.Errorf("field owner of message florin.v1.DenomAllowed is not mutable")) + case "florin.v2.DenomAllowed.denom": + panic(fmt.Errorf("field denom of message florin.v2.DenomAllowed is not mutable")) + case "florin.v2.DenomAllowed.owner": + panic(fmt.Errorf("field owner of message florin.v2.DenomAllowed is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", fd.FullName())) } } @@ -227,15 +227,15 @@ func (x *fastReflection_DenomAllowed) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_DenomAllowed) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.DenomAllowed.denom": + case "florin.v2.DenomAllowed.denom": return protoreflect.ValueOfString("") - case "florin.v1.DenomAllowed.owner": + case "florin.v2.DenomAllowed.owner": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.DenomAllowed")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.DenomAllowed")) } - panic(fmt.Errorf("message florin.v1.DenomAllowed does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.DenomAllowed does not contain field %s", fd.FullName())) } } @@ -245,7 +245,7 @@ func (x *fastReflection_DenomAllowed) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_DenomAllowed) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.DenomAllowed", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.DenomAllowed", d.FullName())) } panic("unreachable") } @@ -507,8 +507,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_MintAllowance = File_florin_v1_events_proto.Messages().ByName("MintAllowance") + file_florin_v2_events_proto_init() + md_MintAllowance = File_florin_v2_events_proto.Messages().ByName("MintAllowance") fd_MintAllowance_denom = md_MintAllowance.Fields().ByName("denom") fd_MintAllowance_account = md_MintAllowance.Fields().ByName("account") fd_MintAllowance_amount = md_MintAllowance.Fields().ByName("amount") @@ -523,7 +523,7 @@ func (x *MintAllowance) ProtoReflect() protoreflect.Message { } func (x *MintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[1] + mi := &file_florin_v2_events_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -612,17 +612,17 @@ func (x *fastReflection_MintAllowance) Range(f func(protoreflect.FieldDescriptor // a repeated field is populated if it is non-empty. func (x *fastReflection_MintAllowance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.MintAllowance.denom": + case "florin.v2.MintAllowance.denom": return x.Denom != "" - case "florin.v1.MintAllowance.account": + case "florin.v2.MintAllowance.account": return x.Account != "" - case "florin.v1.MintAllowance.amount": + case "florin.v2.MintAllowance.amount": return x.Amount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", fd.FullName())) } } @@ -634,17 +634,17 @@ func (x *fastReflection_MintAllowance) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MintAllowance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.MintAllowance.denom": + case "florin.v2.MintAllowance.denom": x.Denom = "" - case "florin.v1.MintAllowance.account": + case "florin.v2.MintAllowance.account": x.Account = "" - case "florin.v1.MintAllowance.amount": + case "florin.v2.MintAllowance.amount": x.Amount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", fd.FullName())) } } @@ -656,20 +656,20 @@ func (x *fastReflection_MintAllowance) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.MintAllowance.denom": + case "florin.v2.MintAllowance.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.MintAllowance.account": + case "florin.v2.MintAllowance.account": value := x.Account return protoreflect.ValueOfString(value) - case "florin.v1.MintAllowance.amount": + case "florin.v2.MintAllowance.amount": value := x.Amount return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", descriptor.FullName())) } } @@ -685,17 +685,17 @@ func (x *fastReflection_MintAllowance) Get(descriptor protoreflect.FieldDescript // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.MintAllowance.denom": + case "florin.v2.MintAllowance.denom": x.Denom = value.Interface().(string) - case "florin.v1.MintAllowance.account": + case "florin.v2.MintAllowance.account": x.Account = value.Interface().(string) - case "florin.v1.MintAllowance.amount": + case "florin.v2.MintAllowance.amount": x.Amount = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", fd.FullName())) } } @@ -711,17 +711,17 @@ func (x *fastReflection_MintAllowance) Set(fd protoreflect.FieldDescriptor, valu // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.MintAllowance is not mutable")) - case "florin.v1.MintAllowance.account": - panic(fmt.Errorf("field account of message florin.v1.MintAllowance is not mutable")) - case "florin.v1.MintAllowance.amount": - panic(fmt.Errorf("field amount of message florin.v1.MintAllowance is not mutable")) + case "florin.v2.MintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.MintAllowance is not mutable")) + case "florin.v2.MintAllowance.account": + panic(fmt.Errorf("field account of message florin.v2.MintAllowance is not mutable")) + case "florin.v2.MintAllowance.amount": + panic(fmt.Errorf("field amount of message florin.v2.MintAllowance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", fd.FullName())) } } @@ -730,17 +730,17 @@ func (x *fastReflection_MintAllowance) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MintAllowance.denom": + case "florin.v2.MintAllowance.denom": return protoreflect.ValueOfString("") - case "florin.v1.MintAllowance.account": + case "florin.v2.MintAllowance.account": return protoreflect.ValueOfString("") - case "florin.v1.MintAllowance.amount": + case "florin.v2.MintAllowance.amount": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MintAllowance")) } - panic(fmt.Errorf("message florin.v1.MintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MintAllowance does not contain field %s", fd.FullName())) } } @@ -750,7 +750,7 @@ func (x *fastReflection_MintAllowance) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_MintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MintAllowance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MintAllowance", d.FullName())) } panic("unreachable") } @@ -1054,8 +1054,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_MaxMintAllowance = File_florin_v1_events_proto.Messages().ByName("MaxMintAllowance") + file_florin_v2_events_proto_init() + md_MaxMintAllowance = File_florin_v2_events_proto.Messages().ByName("MaxMintAllowance") fd_MaxMintAllowance_denom = md_MaxMintAllowance.Fields().ByName("denom") fd_MaxMintAllowance_amount = md_MaxMintAllowance.Fields().ByName("amount") } @@ -1069,7 +1069,7 @@ func (x *MaxMintAllowance) ProtoReflect() protoreflect.Message { } func (x *MaxMintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[2] + mi := &file_florin_v2_events_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1152,15 +1152,15 @@ func (x *fastReflection_MaxMintAllowance) Range(f func(protoreflect.FieldDescrip // a repeated field is populated if it is non-empty. func (x *fastReflection_MaxMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.MaxMintAllowance.denom": + case "florin.v2.MaxMintAllowance.denom": return x.Denom != "" - case "florin.v1.MaxMintAllowance.amount": + case "florin.v2.MaxMintAllowance.amount": return x.Amount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -1172,15 +1172,15 @@ func (x *fastReflection_MaxMintAllowance) Has(fd protoreflect.FieldDescriptor) b // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MaxMintAllowance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.MaxMintAllowance.denom": + case "florin.v2.MaxMintAllowance.denom": x.Denom = "" - case "florin.v1.MaxMintAllowance.amount": + case "florin.v2.MaxMintAllowance.amount": x.Amount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -1192,17 +1192,17 @@ func (x *fastReflection_MaxMintAllowance) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MaxMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.MaxMintAllowance.denom": + case "florin.v2.MaxMintAllowance.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.MaxMintAllowance.amount": + case "florin.v2.MaxMintAllowance.amount": value := x.Amount return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", descriptor.FullName())) } } @@ -1218,15 +1218,15 @@ func (x *fastReflection_MaxMintAllowance) Get(descriptor protoreflect.FieldDescr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MaxMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.MaxMintAllowance.denom": + case "florin.v2.MaxMintAllowance.denom": x.Denom = value.Interface().(string) - case "florin.v1.MaxMintAllowance.amount": + case "florin.v2.MaxMintAllowance.amount": x.Amount = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -1242,15 +1242,15 @@ func (x *fastReflection_MaxMintAllowance) Set(fd protoreflect.FieldDescriptor, v // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MaxMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MaxMintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.MaxMintAllowance is not mutable")) - case "florin.v1.MaxMintAllowance.amount": - panic(fmt.Errorf("field amount of message florin.v1.MaxMintAllowance is not mutable")) + case "florin.v2.MaxMintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.MaxMintAllowance is not mutable")) + case "florin.v2.MaxMintAllowance.amount": + panic(fmt.Errorf("field amount of message florin.v2.MaxMintAllowance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -1259,15 +1259,15 @@ func (x *fastReflection_MaxMintAllowance) Mutable(fd protoreflect.FieldDescripto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MaxMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.MaxMintAllowance.denom": + case "florin.v2.MaxMintAllowance.denom": return protoreflect.ValueOfString("") - case "florin.v1.MaxMintAllowance.amount": + case "florin.v2.MaxMintAllowance.amount": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.MaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.MaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.MaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -1277,7 +1277,7 @@ func (x *fastReflection_MaxMintAllowance) NewField(fd protoreflect.FieldDescript func (x *fastReflection_MaxMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.MaxMintAllowance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MaxMintAllowance", d.FullName())) } panic("unreachable") } @@ -1538,8 +1538,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_SystemAccountAdded = File_florin_v1_events_proto.Messages().ByName("SystemAccountAdded") + file_florin_v2_events_proto_init() + md_SystemAccountAdded = File_florin_v2_events_proto.Messages().ByName("SystemAccountAdded") fd_SystemAccountAdded_denom = md_SystemAccountAdded.Fields().ByName("denom") fd_SystemAccountAdded_account = md_SystemAccountAdded.Fields().ByName("account") } @@ -1553,7 +1553,7 @@ func (x *SystemAccountAdded) ProtoReflect() protoreflect.Message { } func (x *SystemAccountAdded) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[3] + mi := &file_florin_v2_events_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1636,15 +1636,15 @@ func (x *fastReflection_SystemAccountAdded) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_SystemAccountAdded) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.SystemAccountAdded.denom": + case "florin.v2.SystemAccountAdded.denom": return x.Denom != "" - case "florin.v1.SystemAccountAdded.account": + case "florin.v2.SystemAccountAdded.account": return x.Account != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", fd.FullName())) } } @@ -1656,15 +1656,15 @@ func (x *fastReflection_SystemAccountAdded) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountAdded) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.SystemAccountAdded.denom": + case "florin.v2.SystemAccountAdded.denom": x.Denom = "" - case "florin.v1.SystemAccountAdded.account": + case "florin.v2.SystemAccountAdded.account": x.Account = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", fd.FullName())) } } @@ -1676,17 +1676,17 @@ func (x *fastReflection_SystemAccountAdded) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_SystemAccountAdded) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.SystemAccountAdded.denom": + case "florin.v2.SystemAccountAdded.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.SystemAccountAdded.account": + case "florin.v2.SystemAccountAdded.account": value := x.Account return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", descriptor.FullName())) } } @@ -1702,15 +1702,15 @@ func (x *fastReflection_SystemAccountAdded) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountAdded) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.SystemAccountAdded.denom": + case "florin.v2.SystemAccountAdded.denom": x.Denom = value.Interface().(string) - case "florin.v1.SystemAccountAdded.account": + case "florin.v2.SystemAccountAdded.account": x.Account = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", fd.FullName())) } } @@ -1726,15 +1726,15 @@ func (x *fastReflection_SystemAccountAdded) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountAdded) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.SystemAccountAdded.denom": - panic(fmt.Errorf("field denom of message florin.v1.SystemAccountAdded is not mutable")) - case "florin.v1.SystemAccountAdded.account": - panic(fmt.Errorf("field account of message florin.v1.SystemAccountAdded is not mutable")) + case "florin.v2.SystemAccountAdded.denom": + panic(fmt.Errorf("field denom of message florin.v2.SystemAccountAdded is not mutable")) + case "florin.v2.SystemAccountAdded.account": + panic(fmt.Errorf("field account of message florin.v2.SystemAccountAdded is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", fd.FullName())) } } @@ -1743,15 +1743,15 @@ func (x *fastReflection_SystemAccountAdded) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_SystemAccountAdded) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.SystemAccountAdded.denom": + case "florin.v2.SystemAccountAdded.denom": return protoreflect.ValueOfString("") - case "florin.v1.SystemAccountAdded.account": + case "florin.v2.SystemAccountAdded.account": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountAdded")) } - panic(fmt.Errorf("message florin.v1.SystemAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountAdded does not contain field %s", fd.FullName())) } } @@ -1761,7 +1761,7 @@ func (x *fastReflection_SystemAccountAdded) NewField(fd protoreflect.FieldDescri func (x *fastReflection_SystemAccountAdded) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.SystemAccountAdded", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.SystemAccountAdded", d.FullName())) } panic("unreachable") } @@ -2022,8 +2022,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_SystemAccountRemoved = File_florin_v1_events_proto.Messages().ByName("SystemAccountRemoved") + file_florin_v2_events_proto_init() + md_SystemAccountRemoved = File_florin_v2_events_proto.Messages().ByName("SystemAccountRemoved") fd_SystemAccountRemoved_denom = md_SystemAccountRemoved.Fields().ByName("denom") fd_SystemAccountRemoved_account = md_SystemAccountRemoved.Fields().ByName("account") } @@ -2037,7 +2037,7 @@ func (x *SystemAccountRemoved) ProtoReflect() protoreflect.Message { } func (x *SystemAccountRemoved) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[4] + mi := &file_florin_v2_events_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2120,15 +2120,15 @@ func (x *fastReflection_SystemAccountRemoved) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_SystemAccountRemoved) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.SystemAccountRemoved.denom": + case "florin.v2.SystemAccountRemoved.denom": return x.Denom != "" - case "florin.v1.SystemAccountRemoved.account": + case "florin.v2.SystemAccountRemoved.account": return x.Account != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", fd.FullName())) } } @@ -2140,15 +2140,15 @@ func (x *fastReflection_SystemAccountRemoved) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountRemoved) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.SystemAccountRemoved.denom": + case "florin.v2.SystemAccountRemoved.denom": x.Denom = "" - case "florin.v1.SystemAccountRemoved.account": + case "florin.v2.SystemAccountRemoved.account": x.Account = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", fd.FullName())) } } @@ -2160,17 +2160,17 @@ func (x *fastReflection_SystemAccountRemoved) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_SystemAccountRemoved) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.SystemAccountRemoved.denom": + case "florin.v2.SystemAccountRemoved.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.SystemAccountRemoved.account": + case "florin.v2.SystemAccountRemoved.account": value := x.Account return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", descriptor.FullName())) } } @@ -2186,15 +2186,15 @@ func (x *fastReflection_SystemAccountRemoved) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountRemoved) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.SystemAccountRemoved.denom": + case "florin.v2.SystemAccountRemoved.denom": x.Denom = value.Interface().(string) - case "florin.v1.SystemAccountRemoved.account": + case "florin.v2.SystemAccountRemoved.account": x.Account = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", fd.FullName())) } } @@ -2210,15 +2210,15 @@ func (x *fastReflection_SystemAccountRemoved) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_SystemAccountRemoved) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.SystemAccountRemoved.denom": - panic(fmt.Errorf("field denom of message florin.v1.SystemAccountRemoved is not mutable")) - case "florin.v1.SystemAccountRemoved.account": - panic(fmt.Errorf("field account of message florin.v1.SystemAccountRemoved is not mutable")) + case "florin.v2.SystemAccountRemoved.denom": + panic(fmt.Errorf("field denom of message florin.v2.SystemAccountRemoved is not mutable")) + case "florin.v2.SystemAccountRemoved.account": + panic(fmt.Errorf("field account of message florin.v2.SystemAccountRemoved is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", fd.FullName())) } } @@ -2227,15 +2227,15 @@ func (x *fastReflection_SystemAccountRemoved) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_SystemAccountRemoved) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.SystemAccountRemoved.denom": + case "florin.v2.SystemAccountRemoved.denom": return protoreflect.ValueOfString("") - case "florin.v1.SystemAccountRemoved.account": + case "florin.v2.SystemAccountRemoved.account": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.SystemAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.SystemAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.SystemAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.SystemAccountRemoved does not contain field %s", fd.FullName())) } } @@ -2245,7 +2245,7 @@ func (x *fastReflection_SystemAccountRemoved) NewField(fd protoreflect.FieldDesc func (x *fastReflection_SystemAccountRemoved) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.SystemAccountRemoved", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.SystemAccountRemoved", d.FullName())) } panic("unreachable") } @@ -2506,8 +2506,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_AdminAccountAdded = File_florin_v1_events_proto.Messages().ByName("AdminAccountAdded") + file_florin_v2_events_proto_init() + md_AdminAccountAdded = File_florin_v2_events_proto.Messages().ByName("AdminAccountAdded") fd_AdminAccountAdded_denom = md_AdminAccountAdded.Fields().ByName("denom") fd_AdminAccountAdded_account = md_AdminAccountAdded.Fields().ByName("account") } @@ -2521,7 +2521,7 @@ func (x *AdminAccountAdded) ProtoReflect() protoreflect.Message { } func (x *AdminAccountAdded) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[5] + mi := &file_florin_v2_events_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2604,15 +2604,15 @@ func (x *fastReflection_AdminAccountAdded) Range(f func(protoreflect.FieldDescri // a repeated field is populated if it is non-empty. func (x *fastReflection_AdminAccountAdded) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.AdminAccountAdded.denom": + case "florin.v2.AdminAccountAdded.denom": return x.Denom != "" - case "florin.v1.AdminAccountAdded.account": + case "florin.v2.AdminAccountAdded.account": return x.Account != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", fd.FullName())) } } @@ -2624,15 +2624,15 @@ func (x *fastReflection_AdminAccountAdded) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountAdded) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.AdminAccountAdded.denom": + case "florin.v2.AdminAccountAdded.denom": x.Denom = "" - case "florin.v1.AdminAccountAdded.account": + case "florin.v2.AdminAccountAdded.account": x.Account = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", fd.FullName())) } } @@ -2644,17 +2644,17 @@ func (x *fastReflection_AdminAccountAdded) Clear(fd protoreflect.FieldDescriptor // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_AdminAccountAdded) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.AdminAccountAdded.denom": + case "florin.v2.AdminAccountAdded.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.AdminAccountAdded.account": + case "florin.v2.AdminAccountAdded.account": value := x.Account return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", descriptor.FullName())) } } @@ -2670,15 +2670,15 @@ func (x *fastReflection_AdminAccountAdded) Get(descriptor protoreflect.FieldDesc // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountAdded) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.AdminAccountAdded.denom": + case "florin.v2.AdminAccountAdded.denom": x.Denom = value.Interface().(string) - case "florin.v1.AdminAccountAdded.account": + case "florin.v2.AdminAccountAdded.account": x.Account = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", fd.FullName())) } } @@ -2694,15 +2694,15 @@ func (x *fastReflection_AdminAccountAdded) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountAdded) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.AdminAccountAdded.denom": - panic(fmt.Errorf("field denom of message florin.v1.AdminAccountAdded is not mutable")) - case "florin.v1.AdminAccountAdded.account": - panic(fmt.Errorf("field account of message florin.v1.AdminAccountAdded is not mutable")) + case "florin.v2.AdminAccountAdded.denom": + panic(fmt.Errorf("field denom of message florin.v2.AdminAccountAdded is not mutable")) + case "florin.v2.AdminAccountAdded.account": + panic(fmt.Errorf("field account of message florin.v2.AdminAccountAdded is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", fd.FullName())) } } @@ -2711,15 +2711,15 @@ func (x *fastReflection_AdminAccountAdded) Mutable(fd protoreflect.FieldDescript // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_AdminAccountAdded) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.AdminAccountAdded.denom": + case "florin.v2.AdminAccountAdded.denom": return protoreflect.ValueOfString("") - case "florin.v1.AdminAccountAdded.account": + case "florin.v2.AdminAccountAdded.account": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountAdded")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountAdded")) } - panic(fmt.Errorf("message florin.v1.AdminAccountAdded does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountAdded does not contain field %s", fd.FullName())) } } @@ -2729,7 +2729,7 @@ func (x *fastReflection_AdminAccountAdded) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_AdminAccountAdded) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.AdminAccountAdded", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.AdminAccountAdded", d.FullName())) } panic("unreachable") } @@ -2990,8 +2990,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_AdminAccountRemoved = File_florin_v1_events_proto.Messages().ByName("AdminAccountRemoved") + file_florin_v2_events_proto_init() + md_AdminAccountRemoved = File_florin_v2_events_proto.Messages().ByName("AdminAccountRemoved") fd_AdminAccountRemoved_denom = md_AdminAccountRemoved.Fields().ByName("denom") fd_AdminAccountRemoved_account = md_AdminAccountRemoved.Fields().ByName("account") } @@ -3005,7 +3005,7 @@ func (x *AdminAccountRemoved) ProtoReflect() protoreflect.Message { } func (x *AdminAccountRemoved) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[6] + mi := &file_florin_v2_events_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3088,15 +3088,15 @@ func (x *fastReflection_AdminAccountRemoved) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_AdminAccountRemoved) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.AdminAccountRemoved.denom": + case "florin.v2.AdminAccountRemoved.denom": return x.Denom != "" - case "florin.v1.AdminAccountRemoved.account": + case "florin.v2.AdminAccountRemoved.account": return x.Account != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", fd.FullName())) } } @@ -3108,15 +3108,15 @@ func (x *fastReflection_AdminAccountRemoved) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountRemoved) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.AdminAccountRemoved.denom": + case "florin.v2.AdminAccountRemoved.denom": x.Denom = "" - case "florin.v1.AdminAccountRemoved.account": + case "florin.v2.AdminAccountRemoved.account": x.Account = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", fd.FullName())) } } @@ -3128,17 +3128,17 @@ func (x *fastReflection_AdminAccountRemoved) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_AdminAccountRemoved) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.AdminAccountRemoved.denom": + case "florin.v2.AdminAccountRemoved.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.AdminAccountRemoved.account": + case "florin.v2.AdminAccountRemoved.account": value := x.Account return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", descriptor.FullName())) } } @@ -3154,15 +3154,15 @@ func (x *fastReflection_AdminAccountRemoved) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountRemoved) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.AdminAccountRemoved.denom": + case "florin.v2.AdminAccountRemoved.denom": x.Denom = value.Interface().(string) - case "florin.v1.AdminAccountRemoved.account": + case "florin.v2.AdminAccountRemoved.account": x.Account = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", fd.FullName())) } } @@ -3178,15 +3178,15 @@ func (x *fastReflection_AdminAccountRemoved) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AdminAccountRemoved) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.AdminAccountRemoved.denom": - panic(fmt.Errorf("field denom of message florin.v1.AdminAccountRemoved is not mutable")) - case "florin.v1.AdminAccountRemoved.account": - panic(fmt.Errorf("field account of message florin.v1.AdminAccountRemoved is not mutable")) + case "florin.v2.AdminAccountRemoved.denom": + panic(fmt.Errorf("field denom of message florin.v2.AdminAccountRemoved is not mutable")) + case "florin.v2.AdminAccountRemoved.account": + panic(fmt.Errorf("field account of message florin.v2.AdminAccountRemoved is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", fd.FullName())) } } @@ -3195,15 +3195,15 @@ func (x *fastReflection_AdminAccountRemoved) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_AdminAccountRemoved) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.AdminAccountRemoved.denom": + case "florin.v2.AdminAccountRemoved.denom": return protoreflect.ValueOfString("") - case "florin.v1.AdminAccountRemoved.account": + case "florin.v2.AdminAccountRemoved.account": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.AdminAccountRemoved")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.AdminAccountRemoved")) } - panic(fmt.Errorf("message florin.v1.AdminAccountRemoved does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.AdminAccountRemoved does not contain field %s", fd.FullName())) } } @@ -3213,7 +3213,7 @@ func (x *fastReflection_AdminAccountRemoved) NewField(fd protoreflect.FieldDescr func (x *fastReflection_AdminAccountRemoved) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.AdminAccountRemoved", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.AdminAccountRemoved", d.FullName())) } panic("unreachable") } @@ -3475,8 +3475,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_OwnershipTransferStarted = File_florin_v1_events_proto.Messages().ByName("OwnershipTransferStarted") + file_florin_v2_events_proto_init() + md_OwnershipTransferStarted = File_florin_v2_events_proto.Messages().ByName("OwnershipTransferStarted") fd_OwnershipTransferStarted_denom = md_OwnershipTransferStarted.Fields().ByName("denom") fd_OwnershipTransferStarted_previous_owner = md_OwnershipTransferStarted.Fields().ByName("previous_owner") fd_OwnershipTransferStarted_new_owner = md_OwnershipTransferStarted.Fields().ByName("new_owner") @@ -3491,7 +3491,7 @@ func (x *OwnershipTransferStarted) ProtoReflect() protoreflect.Message { } func (x *OwnershipTransferStarted) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[7] + mi := &file_florin_v2_events_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3580,17 +3580,17 @@ func (x *fastReflection_OwnershipTransferStarted) Range(f func(protoreflect.Fiel // a repeated field is populated if it is non-empty. func (x *fastReflection_OwnershipTransferStarted) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": + case "florin.v2.OwnershipTransferStarted.denom": return x.Denom != "" - case "florin.v1.OwnershipTransferStarted.previous_owner": + case "florin.v2.OwnershipTransferStarted.previous_owner": return x.PreviousOwner != "" - case "florin.v1.OwnershipTransferStarted.new_owner": + case "florin.v2.OwnershipTransferStarted.new_owner": return x.NewOwner != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", fd.FullName())) } } @@ -3602,17 +3602,17 @@ func (x *fastReflection_OwnershipTransferStarted) Has(fd protoreflect.FieldDescr // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferStarted) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": + case "florin.v2.OwnershipTransferStarted.denom": x.Denom = "" - case "florin.v1.OwnershipTransferStarted.previous_owner": + case "florin.v2.OwnershipTransferStarted.previous_owner": x.PreviousOwner = "" - case "florin.v1.OwnershipTransferStarted.new_owner": + case "florin.v2.OwnershipTransferStarted.new_owner": x.NewOwner = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", fd.FullName())) } } @@ -3624,20 +3624,20 @@ func (x *fastReflection_OwnershipTransferStarted) Clear(fd protoreflect.FieldDes // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_OwnershipTransferStarted) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": + case "florin.v2.OwnershipTransferStarted.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.OwnershipTransferStarted.previous_owner": + case "florin.v2.OwnershipTransferStarted.previous_owner": value := x.PreviousOwner return protoreflect.ValueOfString(value) - case "florin.v1.OwnershipTransferStarted.new_owner": + case "florin.v2.OwnershipTransferStarted.new_owner": value := x.NewOwner return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", descriptor.FullName())) } } @@ -3653,17 +3653,17 @@ func (x *fastReflection_OwnershipTransferStarted) Get(descriptor protoreflect.Fi // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferStarted) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": + case "florin.v2.OwnershipTransferStarted.denom": x.Denom = value.Interface().(string) - case "florin.v1.OwnershipTransferStarted.previous_owner": + case "florin.v2.OwnershipTransferStarted.previous_owner": x.PreviousOwner = value.Interface().(string) - case "florin.v1.OwnershipTransferStarted.new_owner": + case "florin.v2.OwnershipTransferStarted.new_owner": x.NewOwner = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", fd.FullName())) } } @@ -3679,17 +3679,17 @@ func (x *fastReflection_OwnershipTransferStarted) Set(fd protoreflect.FieldDescr // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferStarted) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": - panic(fmt.Errorf("field denom of message florin.v1.OwnershipTransferStarted is not mutable")) - case "florin.v1.OwnershipTransferStarted.previous_owner": - panic(fmt.Errorf("field previous_owner of message florin.v1.OwnershipTransferStarted is not mutable")) - case "florin.v1.OwnershipTransferStarted.new_owner": - panic(fmt.Errorf("field new_owner of message florin.v1.OwnershipTransferStarted is not mutable")) + case "florin.v2.OwnershipTransferStarted.denom": + panic(fmt.Errorf("field denom of message florin.v2.OwnershipTransferStarted is not mutable")) + case "florin.v2.OwnershipTransferStarted.previous_owner": + panic(fmt.Errorf("field previous_owner of message florin.v2.OwnershipTransferStarted is not mutable")) + case "florin.v2.OwnershipTransferStarted.new_owner": + panic(fmt.Errorf("field new_owner of message florin.v2.OwnershipTransferStarted is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", fd.FullName())) } } @@ -3698,17 +3698,17 @@ func (x *fastReflection_OwnershipTransferStarted) Mutable(fd protoreflect.FieldD // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_OwnershipTransferStarted) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.OwnershipTransferStarted.denom": + case "florin.v2.OwnershipTransferStarted.denom": return protoreflect.ValueOfString("") - case "florin.v1.OwnershipTransferStarted.previous_owner": + case "florin.v2.OwnershipTransferStarted.previous_owner": return protoreflect.ValueOfString("") - case "florin.v1.OwnershipTransferStarted.new_owner": + case "florin.v2.OwnershipTransferStarted.new_owner": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferStarted")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferStarted")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferStarted does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferStarted does not contain field %s", fd.FullName())) } } @@ -3718,7 +3718,7 @@ func (x *fastReflection_OwnershipTransferStarted) NewField(fd protoreflect.Field func (x *fastReflection_OwnershipTransferStarted) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.OwnershipTransferStarted", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.OwnershipTransferStarted", d.FullName())) } panic("unreachable") } @@ -4023,8 +4023,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_OwnershipTransferred = File_florin_v1_events_proto.Messages().ByName("OwnershipTransferred") + file_florin_v2_events_proto_init() + md_OwnershipTransferred = File_florin_v2_events_proto.Messages().ByName("OwnershipTransferred") fd_OwnershipTransferred_denom = md_OwnershipTransferred.Fields().ByName("denom") fd_OwnershipTransferred_previous_owner = md_OwnershipTransferred.Fields().ByName("previous_owner") fd_OwnershipTransferred_new_owner = md_OwnershipTransferred.Fields().ByName("new_owner") @@ -4039,7 +4039,7 @@ func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message { } func (x *OwnershipTransferred) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[8] + mi := &file_florin_v2_events_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4128,17 +4128,17 @@ func (x *fastReflection_OwnershipTransferred) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_OwnershipTransferred) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.OwnershipTransferred.denom": + case "florin.v2.OwnershipTransferred.denom": return x.Denom != "" - case "florin.v1.OwnershipTransferred.previous_owner": + case "florin.v2.OwnershipTransferred.previous_owner": return x.PreviousOwner != "" - case "florin.v1.OwnershipTransferred.new_owner": + case "florin.v2.OwnershipTransferred.new_owner": return x.NewOwner != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", fd.FullName())) } } @@ -4150,17 +4150,17 @@ func (x *fastReflection_OwnershipTransferred) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferred) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.OwnershipTransferred.denom": + case "florin.v2.OwnershipTransferred.denom": x.Denom = "" - case "florin.v1.OwnershipTransferred.previous_owner": + case "florin.v2.OwnershipTransferred.previous_owner": x.PreviousOwner = "" - case "florin.v1.OwnershipTransferred.new_owner": + case "florin.v2.OwnershipTransferred.new_owner": x.NewOwner = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", fd.FullName())) } } @@ -4172,20 +4172,20 @@ func (x *fastReflection_OwnershipTransferred) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_OwnershipTransferred) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.OwnershipTransferred.denom": + case "florin.v2.OwnershipTransferred.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.OwnershipTransferred.previous_owner": + case "florin.v2.OwnershipTransferred.previous_owner": value := x.PreviousOwner return protoreflect.ValueOfString(value) - case "florin.v1.OwnershipTransferred.new_owner": + case "florin.v2.OwnershipTransferred.new_owner": value := x.NewOwner return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", descriptor.FullName())) } } @@ -4201,17 +4201,17 @@ func (x *fastReflection_OwnershipTransferred) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferred) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.OwnershipTransferred.denom": + case "florin.v2.OwnershipTransferred.denom": x.Denom = value.Interface().(string) - case "florin.v1.OwnershipTransferred.previous_owner": + case "florin.v2.OwnershipTransferred.previous_owner": x.PreviousOwner = value.Interface().(string) - case "florin.v1.OwnershipTransferred.new_owner": + case "florin.v2.OwnershipTransferred.new_owner": x.NewOwner = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", fd.FullName())) } } @@ -4227,17 +4227,17 @@ func (x *fastReflection_OwnershipTransferred) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_OwnershipTransferred) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.OwnershipTransferred.denom": - panic(fmt.Errorf("field denom of message florin.v1.OwnershipTransferred is not mutable")) - case "florin.v1.OwnershipTransferred.previous_owner": - panic(fmt.Errorf("field previous_owner of message florin.v1.OwnershipTransferred is not mutable")) - case "florin.v1.OwnershipTransferred.new_owner": - panic(fmt.Errorf("field new_owner of message florin.v1.OwnershipTransferred is not mutable")) + case "florin.v2.OwnershipTransferred.denom": + panic(fmt.Errorf("field denom of message florin.v2.OwnershipTransferred is not mutable")) + case "florin.v2.OwnershipTransferred.previous_owner": + panic(fmt.Errorf("field previous_owner of message florin.v2.OwnershipTransferred is not mutable")) + case "florin.v2.OwnershipTransferred.new_owner": + panic(fmt.Errorf("field new_owner of message florin.v2.OwnershipTransferred is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", fd.FullName())) } } @@ -4246,17 +4246,17 @@ func (x *fastReflection_OwnershipTransferred) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_OwnershipTransferred) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.OwnershipTransferred.denom": + case "florin.v2.OwnershipTransferred.denom": return protoreflect.ValueOfString("") - case "florin.v1.OwnershipTransferred.previous_owner": + case "florin.v2.OwnershipTransferred.previous_owner": return protoreflect.ValueOfString("") - case "florin.v1.OwnershipTransferred.new_owner": + case "florin.v2.OwnershipTransferred.new_owner": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.OwnershipTransferred")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.OwnershipTransferred")) } - panic(fmt.Errorf("message florin.v1.OwnershipTransferred does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.OwnershipTransferred does not contain field %s", fd.FullName())) } } @@ -4266,7 +4266,7 @@ func (x *fastReflection_OwnershipTransferred) NewField(fd protoreflect.FieldDesc func (x *fastReflection_OwnershipTransferred) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.OwnershipTransferred", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.OwnershipTransferred", d.FullName())) } panic("unreachable") } @@ -4572,8 +4572,8 @@ var ( ) func init() { - file_florin_v1_events_proto_init() - md_Recovered = File_florin_v1_events_proto.Messages().ByName("Recovered") + file_florin_v2_events_proto_init() + md_Recovered = File_florin_v2_events_proto.Messages().ByName("Recovered") fd_Recovered_denom = md_Recovered.Fields().ByName("denom") fd_Recovered_from = md_Recovered.Fields().ByName("from") fd_Recovered_to = md_Recovered.Fields().ByName("to") @@ -4589,7 +4589,7 @@ func (x *Recovered) ProtoReflect() protoreflect.Message { } func (x *Recovered) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_events_proto_msgTypes[9] + mi := &file_florin_v2_events_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4684,19 +4684,19 @@ func (x *fastReflection_Recovered) Range(f func(protoreflect.FieldDescriptor, pr // a repeated field is populated if it is non-empty. func (x *fastReflection_Recovered) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.Recovered.denom": + case "florin.v2.Recovered.denom": return x.Denom != "" - case "florin.v1.Recovered.from": + case "florin.v2.Recovered.from": return x.From != "" - case "florin.v1.Recovered.to": + case "florin.v2.Recovered.to": return x.To != "" - case "florin.v1.Recovered.amount": + case "florin.v2.Recovered.amount": return x.Amount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", fd.FullName())) } } @@ -4708,19 +4708,19 @@ func (x *fastReflection_Recovered) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Recovered) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.Recovered.denom": + case "florin.v2.Recovered.denom": x.Denom = "" - case "florin.v1.Recovered.from": + case "florin.v2.Recovered.from": x.From = "" - case "florin.v1.Recovered.to": + case "florin.v2.Recovered.to": x.To = "" - case "florin.v1.Recovered.amount": + case "florin.v2.Recovered.amount": x.Amount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", fd.FullName())) } } @@ -4732,23 +4732,23 @@ func (x *fastReflection_Recovered) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Recovered) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.Recovered.denom": + case "florin.v2.Recovered.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.Recovered.from": + case "florin.v2.Recovered.from": value := x.From return protoreflect.ValueOfString(value) - case "florin.v1.Recovered.to": + case "florin.v2.Recovered.to": value := x.To return protoreflect.ValueOfString(value) - case "florin.v1.Recovered.amount": + case "florin.v2.Recovered.amount": value := x.Amount return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", descriptor.FullName())) } } @@ -4764,19 +4764,19 @@ func (x *fastReflection_Recovered) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Recovered) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.Recovered.denom": + case "florin.v2.Recovered.denom": x.Denom = value.Interface().(string) - case "florin.v1.Recovered.from": + case "florin.v2.Recovered.from": x.From = value.Interface().(string) - case "florin.v1.Recovered.to": + case "florin.v2.Recovered.to": x.To = value.Interface().(string) - case "florin.v1.Recovered.amount": + case "florin.v2.Recovered.amount": x.Amount = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", fd.FullName())) } } @@ -4792,19 +4792,19 @@ func (x *fastReflection_Recovered) Set(fd protoreflect.FieldDescriptor, value pr // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Recovered) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Recovered.denom": - panic(fmt.Errorf("field denom of message florin.v1.Recovered is not mutable")) - case "florin.v1.Recovered.from": - panic(fmt.Errorf("field from of message florin.v1.Recovered is not mutable")) - case "florin.v1.Recovered.to": - panic(fmt.Errorf("field to of message florin.v1.Recovered is not mutable")) - case "florin.v1.Recovered.amount": - panic(fmt.Errorf("field amount of message florin.v1.Recovered is not mutable")) + case "florin.v2.Recovered.denom": + panic(fmt.Errorf("field denom of message florin.v2.Recovered is not mutable")) + case "florin.v2.Recovered.from": + panic(fmt.Errorf("field from of message florin.v2.Recovered is not mutable")) + case "florin.v2.Recovered.to": + panic(fmt.Errorf("field to of message florin.v2.Recovered is not mutable")) + case "florin.v2.Recovered.amount": + panic(fmt.Errorf("field amount of message florin.v2.Recovered is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", fd.FullName())) } } @@ -4813,19 +4813,19 @@ func (x *fastReflection_Recovered) Mutable(fd protoreflect.FieldDescriptor) prot // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Recovered) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Recovered.denom": + case "florin.v2.Recovered.denom": return protoreflect.ValueOfString("") - case "florin.v1.Recovered.from": + case "florin.v2.Recovered.from": return protoreflect.ValueOfString("") - case "florin.v1.Recovered.to": + case "florin.v2.Recovered.to": return protoreflect.ValueOfString("") - case "florin.v1.Recovered.amount": + case "florin.v2.Recovered.amount": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Recovered")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Recovered")) } - panic(fmt.Errorf("message florin.v1.Recovered does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Recovered does not contain field %s", fd.FullName())) } } @@ -4835,7 +4835,7 @@ func (x *fastReflection_Recovered) NewField(fd protoreflect.FieldDescriptor) pro func (x *fastReflection_Recovered) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.Recovered", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.Recovered", d.FullName())) } panic("unreachable") } @@ -5179,7 +5179,7 @@ func (x *fastReflection_Recovered) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: florin/v1/events.proto +// source: florin/v2/events.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -5203,7 +5203,7 @@ type DenomAllowed struct { func (x *DenomAllowed) Reset() { *x = DenomAllowed{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[0] + mi := &file_florin_v2_events_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5217,7 +5217,7 @@ func (*DenomAllowed) ProtoMessage() {} // Deprecated: Use DenomAllowed.ProtoReflect.Descriptor instead. func (*DenomAllowed) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{0} + return file_florin_v2_events_proto_rawDescGZIP(), []int{0} } func (x *DenomAllowed) GetDenom() string { @@ -5251,7 +5251,7 @@ type MintAllowance struct { func (x *MintAllowance) Reset() { *x = MintAllowance{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[1] + mi := &file_florin_v2_events_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5265,7 +5265,7 @@ func (*MintAllowance) ProtoMessage() {} // Deprecated: Use MintAllowance.ProtoReflect.Descriptor instead. func (*MintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{1} + return file_florin_v2_events_proto_rawDescGZIP(), []int{1} } func (x *MintAllowance) GetDenom() string { @@ -5304,7 +5304,7 @@ type MaxMintAllowance struct { func (x *MaxMintAllowance) Reset() { *x = MaxMintAllowance{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[2] + mi := &file_florin_v2_events_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5318,7 +5318,7 @@ func (*MaxMintAllowance) ProtoMessage() {} // Deprecated: Use MaxMintAllowance.ProtoReflect.Descriptor instead. func (*MaxMintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{2} + return file_florin_v2_events_proto_rawDescGZIP(), []int{2} } func (x *MaxMintAllowance) GetDenom() string { @@ -5350,7 +5350,7 @@ type SystemAccountAdded struct { func (x *SystemAccountAdded) Reset() { *x = SystemAccountAdded{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[3] + mi := &file_florin_v2_events_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5364,7 +5364,7 @@ func (*SystemAccountAdded) ProtoMessage() {} // Deprecated: Use SystemAccountAdded.ProtoReflect.Descriptor instead. func (*SystemAccountAdded) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{3} + return file_florin_v2_events_proto_rawDescGZIP(), []int{3} } func (x *SystemAccountAdded) GetDenom() string { @@ -5396,7 +5396,7 @@ type SystemAccountRemoved struct { func (x *SystemAccountRemoved) Reset() { *x = SystemAccountRemoved{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[4] + mi := &file_florin_v2_events_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5410,7 +5410,7 @@ func (*SystemAccountRemoved) ProtoMessage() {} // Deprecated: Use SystemAccountRemoved.ProtoReflect.Descriptor instead. func (*SystemAccountRemoved) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{4} + return file_florin_v2_events_proto_rawDescGZIP(), []int{4} } func (x *SystemAccountRemoved) GetDenom() string { @@ -5442,7 +5442,7 @@ type AdminAccountAdded struct { func (x *AdminAccountAdded) Reset() { *x = AdminAccountAdded{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[5] + mi := &file_florin_v2_events_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5456,7 +5456,7 @@ func (*AdminAccountAdded) ProtoMessage() {} // Deprecated: Use AdminAccountAdded.ProtoReflect.Descriptor instead. func (*AdminAccountAdded) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{5} + return file_florin_v2_events_proto_rawDescGZIP(), []int{5} } func (x *AdminAccountAdded) GetDenom() string { @@ -5488,7 +5488,7 @@ type AdminAccountRemoved struct { func (x *AdminAccountRemoved) Reset() { *x = AdminAccountRemoved{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[6] + mi := &file_florin_v2_events_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5502,7 +5502,7 @@ func (*AdminAccountRemoved) ProtoMessage() {} // Deprecated: Use AdminAccountRemoved.ProtoReflect.Descriptor instead. func (*AdminAccountRemoved) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{6} + return file_florin_v2_events_proto_rawDescGZIP(), []int{6} } func (x *AdminAccountRemoved) GetDenom() string { @@ -5536,7 +5536,7 @@ type OwnershipTransferStarted struct { func (x *OwnershipTransferStarted) Reset() { *x = OwnershipTransferStarted{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[7] + mi := &file_florin_v2_events_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5550,7 +5550,7 @@ func (*OwnershipTransferStarted) ProtoMessage() {} // Deprecated: Use OwnershipTransferStarted.ProtoReflect.Descriptor instead. func (*OwnershipTransferStarted) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{7} + return file_florin_v2_events_proto_rawDescGZIP(), []int{7} } func (x *OwnershipTransferStarted) GetDenom() string { @@ -5591,7 +5591,7 @@ type OwnershipTransferred struct { func (x *OwnershipTransferred) Reset() { *x = OwnershipTransferred{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[8] + mi := &file_florin_v2_events_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5605,7 +5605,7 @@ func (*OwnershipTransferred) ProtoMessage() {} // Deprecated: Use OwnershipTransferred.ProtoReflect.Descriptor instead. func (*OwnershipTransferred) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{8} + return file_florin_v2_events_proto_rawDescGZIP(), []int{8} } func (x *OwnershipTransferred) GetDenom() string { @@ -5648,7 +5648,7 @@ type Recovered struct { func (x *Recovered) Reset() { *x = Recovered{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_events_proto_msgTypes[9] + mi := &file_florin_v2_events_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5662,7 +5662,7 @@ func (*Recovered) ProtoMessage() {} // Deprecated: Use Recovered.ProtoReflect.Descriptor instead. func (*Recovered) Descriptor() ([]byte, []int) { - return file_florin_v1_events_proto_rawDescGZIP(), []int{9} + return file_florin_v2_events_proto_rawDescGZIP(), []int{9} } func (x *Recovered) GetDenom() string { @@ -5693,12 +5693,12 @@ func (x *Recovered) GetAmount() string { return "" } -var File_florin_v1_events_proto protoreflect.FileDescriptor +var File_florin_v2_events_proto protoreflect.FileDescriptor -var file_florin_v1_events_proto_rawDesc = []byte{ - 0x0a, 0x16, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, +var file_florin_v2_events_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, + 0x2e, 0x76, 0x32, 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, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, @@ -5764,44 +5764,44 @@ var file_florin_v1_events_proto_rawDesc = []byte{ 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x9d, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, - 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x6c, 0x6f, 0x72, - 0x69, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x3b, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x46, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, + 0x56, 0x32, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_florin_v1_events_proto_rawDescOnce sync.Once - file_florin_v1_events_proto_rawDescData = file_florin_v1_events_proto_rawDesc + file_florin_v2_events_proto_rawDescOnce sync.Once + file_florin_v2_events_proto_rawDescData = file_florin_v2_events_proto_rawDesc ) -func file_florin_v1_events_proto_rawDescGZIP() []byte { - file_florin_v1_events_proto_rawDescOnce.Do(func() { - file_florin_v1_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v1_events_proto_rawDescData) +func file_florin_v2_events_proto_rawDescGZIP() []byte { + file_florin_v2_events_proto_rawDescOnce.Do(func() { + file_florin_v2_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v2_events_proto_rawDescData) }) - return file_florin_v1_events_proto_rawDescData -} - -var file_florin_v1_events_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_florin_v1_events_proto_goTypes = []interface{}{ - (*DenomAllowed)(nil), // 0: florin.v1.DenomAllowed - (*MintAllowance)(nil), // 1: florin.v1.MintAllowance - (*MaxMintAllowance)(nil), // 2: florin.v1.MaxMintAllowance - (*SystemAccountAdded)(nil), // 3: florin.v1.SystemAccountAdded - (*SystemAccountRemoved)(nil), // 4: florin.v1.SystemAccountRemoved - (*AdminAccountAdded)(nil), // 5: florin.v1.AdminAccountAdded - (*AdminAccountRemoved)(nil), // 6: florin.v1.AdminAccountRemoved - (*OwnershipTransferStarted)(nil), // 7: florin.v1.OwnershipTransferStarted - (*OwnershipTransferred)(nil), // 8: florin.v1.OwnershipTransferred - (*Recovered)(nil), // 9: florin.v1.Recovered -} -var file_florin_v1_events_proto_depIdxs = []int32{ + return file_florin_v2_events_proto_rawDescData +} + +var file_florin_v2_events_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_florin_v2_events_proto_goTypes = []interface{}{ + (*DenomAllowed)(nil), // 0: florin.v2.DenomAllowed + (*MintAllowance)(nil), // 1: florin.v2.MintAllowance + (*MaxMintAllowance)(nil), // 2: florin.v2.MaxMintAllowance + (*SystemAccountAdded)(nil), // 3: florin.v2.SystemAccountAdded + (*SystemAccountRemoved)(nil), // 4: florin.v2.SystemAccountRemoved + (*AdminAccountAdded)(nil), // 5: florin.v2.AdminAccountAdded + (*AdminAccountRemoved)(nil), // 6: florin.v2.AdminAccountRemoved + (*OwnershipTransferStarted)(nil), // 7: florin.v2.OwnershipTransferStarted + (*OwnershipTransferred)(nil), // 8: florin.v2.OwnershipTransferred + (*Recovered)(nil), // 9: florin.v2.Recovered +} +var file_florin_v2_events_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -5809,13 +5809,13 @@ var file_florin_v1_events_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_florin_v1_events_proto_init() } -func file_florin_v1_events_proto_init() { - if File_florin_v1_events_proto != nil { +func init() { file_florin_v2_events_proto_init() } +func file_florin_v2_events_proto_init() { + if File_florin_v2_events_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_florin_v1_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DenomAllowed); i { case 0: return &v.state @@ -5827,7 +5827,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MintAllowance); i { case 0: return &v.state @@ -5839,7 +5839,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MaxMintAllowance); i { case 0: return &v.state @@ -5851,7 +5851,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SystemAccountAdded); i { case 0: return &v.state @@ -5863,7 +5863,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SystemAccountRemoved); i { case 0: return &v.state @@ -5875,7 +5875,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminAccountAdded); i { case 0: return &v.state @@ -5887,7 +5887,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminAccountRemoved); i { case 0: return &v.state @@ -5899,7 +5899,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OwnershipTransferStarted); i { case 0: return &v.state @@ -5911,7 +5911,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OwnershipTransferred); i { case 0: return &v.state @@ -5923,7 +5923,7 @@ func file_florin_v1_events_proto_init() { return nil } } - file_florin_v1_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Recovered); i { case 0: return &v.state @@ -5940,18 +5940,18 @@ func file_florin_v1_events_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_florin_v1_events_proto_rawDesc, + RawDescriptor: file_florin_v2_events_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_florin_v1_events_proto_goTypes, - DependencyIndexes: file_florin_v1_events_proto_depIdxs, - MessageInfos: file_florin_v1_events_proto_msgTypes, + GoTypes: file_florin_v2_events_proto_goTypes, + DependencyIndexes: file_florin_v2_events_proto_depIdxs, + MessageInfos: file_florin_v2_events_proto_msgTypes, }.Build() - File_florin_v1_events_proto = out.File - file_florin_v1_events_proto_rawDesc = nil - file_florin_v1_events_proto_goTypes = nil - file_florin_v1_events_proto_depIdxs = nil + File_florin_v2_events_proto = out.File + file_florin_v2_events_proto_rawDesc = nil + file_florin_v2_events_proto_goTypes = nil + file_florin_v2_events_proto_depIdxs = nil } diff --git a/api/v1/genesis.pulsar.go b/api/v2/genesis.pulsar.go similarity index 82% rename from api/v1/genesis.pulsar.go rename to api/v2/genesis.pulsar.go index 2ae1889d..92dd3f61 100644 --- a/api/v1/genesis.pulsar.go +++ b/api/v2/genesis.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package florinv1 +package florinv2 import ( _ "cosmossdk.io/api/amino" @@ -17,66 +17,66 @@ import ( sync "sync" ) -var _ protoreflect.List = (*_GenesisState_3_list)(nil) +var _ protoreflect.List = (*_GenesisState_2_list)(nil) -type _GenesisState_3_list struct { +type _GenesisState_2_list struct { list *[]string } -func (x *_GenesisState_3_list) Len() int { +func (x *_GenesisState_2_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_3_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_2_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfString((*x.list)[i]) } -func (x *_GenesisState_3_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_2_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.String() concreteValue := valueUnwrapped (*x.list)[i] = concreteValue } -func (x *_GenesisState_3_list) Append(value protoreflect.Value) { +func (x *_GenesisState_2_list) Append(value protoreflect.Value) { valueUnwrapped := value.String() concreteValue := valueUnwrapped *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_3_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_2_list) AppendMutable() protoreflect.Value { panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field AllowedDenoms as it is not of Message kind")) } -func (x *_GenesisState_3_list) Truncate(n int) { +func (x *_GenesisState_2_list) Truncate(n int) { *x.list = (*x.list)[:n] } -func (x *_GenesisState_3_list) NewElement() protoreflect.Value { +func (x *_GenesisState_2_list) NewElement() protoreflect.Value { v := "" return protoreflect.ValueOfString(v) } -func (x *_GenesisState_3_list) IsValid() bool { +func (x *_GenesisState_2_list) IsValid() bool { return x.list != nil } -var _ protoreflect.Map = (*_GenesisState_4_map)(nil) +var _ protoreflect.Map = (*_GenesisState_3_map)(nil) -type _GenesisState_4_map struct { +type _GenesisState_3_map struct { m *map[string]string } -func (x *_GenesisState_4_map) Len() int { +func (x *_GenesisState_3_map) Len() int { if x.m == nil { return 0 } return len(*x.m) } -func (x *_GenesisState_4_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { +func (x *_GenesisState_3_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { if x.m == nil { return } @@ -89,7 +89,7 @@ func (x *_GenesisState_4_map) Range(f func(protoreflect.MapKey, protoreflect.Val } } -func (x *_GenesisState_4_map) Has(key protoreflect.MapKey) bool { +func (x *_GenesisState_3_map) Has(key protoreflect.MapKey) bool { if x.m == nil { return false } @@ -99,7 +99,7 @@ func (x *_GenesisState_4_map) Has(key protoreflect.MapKey) bool { return ok } -func (x *_GenesisState_4_map) Clear(key protoreflect.MapKey) { +func (x *_GenesisState_3_map) Clear(key protoreflect.MapKey) { if x.m == nil { return } @@ -108,7 +108,7 @@ func (x *_GenesisState_4_map) Clear(key protoreflect.MapKey) { delete(*x.m, concreteKey) } -func (x *_GenesisState_4_map) Get(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_3_map) Get(key protoreflect.MapKey) protoreflect.Value { if x.m == nil { return protoreflect.Value{} } @@ -121,7 +121,7 @@ func (x *_GenesisState_4_map) Get(key protoreflect.MapKey) protoreflect.Value { return protoreflect.ValueOfString(v) } -func (x *_GenesisState_4_map) Set(key protoreflect.MapKey, value protoreflect.Value) { +func (x *_GenesisState_3_map) Set(key protoreflect.MapKey, value protoreflect.Value) { if !key.IsValid() || !value.IsValid() { panic("invalid key or value provided") } @@ -132,33 +132,33 @@ func (x *_GenesisState_4_map) Set(key protoreflect.MapKey, value protoreflect.Va (*x.m)[concreteKey] = concreteValue } -func (x *_GenesisState_4_map) Mutable(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_3_map) Mutable(key protoreflect.MapKey) protoreflect.Value { panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") } -func (x *_GenesisState_4_map) NewValue() protoreflect.Value { +func (x *_GenesisState_3_map) NewValue() protoreflect.Value { v := "" return protoreflect.ValueOfString(v) } -func (x *_GenesisState_4_map) IsValid() bool { +func (x *_GenesisState_3_map) IsValid() bool { return x.m != nil } -var _ protoreflect.Map = (*_GenesisState_5_map)(nil) +var _ protoreflect.Map = (*_GenesisState_4_map)(nil) -type _GenesisState_5_map struct { +type _GenesisState_4_map struct { m *map[string]string } -func (x *_GenesisState_5_map) Len() int { +func (x *_GenesisState_4_map) Len() int { if x.m == nil { return 0 } return len(*x.m) } -func (x *_GenesisState_5_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { +func (x *_GenesisState_4_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { if x.m == nil { return } @@ -171,7 +171,7 @@ func (x *_GenesisState_5_map) Range(f func(protoreflect.MapKey, protoreflect.Val } } -func (x *_GenesisState_5_map) Has(key protoreflect.MapKey) bool { +func (x *_GenesisState_4_map) Has(key protoreflect.MapKey) bool { if x.m == nil { return false } @@ -181,7 +181,7 @@ func (x *_GenesisState_5_map) Has(key protoreflect.MapKey) bool { return ok } -func (x *_GenesisState_5_map) Clear(key protoreflect.MapKey) { +func (x *_GenesisState_4_map) Clear(key protoreflect.MapKey) { if x.m == nil { return } @@ -190,7 +190,7 @@ func (x *_GenesisState_5_map) Clear(key protoreflect.MapKey) { delete(*x.m, concreteKey) } -func (x *_GenesisState_5_map) Get(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_4_map) Get(key protoreflect.MapKey) protoreflect.Value { if x.m == nil { return protoreflect.Value{} } @@ -203,7 +203,7 @@ func (x *_GenesisState_5_map) Get(key protoreflect.MapKey) protoreflect.Value { return protoreflect.ValueOfString(v) } -func (x *_GenesisState_5_map) Set(key protoreflect.MapKey, value protoreflect.Value) { +func (x *_GenesisState_4_map) Set(key protoreflect.MapKey, value protoreflect.Value) { if !key.IsValid() || !value.IsValid() { panic("invalid key or value provided") } @@ -214,186 +214,186 @@ func (x *_GenesisState_5_map) Set(key protoreflect.MapKey, value protoreflect.Va (*x.m)[concreteKey] = concreteValue } -func (x *_GenesisState_5_map) Mutable(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_4_map) Mutable(key protoreflect.MapKey) protoreflect.Value { panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") } -func (x *_GenesisState_5_map) NewValue() protoreflect.Value { +func (x *_GenesisState_4_map) NewValue() protoreflect.Value { v := "" return protoreflect.ValueOfString(v) } -func (x *_GenesisState_5_map) IsValid() bool { +func (x *_GenesisState_4_map) IsValid() bool { return x.m != nil } -var _ protoreflect.List = (*_GenesisState_6_list)(nil) +var _ protoreflect.List = (*_GenesisState_5_list)(nil) -type _GenesisState_6_list struct { +type _GenesisState_5_list struct { list *[]*Account } -func (x *_GenesisState_6_list) Len() int { +func (x *_GenesisState_5_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_6_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_5_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_6_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_5_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Account) (*x.list)[i] = concreteValue } -func (x *_GenesisState_6_list) Append(value protoreflect.Value) { +func (x *_GenesisState_5_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Account) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_6_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_5_list) AppendMutable() protoreflect.Value { v := new(Account) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_6_list) Truncate(n int) { +func (x *_GenesisState_5_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_6_list) NewElement() protoreflect.Value { +func (x *_GenesisState_5_list) NewElement() protoreflect.Value { v := new(Account) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_6_list) IsValid() bool { +func (x *_GenesisState_5_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_7_list)(nil) +var _ protoreflect.List = (*_GenesisState_6_list)(nil) -type _GenesisState_7_list struct { +type _GenesisState_6_list struct { list *[]*Account } -func (x *_GenesisState_7_list) Len() int { +func (x *_GenesisState_6_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_7_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_6_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_7_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_6_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Account) (*x.list)[i] = concreteValue } -func (x *_GenesisState_7_list) Append(value protoreflect.Value) { +func (x *_GenesisState_6_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Account) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_7_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_6_list) AppendMutable() protoreflect.Value { v := new(Account) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_7_list) Truncate(n int) { +func (x *_GenesisState_6_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_7_list) NewElement() protoreflect.Value { +func (x *_GenesisState_6_list) NewElement() protoreflect.Value { v := new(Account) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_7_list) IsValid() bool { +func (x *_GenesisState_6_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_8_list)(nil) +var _ protoreflect.List = (*_GenesisState_7_list)(nil) -type _GenesisState_8_list struct { +type _GenesisState_7_list struct { list *[]*Allowance } -func (x *_GenesisState_8_list) Len() int { +func (x *_GenesisState_7_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_8_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_7_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_8_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_7_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Allowance) (*x.list)[i] = concreteValue } -func (x *_GenesisState_8_list) Append(value protoreflect.Value) { +func (x *_GenesisState_7_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Allowance) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_8_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_7_list) AppendMutable() protoreflect.Value { v := new(Allowance) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_8_list) Truncate(n int) { +func (x *_GenesisState_7_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_8_list) NewElement() protoreflect.Value { +func (x *_GenesisState_7_list) NewElement() protoreflect.Value { v := new(Allowance) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_8_list) IsValid() bool { +func (x *_GenesisState_7_list) IsValid() bool { return x.list != nil } -var _ protoreflect.Map = (*_GenesisState_9_map)(nil) +var _ protoreflect.Map = (*_GenesisState_8_map)(nil) -type _GenesisState_9_map struct { +type _GenesisState_8_map struct { m *map[string]string } -func (x *_GenesisState_9_map) Len() int { +func (x *_GenesisState_8_map) Len() int { if x.m == nil { return 0 } return len(*x.m) } -func (x *_GenesisState_9_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { +func (x *_GenesisState_8_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { if x.m == nil { return } @@ -406,7 +406,7 @@ func (x *_GenesisState_9_map) Range(f func(protoreflect.MapKey, protoreflect.Val } } -func (x *_GenesisState_9_map) Has(key protoreflect.MapKey) bool { +func (x *_GenesisState_8_map) Has(key protoreflect.MapKey) bool { if x.m == nil { return false } @@ -416,7 +416,7 @@ func (x *_GenesisState_9_map) Has(key protoreflect.MapKey) bool { return ok } -func (x *_GenesisState_9_map) Clear(key protoreflect.MapKey) { +func (x *_GenesisState_8_map) Clear(key protoreflect.MapKey) { if x.m == nil { return } @@ -425,7 +425,7 @@ func (x *_GenesisState_9_map) Clear(key protoreflect.MapKey) { delete(*x.m, concreteKey) } -func (x *_GenesisState_9_map) Get(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_8_map) Get(key protoreflect.MapKey) protoreflect.Value { if x.m == nil { return protoreflect.Value{} } @@ -438,7 +438,7 @@ func (x *_GenesisState_9_map) Get(key protoreflect.MapKey) protoreflect.Value { return protoreflect.ValueOfString(v) } -func (x *_GenesisState_9_map) Set(key protoreflect.MapKey, value protoreflect.Value) { +func (x *_GenesisState_8_map) Set(key protoreflect.MapKey, value protoreflect.Value) { if !key.IsValid() || !value.IsValid() { panic("invalid key or value provided") } @@ -449,23 +449,22 @@ func (x *_GenesisState_9_map) Set(key protoreflect.MapKey, value protoreflect.Va (*x.m)[concreteKey] = concreteValue } -func (x *_GenesisState_9_map) Mutable(key protoreflect.MapKey) protoreflect.Value { +func (x *_GenesisState_8_map) Mutable(key protoreflect.MapKey) protoreflect.Value { panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") } -func (x *_GenesisState_9_map) NewValue() protoreflect.Value { +func (x *_GenesisState_8_map) NewValue() protoreflect.Value { v := "" return protoreflect.ValueOfString(v) } -func (x *_GenesisState_9_map) IsValid() bool { +func (x *_GenesisState_8_map) IsValid() bool { return x.m != nil } var ( md_GenesisState protoreflect.MessageDescriptor fd_GenesisState_blacklist_state protoreflect.FieldDescriptor - fd_GenesisState_authority protoreflect.FieldDescriptor fd_GenesisState_allowed_denoms protoreflect.FieldDescriptor fd_GenesisState_owners protoreflect.FieldDescriptor fd_GenesisState_pending_owners protoreflect.FieldDescriptor @@ -476,10 +475,9 @@ var ( ) func init() { - file_florin_v1_genesis_proto_init() - md_GenesisState = File_florin_v1_genesis_proto.Messages().ByName("GenesisState") + file_florin_v2_genesis_proto_init() + md_GenesisState = File_florin_v2_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_blacklist_state = md_GenesisState.Fields().ByName("blacklist_state") - fd_GenesisState_authority = md_GenesisState.Fields().ByName("authority") fd_GenesisState_allowed_denoms = md_GenesisState.Fields().ByName("allowed_denoms") fd_GenesisState_owners = md_GenesisState.Fields().ByName("owners") fd_GenesisState_pending_owners = md_GenesisState.Fields().ByName("pending_owners") @@ -498,7 +496,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_genesis_proto_msgTypes[0] + mi := &file_florin_v2_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -560,50 +558,44 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, return } } - if x.Authority != "" { - value := protoreflect.ValueOfString(x.Authority) - if !f(fd_GenesisState_authority, value) { - return - } - } if len(x.AllowedDenoms) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_3_list{list: &x.AllowedDenoms}) + value := protoreflect.ValueOfList(&_GenesisState_2_list{list: &x.AllowedDenoms}) if !f(fd_GenesisState_allowed_denoms, value) { return } } if len(x.Owners) != 0 { - value := protoreflect.ValueOfMap(&_GenesisState_4_map{m: &x.Owners}) + value := protoreflect.ValueOfMap(&_GenesisState_3_map{m: &x.Owners}) if !f(fd_GenesisState_owners, value) { return } } if len(x.PendingOwners) != 0 { - value := protoreflect.ValueOfMap(&_GenesisState_5_map{m: &x.PendingOwners}) + value := protoreflect.ValueOfMap(&_GenesisState_4_map{m: &x.PendingOwners}) if !f(fd_GenesisState_pending_owners, value) { return } } if len(x.Systems) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_6_list{list: &x.Systems}) + value := protoreflect.ValueOfList(&_GenesisState_5_list{list: &x.Systems}) if !f(fd_GenesisState_systems, value) { return } } if len(x.Admins) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_7_list{list: &x.Admins}) + value := protoreflect.ValueOfList(&_GenesisState_6_list{list: &x.Admins}) if !f(fd_GenesisState_admins, value) { return } } if len(x.MintAllowances) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_8_list{list: &x.MintAllowances}) + value := protoreflect.ValueOfList(&_GenesisState_7_list{list: &x.MintAllowances}) if !f(fd_GenesisState_mint_allowances, value) { return } } if len(x.MaxMintAllowances) != 0 { - value := protoreflect.ValueOfMap(&_GenesisState_9_map{m: &x.MaxMintAllowances}) + value := protoreflect.ValueOfMap(&_GenesisState_8_map{m: &x.MaxMintAllowances}) if !f(fd_GenesisState_max_mint_allowances, value) { return } @@ -623,29 +615,27 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": return x.BlacklistState != nil - case "florin.v1.GenesisState.authority": - return x.Authority != "" - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": return len(x.AllowedDenoms) != 0 - case "florin.v1.GenesisState.owners": + case "florin.v2.GenesisState.owners": return len(x.Owners) != 0 - case "florin.v1.GenesisState.pending_owners": + case "florin.v2.GenesisState.pending_owners": return len(x.PendingOwners) != 0 - case "florin.v1.GenesisState.systems": + case "florin.v2.GenesisState.systems": return len(x.Systems) != 0 - case "florin.v1.GenesisState.admins": + case "florin.v2.GenesisState.admins": return len(x.Admins) != 0 - case "florin.v1.GenesisState.mint_allowances": + case "florin.v2.GenesisState.mint_allowances": return len(x.MintAllowances) != 0 - case "florin.v1.GenesisState.max_mint_allowances": + case "florin.v2.GenesisState.max_mint_allowances": return len(x.MaxMintAllowances) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -657,29 +647,27 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": x.BlacklistState = nil - case "florin.v1.GenesisState.authority": - x.Authority = "" - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": x.AllowedDenoms = nil - case "florin.v1.GenesisState.owners": + case "florin.v2.GenesisState.owners": x.Owners = nil - case "florin.v1.GenesisState.pending_owners": + case "florin.v2.GenesisState.pending_owners": x.PendingOwners = nil - case "florin.v1.GenesisState.systems": + case "florin.v2.GenesisState.systems": x.Systems = nil - case "florin.v1.GenesisState.admins": + case "florin.v2.GenesisState.admins": x.Admins = nil - case "florin.v1.GenesisState.mint_allowances": + case "florin.v2.GenesisState.mint_allowances": x.MintAllowances = nil - case "florin.v1.GenesisState.max_mint_allowances": + case "florin.v2.GenesisState.max_mint_allowances": x.MaxMintAllowances = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -691,59 +679,56 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": value := x.BlacklistState return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "florin.v1.GenesisState.authority": - value := x.Authority - return protoreflect.ValueOfString(value) - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": if len(x.AllowedDenoms) == 0 { - return protoreflect.ValueOfList(&_GenesisState_3_list{}) + return protoreflect.ValueOfList(&_GenesisState_2_list{}) } - listValue := &_GenesisState_3_list{list: &x.AllowedDenoms} + listValue := &_GenesisState_2_list{list: &x.AllowedDenoms} return protoreflect.ValueOfList(listValue) - case "florin.v1.GenesisState.owners": + case "florin.v2.GenesisState.owners": if len(x.Owners) == 0 { - return protoreflect.ValueOfMap(&_GenesisState_4_map{}) + return protoreflect.ValueOfMap(&_GenesisState_3_map{}) } - mapValue := &_GenesisState_4_map{m: &x.Owners} + mapValue := &_GenesisState_3_map{m: &x.Owners} return protoreflect.ValueOfMap(mapValue) - case "florin.v1.GenesisState.pending_owners": + case "florin.v2.GenesisState.pending_owners": if len(x.PendingOwners) == 0 { - return protoreflect.ValueOfMap(&_GenesisState_5_map{}) + return protoreflect.ValueOfMap(&_GenesisState_4_map{}) } - mapValue := &_GenesisState_5_map{m: &x.PendingOwners} + mapValue := &_GenesisState_4_map{m: &x.PendingOwners} return protoreflect.ValueOfMap(mapValue) - case "florin.v1.GenesisState.systems": + case "florin.v2.GenesisState.systems": if len(x.Systems) == 0 { - return protoreflect.ValueOfList(&_GenesisState_6_list{}) + return protoreflect.ValueOfList(&_GenesisState_5_list{}) } - listValue := &_GenesisState_6_list{list: &x.Systems} + listValue := &_GenesisState_5_list{list: &x.Systems} return protoreflect.ValueOfList(listValue) - case "florin.v1.GenesisState.admins": + case "florin.v2.GenesisState.admins": if len(x.Admins) == 0 { - return protoreflect.ValueOfList(&_GenesisState_7_list{}) + return protoreflect.ValueOfList(&_GenesisState_6_list{}) } - listValue := &_GenesisState_7_list{list: &x.Admins} + listValue := &_GenesisState_6_list{list: &x.Admins} return protoreflect.ValueOfList(listValue) - case "florin.v1.GenesisState.mint_allowances": + case "florin.v2.GenesisState.mint_allowances": if len(x.MintAllowances) == 0 { - return protoreflect.ValueOfList(&_GenesisState_8_list{}) + return protoreflect.ValueOfList(&_GenesisState_7_list{}) } - listValue := &_GenesisState_8_list{list: &x.MintAllowances} + listValue := &_GenesisState_7_list{list: &x.MintAllowances} return protoreflect.ValueOfList(listValue) - case "florin.v1.GenesisState.max_mint_allowances": + case "florin.v2.GenesisState.max_mint_allowances": if len(x.MaxMintAllowances) == 0 { - return protoreflect.ValueOfMap(&_GenesisState_9_map{}) + return protoreflect.ValueOfMap(&_GenesisState_8_map{}) } - mapValue := &_GenesisState_9_map{m: &x.MaxMintAllowances} + mapValue := &_GenesisState_8_map{m: &x.MaxMintAllowances} return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -759,43 +744,41 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": x.BlacklistState = value.Message().Interface().(*v1.GenesisState) - case "florin.v1.GenesisState.authority": - x.Authority = value.Interface().(string) - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": lv := value.List() - clv := lv.(*_GenesisState_3_list) + clv := lv.(*_GenesisState_2_list) x.AllowedDenoms = *clv.list - case "florin.v1.GenesisState.owners": + case "florin.v2.GenesisState.owners": mv := value.Map() - cmv := mv.(*_GenesisState_4_map) + cmv := mv.(*_GenesisState_3_map) x.Owners = *cmv.m - case "florin.v1.GenesisState.pending_owners": + case "florin.v2.GenesisState.pending_owners": mv := value.Map() - cmv := mv.(*_GenesisState_5_map) + cmv := mv.(*_GenesisState_4_map) x.PendingOwners = *cmv.m - case "florin.v1.GenesisState.systems": + case "florin.v2.GenesisState.systems": lv := value.List() - clv := lv.(*_GenesisState_6_list) + clv := lv.(*_GenesisState_5_list) x.Systems = *clv.list - case "florin.v1.GenesisState.admins": + case "florin.v2.GenesisState.admins": lv := value.List() - clv := lv.(*_GenesisState_7_list) + clv := lv.(*_GenesisState_6_list) x.Admins = *clv.list - case "florin.v1.GenesisState.mint_allowances": + case "florin.v2.GenesisState.mint_allowances": lv := value.List() - clv := lv.(*_GenesisState_8_list) + clv := lv.(*_GenesisState_7_list) x.MintAllowances = *clv.list - case "florin.v1.GenesisState.max_mint_allowances": + case "florin.v2.GenesisState.max_mint_allowances": mv := value.Map() - cmv := mv.(*_GenesisState_9_map) + cmv := mv.(*_GenesisState_8_map) x.MaxMintAllowances = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -811,60 +794,58 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": if x.BlacklistState == nil { x.BlacklistState = new(v1.GenesisState) } return protoreflect.ValueOfMessage(x.BlacklistState.ProtoReflect()) - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": if x.AllowedDenoms == nil { x.AllowedDenoms = []string{} } - value := &_GenesisState_3_list{list: &x.AllowedDenoms} + value := &_GenesisState_2_list{list: &x.AllowedDenoms} return protoreflect.ValueOfList(value) - case "florin.v1.GenesisState.owners": + case "florin.v2.GenesisState.owners": if x.Owners == nil { x.Owners = make(map[string]string) } - value := &_GenesisState_4_map{m: &x.Owners} + value := &_GenesisState_3_map{m: &x.Owners} return protoreflect.ValueOfMap(value) - case "florin.v1.GenesisState.pending_owners": + case "florin.v2.GenesisState.pending_owners": if x.PendingOwners == nil { x.PendingOwners = make(map[string]string) } - value := &_GenesisState_5_map{m: &x.PendingOwners} + value := &_GenesisState_4_map{m: &x.PendingOwners} return protoreflect.ValueOfMap(value) - case "florin.v1.GenesisState.systems": + case "florin.v2.GenesisState.systems": if x.Systems == nil { x.Systems = []*Account{} } - value := &_GenesisState_6_list{list: &x.Systems} + value := &_GenesisState_5_list{list: &x.Systems} return protoreflect.ValueOfList(value) - case "florin.v1.GenesisState.admins": + case "florin.v2.GenesisState.admins": if x.Admins == nil { x.Admins = []*Account{} } - value := &_GenesisState_7_list{list: &x.Admins} + value := &_GenesisState_6_list{list: &x.Admins} return protoreflect.ValueOfList(value) - case "florin.v1.GenesisState.mint_allowances": + case "florin.v2.GenesisState.mint_allowances": if x.MintAllowances == nil { x.MintAllowances = []*Allowance{} } - value := &_GenesisState_8_list{list: &x.MintAllowances} + value := &_GenesisState_7_list{list: &x.MintAllowances} return protoreflect.ValueOfList(value) - case "florin.v1.GenesisState.max_mint_allowances": + case "florin.v2.GenesisState.max_mint_allowances": if x.MaxMintAllowances == nil { x.MaxMintAllowances = make(map[string]string) } - value := &_GenesisState_9_map{m: &x.MaxMintAllowances} + value := &_GenesisState_8_map{m: &x.MaxMintAllowances} return protoreflect.ValueOfMap(value) - case "florin.v1.GenesisState.authority": - panic(fmt.Errorf("field authority of message florin.v1.GenesisState is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -873,37 +854,35 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.GenesisState.blacklist_state": + case "florin.v2.GenesisState.blacklist_state": m := new(v1.GenesisState) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "florin.v1.GenesisState.authority": - return protoreflect.ValueOfString("") - case "florin.v1.GenesisState.allowed_denoms": + case "florin.v2.GenesisState.allowed_denoms": list := []string{} - return protoreflect.ValueOfList(&_GenesisState_3_list{list: &list}) - case "florin.v1.GenesisState.owners": + return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list}) + case "florin.v2.GenesisState.owners": m := make(map[string]string) - return protoreflect.ValueOfMap(&_GenesisState_4_map{m: &m}) - case "florin.v1.GenesisState.pending_owners": + return protoreflect.ValueOfMap(&_GenesisState_3_map{m: &m}) + case "florin.v2.GenesisState.pending_owners": m := make(map[string]string) - return protoreflect.ValueOfMap(&_GenesisState_5_map{m: &m}) - case "florin.v1.GenesisState.systems": + return protoreflect.ValueOfMap(&_GenesisState_4_map{m: &m}) + case "florin.v2.GenesisState.systems": list := []*Account{} - return protoreflect.ValueOfList(&_GenesisState_6_list{list: &list}) - case "florin.v1.GenesisState.admins": + return protoreflect.ValueOfList(&_GenesisState_5_list{list: &list}) + case "florin.v2.GenesisState.admins": list := []*Account{} - return protoreflect.ValueOfList(&_GenesisState_7_list{list: &list}) - case "florin.v1.GenesisState.mint_allowances": + return protoreflect.ValueOfList(&_GenesisState_6_list{list: &list}) + case "florin.v2.GenesisState.mint_allowances": list := []*Allowance{} - return protoreflect.ValueOfList(&_GenesisState_8_list{list: &list}) - case "florin.v1.GenesisState.max_mint_allowances": + return protoreflect.ValueOfList(&_GenesisState_7_list{list: &list}) + case "florin.v2.GenesisState.max_mint_allowances": m := make(map[string]string) - return protoreflect.ValueOfMap(&_GenesisState_9_map{m: &m}) + return protoreflect.ValueOfMap(&_GenesisState_8_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.GenesisState")) } - panic(fmt.Errorf("message florin.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -913,7 +892,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.GenesisState", d.FullName())) } panic("unreachable") } @@ -972,10 +951,6 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { l = options.Size(x.BlacklistState) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Authority) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if len(x.AllowedDenoms) > 0 { for _, s := range x.AllowedDenoms { l = len(s) @@ -1107,7 +1082,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { dAtA[i] = 0xa i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x42 return protoiface.MarshalOutput{}, nil } if options.Deterministic { @@ -1148,7 +1123,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x3a } } if len(x.Admins) > 0 { @@ -1164,7 +1139,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x32 } } if len(x.Systems) > 0 { @@ -1180,7 +1155,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x2a } } if len(x.PendingOwners) > 0 { @@ -1198,7 +1173,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { dAtA[i] = 0xa i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 return protoiface.MarshalOutput{}, nil } if options.Deterministic { @@ -1241,7 +1216,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { dAtA[i] = 0xa i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a return protoiface.MarshalOutput{}, nil } if options.Deterministic { @@ -1275,16 +1250,9 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], x.AllowedDenoms[iNdEx]) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllowedDenoms[iNdEx]))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } } - if len(x.Authority) > 0 { - i -= len(x.Authority) - copy(dAtA[i:], x.Authority) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) - i-- - dAtA[i] = 0x12 - } if x.BlacklistState != nil { encoded, err := options.Marshal(x.BlacklistState) if err != nil { @@ -1385,38 +1353,6 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } iNdEx = postIndex case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", 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.Authority = 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 AllowedDenoms", wireType) } @@ -1448,7 +1384,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } x.AllowedDenoms = append(x.AllowedDenoms, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owners", wireType) } @@ -1575,7 +1511,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } x.Owners[mapkey] = mapvalue iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PendingOwners", wireType) } @@ -1702,7 +1638,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } x.PendingOwners[mapkey] = mapvalue iNdEx = postIndex - case 6: + case 5: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Systems", wireType) } @@ -1736,7 +1672,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 7: + case 6: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Admins", wireType) } @@ -1770,7 +1706,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 8: + case 7: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MintAllowances", wireType) } @@ -1804,7 +1740,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 9: + case 8: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxMintAllowances", wireType) } @@ -1973,8 +1909,8 @@ var ( ) func init() { - file_florin_v1_genesis_proto_init() - md_Account = File_florin_v1_genesis_proto.Messages().ByName("Account") + file_florin_v2_genesis_proto_init() + md_Account = File_florin_v2_genesis_proto.Messages().ByName("Account") fd_Account_denom = md_Account.Fields().ByName("denom") fd_Account_address = md_Account.Fields().ByName("address") } @@ -1988,7 +1924,7 @@ func (x *Account) ProtoReflect() protoreflect.Message { } func (x *Account) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_genesis_proto_msgTypes[1] + mi := &file_florin_v2_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2071,15 +2007,15 @@ func (x *fastReflection_Account) Range(f func(protoreflect.FieldDescriptor, prot // a repeated field is populated if it is non-empty. func (x *fastReflection_Account) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.Account.denom": + case "florin.v2.Account.denom": return x.Denom != "" - case "florin.v1.Account.address": + case "florin.v2.Account.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", fd.FullName())) } } @@ -2091,15 +2027,15 @@ func (x *fastReflection_Account) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Account) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.Account.denom": + case "florin.v2.Account.denom": x.Denom = "" - case "florin.v1.Account.address": + case "florin.v2.Account.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", fd.FullName())) } } @@ -2111,17 +2047,17 @@ func (x *fastReflection_Account) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Account) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.Account.denom": + case "florin.v2.Account.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.Account.address": + case "florin.v2.Account.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", descriptor.FullName())) } } @@ -2137,15 +2073,15 @@ func (x *fastReflection_Account) Get(descriptor protoreflect.FieldDescriptor) pr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Account) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.Account.denom": + case "florin.v2.Account.denom": x.Denom = value.Interface().(string) - case "florin.v1.Account.address": + case "florin.v2.Account.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", fd.FullName())) } } @@ -2161,15 +2097,15 @@ func (x *fastReflection_Account) Set(fd protoreflect.FieldDescriptor, value prot // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Account) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Account.denom": - panic(fmt.Errorf("field denom of message florin.v1.Account is not mutable")) - case "florin.v1.Account.address": - panic(fmt.Errorf("field address of message florin.v1.Account is not mutable")) + case "florin.v2.Account.denom": + panic(fmt.Errorf("field denom of message florin.v2.Account is not mutable")) + case "florin.v2.Account.address": + panic(fmt.Errorf("field address of message florin.v2.Account is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", fd.FullName())) } } @@ -2178,15 +2114,15 @@ func (x *fastReflection_Account) Mutable(fd protoreflect.FieldDescriptor) protor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Account) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Account.denom": + case "florin.v2.Account.denom": return protoreflect.ValueOfString("") - case "florin.v1.Account.address": + case "florin.v2.Account.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Account")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Account")) } - panic(fmt.Errorf("message florin.v1.Account does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Account does not contain field %s", fd.FullName())) } } @@ -2196,7 +2132,7 @@ func (x *fastReflection_Account) NewField(fd protoreflect.FieldDescriptor) proto func (x *fastReflection_Account) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.Account", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.Account", d.FullName())) } panic("unreachable") } @@ -2458,8 +2394,8 @@ var ( ) func init() { - file_florin_v1_genesis_proto_init() - md_Allowance = File_florin_v1_genesis_proto.Messages().ByName("Allowance") + file_florin_v2_genesis_proto_init() + md_Allowance = File_florin_v2_genesis_proto.Messages().ByName("Allowance") fd_Allowance_denom = md_Allowance.Fields().ByName("denom") fd_Allowance_address = md_Allowance.Fields().ByName("address") fd_Allowance_allowance = md_Allowance.Fields().ByName("allowance") @@ -2474,7 +2410,7 @@ func (x *Allowance) ProtoReflect() protoreflect.Message { } func (x *Allowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_genesis_proto_msgTypes[2] + mi := &file_florin_v2_genesis_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2563,17 +2499,17 @@ func (x *fastReflection_Allowance) Range(f func(protoreflect.FieldDescriptor, pr // a repeated field is populated if it is non-empty. func (x *fastReflection_Allowance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.Allowance.denom": + case "florin.v2.Allowance.denom": return x.Denom != "" - case "florin.v1.Allowance.address": + case "florin.v2.Allowance.address": return x.Address != "" - case "florin.v1.Allowance.allowance": + case "florin.v2.Allowance.allowance": return x.Allowance != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", fd.FullName())) } } @@ -2585,17 +2521,17 @@ func (x *fastReflection_Allowance) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Allowance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.Allowance.denom": + case "florin.v2.Allowance.denom": x.Denom = "" - case "florin.v1.Allowance.address": + case "florin.v2.Allowance.address": x.Address = "" - case "florin.v1.Allowance.allowance": + case "florin.v2.Allowance.allowance": x.Allowance = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", fd.FullName())) } } @@ -2607,20 +2543,20 @@ func (x *fastReflection_Allowance) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Allowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.Allowance.denom": + case "florin.v2.Allowance.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.Allowance.address": + case "florin.v2.Allowance.address": value := x.Address return protoreflect.ValueOfString(value) - case "florin.v1.Allowance.allowance": + case "florin.v2.Allowance.allowance": value := x.Allowance return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", descriptor.FullName())) } } @@ -2636,17 +2572,17 @@ func (x *fastReflection_Allowance) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Allowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.Allowance.denom": + case "florin.v2.Allowance.denom": x.Denom = value.Interface().(string) - case "florin.v1.Allowance.address": + case "florin.v2.Allowance.address": x.Address = value.Interface().(string) - case "florin.v1.Allowance.allowance": + case "florin.v2.Allowance.allowance": x.Allowance = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", fd.FullName())) } } @@ -2662,17 +2598,17 @@ func (x *fastReflection_Allowance) Set(fd protoreflect.FieldDescriptor, value pr // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Allowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Allowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.Allowance is not mutable")) - case "florin.v1.Allowance.address": - panic(fmt.Errorf("field address of message florin.v1.Allowance is not mutable")) - case "florin.v1.Allowance.allowance": - panic(fmt.Errorf("field allowance of message florin.v1.Allowance is not mutable")) + case "florin.v2.Allowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.Allowance is not mutable")) + case "florin.v2.Allowance.address": + panic(fmt.Errorf("field address of message florin.v2.Allowance is not mutable")) + case "florin.v2.Allowance.allowance": + panic(fmt.Errorf("field allowance of message florin.v2.Allowance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", fd.FullName())) } } @@ -2681,17 +2617,17 @@ func (x *fastReflection_Allowance) Mutable(fd protoreflect.FieldDescriptor) prot // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Allowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.Allowance.denom": + case "florin.v2.Allowance.denom": return protoreflect.ValueOfString("") - case "florin.v1.Allowance.address": + case "florin.v2.Allowance.address": return protoreflect.ValueOfString("") - case "florin.v1.Allowance.allowance": + case "florin.v2.Allowance.allowance": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.Allowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.Allowance")) } - panic(fmt.Errorf("message florin.v1.Allowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.Allowance does not contain field %s", fd.FullName())) } } @@ -2701,7 +2637,7 @@ func (x *fastReflection_Allowance) NewField(fd protoreflect.FieldDescriptor) pro func (x *fastReflection_Allowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.Allowance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.Allowance", d.FullName())) } panic("unreachable") } @@ -3002,7 +2938,7 @@ func (x *fastReflection_Allowance) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: florin/v1/genesis.proto +// source: florin/v2/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -3018,31 +2954,26 @@ type GenesisState struct { // blacklist_state is the genesis state of the blacklist submodule. BlacklistState *v1.GenesisState `protobuf:"bytes,1,opt,name=blacklist_state,json=blacklistState,proto3" json:"blacklist_state,omitempty"` - // authority is the address that controls allowed denoms of this module. - // Deprecated and moved to a variable set upon Keeper initialization. - // - // Deprecated: Do not use. - Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` // allowed_denoms is a unique list of denoms that this module is allowed to burn / mint / etc. - AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` + AllowedDenoms []string `protobuf:"bytes,2,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` // owners is a mapping between denoms and owner addresses for those tokens. - Owners map[string]string `protobuf:"bytes,4,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Owners map[string]string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // pending_owners is the mapping between denoms and pending owner addresses. - PendingOwners map[string]string `protobuf:"bytes,5,rep,name=pending_owners,json=pendingOwners,proto3" json:"pending_owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + PendingOwners map[string]string `protobuf:"bytes,4,rep,name=pending_owners,json=pendingOwners,proto3" json:"pending_owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // systems is the list of addresses that can act as the system. - Systems []*Account `protobuf:"bytes,6,rep,name=systems,proto3" json:"systems,omitempty"` + Systems []*Account `protobuf:"bytes,5,rep,name=systems,proto3" json:"systems,omitempty"` // admins is the list of addresses that can act as the admin. - Admins []*Account `protobuf:"bytes,7,rep,name=admins,proto3" json:"admins,omitempty"` + Admins []*Account `protobuf:"bytes,6,rep,name=admins,proto3" json:"admins,omitempty"` // mint_allowances is a list of system accounts and their mint allowances. - MintAllowances []*Allowance `protobuf:"bytes,8,rep,name=mint_allowances,json=mintAllowances,proto3" json:"mint_allowances,omitempty"` + MintAllowances []*Allowance `protobuf:"bytes,7,rep,name=mint_allowances,json=mintAllowances,proto3" json:"mint_allowances,omitempty"` // max_mint_allowances is a mapping between denoms and max mint allowances. - MaxMintAllowances map[string]string `protobuf:"bytes,9,rep,name=max_mint_allowances,json=maxMintAllowances,proto3" json:"max_mint_allowances,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MaxMintAllowances map[string]string `protobuf:"bytes,8,rep,name=max_mint_allowances,json=maxMintAllowances,proto3" json:"max_mint_allowances,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_genesis_proto_msgTypes[0] + mi := &file_florin_v2_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3056,7 +2987,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_florin_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_florin_v2_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetBlacklistState() *v1.GenesisState { @@ -3066,14 +2997,6 @@ func (x *GenesisState) GetBlacklistState() *v1.GenesisState { return nil } -// Deprecated: Do not use. -func (x *GenesisState) GetAuthority() string { - if x != nil { - return x.Authority - } - return "" -} - func (x *GenesisState) GetAllowedDenoms() []string { if x != nil { return x.AllowedDenoms @@ -3135,7 +3058,7 @@ type Account struct { func (x *Account) Reset() { *x = Account{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_genesis_proto_msgTypes[1] + mi := &file_florin_v2_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3149,7 +3072,7 @@ func (*Account) ProtoMessage() {} // Deprecated: Use Account.ProtoReflect.Descriptor instead. func (*Account) Descriptor() ([]byte, []int) { - return file_florin_v1_genesis_proto_rawDescGZIP(), []int{1} + return file_florin_v2_genesis_proto_rawDescGZIP(), []int{1} } func (x *Account) GetDenom() string { @@ -3179,7 +3102,7 @@ type Allowance struct { func (x *Allowance) Reset() { *x = Allowance{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_genesis_proto_msgTypes[2] + mi := &file_florin_v2_genesis_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3193,7 +3116,7 @@ func (*Allowance) ProtoMessage() {} // Deprecated: Use Allowance.ProtoReflect.Descriptor instead. func (*Allowance) Descriptor() ([]byte, []int) { - return file_florin_v1_genesis_proto_rawDescGZIP(), []int{2} + return file_florin_v2_genesis_proto_rawDescGZIP(), []int{2} } func (x *Allowance) GetDenom() string { @@ -3217,122 +3140,120 @@ func (x *Allowance) GetAllowance() string { return "" } -var File_florin_v1_genesis_proto protoreflect.FileDescriptor +var File_florin_v2_genesis_proto protoreflect.FileDescriptor -var file_florin_v1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, +var file_florin_v2_genesis_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, + 0x6e, 0x2e, 0x76, 0x32, 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, 0x1a, 0x21, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x06, 0x0a, 0x0c, + 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe5, 0x05, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0e, - 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, - 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6e, 0x6f, - 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x77, - 0x6e, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, 0x6e, - 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, - 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x43, 0x0a, - 0x0f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, - 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x11, 0x6d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, + 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x73, 0x12, 0x51, 0x0a, 0x0e, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x43, 0x0a, 0x0f, 0x6d, + 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x12, 0x5e, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, + 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6d, + 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, + 0x1a, 0x39, 0x0a, 0x0b, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x50, + 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, - 0x12, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, - 0x44, 0x0a, 0x16, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x39, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, + 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, + 0x16, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x39, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4e, - 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, - 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, - 0xb0, 0x2a, 0x01, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x9e, - 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, - 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, - 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, - 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x76, 0x31, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, - 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x8b, + 0x01, 0x0a, 0x09, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, + 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4e, 0x0a, 0x09, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, + 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x9e, 0x01, 0x0a, + 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x0c, + 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, + 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, 0x6c, 0x65, + 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, + 0x32, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x46, 0x58, 0x58, + 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x09, 0x46, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_florin_v1_genesis_proto_rawDescOnce sync.Once - file_florin_v1_genesis_proto_rawDescData = file_florin_v1_genesis_proto_rawDesc + file_florin_v2_genesis_proto_rawDescOnce sync.Once + file_florin_v2_genesis_proto_rawDescData = file_florin_v2_genesis_proto_rawDesc ) -func file_florin_v1_genesis_proto_rawDescGZIP() []byte { - file_florin_v1_genesis_proto_rawDescOnce.Do(func() { - file_florin_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v1_genesis_proto_rawDescData) +func file_florin_v2_genesis_proto_rawDescGZIP() []byte { + file_florin_v2_genesis_proto_rawDescOnce.Do(func() { + file_florin_v2_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v2_genesis_proto_rawDescData) }) - return file_florin_v1_genesis_proto_rawDescData + return file_florin_v2_genesis_proto_rawDescData } -var file_florin_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_florin_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: florin.v1.GenesisState - (*Account)(nil), // 1: florin.v1.Account - (*Allowance)(nil), // 2: florin.v1.Allowance - nil, // 3: florin.v1.GenesisState.OwnersEntry - nil, // 4: florin.v1.GenesisState.PendingOwnersEntry - nil, // 5: florin.v1.GenesisState.MaxMintAllowancesEntry +var file_florin_v2_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_florin_v2_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: florin.v2.GenesisState + (*Account)(nil), // 1: florin.v2.Account + (*Allowance)(nil), // 2: florin.v2.Allowance + nil, // 3: florin.v2.GenesisState.OwnersEntry + nil, // 4: florin.v2.GenesisState.PendingOwnersEntry + nil, // 5: florin.v2.GenesisState.MaxMintAllowancesEntry (*v1.GenesisState)(nil), // 6: florin.blacklist.v1.GenesisState } -var file_florin_v1_genesis_proto_depIdxs = []int32{ - 6, // 0: florin.v1.GenesisState.blacklist_state:type_name -> florin.blacklist.v1.GenesisState - 3, // 1: florin.v1.GenesisState.owners:type_name -> florin.v1.GenesisState.OwnersEntry - 4, // 2: florin.v1.GenesisState.pending_owners:type_name -> florin.v1.GenesisState.PendingOwnersEntry - 1, // 3: florin.v1.GenesisState.systems:type_name -> florin.v1.Account - 1, // 4: florin.v1.GenesisState.admins:type_name -> florin.v1.Account - 2, // 5: florin.v1.GenesisState.mint_allowances:type_name -> florin.v1.Allowance - 5, // 6: florin.v1.GenesisState.max_mint_allowances:type_name -> florin.v1.GenesisState.MaxMintAllowancesEntry +var file_florin_v2_genesis_proto_depIdxs = []int32{ + 6, // 0: florin.v2.GenesisState.blacklist_state:type_name -> florin.blacklist.v1.GenesisState + 3, // 1: florin.v2.GenesisState.owners:type_name -> florin.v2.GenesisState.OwnersEntry + 4, // 2: florin.v2.GenesisState.pending_owners:type_name -> florin.v2.GenesisState.PendingOwnersEntry + 1, // 3: florin.v2.GenesisState.systems:type_name -> florin.v2.Account + 1, // 4: florin.v2.GenesisState.admins:type_name -> florin.v2.Account + 2, // 5: florin.v2.GenesisState.mint_allowances:type_name -> florin.v2.Allowance + 5, // 6: florin.v2.GenesisState.max_mint_allowances:type_name -> florin.v2.GenesisState.MaxMintAllowancesEntry 7, // [7:7] is the sub-list for method output_type 7, // [7:7] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name @@ -3340,13 +3261,13 @@ var file_florin_v1_genesis_proto_depIdxs = []int32{ 0, // [0:7] is the sub-list for field type_name } -func init() { file_florin_v1_genesis_proto_init() } -func file_florin_v1_genesis_proto_init() { - if File_florin_v1_genesis_proto != nil { +func init() { file_florin_v2_genesis_proto_init() } +func file_florin_v2_genesis_proto_init() { + if File_florin_v2_genesis_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_florin_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -3358,7 +3279,7 @@ func file_florin_v1_genesis_proto_init() { return nil } } - file_florin_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Account); i { case 0: return &v.state @@ -3370,7 +3291,7 @@ func file_florin_v1_genesis_proto_init() { return nil } } - file_florin_v1_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_genesis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Allowance); i { case 0: return &v.state @@ -3387,18 +3308,18 @@ func file_florin_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_florin_v1_genesis_proto_rawDesc, + RawDescriptor: file_florin_v2_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_florin_v1_genesis_proto_goTypes, - DependencyIndexes: file_florin_v1_genesis_proto_depIdxs, - MessageInfos: file_florin_v1_genesis_proto_msgTypes, + GoTypes: file_florin_v2_genesis_proto_goTypes, + DependencyIndexes: file_florin_v2_genesis_proto_depIdxs, + MessageInfos: file_florin_v2_genesis_proto_msgTypes, }.Build() - File_florin_v1_genesis_proto = out.File - file_florin_v1_genesis_proto_rawDesc = nil - file_florin_v1_genesis_proto_goTypes = nil - file_florin_v1_genesis_proto_depIdxs = nil + File_florin_v2_genesis_proto = out.File + file_florin_v2_genesis_proto_rawDesc = nil + file_florin_v2_genesis_proto_goTypes = nil + file_florin_v2_genesis_proto_depIdxs = nil } diff --git a/api/v1/query.pulsar.go b/api/v2/query.pulsar.go similarity index 89% rename from api/v1/query.pulsar.go rename to api/v2/query.pulsar.go index 46748c81..fa63f1fa 100644 --- a/api/v1/query.pulsar.go +++ b/api/v2/query.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package florinv1 +package florinv2 import ( _ "cosmossdk.io/api/amino" @@ -23,8 +23,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAuthority = File_florin_v1_query_proto.Messages().ByName("QueryAuthority") + file_florin_v2_query_proto_init() + md_QueryAuthority = File_florin_v2_query_proto.Messages().ByName("QueryAuthority") } var _ protoreflect.Message = (*fastReflection_QueryAuthority)(nil) @@ -36,7 +36,7 @@ func (x *QueryAuthority) ProtoReflect() protoreflect.Message { } func (x *QueryAuthority) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[0] + mi := &file_florin_v2_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -109,9 +109,9 @@ func (x *fastReflection_QueryAuthority) Has(fd protoreflect.FieldDescriptor) boo switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", fd.FullName())) } } @@ -125,9 +125,9 @@ func (x *fastReflection_QueryAuthority) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", fd.FullName())) } } @@ -141,9 +141,9 @@ func (x *fastReflection_QueryAuthority) Get(descriptor protoreflect.FieldDescrip switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", descriptor.FullName())) } } @@ -161,9 +161,9 @@ func (x *fastReflection_QueryAuthority) Set(fd protoreflect.FieldDescriptor, val switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", fd.FullName())) } } @@ -181,9 +181,9 @@ func (x *fastReflection_QueryAuthority) Mutable(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", fd.FullName())) } } @@ -194,9 +194,9 @@ func (x *fastReflection_QueryAuthority) NewField(fd protoreflect.FieldDescriptor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthority")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthority")) } - panic(fmt.Errorf("message florin.v1.QueryAuthority does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthority does not contain field %s", fd.FullName())) } } @@ -206,7 +206,7 @@ func (x *fastReflection_QueryAuthority) NewField(fd protoreflect.FieldDescriptor func (x *fastReflection_QueryAuthority) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAuthority", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAuthority", d.FullName())) } panic("unreachable") } @@ -380,8 +380,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAuthorityResponse = File_florin_v1_query_proto.Messages().ByName("QueryAuthorityResponse") + file_florin_v2_query_proto_init() + md_QueryAuthorityResponse = File_florin_v2_query_proto.Messages().ByName("QueryAuthorityResponse") fd_QueryAuthorityResponse_authority = md_QueryAuthorityResponse.Fields().ByName("authority") } @@ -394,7 +394,7 @@ func (x *QueryAuthorityResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAuthorityResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[1] + mi := &file_florin_v2_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -471,13 +471,13 @@ func (x *fastReflection_QueryAuthorityResponse) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAuthorityResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": + case "florin.v2.QueryAuthorityResponse.authority": return x.Authority != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", fd.FullName())) } } @@ -489,13 +489,13 @@ func (x *fastReflection_QueryAuthorityResponse) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAuthorityResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": + case "florin.v2.QueryAuthorityResponse.authority": x.Authority = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", fd.FullName())) } } @@ -507,14 +507,14 @@ func (x *fastReflection_QueryAuthorityResponse) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAuthorityResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": + case "florin.v2.QueryAuthorityResponse.authority": value := x.Authority return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", descriptor.FullName())) } } @@ -530,13 +530,13 @@ func (x *fastReflection_QueryAuthorityResponse) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAuthorityResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": + case "florin.v2.QueryAuthorityResponse.authority": x.Authority = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", fd.FullName())) } } @@ -552,13 +552,13 @@ func (x *fastReflection_QueryAuthorityResponse) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAuthorityResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": - panic(fmt.Errorf("field authority of message florin.v1.QueryAuthorityResponse is not mutable")) + case "florin.v2.QueryAuthorityResponse.authority": + panic(fmt.Errorf("field authority of message florin.v2.QueryAuthorityResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", fd.FullName())) } } @@ -567,13 +567,13 @@ func (x *fastReflection_QueryAuthorityResponse) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAuthorityResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAuthorityResponse.authority": + case "florin.v2.QueryAuthorityResponse.authority": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAuthorityResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAuthorityResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAuthorityResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAuthorityResponse does not contain field %s", fd.FullName())) } } @@ -583,7 +583,7 @@ func (x *fastReflection_QueryAuthorityResponse) NewField(fd protoreflect.FieldDe func (x *fastReflection_QueryAuthorityResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAuthorityResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAuthorityResponse", d.FullName())) } panic("unreachable") } @@ -799,8 +799,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAllowedDenoms = File_florin_v1_query_proto.Messages().ByName("QueryAllowedDenoms") + file_florin_v2_query_proto_init() + md_QueryAllowedDenoms = File_florin_v2_query_proto.Messages().ByName("QueryAllowedDenoms") } var _ protoreflect.Message = (*fastReflection_QueryAllowedDenoms)(nil) @@ -812,7 +812,7 @@ func (x *QueryAllowedDenoms) ProtoReflect() protoreflect.Message { } func (x *QueryAllowedDenoms) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[2] + mi := &file_florin_v2_query_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -885,9 +885,9 @@ func (x *fastReflection_QueryAllowedDenoms) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", fd.FullName())) } } @@ -901,9 +901,9 @@ func (x *fastReflection_QueryAllowedDenoms) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", fd.FullName())) } } @@ -917,9 +917,9 @@ func (x *fastReflection_QueryAllowedDenoms) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", descriptor.FullName())) } } @@ -937,9 +937,9 @@ func (x *fastReflection_QueryAllowedDenoms) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", fd.FullName())) } } @@ -957,9 +957,9 @@ func (x *fastReflection_QueryAllowedDenoms) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", fd.FullName())) } } @@ -970,9 +970,9 @@ func (x *fastReflection_QueryAllowedDenoms) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenoms")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenoms")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenoms does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenoms does not contain field %s", fd.FullName())) } } @@ -982,7 +982,7 @@ func (x *fastReflection_QueryAllowedDenoms) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryAllowedDenoms) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAllowedDenoms", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAllowedDenoms", d.FullName())) } panic("unreachable") } @@ -1202,8 +1202,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAllowedDenomsResponse = File_florin_v1_query_proto.Messages().ByName("QueryAllowedDenomsResponse") + file_florin_v2_query_proto_init() + md_QueryAllowedDenomsResponse = File_florin_v2_query_proto.Messages().ByName("QueryAllowedDenomsResponse") fd_QueryAllowedDenomsResponse_allowed_denoms = md_QueryAllowedDenomsResponse.Fields().ByName("allowed_denoms") } @@ -1216,7 +1216,7 @@ func (x *QueryAllowedDenomsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllowedDenomsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[3] + mi := &file_florin_v2_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1293,13 +1293,13 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAllowedDenomsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": return len(x.AllowedDenoms) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) } } @@ -1311,13 +1311,13 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllowedDenomsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": x.AllowedDenoms = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) } } @@ -1329,7 +1329,7 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAllowedDenomsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": if len(x.AllowedDenoms) == 0 { return protoreflect.ValueOfList(&_QueryAllowedDenomsResponse_1_list{}) } @@ -1337,9 +1337,9 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Get(descriptor protoreflect. return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", descriptor.FullName())) } } @@ -1355,15 +1355,15 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllowedDenomsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": lv := value.List() clv := lv.(*_QueryAllowedDenomsResponse_1_list) x.AllowedDenoms = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) } } @@ -1379,7 +1379,7 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAllowedDenomsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": if x.AllowedDenoms == nil { x.AllowedDenoms = []string{} } @@ -1387,9 +1387,9 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Mutable(fd protoreflect.Fiel return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) } } @@ -1398,14 +1398,14 @@ func (x *fastReflection_QueryAllowedDenomsResponse) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAllowedDenomsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAllowedDenomsResponse.allowed_denoms": + case "florin.v2.QueryAllowedDenomsResponse.allowed_denoms": list := []string{} return protoreflect.ValueOfList(&_QueryAllowedDenomsResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAllowedDenomsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAllowedDenomsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAllowedDenomsResponse does not contain field %s", fd.FullName())) } } @@ -1415,7 +1415,7 @@ func (x *fastReflection_QueryAllowedDenomsResponse) NewField(fd protoreflect.Fie func (x *fastReflection_QueryAllowedDenomsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAllowedDenomsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAllowedDenomsResponse", d.FullName())) } panic("unreachable") } @@ -1635,8 +1635,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryOwners = File_florin_v1_query_proto.Messages().ByName("QueryOwners") + file_florin_v2_query_proto_init() + md_QueryOwners = File_florin_v2_query_proto.Messages().ByName("QueryOwners") } var _ protoreflect.Message = (*fastReflection_QueryOwners)(nil) @@ -1648,7 +1648,7 @@ func (x *QueryOwners) ProtoReflect() protoreflect.Message { } func (x *QueryOwners) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[4] + mi := &file_florin_v2_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1721,9 +1721,9 @@ func (x *fastReflection_QueryOwners) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", fd.FullName())) } } @@ -1737,9 +1737,9 @@ func (x *fastReflection_QueryOwners) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", fd.FullName())) } } @@ -1753,9 +1753,9 @@ func (x *fastReflection_QueryOwners) Get(descriptor protoreflect.FieldDescriptor switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", descriptor.FullName())) } } @@ -1773,9 +1773,9 @@ func (x *fastReflection_QueryOwners) Set(fd protoreflect.FieldDescriptor, value switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", fd.FullName())) } } @@ -1793,9 +1793,9 @@ func (x *fastReflection_QueryOwners) Mutable(fd protoreflect.FieldDescriptor) pr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", fd.FullName())) } } @@ -1806,9 +1806,9 @@ func (x *fastReflection_QueryOwners) NewField(fd protoreflect.FieldDescriptor) p switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwners")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwners")) } - panic(fmt.Errorf("message florin.v1.QueryOwners does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwners does not contain field %s", fd.FullName())) } } @@ -1818,7 +1818,7 @@ func (x *fastReflection_QueryOwners) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_QueryOwners) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryOwners", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryOwners", d.FullName())) } panic("unreachable") } @@ -2157,8 +2157,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryOwnersResponse = File_florin_v1_query_proto.Messages().ByName("QueryOwnersResponse") + file_florin_v2_query_proto_init() + md_QueryOwnersResponse = File_florin_v2_query_proto.Messages().ByName("QueryOwnersResponse") fd_QueryOwnersResponse_owners = md_QueryOwnersResponse.Fields().ByName("owners") fd_QueryOwnersResponse_pending_owners = md_QueryOwnersResponse.Fields().ByName("pending_owners") } @@ -2172,7 +2172,7 @@ func (x *QueryOwnersResponse) ProtoReflect() protoreflect.Message { } func (x *QueryOwnersResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[5] + mi := &file_florin_v2_query_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2255,15 +2255,15 @@ func (x *fastReflection_QueryOwnersResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryOwnersResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": return len(x.Owners) != 0 - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": return len(x.PendingOwners) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", fd.FullName())) } } @@ -2275,15 +2275,15 @@ func (x *fastReflection_QueryOwnersResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnersResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": x.Owners = nil - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": x.PendingOwners = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", fd.FullName())) } } @@ -2295,13 +2295,13 @@ func (x *fastReflection_QueryOwnersResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryOwnersResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": if len(x.Owners) == 0 { return protoreflect.ValueOfMap(&_QueryOwnersResponse_1_map{}) } mapValue := &_QueryOwnersResponse_1_map{m: &x.Owners} return protoreflect.ValueOfMap(mapValue) - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": if len(x.PendingOwners) == 0 { return protoreflect.ValueOfMap(&_QueryOwnersResponse_2_map{}) } @@ -2309,9 +2309,9 @@ func (x *fastReflection_QueryOwnersResponse) Get(descriptor protoreflect.FieldDe return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", descriptor.FullName())) } } @@ -2327,19 +2327,19 @@ func (x *fastReflection_QueryOwnersResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnersResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": mv := value.Map() cmv := mv.(*_QueryOwnersResponse_1_map) x.Owners = *cmv.m - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": mv := value.Map() cmv := mv.(*_QueryOwnersResponse_2_map) x.PendingOwners = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", fd.FullName())) } } @@ -2355,13 +2355,13 @@ func (x *fastReflection_QueryOwnersResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnersResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": if x.Owners == nil { x.Owners = make(map[string]string) } value := &_QueryOwnersResponse_1_map{m: &x.Owners} return protoreflect.ValueOfMap(value) - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": if x.PendingOwners == nil { x.PendingOwners = make(map[string]string) } @@ -2369,9 +2369,9 @@ func (x *fastReflection_QueryOwnersResponse) Mutable(fd protoreflect.FieldDescri return protoreflect.ValueOfMap(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", fd.FullName())) } } @@ -2380,17 +2380,17 @@ func (x *fastReflection_QueryOwnersResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryOwnersResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwnersResponse.owners": + case "florin.v2.QueryOwnersResponse.owners": m := make(map[string]string) return protoreflect.ValueOfMap(&_QueryOwnersResponse_1_map{m: &m}) - case "florin.v1.QueryOwnersResponse.pending_owners": + case "florin.v2.QueryOwnersResponse.pending_owners": m := make(map[string]string) return protoreflect.ValueOfMap(&_QueryOwnersResponse_2_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnersResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnersResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnersResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnersResponse does not contain field %s", fd.FullName())) } } @@ -2400,7 +2400,7 @@ func (x *fastReflection_QueryOwnersResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryOwnersResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryOwnersResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryOwnersResponse", d.FullName())) } panic("unreachable") } @@ -2956,8 +2956,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryOwner = File_florin_v1_query_proto.Messages().ByName("QueryOwner") + file_florin_v2_query_proto_init() + md_QueryOwner = File_florin_v2_query_proto.Messages().ByName("QueryOwner") fd_QueryOwner_denom = md_QueryOwner.Fields().ByName("denom") } @@ -2970,7 +2970,7 @@ func (x *QueryOwner) ProtoReflect() protoreflect.Message { } func (x *QueryOwner) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[6] + mi := &file_florin_v2_query_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3047,13 +3047,13 @@ func (x *fastReflection_QueryOwner) Range(f func(protoreflect.FieldDescriptor, p // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryOwner) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryOwner.denom": + case "florin.v2.QueryOwner.denom": return x.Denom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", fd.FullName())) } } @@ -3065,13 +3065,13 @@ func (x *fastReflection_QueryOwner) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwner) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryOwner.denom": + case "florin.v2.QueryOwner.denom": x.Denom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", fd.FullName())) } } @@ -3083,14 +3083,14 @@ func (x *fastReflection_QueryOwner) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryOwner) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryOwner.denom": + case "florin.v2.QueryOwner.denom": value := x.Denom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", descriptor.FullName())) } } @@ -3106,13 +3106,13 @@ func (x *fastReflection_QueryOwner) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwner) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryOwner.denom": + case "florin.v2.QueryOwner.denom": x.Denom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", fd.FullName())) } } @@ -3128,13 +3128,13 @@ func (x *fastReflection_QueryOwner) Set(fd protoreflect.FieldDescriptor, value p // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwner) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwner.denom": - panic(fmt.Errorf("field denom of message florin.v1.QueryOwner is not mutable")) + case "florin.v2.QueryOwner.denom": + panic(fmt.Errorf("field denom of message florin.v2.QueryOwner is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", fd.FullName())) } } @@ -3143,13 +3143,13 @@ func (x *fastReflection_QueryOwner) Mutable(fd protoreflect.FieldDescriptor) pro // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryOwner) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwner.denom": + case "florin.v2.QueryOwner.denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwner")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwner")) } - panic(fmt.Errorf("message florin.v1.QueryOwner does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwner does not contain field %s", fd.FullName())) } } @@ -3159,7 +3159,7 @@ func (x *fastReflection_QueryOwner) NewField(fd protoreflect.FieldDescriptor) pr func (x *fastReflection_QueryOwner) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryOwner", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryOwner", d.FullName())) } panic("unreachable") } @@ -3377,8 +3377,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryOwnerResponse = File_florin_v1_query_proto.Messages().ByName("QueryOwnerResponse") + file_florin_v2_query_proto_init() + md_QueryOwnerResponse = File_florin_v2_query_proto.Messages().ByName("QueryOwnerResponse") fd_QueryOwnerResponse_owner = md_QueryOwnerResponse.Fields().ByName("owner") fd_QueryOwnerResponse_pending_owner = md_QueryOwnerResponse.Fields().ByName("pending_owner") } @@ -3392,7 +3392,7 @@ func (x *QueryOwnerResponse) ProtoReflect() protoreflect.Message { } func (x *QueryOwnerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[7] + mi := &file_florin_v2_query_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3475,15 +3475,15 @@ func (x *fastReflection_QueryOwnerResponse) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryOwnerResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryOwnerResponse.owner": + case "florin.v2.QueryOwnerResponse.owner": return x.Owner != "" - case "florin.v1.QueryOwnerResponse.pending_owner": + case "florin.v2.QueryOwnerResponse.pending_owner": return x.PendingOwner != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", fd.FullName())) } } @@ -3495,15 +3495,15 @@ func (x *fastReflection_QueryOwnerResponse) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnerResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryOwnerResponse.owner": + case "florin.v2.QueryOwnerResponse.owner": x.Owner = "" - case "florin.v1.QueryOwnerResponse.pending_owner": + case "florin.v2.QueryOwnerResponse.pending_owner": x.PendingOwner = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", fd.FullName())) } } @@ -3515,17 +3515,17 @@ func (x *fastReflection_QueryOwnerResponse) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryOwnerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryOwnerResponse.owner": + case "florin.v2.QueryOwnerResponse.owner": value := x.Owner return protoreflect.ValueOfString(value) - case "florin.v1.QueryOwnerResponse.pending_owner": + case "florin.v2.QueryOwnerResponse.pending_owner": value := x.PendingOwner return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", descriptor.FullName())) } } @@ -3541,15 +3541,15 @@ func (x *fastReflection_QueryOwnerResponse) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryOwnerResponse.owner": + case "florin.v2.QueryOwnerResponse.owner": x.Owner = value.Interface().(string) - case "florin.v1.QueryOwnerResponse.pending_owner": + case "florin.v2.QueryOwnerResponse.pending_owner": x.PendingOwner = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", fd.FullName())) } } @@ -3565,15 +3565,15 @@ func (x *fastReflection_QueryOwnerResponse) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryOwnerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwnerResponse.owner": - panic(fmt.Errorf("field owner of message florin.v1.QueryOwnerResponse is not mutable")) - case "florin.v1.QueryOwnerResponse.pending_owner": - panic(fmt.Errorf("field pending_owner of message florin.v1.QueryOwnerResponse is not mutable")) + case "florin.v2.QueryOwnerResponse.owner": + panic(fmt.Errorf("field owner of message florin.v2.QueryOwnerResponse is not mutable")) + case "florin.v2.QueryOwnerResponse.pending_owner": + panic(fmt.Errorf("field pending_owner of message florin.v2.QueryOwnerResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", fd.FullName())) } } @@ -3582,15 +3582,15 @@ func (x *fastReflection_QueryOwnerResponse) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryOwnerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryOwnerResponse.owner": + case "florin.v2.QueryOwnerResponse.owner": return protoreflect.ValueOfString("") - case "florin.v1.QueryOwnerResponse.pending_owner": + case "florin.v2.QueryOwnerResponse.pending_owner": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryOwnerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryOwnerResponse")) } - panic(fmt.Errorf("message florin.v1.QueryOwnerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryOwnerResponse does not contain field %s", fd.FullName())) } } @@ -3600,7 +3600,7 @@ func (x *fastReflection_QueryOwnerResponse) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryOwnerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryOwnerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryOwnerResponse", d.FullName())) } panic("unreachable") } @@ -3859,8 +3859,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QuerySystems = File_florin_v1_query_proto.Messages().ByName("QuerySystems") + file_florin_v2_query_proto_init() + md_QuerySystems = File_florin_v2_query_proto.Messages().ByName("QuerySystems") } var _ protoreflect.Message = (*fastReflection_QuerySystems)(nil) @@ -3872,7 +3872,7 @@ func (x *QuerySystems) ProtoReflect() protoreflect.Message { } func (x *QuerySystems) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[8] + mi := &file_florin_v2_query_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3945,9 +3945,9 @@ func (x *fastReflection_QuerySystems) Has(fd protoreflect.FieldDescriptor) bool switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", fd.FullName())) } } @@ -3961,9 +3961,9 @@ func (x *fastReflection_QuerySystems) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", fd.FullName())) } } @@ -3977,9 +3977,9 @@ func (x *fastReflection_QuerySystems) Get(descriptor protoreflect.FieldDescripto switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", descriptor.FullName())) } } @@ -3997,9 +3997,9 @@ func (x *fastReflection_QuerySystems) Set(fd protoreflect.FieldDescriptor, value switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", fd.FullName())) } } @@ -4017,9 +4017,9 @@ func (x *fastReflection_QuerySystems) Mutable(fd protoreflect.FieldDescriptor) p switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", fd.FullName())) } } @@ -4030,9 +4030,9 @@ func (x *fastReflection_QuerySystems) NewField(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystems")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystems")) } - panic(fmt.Errorf("message florin.v1.QuerySystems does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystems does not contain field %s", fd.FullName())) } } @@ -4042,7 +4042,7 @@ func (x *fastReflection_QuerySystems) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_QuerySystems) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QuerySystems", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QuerySystems", d.FullName())) } panic("unreachable") } @@ -4267,8 +4267,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QuerySystemsResponse = File_florin_v1_query_proto.Messages().ByName("QuerySystemsResponse") + file_florin_v2_query_proto_init() + md_QuerySystemsResponse = File_florin_v2_query_proto.Messages().ByName("QuerySystemsResponse") fd_QuerySystemsResponse_systems = md_QuerySystemsResponse.Fields().ByName("systems") } @@ -4281,7 +4281,7 @@ func (x *QuerySystemsResponse) ProtoReflect() protoreflect.Message { } func (x *QuerySystemsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[9] + mi := &file_florin_v2_query_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4358,13 +4358,13 @@ func (x *fastReflection_QuerySystemsResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySystemsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": return len(x.Systems) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", fd.FullName())) } } @@ -4376,13 +4376,13 @@ func (x *fastReflection_QuerySystemsResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": x.Systems = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", fd.FullName())) } } @@ -4394,7 +4394,7 @@ func (x *fastReflection_QuerySystemsResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySystemsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": if len(x.Systems) == 0 { return protoreflect.ValueOfList(&_QuerySystemsResponse_1_list{}) } @@ -4402,9 +4402,9 @@ func (x *fastReflection_QuerySystemsResponse) Get(descriptor protoreflect.FieldD return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", descriptor.FullName())) } } @@ -4420,15 +4420,15 @@ func (x *fastReflection_QuerySystemsResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": lv := value.List() clv := lv.(*_QuerySystemsResponse_1_list) x.Systems = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", fd.FullName())) } } @@ -4444,7 +4444,7 @@ func (x *fastReflection_QuerySystemsResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": if x.Systems == nil { x.Systems = []*Account{} } @@ -4452,9 +4452,9 @@ func (x *fastReflection_QuerySystemsResponse) Mutable(fd protoreflect.FieldDescr return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", fd.FullName())) } } @@ -4463,14 +4463,14 @@ func (x *fastReflection_QuerySystemsResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySystemsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsResponse.systems": + case "florin.v2.QuerySystemsResponse.systems": list := []*Account{} return protoreflect.ValueOfList(&_QuerySystemsResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsResponse does not contain field %s", fd.FullName())) } } @@ -4480,7 +4480,7 @@ func (x *fastReflection_QuerySystemsResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QuerySystemsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QuerySystemsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QuerySystemsResponse", d.FullName())) } panic("unreachable") } @@ -4710,8 +4710,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QuerySystemsByDenom = File_florin_v1_query_proto.Messages().ByName("QuerySystemsByDenom") + file_florin_v2_query_proto_init() + md_QuerySystemsByDenom = File_florin_v2_query_proto.Messages().ByName("QuerySystemsByDenom") fd_QuerySystemsByDenom_denom = md_QuerySystemsByDenom.Fields().ByName("denom") } @@ -4724,7 +4724,7 @@ func (x *QuerySystemsByDenom) ProtoReflect() protoreflect.Message { } func (x *QuerySystemsByDenom) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[10] + mi := &file_florin_v2_query_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4801,13 +4801,13 @@ func (x *fastReflection_QuerySystemsByDenom) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySystemsByDenom) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": + case "florin.v2.QuerySystemsByDenom.denom": return x.Denom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", fd.FullName())) } } @@ -4819,13 +4819,13 @@ func (x *fastReflection_QuerySystemsByDenom) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenom) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": + case "florin.v2.QuerySystemsByDenom.denom": x.Denom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", fd.FullName())) } } @@ -4837,14 +4837,14 @@ func (x *fastReflection_QuerySystemsByDenom) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySystemsByDenom) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": + case "florin.v2.QuerySystemsByDenom.denom": value := x.Denom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", descriptor.FullName())) } } @@ -4860,13 +4860,13 @@ func (x *fastReflection_QuerySystemsByDenom) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenom) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": + case "florin.v2.QuerySystemsByDenom.denom": x.Denom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", fd.FullName())) } } @@ -4882,13 +4882,13 @@ func (x *fastReflection_QuerySystemsByDenom) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenom) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": - panic(fmt.Errorf("field denom of message florin.v1.QuerySystemsByDenom is not mutable")) + case "florin.v2.QuerySystemsByDenom.denom": + panic(fmt.Errorf("field denom of message florin.v2.QuerySystemsByDenom is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", fd.FullName())) } } @@ -4897,13 +4897,13 @@ func (x *fastReflection_QuerySystemsByDenom) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySystemsByDenom) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenom.denom": + case "florin.v2.QuerySystemsByDenom.denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenom")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenom does not contain field %s", fd.FullName())) } } @@ -4913,7 +4913,7 @@ func (x *fastReflection_QuerySystemsByDenom) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QuerySystemsByDenom) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QuerySystemsByDenom", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QuerySystemsByDenom", d.FullName())) } panic("unreachable") } @@ -5176,8 +5176,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QuerySystemsByDenomResponse = File_florin_v1_query_proto.Messages().ByName("QuerySystemsByDenomResponse") + file_florin_v2_query_proto_init() + md_QuerySystemsByDenomResponse = File_florin_v2_query_proto.Messages().ByName("QuerySystemsByDenomResponse") fd_QuerySystemsByDenomResponse_systems = md_QuerySystemsByDenomResponse.Fields().ByName("systems") } @@ -5190,7 +5190,7 @@ func (x *QuerySystemsByDenomResponse) ProtoReflect() protoreflect.Message { } func (x *QuerySystemsByDenomResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[11] + mi := &file_florin_v2_query_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5267,13 +5267,13 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Range(f func(protoreflect.F // a repeated field is populated if it is non-empty. func (x *fastReflection_QuerySystemsByDenomResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": return len(x.Systems) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -5285,13 +5285,13 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Has(fd protoreflect.FieldDe // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenomResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": x.Systems = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -5303,7 +5303,7 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Clear(fd protoreflect.Field // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QuerySystemsByDenomResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": if len(x.Systems) == 0 { return protoreflect.ValueOfList(&_QuerySystemsByDenomResponse_1_list{}) } @@ -5311,9 +5311,9 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Get(descriptor protoreflect return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", descriptor.FullName())) } } @@ -5329,15 +5329,15 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Get(descriptor protoreflect // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenomResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": lv := value.List() clv := lv.(*_QuerySystemsByDenomResponse_1_list) x.Systems = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -5353,7 +5353,7 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Set(fd protoreflect.FieldDe // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QuerySystemsByDenomResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": if x.Systems == nil { x.Systems = []string{} } @@ -5361,9 +5361,9 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Mutable(fd protoreflect.Fie return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -5372,14 +5372,14 @@ func (x *fastReflection_QuerySystemsByDenomResponse) Mutable(fd protoreflect.Fie // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QuerySystemsByDenomResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QuerySystemsByDenomResponse.systems": + case "florin.v2.QuerySystemsByDenomResponse.systems": list := []string{} return protoreflect.ValueOfList(&_QuerySystemsByDenomResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QuerySystemsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QuerySystemsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QuerySystemsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -5389,7 +5389,7 @@ func (x *fastReflection_QuerySystemsByDenomResponse) NewField(fd protoreflect.Fi func (x *fastReflection_QuerySystemsByDenomResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QuerySystemsByDenomResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QuerySystemsByDenomResponse", d.FullName())) } panic("unreachable") } @@ -5609,8 +5609,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAdmins = File_florin_v1_query_proto.Messages().ByName("QueryAdmins") + file_florin_v2_query_proto_init() + md_QueryAdmins = File_florin_v2_query_proto.Messages().ByName("QueryAdmins") } var _ protoreflect.Message = (*fastReflection_QueryAdmins)(nil) @@ -5622,7 +5622,7 @@ func (x *QueryAdmins) ProtoReflect() protoreflect.Message { } func (x *QueryAdmins) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[12] + mi := &file_florin_v2_query_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5695,9 +5695,9 @@ func (x *fastReflection_QueryAdmins) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", fd.FullName())) } } @@ -5711,9 +5711,9 @@ func (x *fastReflection_QueryAdmins) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", fd.FullName())) } } @@ -5727,9 +5727,9 @@ func (x *fastReflection_QueryAdmins) Get(descriptor protoreflect.FieldDescriptor switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", descriptor.FullName())) } } @@ -5747,9 +5747,9 @@ func (x *fastReflection_QueryAdmins) Set(fd protoreflect.FieldDescriptor, value switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", fd.FullName())) } } @@ -5767,9 +5767,9 @@ func (x *fastReflection_QueryAdmins) Mutable(fd protoreflect.FieldDescriptor) pr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", fd.FullName())) } } @@ -5780,9 +5780,9 @@ func (x *fastReflection_QueryAdmins) NewField(fd protoreflect.FieldDescriptor) p switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdmins")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdmins")) } - panic(fmt.Errorf("message florin.v1.QueryAdmins does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdmins does not contain field %s", fd.FullName())) } } @@ -5792,7 +5792,7 @@ func (x *fastReflection_QueryAdmins) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_QueryAdmins) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAdmins", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAdmins", d.FullName())) } panic("unreachable") } @@ -6017,8 +6017,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAdminsResponse = File_florin_v1_query_proto.Messages().ByName("QueryAdminsResponse") + file_florin_v2_query_proto_init() + md_QueryAdminsResponse = File_florin_v2_query_proto.Messages().ByName("QueryAdminsResponse") fd_QueryAdminsResponse_admins = md_QueryAdminsResponse.Fields().ByName("admins") } @@ -6031,7 +6031,7 @@ func (x *QueryAdminsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAdminsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[13] + mi := &file_florin_v2_query_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6108,13 +6108,13 @@ func (x *fastReflection_QueryAdminsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAdminsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": return len(x.Admins) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", fd.FullName())) } } @@ -6126,13 +6126,13 @@ func (x *fastReflection_QueryAdminsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": x.Admins = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", fd.FullName())) } } @@ -6144,7 +6144,7 @@ func (x *fastReflection_QueryAdminsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAdminsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": if len(x.Admins) == 0 { return protoreflect.ValueOfList(&_QueryAdminsResponse_1_list{}) } @@ -6152,9 +6152,9 @@ func (x *fastReflection_QueryAdminsResponse) Get(descriptor protoreflect.FieldDe return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", descriptor.FullName())) } } @@ -6170,15 +6170,15 @@ func (x *fastReflection_QueryAdminsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": lv := value.List() clv := lv.(*_QueryAdminsResponse_1_list) x.Admins = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", fd.FullName())) } } @@ -6194,7 +6194,7 @@ func (x *fastReflection_QueryAdminsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": if x.Admins == nil { x.Admins = []*Account{} } @@ -6202,9 +6202,9 @@ func (x *fastReflection_QueryAdminsResponse) Mutable(fd protoreflect.FieldDescri return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", fd.FullName())) } } @@ -6213,14 +6213,14 @@ func (x *fastReflection_QueryAdminsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAdminsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsResponse.admins": + case "florin.v2.QueryAdminsResponse.admins": list := []*Account{} return protoreflect.ValueOfList(&_QueryAdminsResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsResponse does not contain field %s", fd.FullName())) } } @@ -6230,7 +6230,7 @@ func (x *fastReflection_QueryAdminsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryAdminsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAdminsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAdminsResponse", d.FullName())) } panic("unreachable") } @@ -6460,8 +6460,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAdminsByDenom = File_florin_v1_query_proto.Messages().ByName("QueryAdminsByDenom") + file_florin_v2_query_proto_init() + md_QueryAdminsByDenom = File_florin_v2_query_proto.Messages().ByName("QueryAdminsByDenom") fd_QueryAdminsByDenom_denom = md_QueryAdminsByDenom.Fields().ByName("denom") } @@ -6474,7 +6474,7 @@ func (x *QueryAdminsByDenom) ProtoReflect() protoreflect.Message { } func (x *QueryAdminsByDenom) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[14] + mi := &file_florin_v2_query_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6551,13 +6551,13 @@ func (x *fastReflection_QueryAdminsByDenom) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAdminsByDenom) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": + case "florin.v2.QueryAdminsByDenom.denom": return x.Denom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", fd.FullName())) } } @@ -6569,13 +6569,13 @@ func (x *fastReflection_QueryAdminsByDenom) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenom) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": + case "florin.v2.QueryAdminsByDenom.denom": x.Denom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", fd.FullName())) } } @@ -6587,14 +6587,14 @@ func (x *fastReflection_QueryAdminsByDenom) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAdminsByDenom) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": + case "florin.v2.QueryAdminsByDenom.denom": value := x.Denom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", descriptor.FullName())) } } @@ -6610,13 +6610,13 @@ func (x *fastReflection_QueryAdminsByDenom) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenom) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": + case "florin.v2.QueryAdminsByDenom.denom": x.Denom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", fd.FullName())) } } @@ -6632,13 +6632,13 @@ func (x *fastReflection_QueryAdminsByDenom) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenom) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": - panic(fmt.Errorf("field denom of message florin.v1.QueryAdminsByDenom is not mutable")) + case "florin.v2.QueryAdminsByDenom.denom": + panic(fmt.Errorf("field denom of message florin.v2.QueryAdminsByDenom is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", fd.FullName())) } } @@ -6647,13 +6647,13 @@ func (x *fastReflection_QueryAdminsByDenom) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAdminsByDenom) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenom.denom": + case "florin.v2.QueryAdminsByDenom.denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenom")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenom does not contain field %s", fd.FullName())) } } @@ -6663,7 +6663,7 @@ func (x *fastReflection_QueryAdminsByDenom) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryAdminsByDenom) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAdminsByDenom", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAdminsByDenom", d.FullName())) } panic("unreachable") } @@ -6926,8 +6926,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryAdminsByDenomResponse = File_florin_v1_query_proto.Messages().ByName("QueryAdminsByDenomResponse") + file_florin_v2_query_proto_init() + md_QueryAdminsByDenomResponse = File_florin_v2_query_proto.Messages().ByName("QueryAdminsByDenomResponse") fd_QueryAdminsByDenomResponse_admins = md_QueryAdminsByDenomResponse.Fields().ByName("admins") } @@ -6940,7 +6940,7 @@ func (x *QueryAdminsByDenomResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAdminsByDenomResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[15] + mi := &file_florin_v2_query_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7017,13 +7017,13 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAdminsByDenomResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": return len(x.Admins) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -7035,13 +7035,13 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenomResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": x.Admins = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -7053,7 +7053,7 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAdminsByDenomResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": if len(x.Admins) == 0 { return protoreflect.ValueOfList(&_QueryAdminsByDenomResponse_1_list{}) } @@ -7061,9 +7061,9 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Get(descriptor protoreflect. return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", descriptor.FullName())) } } @@ -7079,15 +7079,15 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenomResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": lv := value.List() clv := lv.(*_QueryAdminsByDenomResponse_1_list) x.Admins = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -7103,7 +7103,7 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAdminsByDenomResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": if x.Admins == nil { x.Admins = []string{} } @@ -7111,9 +7111,9 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Mutable(fd protoreflect.Fiel return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -7122,14 +7122,14 @@ func (x *fastReflection_QueryAdminsByDenomResponse) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAdminsByDenomResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryAdminsByDenomResponse.admins": + case "florin.v2.QueryAdminsByDenomResponse.admins": list := []string{} return protoreflect.ValueOfList(&_QueryAdminsByDenomResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryAdminsByDenomResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryAdminsByDenomResponse")) } - panic(fmt.Errorf("message florin.v1.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryAdminsByDenomResponse does not contain field %s", fd.FullName())) } } @@ -7139,7 +7139,7 @@ func (x *fastReflection_QueryAdminsByDenomResponse) NewField(fd protoreflect.Fie func (x *fastReflection_QueryAdminsByDenomResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryAdminsByDenomResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryAdminsByDenomResponse", d.FullName())) } panic("unreachable") } @@ -7359,8 +7359,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMaxMintAllowances = File_florin_v1_query_proto.Messages().ByName("QueryMaxMintAllowances") + file_florin_v2_query_proto_init() + md_QueryMaxMintAllowances = File_florin_v2_query_proto.Messages().ByName("QueryMaxMintAllowances") } var _ protoreflect.Message = (*fastReflection_QueryMaxMintAllowances)(nil) @@ -7372,7 +7372,7 @@ func (x *QueryMaxMintAllowances) ProtoReflect() protoreflect.Message { } func (x *QueryMaxMintAllowances) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[16] + mi := &file_florin_v2_query_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7445,9 +7445,9 @@ func (x *fastReflection_QueryMaxMintAllowances) Has(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", fd.FullName())) } } @@ -7461,9 +7461,9 @@ func (x *fastReflection_QueryMaxMintAllowances) Clear(fd protoreflect.FieldDescr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", fd.FullName())) } } @@ -7477,9 +7477,9 @@ func (x *fastReflection_QueryMaxMintAllowances) Get(descriptor protoreflect.Fiel switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", descriptor.FullName())) } } @@ -7497,9 +7497,9 @@ func (x *fastReflection_QueryMaxMintAllowances) Set(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", fd.FullName())) } } @@ -7517,9 +7517,9 @@ func (x *fastReflection_QueryMaxMintAllowances) Mutable(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", fd.FullName())) } } @@ -7530,9 +7530,9 @@ func (x *fastReflection_QueryMaxMintAllowances) NewField(fd protoreflect.FieldDe switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowances does not contain field %s", fd.FullName())) } } @@ -7542,7 +7542,7 @@ func (x *fastReflection_QueryMaxMintAllowances) NewField(fd protoreflect.FieldDe func (x *fastReflection_QueryMaxMintAllowances) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMaxMintAllowances", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMaxMintAllowances", d.FullName())) } panic("unreachable") } @@ -7798,8 +7798,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMaxMintAllowancesResponse = File_florin_v1_query_proto.Messages().ByName("QueryMaxMintAllowancesResponse") + file_florin_v2_query_proto_init() + md_QueryMaxMintAllowancesResponse = File_florin_v2_query_proto.Messages().ByName("QueryMaxMintAllowancesResponse") fd_QueryMaxMintAllowancesResponse_max_mint_allowances = md_QueryMaxMintAllowancesResponse.Fields().ByName("max_mint_allowances") } @@ -7812,7 +7812,7 @@ func (x *QueryMaxMintAllowancesResponse) ProtoReflect() protoreflect.Message { } func (x *QueryMaxMintAllowancesResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[17] + mi := &file_florin_v2_query_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7889,13 +7889,13 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Range(f func(protoreflec // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMaxMintAllowancesResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": return len(x.MaxMintAllowances) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -7907,13 +7907,13 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Has(fd protoreflect.Fiel // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowancesResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": x.MaxMintAllowances = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -7925,7 +7925,7 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Clear(fd protoreflect.Fi // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMaxMintAllowancesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": if len(x.MaxMintAllowances) == 0 { return protoreflect.ValueOfMap(&_QueryMaxMintAllowancesResponse_1_map{}) } @@ -7933,9 +7933,9 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Get(descriptor protorefl return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", descriptor.FullName())) } } @@ -7951,15 +7951,15 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Get(descriptor protorefl // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowancesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": mv := value.Map() cmv := mv.(*_QueryMaxMintAllowancesResponse_1_map) x.MaxMintAllowances = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -7975,7 +7975,7 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Set(fd protoreflect.Fiel // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowancesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": if x.MaxMintAllowances == nil { x.MaxMintAllowances = make(map[string]string) } @@ -7983,9 +7983,9 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Mutable(fd protoreflect. return protoreflect.ValueOfMap(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -7994,14 +7994,14 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) Mutable(fd protoreflect. // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMaxMintAllowancesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances": + case "florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances": m := make(map[string]string) return protoreflect.ValueOfMap(&_QueryMaxMintAllowancesResponse_1_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -8011,7 +8011,7 @@ func (x *fastReflection_QueryMaxMintAllowancesResponse) NewField(fd protoreflect func (x *fastReflection_QueryMaxMintAllowancesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMaxMintAllowancesResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMaxMintAllowancesResponse", d.FullName())) } panic("unreachable") } @@ -8376,8 +8376,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMaxMintAllowance = File_florin_v1_query_proto.Messages().ByName("QueryMaxMintAllowance") + file_florin_v2_query_proto_init() + md_QueryMaxMintAllowance = File_florin_v2_query_proto.Messages().ByName("QueryMaxMintAllowance") fd_QueryMaxMintAllowance_denom = md_QueryMaxMintAllowance.Fields().ByName("denom") } @@ -8390,7 +8390,7 @@ func (x *QueryMaxMintAllowance) ProtoReflect() protoreflect.Message { } func (x *QueryMaxMintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[18] + mi := &file_florin_v2_query_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8467,13 +8467,13 @@ func (x *fastReflection_QueryMaxMintAllowance) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMaxMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": + case "florin.v2.QueryMaxMintAllowance.denom": return x.Denom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -8485,13 +8485,13 @@ func (x *fastReflection_QueryMaxMintAllowance) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": + case "florin.v2.QueryMaxMintAllowance.denom": x.Denom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -8503,14 +8503,14 @@ func (x *fastReflection_QueryMaxMintAllowance) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMaxMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": + case "florin.v2.QueryMaxMintAllowance.denom": value := x.Denom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", descriptor.FullName())) } } @@ -8526,13 +8526,13 @@ func (x *fastReflection_QueryMaxMintAllowance) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": + case "florin.v2.QueryMaxMintAllowance.denom": x.Denom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -8548,13 +8548,13 @@ func (x *fastReflection_QueryMaxMintAllowance) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.QueryMaxMintAllowance is not mutable")) + case "florin.v2.QueryMaxMintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.QueryMaxMintAllowance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -8563,13 +8563,13 @@ func (x *fastReflection_QueryMaxMintAllowance) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMaxMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowance.denom": + case "florin.v2.QueryMaxMintAllowance.denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowance does not contain field %s", fd.FullName())) } } @@ -8579,7 +8579,7 @@ func (x *fastReflection_QueryMaxMintAllowance) NewField(fd protoreflect.FieldDes func (x *fastReflection_QueryMaxMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMaxMintAllowance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMaxMintAllowance", d.FullName())) } panic("unreachable") } @@ -8796,8 +8796,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMaxMintAllowanceResponse = File_florin_v1_query_proto.Messages().ByName("QueryMaxMintAllowanceResponse") + file_florin_v2_query_proto_init() + md_QueryMaxMintAllowanceResponse = File_florin_v2_query_proto.Messages().ByName("QueryMaxMintAllowanceResponse") fd_QueryMaxMintAllowanceResponse_max_mint_allowance = md_QueryMaxMintAllowanceResponse.Fields().ByName("max_mint_allowance") } @@ -8810,7 +8810,7 @@ func (x *QueryMaxMintAllowanceResponse) ProtoReflect() protoreflect.Message { } func (x *QueryMaxMintAllowanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[19] + mi := &file_florin_v2_query_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8887,13 +8887,13 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Range(f func(protoreflect // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMaxMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": return x.MaxMintAllowance != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -8905,13 +8905,13 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Has(fd protoreflect.Field // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": x.MaxMintAllowance = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -8923,14 +8923,14 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Clear(fd protoreflect.Fie // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMaxMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": value := x.MaxMintAllowance return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", descriptor.FullName())) } } @@ -8946,13 +8946,13 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Get(descriptor protorefle // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": x.MaxMintAllowance = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -8968,13 +8968,13 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Set(fd protoreflect.Field // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMaxMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": - panic(fmt.Errorf("field max_mint_allowance of message florin.v1.QueryMaxMintAllowanceResponse is not mutable")) + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": + panic(fmt.Errorf("field max_mint_allowance of message florin.v2.QueryMaxMintAllowanceResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -8983,13 +8983,13 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) Mutable(fd protoreflect.F // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMaxMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMaxMintAllowanceResponse.max_mint_allowance": + case "florin.v2.QueryMaxMintAllowanceResponse.max_mint_allowance": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMaxMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMaxMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMaxMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -8999,7 +8999,7 @@ func (x *fastReflection_QueryMaxMintAllowanceResponse) NewField(fd protoreflect. func (x *fastReflection_QueryMaxMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMaxMintAllowanceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMaxMintAllowanceResponse", d.FullName())) } panic("unreachable") } @@ -9216,8 +9216,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMintAllowances = File_florin_v1_query_proto.Messages().ByName("QueryMintAllowances") + file_florin_v2_query_proto_init() + md_QueryMintAllowances = File_florin_v2_query_proto.Messages().ByName("QueryMintAllowances") fd_QueryMintAllowances_denom = md_QueryMintAllowances.Fields().ByName("denom") } @@ -9230,7 +9230,7 @@ func (x *QueryMintAllowances) ProtoReflect() protoreflect.Message { } func (x *QueryMintAllowances) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[20] + mi := &file_florin_v2_query_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9307,13 +9307,13 @@ func (x *fastReflection_QueryMintAllowances) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMintAllowances) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMintAllowances.denom": + case "florin.v2.QueryMintAllowances.denom": return x.Denom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", fd.FullName())) } } @@ -9325,13 +9325,13 @@ func (x *fastReflection_QueryMintAllowances) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowances) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMintAllowances.denom": + case "florin.v2.QueryMintAllowances.denom": x.Denom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", fd.FullName())) } } @@ -9343,14 +9343,14 @@ func (x *fastReflection_QueryMintAllowances) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMintAllowances) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMintAllowances.denom": + case "florin.v2.QueryMintAllowances.denom": value := x.Denom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", descriptor.FullName())) } } @@ -9366,13 +9366,13 @@ func (x *fastReflection_QueryMintAllowances) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowances) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMintAllowances.denom": + case "florin.v2.QueryMintAllowances.denom": x.Denom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", fd.FullName())) } } @@ -9388,13 +9388,13 @@ func (x *fastReflection_QueryMintAllowances) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowances) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowances.denom": - panic(fmt.Errorf("field denom of message florin.v1.QueryMintAllowances is not mutable")) + case "florin.v2.QueryMintAllowances.denom": + panic(fmt.Errorf("field denom of message florin.v2.QueryMintAllowances is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", fd.FullName())) } } @@ -9403,13 +9403,13 @@ func (x *fastReflection_QueryMintAllowances) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMintAllowances) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowances.denom": + case "florin.v2.QueryMintAllowances.denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowances")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowances")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowances does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowances does not contain field %s", fd.FullName())) } } @@ -9419,7 +9419,7 @@ func (x *fastReflection_QueryMintAllowances) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryMintAllowances) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMintAllowances", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMintAllowances", d.FullName())) } panic("unreachable") } @@ -9718,8 +9718,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMintAllowancesResponse = File_florin_v1_query_proto.Messages().ByName("QueryMintAllowancesResponse") + file_florin_v2_query_proto_init() + md_QueryMintAllowancesResponse = File_florin_v2_query_proto.Messages().ByName("QueryMintAllowancesResponse") fd_QueryMintAllowancesResponse_allowances = md_QueryMintAllowancesResponse.Fields().ByName("allowances") } @@ -9732,7 +9732,7 @@ func (x *QueryMintAllowancesResponse) ProtoReflect() protoreflect.Message { } func (x *QueryMintAllowancesResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[21] + mi := &file_florin_v2_query_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9809,13 +9809,13 @@ func (x *fastReflection_QueryMintAllowancesResponse) Range(f func(protoreflect.F // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMintAllowancesResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": return len(x.Allowances) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -9827,13 +9827,13 @@ func (x *fastReflection_QueryMintAllowancesResponse) Has(fd protoreflect.FieldDe // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowancesResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": x.Allowances = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -9845,7 +9845,7 @@ func (x *fastReflection_QueryMintAllowancesResponse) Clear(fd protoreflect.Field // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMintAllowancesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": if len(x.Allowances) == 0 { return protoreflect.ValueOfMap(&_QueryMintAllowancesResponse_1_map{}) } @@ -9853,9 +9853,9 @@ func (x *fastReflection_QueryMintAllowancesResponse) Get(descriptor protoreflect return protoreflect.ValueOfMap(mapValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", descriptor.FullName())) } } @@ -9871,15 +9871,15 @@ func (x *fastReflection_QueryMintAllowancesResponse) Get(descriptor protoreflect // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowancesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": mv := value.Map() cmv := mv.(*_QueryMintAllowancesResponse_1_map) x.Allowances = *cmv.m default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -9895,7 +9895,7 @@ func (x *fastReflection_QueryMintAllowancesResponse) Set(fd protoreflect.FieldDe // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowancesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": if x.Allowances == nil { x.Allowances = make(map[string]string) } @@ -9903,9 +9903,9 @@ func (x *fastReflection_QueryMintAllowancesResponse) Mutable(fd protoreflect.Fie return protoreflect.ValueOfMap(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -9914,14 +9914,14 @@ func (x *fastReflection_QueryMintAllowancesResponse) Mutable(fd protoreflect.Fie // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMintAllowancesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowancesResponse.allowances": + case "florin.v2.QueryMintAllowancesResponse.allowances": m := make(map[string]string) return protoreflect.ValueOfMap(&_QueryMintAllowancesResponse_1_map{m: &m}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowancesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowancesResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowancesResponse does not contain field %s", fd.FullName())) } } @@ -9931,7 +9931,7 @@ func (x *fastReflection_QueryMintAllowancesResponse) NewField(fd protoreflect.Fi func (x *fastReflection_QueryMintAllowancesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMintAllowancesResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMintAllowancesResponse", d.FullName())) } panic("unreachable") } @@ -10297,8 +10297,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMintAllowance = File_florin_v1_query_proto.Messages().ByName("QueryMintAllowance") + file_florin_v2_query_proto_init() + md_QueryMintAllowance = File_florin_v2_query_proto.Messages().ByName("QueryMintAllowance") fd_QueryMintAllowance_denom = md_QueryMintAllowance.Fields().ByName("denom") fd_QueryMintAllowance_account = md_QueryMintAllowance.Fields().ByName("account") } @@ -10312,7 +10312,7 @@ func (x *QueryMintAllowance) ProtoReflect() protoreflect.Message { } func (x *QueryMintAllowance) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[22] + mi := &file_florin_v2_query_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10395,15 +10395,15 @@ func (x *fastReflection_QueryMintAllowance) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMintAllowance.denom": + case "florin.v2.QueryMintAllowance.denom": return x.Denom != "" - case "florin.v1.QueryMintAllowance.account": + case "florin.v2.QueryMintAllowance.account": return x.Account != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", fd.FullName())) } } @@ -10415,15 +10415,15 @@ func (x *fastReflection_QueryMintAllowance) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMintAllowance.denom": + case "florin.v2.QueryMintAllowance.denom": x.Denom = "" - case "florin.v1.QueryMintAllowance.account": + case "florin.v2.QueryMintAllowance.account": x.Account = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", fd.FullName())) } } @@ -10435,17 +10435,17 @@ func (x *fastReflection_QueryMintAllowance) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMintAllowance.denom": + case "florin.v2.QueryMintAllowance.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "florin.v1.QueryMintAllowance.account": + case "florin.v2.QueryMintAllowance.account": value := x.Account return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", descriptor.FullName())) } } @@ -10461,15 +10461,15 @@ func (x *fastReflection_QueryMintAllowance) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMintAllowance.denom": + case "florin.v2.QueryMintAllowance.denom": x.Denom = value.Interface().(string) - case "florin.v1.QueryMintAllowance.account": + case "florin.v2.QueryMintAllowance.account": x.Account = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", fd.FullName())) } } @@ -10485,15 +10485,15 @@ func (x *fastReflection_QueryMintAllowance) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowance.denom": - panic(fmt.Errorf("field denom of message florin.v1.QueryMintAllowance is not mutable")) - case "florin.v1.QueryMintAllowance.account": - panic(fmt.Errorf("field account of message florin.v1.QueryMintAllowance is not mutable")) + case "florin.v2.QueryMintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.QueryMintAllowance is not mutable")) + case "florin.v2.QueryMintAllowance.account": + panic(fmt.Errorf("field account of message florin.v2.QueryMintAllowance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", fd.FullName())) } } @@ -10502,15 +10502,15 @@ func (x *fastReflection_QueryMintAllowance) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowance.denom": + case "florin.v2.QueryMintAllowance.denom": return protoreflect.ValueOfString("") - case "florin.v1.QueryMintAllowance.account": + case "florin.v2.QueryMintAllowance.account": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowance")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowance does not contain field %s", fd.FullName())) } } @@ -10520,7 +10520,7 @@ func (x *fastReflection_QueryMintAllowance) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMintAllowance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMintAllowance", d.FullName())) } panic("unreachable") } @@ -10780,8 +10780,8 @@ var ( ) func init() { - file_florin_v1_query_proto_init() - md_QueryMintAllowanceResponse = File_florin_v1_query_proto.Messages().ByName("QueryMintAllowanceResponse") + file_florin_v2_query_proto_init() + md_QueryMintAllowanceResponse = File_florin_v2_query_proto.Messages().ByName("QueryMintAllowanceResponse") fd_QueryMintAllowanceResponse_allowance = md_QueryMintAllowanceResponse.Fields().ByName("allowance") } @@ -10794,7 +10794,7 @@ func (x *QueryMintAllowanceResponse) ProtoReflect() protoreflect.Message { } func (x *QueryMintAllowanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_florin_v1_query_proto_msgTypes[23] + mi := &file_florin_v2_query_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10871,13 +10871,13 @@ func (x *fastReflection_QueryMintAllowanceResponse) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": + case "florin.v2.QueryMintAllowanceResponse.allowance": return x.Allowance != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -10889,13 +10889,13 @@ func (x *fastReflection_QueryMintAllowanceResponse) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": + case "florin.v2.QueryMintAllowanceResponse.allowance": x.Allowance = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -10907,14 +10907,14 @@ func (x *fastReflection_QueryMintAllowanceResponse) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": + case "florin.v2.QueryMintAllowanceResponse.allowance": value := x.Allowance return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", descriptor.FullName())) } } @@ -10930,13 +10930,13 @@ func (x *fastReflection_QueryMintAllowanceResponse) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": + case "florin.v2.QueryMintAllowanceResponse.allowance": x.Allowance = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -10952,13 +10952,13 @@ func (x *fastReflection_QueryMintAllowanceResponse) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": - panic(fmt.Errorf("field allowance of message florin.v1.QueryMintAllowanceResponse is not mutable")) + case "florin.v2.QueryMintAllowanceResponse.allowance": + panic(fmt.Errorf("field allowance of message florin.v2.QueryMintAllowanceResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -10967,13 +10967,13 @@ func (x *fastReflection_QueryMintAllowanceResponse) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "florin.v1.QueryMintAllowanceResponse.allowance": + case "florin.v2.QueryMintAllowanceResponse.allowance": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v1.QueryMintAllowanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.QueryMintAllowanceResponse")) } - panic(fmt.Errorf("message florin.v1.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message florin.v2.QueryMintAllowanceResponse does not contain field %s", fd.FullName())) } } @@ -10983,7 +10983,7 @@ func (x *fastReflection_QueryMintAllowanceResponse) NewField(fd protoreflect.Fie func (x *fastReflection_QueryMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in florin.v1.QueryMintAllowanceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in florin.v2.QueryMintAllowanceResponse", d.FullName())) } panic("unreachable") } @@ -11198,7 +11198,7 @@ func (x *fastReflection_QueryMintAllowanceResponse) ProtoMethods() *protoiface.M // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: florin/v1/query.proto +// source: florin/v2/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -11216,7 +11216,7 @@ type QueryAuthority struct { func (x *QueryAuthority) Reset() { *x = QueryAuthority{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[0] + mi := &file_florin_v2_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11230,7 +11230,7 @@ func (*QueryAuthority) ProtoMessage() {} // Deprecated: Use QueryAuthority.ProtoReflect.Descriptor instead. func (*QueryAuthority) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{0} + return file_florin_v2_query_proto_rawDescGZIP(), []int{0} } type QueryAuthorityResponse struct { @@ -11244,7 +11244,7 @@ type QueryAuthorityResponse struct { func (x *QueryAuthorityResponse) Reset() { *x = QueryAuthorityResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[1] + mi := &file_florin_v2_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11258,7 +11258,7 @@ func (*QueryAuthorityResponse) ProtoMessage() {} // Deprecated: Use QueryAuthorityResponse.ProtoReflect.Descriptor instead. func (*QueryAuthorityResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{1} + return file_florin_v2_query_proto_rawDescGZIP(), []int{1} } func (x *QueryAuthorityResponse) GetAuthority() string { @@ -11277,7 +11277,7 @@ type QueryAllowedDenoms struct { func (x *QueryAllowedDenoms) Reset() { *x = QueryAllowedDenoms{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[2] + mi := &file_florin_v2_query_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11291,7 +11291,7 @@ func (*QueryAllowedDenoms) ProtoMessage() {} // Deprecated: Use QueryAllowedDenoms.ProtoReflect.Descriptor instead. func (*QueryAllowedDenoms) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{2} + return file_florin_v2_query_proto_rawDescGZIP(), []int{2} } type QueryAllowedDenomsResponse struct { @@ -11305,7 +11305,7 @@ type QueryAllowedDenomsResponse struct { func (x *QueryAllowedDenomsResponse) Reset() { *x = QueryAllowedDenomsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[3] + mi := &file_florin_v2_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11319,7 +11319,7 @@ func (*QueryAllowedDenomsResponse) ProtoMessage() {} // Deprecated: Use QueryAllowedDenomsResponse.ProtoReflect.Descriptor instead. func (*QueryAllowedDenomsResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{3} + return file_florin_v2_query_proto_rawDescGZIP(), []int{3} } func (x *QueryAllowedDenomsResponse) GetAllowedDenoms() []string { @@ -11338,7 +11338,7 @@ type QueryOwners struct { func (x *QueryOwners) Reset() { *x = QueryOwners{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[4] + mi := &file_florin_v2_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11352,7 +11352,7 @@ func (*QueryOwners) ProtoMessage() {} // Deprecated: Use QueryOwners.ProtoReflect.Descriptor instead. func (*QueryOwners) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{4} + return file_florin_v2_query_proto_rawDescGZIP(), []int{4} } type QueryOwnersResponse struct { @@ -11367,7 +11367,7 @@ type QueryOwnersResponse struct { func (x *QueryOwnersResponse) Reset() { *x = QueryOwnersResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[5] + mi := &file_florin_v2_query_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11381,7 +11381,7 @@ func (*QueryOwnersResponse) ProtoMessage() {} // Deprecated: Use QueryOwnersResponse.ProtoReflect.Descriptor instead. func (*QueryOwnersResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{5} + return file_florin_v2_query_proto_rawDescGZIP(), []int{5} } func (x *QueryOwnersResponse) GetOwners() map[string]string { @@ -11409,7 +11409,7 @@ type QueryOwner struct { func (x *QueryOwner) Reset() { *x = QueryOwner{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[6] + mi := &file_florin_v2_query_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11423,7 +11423,7 @@ func (*QueryOwner) ProtoMessage() {} // Deprecated: Use QueryOwner.ProtoReflect.Descriptor instead. func (*QueryOwner) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{6} + return file_florin_v2_query_proto_rawDescGZIP(), []int{6} } func (x *QueryOwner) GetDenom() string { @@ -11445,7 +11445,7 @@ type QueryOwnerResponse struct { func (x *QueryOwnerResponse) Reset() { *x = QueryOwnerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[7] + mi := &file_florin_v2_query_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11459,7 +11459,7 @@ func (*QueryOwnerResponse) ProtoMessage() {} // Deprecated: Use QueryOwnerResponse.ProtoReflect.Descriptor instead. func (*QueryOwnerResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{7} + return file_florin_v2_query_proto_rawDescGZIP(), []int{7} } func (x *QueryOwnerResponse) GetOwner() string { @@ -11485,7 +11485,7 @@ type QuerySystems struct { func (x *QuerySystems) Reset() { *x = QuerySystems{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[8] + mi := &file_florin_v2_query_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11499,7 +11499,7 @@ func (*QuerySystems) ProtoMessage() {} // Deprecated: Use QuerySystems.ProtoReflect.Descriptor instead. func (*QuerySystems) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{8} + return file_florin_v2_query_proto_rawDescGZIP(), []int{8} } type QuerySystemsResponse struct { @@ -11513,7 +11513,7 @@ type QuerySystemsResponse struct { func (x *QuerySystemsResponse) Reset() { *x = QuerySystemsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[9] + mi := &file_florin_v2_query_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11527,7 +11527,7 @@ func (*QuerySystemsResponse) ProtoMessage() {} // Deprecated: Use QuerySystemsResponse.ProtoReflect.Descriptor instead. func (*QuerySystemsResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{9} + return file_florin_v2_query_proto_rawDescGZIP(), []int{9} } func (x *QuerySystemsResponse) GetSystems() []*Account { @@ -11548,7 +11548,7 @@ type QuerySystemsByDenom struct { func (x *QuerySystemsByDenom) Reset() { *x = QuerySystemsByDenom{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[10] + mi := &file_florin_v2_query_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11562,7 +11562,7 @@ func (*QuerySystemsByDenom) ProtoMessage() {} // Deprecated: Use QuerySystemsByDenom.ProtoReflect.Descriptor instead. func (*QuerySystemsByDenom) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{10} + return file_florin_v2_query_proto_rawDescGZIP(), []int{10} } func (x *QuerySystemsByDenom) GetDenom() string { @@ -11583,7 +11583,7 @@ type QuerySystemsByDenomResponse struct { func (x *QuerySystemsByDenomResponse) Reset() { *x = QuerySystemsByDenomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[11] + mi := &file_florin_v2_query_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11597,7 +11597,7 @@ func (*QuerySystemsByDenomResponse) ProtoMessage() {} // Deprecated: Use QuerySystemsByDenomResponse.ProtoReflect.Descriptor instead. func (*QuerySystemsByDenomResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{11} + return file_florin_v2_query_proto_rawDescGZIP(), []int{11} } func (x *QuerySystemsByDenomResponse) GetSystems() []string { @@ -11616,7 +11616,7 @@ type QueryAdmins struct { func (x *QueryAdmins) Reset() { *x = QueryAdmins{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[12] + mi := &file_florin_v2_query_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11630,7 +11630,7 @@ func (*QueryAdmins) ProtoMessage() {} // Deprecated: Use QueryAdmins.ProtoReflect.Descriptor instead. func (*QueryAdmins) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{12} + return file_florin_v2_query_proto_rawDescGZIP(), []int{12} } type QueryAdminsResponse struct { @@ -11644,7 +11644,7 @@ type QueryAdminsResponse struct { func (x *QueryAdminsResponse) Reset() { *x = QueryAdminsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[13] + mi := &file_florin_v2_query_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11658,7 +11658,7 @@ func (*QueryAdminsResponse) ProtoMessage() {} // Deprecated: Use QueryAdminsResponse.ProtoReflect.Descriptor instead. func (*QueryAdminsResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{13} + return file_florin_v2_query_proto_rawDescGZIP(), []int{13} } func (x *QueryAdminsResponse) GetAdmins() []*Account { @@ -11679,7 +11679,7 @@ type QueryAdminsByDenom struct { func (x *QueryAdminsByDenom) Reset() { *x = QueryAdminsByDenom{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[14] + mi := &file_florin_v2_query_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11693,7 +11693,7 @@ func (*QueryAdminsByDenom) ProtoMessage() {} // Deprecated: Use QueryAdminsByDenom.ProtoReflect.Descriptor instead. func (*QueryAdminsByDenom) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{14} + return file_florin_v2_query_proto_rawDescGZIP(), []int{14} } func (x *QueryAdminsByDenom) GetDenom() string { @@ -11714,7 +11714,7 @@ type QueryAdminsByDenomResponse struct { func (x *QueryAdminsByDenomResponse) Reset() { *x = QueryAdminsByDenomResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[15] + mi := &file_florin_v2_query_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11728,7 +11728,7 @@ func (*QueryAdminsByDenomResponse) ProtoMessage() {} // Deprecated: Use QueryAdminsByDenomResponse.ProtoReflect.Descriptor instead. func (*QueryAdminsByDenomResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{15} + return file_florin_v2_query_proto_rawDescGZIP(), []int{15} } func (x *QueryAdminsByDenomResponse) GetAdmins() []string { @@ -11747,7 +11747,7 @@ type QueryMaxMintAllowances struct { func (x *QueryMaxMintAllowances) Reset() { *x = QueryMaxMintAllowances{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[16] + mi := &file_florin_v2_query_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11761,7 +11761,7 @@ func (*QueryMaxMintAllowances) ProtoMessage() {} // Deprecated: Use QueryMaxMintAllowances.ProtoReflect.Descriptor instead. func (*QueryMaxMintAllowances) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{16} + return file_florin_v2_query_proto_rawDescGZIP(), []int{16} } type QueryMaxMintAllowancesResponse struct { @@ -11775,7 +11775,7 @@ type QueryMaxMintAllowancesResponse struct { func (x *QueryMaxMintAllowancesResponse) Reset() { *x = QueryMaxMintAllowancesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[17] + mi := &file_florin_v2_query_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11789,7 +11789,7 @@ func (*QueryMaxMintAllowancesResponse) ProtoMessage() {} // Deprecated: Use QueryMaxMintAllowancesResponse.ProtoReflect.Descriptor instead. func (*QueryMaxMintAllowancesResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{17} + return file_florin_v2_query_proto_rawDescGZIP(), []int{17} } func (x *QueryMaxMintAllowancesResponse) GetMaxMintAllowances() map[string]string { @@ -11810,7 +11810,7 @@ type QueryMaxMintAllowance struct { func (x *QueryMaxMintAllowance) Reset() { *x = QueryMaxMintAllowance{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[18] + mi := &file_florin_v2_query_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11824,7 +11824,7 @@ func (*QueryMaxMintAllowance) ProtoMessage() {} // Deprecated: Use QueryMaxMintAllowance.ProtoReflect.Descriptor instead. func (*QueryMaxMintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{18} + return file_florin_v2_query_proto_rawDescGZIP(), []int{18} } func (x *QueryMaxMintAllowance) GetDenom() string { @@ -11845,7 +11845,7 @@ type QueryMaxMintAllowanceResponse struct { func (x *QueryMaxMintAllowanceResponse) Reset() { *x = QueryMaxMintAllowanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[19] + mi := &file_florin_v2_query_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11859,7 +11859,7 @@ func (*QueryMaxMintAllowanceResponse) ProtoMessage() {} // Deprecated: Use QueryMaxMintAllowanceResponse.ProtoReflect.Descriptor instead. func (*QueryMaxMintAllowanceResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{19} + return file_florin_v2_query_proto_rawDescGZIP(), []int{19} } func (x *QueryMaxMintAllowanceResponse) GetMaxMintAllowance() string { @@ -11880,7 +11880,7 @@ type QueryMintAllowances struct { func (x *QueryMintAllowances) Reset() { *x = QueryMintAllowances{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[20] + mi := &file_florin_v2_query_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11894,7 +11894,7 @@ func (*QueryMintAllowances) ProtoMessage() {} // Deprecated: Use QueryMintAllowances.ProtoReflect.Descriptor instead. func (*QueryMintAllowances) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{20} + return file_florin_v2_query_proto_rawDescGZIP(), []int{20} } func (x *QueryMintAllowances) GetDenom() string { @@ -11915,7 +11915,7 @@ type QueryMintAllowancesResponse struct { func (x *QueryMintAllowancesResponse) Reset() { *x = QueryMintAllowancesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[21] + mi := &file_florin_v2_query_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11929,7 +11929,7 @@ func (*QueryMintAllowancesResponse) ProtoMessage() {} // Deprecated: Use QueryMintAllowancesResponse.ProtoReflect.Descriptor instead. func (*QueryMintAllowancesResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{21} + return file_florin_v2_query_proto_rawDescGZIP(), []int{21} } func (x *QueryMintAllowancesResponse) GetAllowances() map[string]string { @@ -11951,7 +11951,7 @@ type QueryMintAllowance struct { func (x *QueryMintAllowance) Reset() { *x = QueryMintAllowance{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[22] + mi := &file_florin_v2_query_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11965,7 +11965,7 @@ func (*QueryMintAllowance) ProtoMessage() {} // Deprecated: Use QueryMintAllowance.ProtoReflect.Descriptor instead. func (*QueryMintAllowance) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{22} + return file_florin_v2_query_proto_rawDescGZIP(), []int{22} } func (x *QueryMintAllowance) GetDenom() string { @@ -11993,7 +11993,7 @@ type QueryMintAllowanceResponse struct { func (x *QueryMintAllowanceResponse) Reset() { *x = QueryMintAllowanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_florin_v1_query_proto_msgTypes[23] + mi := &file_florin_v2_query_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12007,7 +12007,7 @@ func (*QueryMintAllowanceResponse) ProtoMessage() {} // Deprecated: Use QueryMintAllowanceResponse.ProtoReflect.Descriptor instead. func (*QueryMintAllowanceResponse) Descriptor() ([]byte, []int) { - return file_florin_v1_query_proto_rawDescGZIP(), []int{23} + return file_florin_v2_query_proto_rawDescGZIP(), []int{23} } func (x *QueryMintAllowanceResponse) GetAllowance() string { @@ -12017,17 +12017,17 @@ func (x *QueryMintAllowanceResponse) GetAllowance() string { return "" } -var File_florin_v1_query_proto protoreflect.FileDescriptor +var File_florin_v2_query_proto protoreflect.FileDescriptor -var file_florin_v1_query_proto_rawDesc = []byte{ - 0x0a, 0x15, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, +var file_florin_v2_query_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, + 0x76, 0x32, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 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, 0x1a, 0x17, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, @@ -12046,11 +12046,11 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x02, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x58, 0x0a, 0x0e, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x77, @@ -12073,7 +12073,7 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x4a, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, + 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x2b, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, @@ -12085,7 +12085,7 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x22, 0x47, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, @@ -12099,7 +12099,7 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, @@ -12126,7 +12126,7 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, @@ -12145,187 +12145,208 @@ var file_florin_v1_query_proto_rawDesc = []byte{ 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x32, - 0xcb, 0x0b, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6c, 0x0a, 0x09, 0x41, 0x75, 0x74, + 0xa2, 0x0e, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x6c, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x19, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x1a, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x16, 0x12, 0x14, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x7d, 0x0a, 0x0d, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, - 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, - 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x66, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, - 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x60, 0x0a, 0x06, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, - 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, - 0x31, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x64, 0x0a, 0x05, 0x4f, 0x77, 0x6e, 0x65, - 0x72, 0x12, 0x15, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, - 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x64, + 0x16, 0x12, 0x14, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x9a, 0x01, 0x0a, 0x0d, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x43, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x5a, 0x1b, 0x12, 0x19, + 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x19, 0x2f, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x73, 0x12, 0x75, 0x0a, 0x06, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x16, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x1a, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x28, 0x5a, 0x13, 0x12, 0x11, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, + 0x31, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x11, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x05, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x15, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x1a, 0x1d, 0x2e, 0x66, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x77, + 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x41, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x5a, 0x1a, 0x12, 0x18, 0x2f, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x18, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, + 0x2f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x7a, 0x0a, 0x07, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x17, 0x2e, 0x66, 0x6c, 0x6f, 0x72, - 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x73, 0x1a, 0x1f, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x73, 0x1a, 0x1f, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, - 0x12, 0x12, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x12, 0x81, 0x01, 0x0a, 0x0e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x27, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, - 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x60, 0x0a, 0x06, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x1a, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x88, 0xe7, 0xb0, 0x2a, - 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x7d, 0x0a, 0x0d, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1d, 0x2e, 0x66, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, - 0x69, 0x6e, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x26, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, - 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x8e, 0x01, 0x0a, 0x11, 0x4d, 0x61, - 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, - 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x88, - 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x66, 0x6c, 0x6f, - 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x10, 0x4d, - 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, - 0x20, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x1a, 0x28, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, - 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x88, 0xe7, 0xb0, - 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, - 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, - 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, - 0x89, 0x01, 0x0a, 0x0e, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x88, 0xe7, 0xb0, 0x2a, - 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x0d, - 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x2e, - 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, - 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x25, 0x2e, 0x66, - 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, - 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, - 0x12, 0x2b, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x6e, - 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, - 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x42, 0x9c, 0x01, - 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x42, - 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, 0x69, - 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, - 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, - 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x46, 0x58, 0x58, 0xaa, - 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x46, 0x6c, - 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x73, 0x65, 0x22, 0x35, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, + 0x5a, 0x14, 0x12, 0x12, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x12, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, + 0x76, 0x32, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x9f, 0x01, 0x0a, 0x0e, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1e, 0x2e, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x26, 0x2e, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x45, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3a, 0x5a, 0x1c, 0x12, 0x1a, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, + 0x12, 0x1a, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x75, 0x0a, 0x06, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x12, 0x16, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x1a, 0x1e, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, + 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x5a, 0x13, 0x12, 0x11, 0x2f, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, + 0x12, 0x11, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x64, 0x6d, + 0x69, 0x6e, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x79, + 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x79, 0x44, + 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x42, 0x79, 0x44, 0x65, + 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x5a, 0x1b, 0x12, 0x19, 0x2f, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x2f, 0x7b, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x19, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, + 0x32, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, + 0x12, 0xb0, 0x01, 0x0a, 0x11, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x42, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x12, 0x1e, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, + 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x10, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x28, 0x2e, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x61, 0x78, 0x4d, + 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x50, 0x5a, 0x27, 0x12, 0x25, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x25, 0x2f, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x0e, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x88, 0xe7, + 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x5a, 0x24, 0x12, 0x22, 0x2f, 0x66, 0x6c, + 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, + 0x22, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x69, 0x6e, 0x74, + 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x65, 0x6e, + 0x6f, 0x6d, 0x7d, 0x12, 0xbe, 0x01, 0x0a, 0x0d, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5c, 0x5a, 0x2d, 0x12, 0x2b, 0x2f, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x61, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x12, 0x2b, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x69, 0x6e, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x2f, 0x7b, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x7d, 0x42, 0x9c, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x6d, 0x6f, 0x6e, 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x2d, 0x6e, 0x6f, 0x62, 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, + 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x32, + 0xa2, 0x02, 0x03, 0x46, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x56, 0x32, 0xca, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0xe2, 0x02, + 0x15, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, + 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_florin_v1_query_proto_rawDescOnce sync.Once - file_florin_v1_query_proto_rawDescData = file_florin_v1_query_proto_rawDesc + file_florin_v2_query_proto_rawDescOnce sync.Once + file_florin_v2_query_proto_rawDescData = file_florin_v2_query_proto_rawDesc ) -func file_florin_v1_query_proto_rawDescGZIP() []byte { - file_florin_v1_query_proto_rawDescOnce.Do(func() { - file_florin_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v1_query_proto_rawDescData) +func file_florin_v2_query_proto_rawDescGZIP() []byte { + file_florin_v2_query_proto_rawDescOnce.Do(func() { + file_florin_v2_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v2_query_proto_rawDescData) }) - return file_florin_v1_query_proto_rawDescData -} - -var file_florin_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 28) -var file_florin_v1_query_proto_goTypes = []interface{}{ - (*QueryAuthority)(nil), // 0: florin.v1.QueryAuthority - (*QueryAuthorityResponse)(nil), // 1: florin.v1.QueryAuthorityResponse - (*QueryAllowedDenoms)(nil), // 2: florin.v1.QueryAllowedDenoms - (*QueryAllowedDenomsResponse)(nil), // 3: florin.v1.QueryAllowedDenomsResponse - (*QueryOwners)(nil), // 4: florin.v1.QueryOwners - (*QueryOwnersResponse)(nil), // 5: florin.v1.QueryOwnersResponse - (*QueryOwner)(nil), // 6: florin.v1.QueryOwner - (*QueryOwnerResponse)(nil), // 7: florin.v1.QueryOwnerResponse - (*QuerySystems)(nil), // 8: florin.v1.QuerySystems - (*QuerySystemsResponse)(nil), // 9: florin.v1.QuerySystemsResponse - (*QuerySystemsByDenom)(nil), // 10: florin.v1.QuerySystemsByDenom - (*QuerySystemsByDenomResponse)(nil), // 11: florin.v1.QuerySystemsByDenomResponse - (*QueryAdmins)(nil), // 12: florin.v1.QueryAdmins - (*QueryAdminsResponse)(nil), // 13: florin.v1.QueryAdminsResponse - (*QueryAdminsByDenom)(nil), // 14: florin.v1.QueryAdminsByDenom - (*QueryAdminsByDenomResponse)(nil), // 15: florin.v1.QueryAdminsByDenomResponse - (*QueryMaxMintAllowances)(nil), // 16: florin.v1.QueryMaxMintAllowances - (*QueryMaxMintAllowancesResponse)(nil), // 17: florin.v1.QueryMaxMintAllowancesResponse - (*QueryMaxMintAllowance)(nil), // 18: florin.v1.QueryMaxMintAllowance - (*QueryMaxMintAllowanceResponse)(nil), // 19: florin.v1.QueryMaxMintAllowanceResponse - (*QueryMintAllowances)(nil), // 20: florin.v1.QueryMintAllowances - (*QueryMintAllowancesResponse)(nil), // 21: florin.v1.QueryMintAllowancesResponse - (*QueryMintAllowance)(nil), // 22: florin.v1.QueryMintAllowance - (*QueryMintAllowanceResponse)(nil), // 23: florin.v1.QueryMintAllowanceResponse - nil, // 24: florin.v1.QueryOwnersResponse.OwnersEntry - nil, // 25: florin.v1.QueryOwnersResponse.PendingOwnersEntry - nil, // 26: florin.v1.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry - nil, // 27: florin.v1.QueryMintAllowancesResponse.AllowancesEntry - (*Account)(nil), // 28: florin.v1.Account -} -var file_florin_v1_query_proto_depIdxs = []int32{ - 24, // 0: florin.v1.QueryOwnersResponse.owners:type_name -> florin.v1.QueryOwnersResponse.OwnersEntry - 25, // 1: florin.v1.QueryOwnersResponse.pending_owners:type_name -> florin.v1.QueryOwnersResponse.PendingOwnersEntry - 28, // 2: florin.v1.QuerySystemsResponse.systems:type_name -> florin.v1.Account - 28, // 3: florin.v1.QueryAdminsResponse.admins:type_name -> florin.v1.Account - 26, // 4: florin.v1.QueryMaxMintAllowancesResponse.max_mint_allowances:type_name -> florin.v1.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry - 27, // 5: florin.v1.QueryMintAllowancesResponse.allowances:type_name -> florin.v1.QueryMintAllowancesResponse.AllowancesEntry - 0, // 6: florin.v1.Query.Authority:input_type -> florin.v1.QueryAuthority - 2, // 7: florin.v1.Query.AllowedDenoms:input_type -> florin.v1.QueryAllowedDenoms - 4, // 8: florin.v1.Query.Owners:input_type -> florin.v1.QueryOwners - 6, // 9: florin.v1.Query.Owner:input_type -> florin.v1.QueryOwner - 8, // 10: florin.v1.Query.Systems:input_type -> florin.v1.QuerySystems - 10, // 11: florin.v1.Query.SystemsByDenom:input_type -> florin.v1.QuerySystemsByDenom - 12, // 12: florin.v1.Query.Admins:input_type -> florin.v1.QueryAdmins - 14, // 13: florin.v1.Query.AdminsByDenom:input_type -> florin.v1.QueryAdminsByDenom - 16, // 14: florin.v1.Query.MaxMintAllowances:input_type -> florin.v1.QueryMaxMintAllowances - 18, // 15: florin.v1.Query.MaxMintAllowance:input_type -> florin.v1.QueryMaxMintAllowance - 20, // 16: florin.v1.Query.MintAllowances:input_type -> florin.v1.QueryMintAllowances - 22, // 17: florin.v1.Query.MintAllowance:input_type -> florin.v1.QueryMintAllowance - 1, // 18: florin.v1.Query.Authority:output_type -> florin.v1.QueryAuthorityResponse - 3, // 19: florin.v1.Query.AllowedDenoms:output_type -> florin.v1.QueryAllowedDenomsResponse - 5, // 20: florin.v1.Query.Owners:output_type -> florin.v1.QueryOwnersResponse - 7, // 21: florin.v1.Query.Owner:output_type -> florin.v1.QueryOwnerResponse - 9, // 22: florin.v1.Query.Systems:output_type -> florin.v1.QuerySystemsResponse - 11, // 23: florin.v1.Query.SystemsByDenom:output_type -> florin.v1.QuerySystemsByDenomResponse - 13, // 24: florin.v1.Query.Admins:output_type -> florin.v1.QueryAdminsResponse - 15, // 25: florin.v1.Query.AdminsByDenom:output_type -> florin.v1.QueryAdminsByDenomResponse - 17, // 26: florin.v1.Query.MaxMintAllowances:output_type -> florin.v1.QueryMaxMintAllowancesResponse - 19, // 27: florin.v1.Query.MaxMintAllowance:output_type -> florin.v1.QueryMaxMintAllowanceResponse - 21, // 28: florin.v1.Query.MintAllowances:output_type -> florin.v1.QueryMintAllowancesResponse - 23, // 29: florin.v1.Query.MintAllowance:output_type -> florin.v1.QueryMintAllowanceResponse + return file_florin_v2_query_proto_rawDescData +} + +var file_florin_v2_query_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_florin_v2_query_proto_goTypes = []interface{}{ + (*QueryAuthority)(nil), // 0: florin.v2.QueryAuthority + (*QueryAuthorityResponse)(nil), // 1: florin.v2.QueryAuthorityResponse + (*QueryAllowedDenoms)(nil), // 2: florin.v2.QueryAllowedDenoms + (*QueryAllowedDenomsResponse)(nil), // 3: florin.v2.QueryAllowedDenomsResponse + (*QueryOwners)(nil), // 4: florin.v2.QueryOwners + (*QueryOwnersResponse)(nil), // 5: florin.v2.QueryOwnersResponse + (*QueryOwner)(nil), // 6: florin.v2.QueryOwner + (*QueryOwnerResponse)(nil), // 7: florin.v2.QueryOwnerResponse + (*QuerySystems)(nil), // 8: florin.v2.QuerySystems + (*QuerySystemsResponse)(nil), // 9: florin.v2.QuerySystemsResponse + (*QuerySystemsByDenom)(nil), // 10: florin.v2.QuerySystemsByDenom + (*QuerySystemsByDenomResponse)(nil), // 11: florin.v2.QuerySystemsByDenomResponse + (*QueryAdmins)(nil), // 12: florin.v2.QueryAdmins + (*QueryAdminsResponse)(nil), // 13: florin.v2.QueryAdminsResponse + (*QueryAdminsByDenom)(nil), // 14: florin.v2.QueryAdminsByDenom + (*QueryAdminsByDenomResponse)(nil), // 15: florin.v2.QueryAdminsByDenomResponse + (*QueryMaxMintAllowances)(nil), // 16: florin.v2.QueryMaxMintAllowances + (*QueryMaxMintAllowancesResponse)(nil), // 17: florin.v2.QueryMaxMintAllowancesResponse + (*QueryMaxMintAllowance)(nil), // 18: florin.v2.QueryMaxMintAllowance + (*QueryMaxMintAllowanceResponse)(nil), // 19: florin.v2.QueryMaxMintAllowanceResponse + (*QueryMintAllowances)(nil), // 20: florin.v2.QueryMintAllowances + (*QueryMintAllowancesResponse)(nil), // 21: florin.v2.QueryMintAllowancesResponse + (*QueryMintAllowance)(nil), // 22: florin.v2.QueryMintAllowance + (*QueryMintAllowanceResponse)(nil), // 23: florin.v2.QueryMintAllowanceResponse + nil, // 24: florin.v2.QueryOwnersResponse.OwnersEntry + nil, // 25: florin.v2.QueryOwnersResponse.PendingOwnersEntry + nil, // 26: florin.v2.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry + nil, // 27: florin.v2.QueryMintAllowancesResponse.AllowancesEntry + (*Account)(nil), // 28: florin.v2.Account +} +var file_florin_v2_query_proto_depIdxs = []int32{ + 24, // 0: florin.v2.QueryOwnersResponse.owners:type_name -> florin.v2.QueryOwnersResponse.OwnersEntry + 25, // 1: florin.v2.QueryOwnersResponse.pending_owners:type_name -> florin.v2.QueryOwnersResponse.PendingOwnersEntry + 28, // 2: florin.v2.QuerySystemsResponse.systems:type_name -> florin.v2.Account + 28, // 3: florin.v2.QueryAdminsResponse.admins:type_name -> florin.v2.Account + 26, // 4: florin.v2.QueryMaxMintAllowancesResponse.max_mint_allowances:type_name -> florin.v2.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry + 27, // 5: florin.v2.QueryMintAllowancesResponse.allowances:type_name -> florin.v2.QueryMintAllowancesResponse.AllowancesEntry + 0, // 6: florin.v2.Query.Authority:input_type -> florin.v2.QueryAuthority + 2, // 7: florin.v2.Query.AllowedDenoms:input_type -> florin.v2.QueryAllowedDenoms + 4, // 8: florin.v2.Query.Owners:input_type -> florin.v2.QueryOwners + 6, // 9: florin.v2.Query.Owner:input_type -> florin.v2.QueryOwner + 8, // 10: florin.v2.Query.Systems:input_type -> florin.v2.QuerySystems + 10, // 11: florin.v2.Query.SystemsByDenom:input_type -> florin.v2.QuerySystemsByDenom + 12, // 12: florin.v2.Query.Admins:input_type -> florin.v2.QueryAdmins + 14, // 13: florin.v2.Query.AdminsByDenom:input_type -> florin.v2.QueryAdminsByDenom + 16, // 14: florin.v2.Query.MaxMintAllowances:input_type -> florin.v2.QueryMaxMintAllowances + 18, // 15: florin.v2.Query.MaxMintAllowance:input_type -> florin.v2.QueryMaxMintAllowance + 20, // 16: florin.v2.Query.MintAllowances:input_type -> florin.v2.QueryMintAllowances + 22, // 17: florin.v2.Query.MintAllowance:input_type -> florin.v2.QueryMintAllowance + 1, // 18: florin.v2.Query.Authority:output_type -> florin.v2.QueryAuthorityResponse + 3, // 19: florin.v2.Query.AllowedDenoms:output_type -> florin.v2.QueryAllowedDenomsResponse + 5, // 20: florin.v2.Query.Owners:output_type -> florin.v2.QueryOwnersResponse + 7, // 21: florin.v2.Query.Owner:output_type -> florin.v2.QueryOwnerResponse + 9, // 22: florin.v2.Query.Systems:output_type -> florin.v2.QuerySystemsResponse + 11, // 23: florin.v2.Query.SystemsByDenom:output_type -> florin.v2.QuerySystemsByDenomResponse + 13, // 24: florin.v2.Query.Admins:output_type -> florin.v2.QueryAdminsResponse + 15, // 25: florin.v2.Query.AdminsByDenom:output_type -> florin.v2.QueryAdminsByDenomResponse + 17, // 26: florin.v2.Query.MaxMintAllowances:output_type -> florin.v2.QueryMaxMintAllowancesResponse + 19, // 27: florin.v2.Query.MaxMintAllowance:output_type -> florin.v2.QueryMaxMintAllowanceResponse + 21, // 28: florin.v2.Query.MintAllowances:output_type -> florin.v2.QueryMintAllowancesResponse + 23, // 29: florin.v2.Query.MintAllowance:output_type -> florin.v2.QueryMintAllowanceResponse 18, // [18:30] is the sub-list for method output_type 6, // [6:18] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name @@ -12333,14 +12354,14 @@ var file_florin_v1_query_proto_depIdxs = []int32{ 0, // [0:6] is the sub-list for field type_name } -func init() { file_florin_v1_query_proto_init() } -func file_florin_v1_query_proto_init() { - if File_florin_v1_query_proto != nil { +func init() { file_florin_v2_query_proto_init() } +func file_florin_v2_query_proto_init() { + if File_florin_v2_query_proto != nil { return } - file_florin_v1_genesis_proto_init() + file_florin_v2_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_florin_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAuthority); i { case 0: return &v.state @@ -12352,7 +12373,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAuthorityResponse); i { case 0: return &v.state @@ -12364,7 +12385,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAllowedDenoms); i { case 0: return &v.state @@ -12376,7 +12397,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAllowedDenomsResponse); i { case 0: return &v.state @@ -12388,7 +12409,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryOwners); i { case 0: return &v.state @@ -12400,7 +12421,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryOwnersResponse); i { case 0: return &v.state @@ -12412,7 +12433,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryOwner); i { case 0: return &v.state @@ -12424,7 +12445,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryOwnerResponse); i { case 0: return &v.state @@ -12436,7 +12457,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySystems); i { case 0: return &v.state @@ -12448,7 +12469,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySystemsResponse); i { case 0: return &v.state @@ -12460,7 +12481,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySystemsByDenom); i { case 0: return &v.state @@ -12472,7 +12493,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QuerySystemsByDenomResponse); i { case 0: return &v.state @@ -12484,7 +12505,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAdmins); i { case 0: return &v.state @@ -12496,7 +12517,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAdminsResponse); i { case 0: return &v.state @@ -12508,7 +12529,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAdminsByDenom); i { case 0: return &v.state @@ -12520,7 +12541,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAdminsByDenomResponse); i { case 0: return &v.state @@ -12532,7 +12553,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMaxMintAllowances); i { case 0: return &v.state @@ -12544,7 +12565,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMaxMintAllowancesResponse); i { case 0: return &v.state @@ -12556,7 +12577,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMaxMintAllowance); i { case 0: return &v.state @@ -12568,7 +12589,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMaxMintAllowanceResponse); i { case 0: return &v.state @@ -12580,7 +12601,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMintAllowances); i { case 0: return &v.state @@ -12592,7 +12613,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMintAllowancesResponse); i { case 0: return &v.state @@ -12604,7 +12625,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMintAllowance); i { case 0: return &v.state @@ -12616,7 +12637,7 @@ func file_florin_v1_query_proto_init() { return nil } } - file_florin_v1_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_florin_v2_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMintAllowanceResponse); i { case 0: return &v.state @@ -12633,18 +12654,18 @@ func file_florin_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_florin_v1_query_proto_rawDesc, + RawDescriptor: file_florin_v2_query_proto_rawDesc, NumEnums: 0, NumMessages: 28, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_florin_v1_query_proto_goTypes, - DependencyIndexes: file_florin_v1_query_proto_depIdxs, - MessageInfos: file_florin_v1_query_proto_msgTypes, + GoTypes: file_florin_v2_query_proto_goTypes, + DependencyIndexes: file_florin_v2_query_proto_depIdxs, + MessageInfos: file_florin_v2_query_proto_msgTypes, }.Build() - File_florin_v1_query_proto = out.File - file_florin_v1_query_proto_rawDesc = nil - file_florin_v1_query_proto_goTypes = nil - file_florin_v1_query_proto_depIdxs = nil + File_florin_v2_query_proto = out.File + file_florin_v2_query_proto_rawDesc = nil + file_florin_v2_query_proto_goTypes = nil + file_florin_v2_query_proto_depIdxs = nil } diff --git a/api/v1/query_grpc.pb.go b/api/v2/query_grpc.pb.go similarity index 95% rename from api/v1/query_grpc.pb.go rename to api/v2/query_grpc.pb.go index ecc975bb..987a5c88 100644 --- a/api/v1/query_grpc.pb.go +++ b/api/v2/query_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc (unknown) -// source: florin/v1/query.proto +// source: florin/v2/query.proto -package florinv1 +package florinv2 import ( context "context" @@ -19,18 +19,18 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Query_Authority_FullMethodName = "/florin.v1.Query/Authority" - Query_AllowedDenoms_FullMethodName = "/florin.v1.Query/AllowedDenoms" - Query_Owners_FullMethodName = "/florin.v1.Query/Owners" - Query_Owner_FullMethodName = "/florin.v1.Query/Owner" - Query_Systems_FullMethodName = "/florin.v1.Query/Systems" - Query_SystemsByDenom_FullMethodName = "/florin.v1.Query/SystemsByDenom" - Query_Admins_FullMethodName = "/florin.v1.Query/Admins" - Query_AdminsByDenom_FullMethodName = "/florin.v1.Query/AdminsByDenom" - Query_MaxMintAllowances_FullMethodName = "/florin.v1.Query/MaxMintAllowances" - Query_MaxMintAllowance_FullMethodName = "/florin.v1.Query/MaxMintAllowance" - Query_MintAllowances_FullMethodName = "/florin.v1.Query/MintAllowances" - Query_MintAllowance_FullMethodName = "/florin.v1.Query/MintAllowance" + Query_Authority_FullMethodName = "/florin.v2.Query/Authority" + Query_AllowedDenoms_FullMethodName = "/florin.v2.Query/AllowedDenoms" + Query_Owners_FullMethodName = "/florin.v2.Query/Owners" + Query_Owner_FullMethodName = "/florin.v2.Query/Owner" + Query_Systems_FullMethodName = "/florin.v2.Query/Systems" + Query_SystemsByDenom_FullMethodName = "/florin.v2.Query/SystemsByDenom" + Query_Admins_FullMethodName = "/florin.v2.Query/Admins" + Query_AdminsByDenom_FullMethodName = "/florin.v2.Query/AdminsByDenom" + Query_MaxMintAllowances_FullMethodName = "/florin.v2.Query/MaxMintAllowances" + Query_MaxMintAllowance_FullMethodName = "/florin.v2.Query/MaxMintAllowance" + Query_MintAllowances_FullMethodName = "/florin.v2.Query/MintAllowances" + Query_MintAllowance_FullMethodName = "/florin.v2.Query/MintAllowance" ) // QueryClient is the client API for Query service. @@ -482,7 +482,7 @@ func _Query_MintAllowance_Handler(srv interface{}, ctx context.Context, dec func // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Query_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "florin.v1.Query", + ServiceName: "florin.v2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -535,5 +535,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "florin/v1/query.proto", + Metadata: "florin/v2/query.proto", } diff --git a/api/v2/tx.pulsar.go b/api/v2/tx.pulsar.go new file mode 100644 index 00000000..2b7b7b71 --- /dev/null +++ b/api/v2/tx.pulsar.go @@ -0,0 +1,13031 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package florinv2 + +import ( + _ "cosmossdk.io/api/amino" + _ "cosmossdk.io/api/cosmos/msg/v1" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_MsgAcceptOwnership protoreflect.MessageDescriptor + fd_MsgAcceptOwnership_denom protoreflect.FieldDescriptor + fd_MsgAcceptOwnership_signer protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAcceptOwnership = File_florin_v2_tx_proto.Messages().ByName("MsgAcceptOwnership") + fd_MsgAcceptOwnership_denom = md_MsgAcceptOwnership.Fields().ByName("denom") + fd_MsgAcceptOwnership_signer = md_MsgAcceptOwnership.Fields().ByName("signer") +} + +var _ protoreflect.Message = (*fastReflection_MsgAcceptOwnership)(nil) + +type fastReflection_MsgAcceptOwnership MsgAcceptOwnership + +func (x *MsgAcceptOwnership) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAcceptOwnership)(x) +} + +func (x *MsgAcceptOwnership) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgAcceptOwnership_messageType fastReflection_MsgAcceptOwnership_messageType +var _ protoreflect.MessageType = fastReflection_MsgAcceptOwnership_messageType{} + +type fastReflection_MsgAcceptOwnership_messageType struct{} + +func (x fastReflection_MsgAcceptOwnership_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAcceptOwnership)(nil) +} +func (x fastReflection_MsgAcceptOwnership_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAcceptOwnership) +} +func (x fastReflection_MsgAcceptOwnership_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAcceptOwnership +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAcceptOwnership) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAcceptOwnership +} + +// 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_MsgAcceptOwnership) Type() protoreflect.MessageType { + return _fastReflection_MsgAcceptOwnership_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAcceptOwnership) New() protoreflect.Message { + return new(fastReflection_MsgAcceptOwnership) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAcceptOwnership) Interface() protoreflect.ProtoMessage { + return (*MsgAcceptOwnership)(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_MsgAcceptOwnership) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgAcceptOwnership_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgAcceptOwnership_signer, 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_MsgAcceptOwnership) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + return x.Denom != "" + case "florin.v2.MsgAcceptOwnership.signer": + return x.Signer != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + x.Denom = "" + case "florin.v2.MsgAcceptOwnership.signer": + x.Signer = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAcceptOwnership.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgAcceptOwnership.signer": + x.Signer = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgAcceptOwnership is not mutable")) + case "florin.v2.MsgAcceptOwnership.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgAcceptOwnership is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAcceptOwnership.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAcceptOwnership.signer": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnership 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_MsgAcceptOwnership) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAcceptOwnership", 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_MsgAcceptOwnership) 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_MsgAcceptOwnership) 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_MsgAcceptOwnership) 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_MsgAcceptOwnership) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAcceptOwnership) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgAcceptOwnership) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgAcceptOwnership) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnership: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnership: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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_MsgAcceptOwnershipResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAcceptOwnershipResponse = File_florin_v2_tx_proto.Messages().ByName("MsgAcceptOwnershipResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgAcceptOwnershipResponse)(nil) + +type fastReflection_MsgAcceptOwnershipResponse MsgAcceptOwnershipResponse + +func (x *MsgAcceptOwnershipResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAcceptOwnershipResponse)(x) +} + +func (x *MsgAcceptOwnershipResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_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_MsgAcceptOwnershipResponse_messageType fastReflection_MsgAcceptOwnershipResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAcceptOwnershipResponse_messageType{} + +type fastReflection_MsgAcceptOwnershipResponse_messageType struct{} + +func (x fastReflection_MsgAcceptOwnershipResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAcceptOwnershipResponse)(nil) +} +func (x fastReflection_MsgAcceptOwnershipResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAcceptOwnershipResponse) +} +func (x fastReflection_MsgAcceptOwnershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAcceptOwnershipResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAcceptOwnershipResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAcceptOwnershipResponse +} + +// 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_MsgAcceptOwnershipResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAcceptOwnershipResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAcceptOwnershipResponse) New() protoreflect.Message { + return new(fastReflection_MsgAcceptOwnershipResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAcceptOwnershipResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAcceptOwnershipResponse)(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_MsgAcceptOwnershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgAcceptOwnershipResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAcceptOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAcceptOwnershipResponse 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_MsgAcceptOwnershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAcceptOwnershipResponse", 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_MsgAcceptOwnershipResponse) 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_MsgAcceptOwnershipResponse) 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_MsgAcceptOwnershipResponse) 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_MsgAcceptOwnershipResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAcceptOwnershipResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgAcceptOwnershipResponse) + 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 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().(*MsgAcceptOwnershipResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnershipResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAcceptOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgAddAdminAccount protoreflect.MessageDescriptor + fd_MsgAddAdminAccount_denom protoreflect.FieldDescriptor + fd_MsgAddAdminAccount_signer protoreflect.FieldDescriptor + fd_MsgAddAdminAccount_account protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAddAdminAccount = File_florin_v2_tx_proto.Messages().ByName("MsgAddAdminAccount") + fd_MsgAddAdminAccount_denom = md_MsgAddAdminAccount.Fields().ByName("denom") + fd_MsgAddAdminAccount_signer = md_MsgAddAdminAccount.Fields().ByName("signer") + fd_MsgAddAdminAccount_account = md_MsgAddAdminAccount.Fields().ByName("account") +} + +var _ protoreflect.Message = (*fastReflection_MsgAddAdminAccount)(nil) + +type fastReflection_MsgAddAdminAccount MsgAddAdminAccount + +func (x *MsgAddAdminAccount) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAddAdminAccount)(x) +} + +func (x *MsgAddAdminAccount) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgAddAdminAccount_messageType fastReflection_MsgAddAdminAccount_messageType +var _ protoreflect.MessageType = fastReflection_MsgAddAdminAccount_messageType{} + +type fastReflection_MsgAddAdminAccount_messageType struct{} + +func (x fastReflection_MsgAddAdminAccount_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAddAdminAccount)(nil) +} +func (x fastReflection_MsgAddAdminAccount_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAddAdminAccount) +} +func (x fastReflection_MsgAddAdminAccount_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddAdminAccount +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAddAdminAccount) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddAdminAccount +} + +// 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_MsgAddAdminAccount) Type() protoreflect.MessageType { + return _fastReflection_MsgAddAdminAccount_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAddAdminAccount) New() protoreflect.Message { + return new(fastReflection_MsgAddAdminAccount) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAddAdminAccount) Interface() protoreflect.ProtoMessage { + return (*MsgAddAdminAccount)(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_MsgAddAdminAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgAddAdminAccount_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgAddAdminAccount_signer, value) { + return + } + } + if x.Account != "" { + value := protoreflect.ValueOfString(x.Account) + if !f(fd_MsgAddAdminAccount_account, 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_MsgAddAdminAccount) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + return x.Denom != "" + case "florin.v2.MsgAddAdminAccount.signer": + return x.Signer != "" + case "florin.v2.MsgAddAdminAccount.account": + return x.Account != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + x.Denom = "" + case "florin.v2.MsgAddAdminAccount.signer": + x.Signer = "" + case "florin.v2.MsgAddAdminAccount.account": + x.Account = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAddAdminAccount.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAddAdminAccount.account": + value := x.Account + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgAddAdminAccount.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgAddAdminAccount.account": + x.Account = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgAddAdminAccount is not mutable")) + case "florin.v2.MsgAddAdminAccount.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgAddAdminAccount is not mutable")) + case "florin.v2.MsgAddAdminAccount.account": + panic(fmt.Errorf("field account of message florin.v2.MsgAddAdminAccount is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAddAdminAccount.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAddAdminAccount.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAddAdminAccount.account": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccount 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_MsgAddAdminAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAddAdminAccount", 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_MsgAddAdminAccount) 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_MsgAddAdminAccount) 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_MsgAddAdminAccount) 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_MsgAddAdminAccount) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAddAdminAccount) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgAddAdminAccount) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgAddAdminAccount) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccount: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgAddAdminAccountResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAddAdminAccountResponse = File_florin_v2_tx_proto.Messages().ByName("MsgAddAdminAccountResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgAddAdminAccountResponse)(nil) + +type fastReflection_MsgAddAdminAccountResponse MsgAddAdminAccountResponse + +func (x *MsgAddAdminAccountResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAddAdminAccountResponse)(x) +} + +func (x *MsgAddAdminAccountResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgAddAdminAccountResponse_messageType fastReflection_MsgAddAdminAccountResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAddAdminAccountResponse_messageType{} + +type fastReflection_MsgAddAdminAccountResponse_messageType struct{} + +func (x fastReflection_MsgAddAdminAccountResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAddAdminAccountResponse)(nil) +} +func (x fastReflection_MsgAddAdminAccountResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAddAdminAccountResponse) +} +func (x fastReflection_MsgAddAdminAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddAdminAccountResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAddAdminAccountResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddAdminAccountResponse +} + +// 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_MsgAddAdminAccountResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAddAdminAccountResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAddAdminAccountResponse) New() protoreflect.Message { + return new(fastReflection_MsgAddAdminAccountResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAddAdminAccountResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAddAdminAccountResponse)(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_MsgAddAdminAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgAddAdminAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddAdminAccountResponse 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_MsgAddAdminAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAddAdminAccountResponse", 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_MsgAddAdminAccountResponse) 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_MsgAddAdminAccountResponse) 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_MsgAddAdminAccountResponse) 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_MsgAddAdminAccountResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAddAdminAccountResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgAddAdminAccountResponse) + 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 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().(*MsgAddAdminAccountResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccountResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddAdminAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgAddSystemAccount protoreflect.MessageDescriptor + fd_MsgAddSystemAccount_denom protoreflect.FieldDescriptor + fd_MsgAddSystemAccount_signer protoreflect.FieldDescriptor + fd_MsgAddSystemAccount_account protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAddSystemAccount = File_florin_v2_tx_proto.Messages().ByName("MsgAddSystemAccount") + fd_MsgAddSystemAccount_denom = md_MsgAddSystemAccount.Fields().ByName("denom") + fd_MsgAddSystemAccount_signer = md_MsgAddSystemAccount.Fields().ByName("signer") + fd_MsgAddSystemAccount_account = md_MsgAddSystemAccount.Fields().ByName("account") +} + +var _ protoreflect.Message = (*fastReflection_MsgAddSystemAccount)(nil) + +type fastReflection_MsgAddSystemAccount MsgAddSystemAccount + +func (x *MsgAddSystemAccount) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAddSystemAccount)(x) +} + +func (x *MsgAddSystemAccount) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgAddSystemAccount_messageType fastReflection_MsgAddSystemAccount_messageType +var _ protoreflect.MessageType = fastReflection_MsgAddSystemAccount_messageType{} + +type fastReflection_MsgAddSystemAccount_messageType struct{} + +func (x fastReflection_MsgAddSystemAccount_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAddSystemAccount)(nil) +} +func (x fastReflection_MsgAddSystemAccount_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAddSystemAccount) +} +func (x fastReflection_MsgAddSystemAccount_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddSystemAccount +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAddSystemAccount) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddSystemAccount +} + +// 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_MsgAddSystemAccount) Type() protoreflect.MessageType { + return _fastReflection_MsgAddSystemAccount_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAddSystemAccount) New() protoreflect.Message { + return new(fastReflection_MsgAddSystemAccount) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAddSystemAccount) Interface() protoreflect.ProtoMessage { + return (*MsgAddSystemAccount)(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_MsgAddSystemAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgAddSystemAccount_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgAddSystemAccount_signer, value) { + return + } + } + if x.Account != "" { + value := protoreflect.ValueOfString(x.Account) + if !f(fd_MsgAddSystemAccount_account, 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_MsgAddSystemAccount) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + return x.Denom != "" + case "florin.v2.MsgAddSystemAccount.signer": + return x.Signer != "" + case "florin.v2.MsgAddSystemAccount.account": + return x.Account != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + x.Denom = "" + case "florin.v2.MsgAddSystemAccount.signer": + x.Signer = "" + case "florin.v2.MsgAddSystemAccount.account": + x.Account = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAddSystemAccount.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAddSystemAccount.account": + value := x.Account + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgAddSystemAccount.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgAddSystemAccount.account": + x.Account = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgAddSystemAccount is not mutable")) + case "florin.v2.MsgAddSystemAccount.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgAddSystemAccount is not mutable")) + case "florin.v2.MsgAddSystemAccount.account": + panic(fmt.Errorf("field account of message florin.v2.MsgAddSystemAccount is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAddSystemAccount.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAddSystemAccount.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAddSystemAccount.account": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccount 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_MsgAddSystemAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAddSystemAccount", 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_MsgAddSystemAccount) 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_MsgAddSystemAccount) 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_MsgAddSystemAccount) 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_MsgAddSystemAccount) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAddSystemAccount) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgAddSystemAccount) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgAddSystemAccount) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccount: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgAddSystemAccountResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAddSystemAccountResponse = File_florin_v2_tx_proto.Messages().ByName("MsgAddSystemAccountResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgAddSystemAccountResponse)(nil) + +type fastReflection_MsgAddSystemAccountResponse MsgAddSystemAccountResponse + +func (x *MsgAddSystemAccountResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAddSystemAccountResponse)(x) +} + +func (x *MsgAddSystemAccountResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgAddSystemAccountResponse_messageType fastReflection_MsgAddSystemAccountResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAddSystemAccountResponse_messageType{} + +type fastReflection_MsgAddSystemAccountResponse_messageType struct{} + +func (x fastReflection_MsgAddSystemAccountResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAddSystemAccountResponse)(nil) +} +func (x fastReflection_MsgAddSystemAccountResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAddSystemAccountResponse) +} +func (x fastReflection_MsgAddSystemAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddSystemAccountResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAddSystemAccountResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddSystemAccountResponse +} + +// 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_MsgAddSystemAccountResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAddSystemAccountResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAddSystemAccountResponse) New() protoreflect.Message { + return new(fastReflection_MsgAddSystemAccountResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAddSystemAccountResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAddSystemAccountResponse)(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_MsgAddSystemAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgAddSystemAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAddSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAddSystemAccountResponse 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_MsgAddSystemAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAddSystemAccountResponse", 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_MsgAddSystemAccountResponse) 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_MsgAddSystemAccountResponse) 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_MsgAddSystemAccountResponse) 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_MsgAddSystemAccountResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAddSystemAccountResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgAddSystemAccountResponse) + 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 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().(*MsgAddSystemAccountResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccountResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddSystemAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgAllowDenom protoreflect.MessageDescriptor + fd_MsgAllowDenom_signer protoreflect.FieldDescriptor + fd_MsgAllowDenom_denom protoreflect.FieldDescriptor + fd_MsgAllowDenom_owner protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAllowDenom = File_florin_v2_tx_proto.Messages().ByName("MsgAllowDenom") + fd_MsgAllowDenom_signer = md_MsgAllowDenom.Fields().ByName("signer") + fd_MsgAllowDenom_denom = md_MsgAllowDenom.Fields().ByName("denom") + fd_MsgAllowDenom_owner = md_MsgAllowDenom.Fields().ByName("owner") +} + +var _ protoreflect.Message = (*fastReflection_MsgAllowDenom)(nil) + +type fastReflection_MsgAllowDenom MsgAllowDenom + +func (x *MsgAllowDenom) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAllowDenom)(x) +} + +func (x *MsgAllowDenom) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[6] + 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_MsgAllowDenom_messageType fastReflection_MsgAllowDenom_messageType +var _ protoreflect.MessageType = fastReflection_MsgAllowDenom_messageType{} + +type fastReflection_MsgAllowDenom_messageType struct{} + +func (x fastReflection_MsgAllowDenom_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAllowDenom)(nil) +} +func (x fastReflection_MsgAllowDenom_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAllowDenom) +} +func (x fastReflection_MsgAllowDenom_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAllowDenom +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAllowDenom) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAllowDenom +} + +// 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_MsgAllowDenom) Type() protoreflect.MessageType { + return _fastReflection_MsgAllowDenom_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAllowDenom) New() protoreflect.Message { + return new(fastReflection_MsgAllowDenom) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAllowDenom) Interface() protoreflect.ProtoMessage { + return (*MsgAllowDenom)(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_MsgAllowDenom) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgAllowDenom_signer, value) { + return + } + } + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgAllowDenom_denom, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_MsgAllowDenom_owner, 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_MsgAllowDenom) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgAllowDenom.signer": + return x.Signer != "" + case "florin.v2.MsgAllowDenom.denom": + return x.Denom != "" + case "florin.v2.MsgAllowDenom.owner": + return x.Owner != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgAllowDenom.signer": + x.Signer = "" + case "florin.v2.MsgAllowDenom.denom": + x.Denom = "" + case "florin.v2.MsgAllowDenom.owner": + x.Owner = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgAllowDenom.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAllowDenom.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgAllowDenom.owner": + value := x.Owner + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgAllowDenom.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgAllowDenom.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgAllowDenom.owner": + x.Owner = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAllowDenom.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgAllowDenom is not mutable")) + case "florin.v2.MsgAllowDenom.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgAllowDenom is not mutable")) + case "florin.v2.MsgAllowDenom.owner": + panic(fmt.Errorf("field owner of message florin.v2.MsgAllowDenom is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgAllowDenom.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAllowDenom.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgAllowDenom.owner": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenom")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenom 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_MsgAllowDenom) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAllowDenom", 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_MsgAllowDenom) 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_MsgAllowDenom) 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_MsgAllowDenom) 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_MsgAllowDenom) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAllowDenom) + 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.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Owner) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgAllowDenom) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x1a + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + i-- + dAtA[i] = 0x12 + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + 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().(*MsgAllowDenom) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenom: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenom: 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 Signer", 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.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Denom", 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.Denom = 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 Owner", 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.Owner = 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_MsgAllowDenomResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgAllowDenomResponse = File_florin_v2_tx_proto.Messages().ByName("MsgAllowDenomResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgAllowDenomResponse)(nil) + +type fastReflection_MsgAllowDenomResponse MsgAllowDenomResponse + +func (x *MsgAllowDenomResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAllowDenomResponse)(x) +} + +func (x *MsgAllowDenomResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[7] + 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_MsgAllowDenomResponse_messageType fastReflection_MsgAllowDenomResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAllowDenomResponse_messageType{} + +type fastReflection_MsgAllowDenomResponse_messageType struct{} + +func (x fastReflection_MsgAllowDenomResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAllowDenomResponse)(nil) +} +func (x fastReflection_MsgAllowDenomResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAllowDenomResponse) +} +func (x fastReflection_MsgAllowDenomResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAllowDenomResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAllowDenomResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAllowDenomResponse +} + +// 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_MsgAllowDenomResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAllowDenomResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAllowDenomResponse) New() protoreflect.Message { + return new(fastReflection_MsgAllowDenomResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAllowDenomResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAllowDenomResponse)(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_MsgAllowDenomResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgAllowDenomResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgAllowDenomResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgAllowDenomResponse 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_MsgAllowDenomResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgAllowDenomResponse", 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) 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_MsgAllowDenomResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAllowDenomResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgAllowDenomResponse) + 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 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().(*MsgAllowDenomResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenomResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAllowDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgBurn protoreflect.MessageDescriptor + fd_MsgBurn_denom protoreflect.FieldDescriptor + fd_MsgBurn_signer protoreflect.FieldDescriptor + fd_MsgBurn_from protoreflect.FieldDescriptor + fd_MsgBurn_amount protoreflect.FieldDescriptor + fd_MsgBurn_signature protoreflect.FieldDescriptor + fd_MsgBurn_pub_key protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgBurn = File_florin_v2_tx_proto.Messages().ByName("MsgBurn") + fd_MsgBurn_denom = md_MsgBurn.Fields().ByName("denom") + fd_MsgBurn_signer = md_MsgBurn.Fields().ByName("signer") + fd_MsgBurn_from = md_MsgBurn.Fields().ByName("from") + fd_MsgBurn_amount = md_MsgBurn.Fields().ByName("amount") + fd_MsgBurn_signature = md_MsgBurn.Fields().ByName("signature") + fd_MsgBurn_pub_key = md_MsgBurn.Fields().ByName("pub_key") +} + +var _ protoreflect.Message = (*fastReflection_MsgBurn)(nil) + +type fastReflection_MsgBurn MsgBurn + +func (x *MsgBurn) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgBurn)(x) +} + +func (x *MsgBurn) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[8] + 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_MsgBurn_messageType fastReflection_MsgBurn_messageType +var _ protoreflect.MessageType = fastReflection_MsgBurn_messageType{} + +type fastReflection_MsgBurn_messageType struct{} + +func (x fastReflection_MsgBurn_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgBurn)(nil) +} +func (x fastReflection_MsgBurn_messageType) New() protoreflect.Message { + return new(fastReflection_MsgBurn) +} +func (x fastReflection_MsgBurn_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurn +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgBurn) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurn +} + +// 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_MsgBurn) Type() protoreflect.MessageType { + return _fastReflection_MsgBurn_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgBurn) New() protoreflect.Message { + return new(fastReflection_MsgBurn) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgBurn) Interface() protoreflect.ProtoMessage { + return (*MsgBurn)(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_MsgBurn) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgBurn_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgBurn_signer, value) { + return + } + } + if x.From != "" { + value := protoreflect.ValueOfString(x.From) + if !f(fd_MsgBurn_from, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgBurn_amount, value) { + return + } + } + if len(x.Signature) != 0 { + value := protoreflect.ValueOfBytes(x.Signature) + if !f(fd_MsgBurn_signature, value) { + return + } + } + if x.PubKey != nil { + value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + if !f(fd_MsgBurn_pub_key, 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_MsgBurn) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgBurn.denom": + return x.Denom != "" + case "florin.v2.MsgBurn.signer": + return x.Signer != "" + case "florin.v2.MsgBurn.from": + return x.From != "" + case "florin.v2.MsgBurn.amount": + return x.Amount != "" + case "florin.v2.MsgBurn.signature": + return len(x.Signature) != 0 + case "florin.v2.MsgBurn.pub_key": + return x.PubKey != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgBurn.denom": + x.Denom = "" + case "florin.v2.MsgBurn.signer": + x.Signer = "" + case "florin.v2.MsgBurn.from": + x.From = "" + case "florin.v2.MsgBurn.amount": + x.Amount = "" + case "florin.v2.MsgBurn.signature": + x.Signature = nil + case "florin.v2.MsgBurn.pub_key": + x.PubKey = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgBurn.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgBurn.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgBurn.from": + value := x.From + return protoreflect.ValueOfString(value) + case "florin.v2.MsgBurn.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + case "florin.v2.MsgBurn.signature": + value := x.Signature + return protoreflect.ValueOfBytes(value) + case "florin.v2.MsgBurn.pub_key": + value := x.PubKey + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgBurn.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgBurn.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgBurn.from": + x.From = value.Interface().(string) + case "florin.v2.MsgBurn.amount": + x.Amount = value.Interface().(string) + case "florin.v2.MsgBurn.signature": + x.Signature = value.Bytes() + case "florin.v2.MsgBurn.pub_key": + x.PubKey = value.Message().Interface().(*anypb.Any) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgBurn.pub_key": + if x.PubKey == nil { + x.PubKey = new(anypb.Any) + } + return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + case "florin.v2.MsgBurn.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgBurn is not mutable")) + case "florin.v2.MsgBurn.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgBurn is not mutable")) + case "florin.v2.MsgBurn.from": + panic(fmt.Errorf("field from of message florin.v2.MsgBurn is not mutable")) + case "florin.v2.MsgBurn.amount": + panic(fmt.Errorf("field amount of message florin.v2.MsgBurn is not mutable")) + case "florin.v2.MsgBurn.signature": + panic(fmt.Errorf("field signature of message florin.v2.MsgBurn is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgBurn.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgBurn.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgBurn.from": + return protoreflect.ValueOfString("") + case "florin.v2.MsgBurn.amount": + return protoreflect.ValueOfString("") + case "florin.v2.MsgBurn.signature": + return protoreflect.ValueOfBytes(nil) + case "florin.v2.MsgBurn.pub_key": + m := new(anypb.Any) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurn")) + } + panic(fmt.Errorf("message florin.v2.MsgBurn 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_MsgBurn) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgBurn", 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_MsgBurn) 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_MsgBurn) 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_MsgBurn) 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_MsgBurn) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgBurn) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.From) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signature) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.PubKey != nil { + l = options.Size(x.PubKey) + 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().(*MsgBurn) + 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.PubKey != nil { + encoded, err := options.Marshal(x.PubKey) + 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] = 0x32 + } + if len(x.Signature) > 0 { + i -= len(x.Signature) + copy(dAtA[i:], x.Signature) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) + i-- + dAtA[i] = 0x2a + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.From) > 0 { + i -= len(x.From) + copy(dAtA[i:], x.From) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgBurn) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurn: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 From", 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.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + 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++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) + if x.Signature == nil { + x.Signature = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) + } + var msglen int + 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++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + 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 + } + if x.PubKey == nil { + x.PubKey = &anypb.Any{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + 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_MsgBurnResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgBurnResponse = File_florin_v2_tx_proto.Messages().ByName("MsgBurnResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgBurnResponse)(nil) + +type fastReflection_MsgBurnResponse MsgBurnResponse + +func (x *MsgBurnResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgBurnResponse)(x) +} + +func (x *MsgBurnResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[9] + 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_MsgBurnResponse_messageType fastReflection_MsgBurnResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgBurnResponse_messageType{} + +type fastReflection_MsgBurnResponse_messageType struct{} + +func (x fastReflection_MsgBurnResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgBurnResponse)(nil) +} +func (x fastReflection_MsgBurnResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgBurnResponse) +} +func (x fastReflection_MsgBurnResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurnResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgBurnResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgBurnResponse +} + +// 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_MsgBurnResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgBurnResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgBurnResponse) New() protoreflect.Message { + return new(fastReflection_MsgBurnResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgBurnResponse) Interface() protoreflect.ProtoMessage { + return (*MsgBurnResponse)(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_MsgBurnResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgBurnResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgBurnResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgBurnResponse 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_MsgBurnResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgBurnResponse", 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_MsgBurnResponse) 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_MsgBurnResponse) 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_MsgBurnResponse) 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_MsgBurnResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgBurnResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgBurnResponse) + 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 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().(*MsgBurnResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgMint protoreflect.MessageDescriptor + fd_MsgMint_denom protoreflect.FieldDescriptor + fd_MsgMint_signer protoreflect.FieldDescriptor + fd_MsgMint_to protoreflect.FieldDescriptor + fd_MsgMint_amount protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgMint = File_florin_v2_tx_proto.Messages().ByName("MsgMint") + fd_MsgMint_denom = md_MsgMint.Fields().ByName("denom") + fd_MsgMint_signer = md_MsgMint.Fields().ByName("signer") + fd_MsgMint_to = md_MsgMint.Fields().ByName("to") + fd_MsgMint_amount = md_MsgMint.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_MsgMint)(nil) + +type fastReflection_MsgMint MsgMint + +func (x *MsgMint) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMint)(x) +} + +func (x *MsgMint) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[10] + 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_MsgMint_messageType fastReflection_MsgMint_messageType +var _ protoreflect.MessageType = fastReflection_MsgMint_messageType{} + +type fastReflection_MsgMint_messageType struct{} + +func (x fastReflection_MsgMint_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMint)(nil) +} +func (x fastReflection_MsgMint_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMint) +} +func (x fastReflection_MsgMint_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMint +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgMint) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMint +} + +// 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_MsgMint) Type() protoreflect.MessageType { + return _fastReflection_MsgMint_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgMint) New() protoreflect.Message { + return new(fastReflection_MsgMint) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgMint) Interface() protoreflect.ProtoMessage { + return (*MsgMint)(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_MsgMint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgMint_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgMint_signer, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_MsgMint_to, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgMint_amount, 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_MsgMint) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgMint.denom": + return x.Denom != "" + case "florin.v2.MsgMint.signer": + return x.Signer != "" + case "florin.v2.MsgMint.to": + return x.To != "" + case "florin.v2.MsgMint.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgMint.denom": + x.Denom = "" + case "florin.v2.MsgMint.signer": + x.Signer = "" + case "florin.v2.MsgMint.to": + x.To = "" + case "florin.v2.MsgMint.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgMint.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgMint.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgMint.to": + value := x.To + return protoreflect.ValueOfString(value) + case "florin.v2.MsgMint.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgMint.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgMint.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgMint.to": + x.To = value.Interface().(string) + case "florin.v2.MsgMint.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgMint.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgMint is not mutable")) + case "florin.v2.MsgMint.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgMint is not mutable")) + case "florin.v2.MsgMint.to": + panic(fmt.Errorf("field to of message florin.v2.MsgMint is not mutable")) + case "florin.v2.MsgMint.amount": + panic(fmt.Errorf("field amount of message florin.v2.MsgMint is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgMint.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgMint.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgMint.to": + return protoreflect.ValueOfString("") + case "florin.v2.MsgMint.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMint")) + } + panic(fmt.Errorf("message florin.v2.MsgMint 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_MsgMint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgMint", 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_MsgMint) 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_MsgMint) 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_MsgMint) 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_MsgMint) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgMint) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgMint) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgMint) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMint: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 To", 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.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = 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_MsgMintResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgMintResponse = File_florin_v2_tx_proto.Messages().ByName("MsgMintResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgMintResponse)(nil) + +type fastReflection_MsgMintResponse MsgMintResponse + +func (x *MsgMintResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgMintResponse)(x) +} + +func (x *MsgMintResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[11] + 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_MsgMintResponse_messageType fastReflection_MsgMintResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgMintResponse_messageType{} + +type fastReflection_MsgMintResponse_messageType struct{} + +func (x fastReflection_MsgMintResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgMintResponse)(nil) +} +func (x fastReflection_MsgMintResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgMintResponse) +} +func (x fastReflection_MsgMintResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMintResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgMintResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgMintResponse +} + +// 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_MsgMintResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgMintResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgMintResponse) New() protoreflect.Message { + return new(fastReflection_MsgMintResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgMintResponse) Interface() protoreflect.ProtoMessage { + return (*MsgMintResponse)(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_MsgMintResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgMintResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgMintResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgMintResponse 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_MsgMintResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgMintResponse", 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_MsgMintResponse) 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_MsgMintResponse) 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_MsgMintResponse) 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_MsgMintResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgMintResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgMintResponse) + 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 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().(*MsgMintResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgRecover protoreflect.MessageDescriptor + fd_MsgRecover_denom protoreflect.FieldDescriptor + fd_MsgRecover_signer protoreflect.FieldDescriptor + fd_MsgRecover_from protoreflect.FieldDescriptor + fd_MsgRecover_to protoreflect.FieldDescriptor + fd_MsgRecover_signature protoreflect.FieldDescriptor + fd_MsgRecover_pub_key protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRecover = File_florin_v2_tx_proto.Messages().ByName("MsgRecover") + fd_MsgRecover_denom = md_MsgRecover.Fields().ByName("denom") + fd_MsgRecover_signer = md_MsgRecover.Fields().ByName("signer") + fd_MsgRecover_from = md_MsgRecover.Fields().ByName("from") + fd_MsgRecover_to = md_MsgRecover.Fields().ByName("to") + fd_MsgRecover_signature = md_MsgRecover.Fields().ByName("signature") + fd_MsgRecover_pub_key = md_MsgRecover.Fields().ByName("pub_key") +} + +var _ protoreflect.Message = (*fastReflection_MsgRecover)(nil) + +type fastReflection_MsgRecover MsgRecover + +func (x *MsgRecover) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRecover)(x) +} + +func (x *MsgRecover) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[12] + 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_MsgRecover_messageType fastReflection_MsgRecover_messageType +var _ protoreflect.MessageType = fastReflection_MsgRecover_messageType{} + +type fastReflection_MsgRecover_messageType struct{} + +func (x fastReflection_MsgRecover_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRecover)(nil) +} +func (x fastReflection_MsgRecover_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRecover) +} +func (x fastReflection_MsgRecover_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecover +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRecover) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecover +} + +// 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_MsgRecover) Type() protoreflect.MessageType { + return _fastReflection_MsgRecover_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRecover) New() protoreflect.Message { + return new(fastReflection_MsgRecover) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRecover) Interface() protoreflect.ProtoMessage { + return (*MsgRecover)(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_MsgRecover) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgRecover_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgRecover_signer, value) { + return + } + } + if x.From != "" { + value := protoreflect.ValueOfString(x.From) + if !f(fd_MsgRecover_from, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_MsgRecover_to, value) { + return + } + } + if len(x.Signature) != 0 { + value := protoreflect.ValueOfBytes(x.Signature) + if !f(fd_MsgRecover_signature, value) { + return + } + } + if x.PubKey != nil { + value := protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + if !f(fd_MsgRecover_pub_key, 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_MsgRecover) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgRecover.denom": + return x.Denom != "" + case "florin.v2.MsgRecover.signer": + return x.Signer != "" + case "florin.v2.MsgRecover.from": + return x.From != "" + case "florin.v2.MsgRecover.to": + return x.To != "" + case "florin.v2.MsgRecover.signature": + return len(x.Signature) != 0 + case "florin.v2.MsgRecover.pub_key": + return x.PubKey != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgRecover.denom": + x.Denom = "" + case "florin.v2.MsgRecover.signer": + x.Signer = "" + case "florin.v2.MsgRecover.from": + x.From = "" + case "florin.v2.MsgRecover.to": + x.To = "" + case "florin.v2.MsgRecover.signature": + x.Signature = nil + case "florin.v2.MsgRecover.pub_key": + x.PubKey = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgRecover.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRecover.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRecover.from": + value := x.From + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRecover.to": + value := x.To + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRecover.signature": + value := x.Signature + return protoreflect.ValueOfBytes(value) + case "florin.v2.MsgRecover.pub_key": + value := x.PubKey + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgRecover.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgRecover.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgRecover.from": + x.From = value.Interface().(string) + case "florin.v2.MsgRecover.to": + x.To = value.Interface().(string) + case "florin.v2.MsgRecover.signature": + x.Signature = value.Bytes() + case "florin.v2.MsgRecover.pub_key": + x.PubKey = value.Message().Interface().(*anypb.Any) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRecover.pub_key": + if x.PubKey == nil { + x.PubKey = new(anypb.Any) + } + return protoreflect.ValueOfMessage(x.PubKey.ProtoReflect()) + case "florin.v2.MsgRecover.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgRecover is not mutable")) + case "florin.v2.MsgRecover.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgRecover is not mutable")) + case "florin.v2.MsgRecover.from": + panic(fmt.Errorf("field from of message florin.v2.MsgRecover is not mutable")) + case "florin.v2.MsgRecover.to": + panic(fmt.Errorf("field to of message florin.v2.MsgRecover is not mutable")) + case "florin.v2.MsgRecover.signature": + panic(fmt.Errorf("field signature of message florin.v2.MsgRecover is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRecover.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRecover.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRecover.from": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRecover.to": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRecover.signature": + return protoreflect.ValueOfBytes(nil) + case "florin.v2.MsgRecover.pub_key": + m := new(anypb.Any) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecover")) + } + panic(fmt.Errorf("message florin.v2.MsgRecover 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_MsgRecover) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRecover", 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_MsgRecover) 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_MsgRecover) 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_MsgRecover) 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_MsgRecover) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRecover) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.From) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signature) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.PubKey != nil { + l = options.Size(x.PubKey) + 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().(*MsgRecover) + 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.PubKey != nil { + encoded, err := options.Marshal(x.PubKey) + 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] = 0x32 + } + if len(x.Signature) > 0 { + i -= len(x.Signature) + copy(dAtA[i:], x.Signature) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signature))) + i-- + dAtA[i] = 0x2a + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x22 + } + if len(x.From) > 0 { + i -= len(x.From) + copy(dAtA[i:], x.From) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgRecover) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecover: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 From", 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.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", 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.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + 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++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + 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.Signature = append(x.Signature[:0], dAtA[iNdEx:postIndex]...) + if x.Signature == nil { + x.Signature = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType) + } + var msglen int + 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++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + 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 + } + if x.PubKey == nil { + x.PubKey = &anypb.Any{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PubKey); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + 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_MsgRecoverResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRecoverResponse = File_florin_v2_tx_proto.Messages().ByName("MsgRecoverResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgRecoverResponse)(nil) + +type fastReflection_MsgRecoverResponse MsgRecoverResponse + +func (x *MsgRecoverResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRecoverResponse)(x) +} + +func (x *MsgRecoverResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[13] + 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_MsgRecoverResponse_messageType fastReflection_MsgRecoverResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgRecoverResponse_messageType{} + +type fastReflection_MsgRecoverResponse_messageType struct{} + +func (x fastReflection_MsgRecoverResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRecoverResponse)(nil) +} +func (x fastReflection_MsgRecoverResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRecoverResponse) +} +func (x fastReflection_MsgRecoverResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecoverResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRecoverResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRecoverResponse +} + +// 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_MsgRecoverResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgRecoverResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRecoverResponse) New() protoreflect.Message { + return new(fastReflection_MsgRecoverResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRecoverResponse) Interface() protoreflect.ProtoMessage { + return (*MsgRecoverResponse)(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_MsgRecoverResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgRecoverResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRecoverResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRecoverResponse 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_MsgRecoverResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRecoverResponse", 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_MsgRecoverResponse) 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_MsgRecoverResponse) 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_MsgRecoverResponse) 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_MsgRecoverResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRecoverResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgRecoverResponse) + 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 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().(*MsgRecoverResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRecoverResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgRemoveAdminAccount protoreflect.MessageDescriptor + fd_MsgRemoveAdminAccount_denom protoreflect.FieldDescriptor + fd_MsgRemoveAdminAccount_signer protoreflect.FieldDescriptor + fd_MsgRemoveAdminAccount_account protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRemoveAdminAccount = File_florin_v2_tx_proto.Messages().ByName("MsgRemoveAdminAccount") + fd_MsgRemoveAdminAccount_denom = md_MsgRemoveAdminAccount.Fields().ByName("denom") + fd_MsgRemoveAdminAccount_signer = md_MsgRemoveAdminAccount.Fields().ByName("signer") + fd_MsgRemoveAdminAccount_account = md_MsgRemoveAdminAccount.Fields().ByName("account") +} + +var _ protoreflect.Message = (*fastReflection_MsgRemoveAdminAccount)(nil) + +type fastReflection_MsgRemoveAdminAccount MsgRemoveAdminAccount + +func (x *MsgRemoveAdminAccount) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveAdminAccount)(x) +} + +func (x *MsgRemoveAdminAccount) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[14] + 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_MsgRemoveAdminAccount_messageType fastReflection_MsgRemoveAdminAccount_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveAdminAccount_messageType{} + +type fastReflection_MsgRemoveAdminAccount_messageType struct{} + +func (x fastReflection_MsgRemoveAdminAccount_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveAdminAccount)(nil) +} +func (x fastReflection_MsgRemoveAdminAccount_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveAdminAccount) +} +func (x fastReflection_MsgRemoveAdminAccount_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveAdminAccount +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRemoveAdminAccount) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveAdminAccount +} + +// 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_MsgRemoveAdminAccount) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveAdminAccount_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRemoveAdminAccount) New() protoreflect.Message { + return new(fastReflection_MsgRemoveAdminAccount) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRemoveAdminAccount) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveAdminAccount)(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_MsgRemoveAdminAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgRemoveAdminAccount_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgRemoveAdminAccount_signer, value) { + return + } + } + if x.Account != "" { + value := protoreflect.ValueOfString(x.Account) + if !f(fd_MsgRemoveAdminAccount_account, 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_MsgRemoveAdminAccount) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + return x.Denom != "" + case "florin.v2.MsgRemoveAdminAccount.signer": + return x.Signer != "" + case "florin.v2.MsgRemoveAdminAccount.account": + return x.Account != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + x.Denom = "" + case "florin.v2.MsgRemoveAdminAccount.signer": + x.Signer = "" + case "florin.v2.MsgRemoveAdminAccount.account": + x.Account = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRemoveAdminAccount.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRemoveAdminAccount.account": + value := x.Account + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgRemoveAdminAccount.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgRemoveAdminAccount.account": + x.Account = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgRemoveAdminAccount is not mutable")) + case "florin.v2.MsgRemoveAdminAccount.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgRemoveAdminAccount is not mutable")) + case "florin.v2.MsgRemoveAdminAccount.account": + panic(fmt.Errorf("field account of message florin.v2.MsgRemoveAdminAccount is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRemoveAdminAccount.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRemoveAdminAccount.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRemoveAdminAccount.account": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccount 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_MsgRemoveAdminAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRemoveAdminAccount", 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) 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_MsgRemoveAdminAccount) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRemoveAdminAccount) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgRemoveAdminAccount) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgRemoveAdminAccount) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccount: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgRemoveAdminAccountResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRemoveAdminAccountResponse = File_florin_v2_tx_proto.Messages().ByName("MsgRemoveAdminAccountResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgRemoveAdminAccountResponse)(nil) + +type fastReflection_MsgRemoveAdminAccountResponse MsgRemoveAdminAccountResponse + +func (x *MsgRemoveAdminAccountResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveAdminAccountResponse)(x) +} + +func (x *MsgRemoveAdminAccountResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[15] + 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_MsgRemoveAdminAccountResponse_messageType fastReflection_MsgRemoveAdminAccountResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveAdminAccountResponse_messageType{} + +type fastReflection_MsgRemoveAdminAccountResponse_messageType struct{} + +func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveAdminAccountResponse)(nil) +} +func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveAdminAccountResponse) +} +func (x fastReflection_MsgRemoveAdminAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveAdminAccountResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRemoveAdminAccountResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveAdminAccountResponse +} + +// 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_MsgRemoveAdminAccountResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveAdminAccountResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRemoveAdminAccountResponse) New() protoreflect.Message { + return new(fastReflection_MsgRemoveAdminAccountResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRemoveAdminAccountResponse) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveAdminAccountResponse)(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_MsgRemoveAdminAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgRemoveAdminAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveAdminAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveAdminAccountResponse 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_MsgRemoveAdminAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRemoveAdminAccountResponse", 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) 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_MsgRemoveAdminAccountResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRemoveAdminAccountResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgRemoveAdminAccountResponse) + 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 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().(*MsgRemoveAdminAccountResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccountResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveAdminAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgRemoveSystemAccount protoreflect.MessageDescriptor + fd_MsgRemoveSystemAccount_denom protoreflect.FieldDescriptor + fd_MsgRemoveSystemAccount_signer protoreflect.FieldDescriptor + fd_MsgRemoveSystemAccount_account protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRemoveSystemAccount = File_florin_v2_tx_proto.Messages().ByName("MsgRemoveSystemAccount") + fd_MsgRemoveSystemAccount_denom = md_MsgRemoveSystemAccount.Fields().ByName("denom") + fd_MsgRemoveSystemAccount_signer = md_MsgRemoveSystemAccount.Fields().ByName("signer") + fd_MsgRemoveSystemAccount_account = md_MsgRemoveSystemAccount.Fields().ByName("account") +} + +var _ protoreflect.Message = (*fastReflection_MsgRemoveSystemAccount)(nil) + +type fastReflection_MsgRemoveSystemAccount MsgRemoveSystemAccount + +func (x *MsgRemoveSystemAccount) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveSystemAccount)(x) +} + +func (x *MsgRemoveSystemAccount) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[16] + 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_MsgRemoveSystemAccount_messageType fastReflection_MsgRemoveSystemAccount_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveSystemAccount_messageType{} + +type fastReflection_MsgRemoveSystemAccount_messageType struct{} + +func (x fastReflection_MsgRemoveSystemAccount_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveSystemAccount)(nil) +} +func (x fastReflection_MsgRemoveSystemAccount_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveSystemAccount) +} +func (x fastReflection_MsgRemoveSystemAccount_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveSystemAccount +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRemoveSystemAccount) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveSystemAccount +} + +// 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_MsgRemoveSystemAccount) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveSystemAccount_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRemoveSystemAccount) New() protoreflect.Message { + return new(fastReflection_MsgRemoveSystemAccount) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRemoveSystemAccount) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveSystemAccount)(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_MsgRemoveSystemAccount) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgRemoveSystemAccount_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgRemoveSystemAccount_signer, value) { + return + } + } + if x.Account != "" { + value := protoreflect.ValueOfString(x.Account) + if !f(fd_MsgRemoveSystemAccount_account, 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_MsgRemoveSystemAccount) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + return x.Denom != "" + case "florin.v2.MsgRemoveSystemAccount.signer": + return x.Signer != "" + case "florin.v2.MsgRemoveSystemAccount.account": + return x.Account != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + x.Denom = "" + case "florin.v2.MsgRemoveSystemAccount.signer": + x.Signer = "" + case "florin.v2.MsgRemoveSystemAccount.account": + x.Account = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRemoveSystemAccount.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgRemoveSystemAccount.account": + value := x.Account + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgRemoveSystemAccount.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgRemoveSystemAccount.account": + x.Account = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgRemoveSystemAccount is not mutable")) + case "florin.v2.MsgRemoveSystemAccount.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgRemoveSystemAccount is not mutable")) + case "florin.v2.MsgRemoveSystemAccount.account": + panic(fmt.Errorf("field account of message florin.v2.MsgRemoveSystemAccount is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgRemoveSystemAccount.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRemoveSystemAccount.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgRemoveSystemAccount.account": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccount")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccount 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_MsgRemoveSystemAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRemoveSystemAccount", 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) 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_MsgRemoveSystemAccount) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRemoveSystemAccount) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgRemoveSystemAccount) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgRemoveSystemAccount) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccount: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccount: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = 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_MsgRemoveSystemAccountResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgRemoveSystemAccountResponse = File_florin_v2_tx_proto.Messages().ByName("MsgRemoveSystemAccountResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgRemoveSystemAccountResponse)(nil) + +type fastReflection_MsgRemoveSystemAccountResponse MsgRemoveSystemAccountResponse + +func (x *MsgRemoveSystemAccountResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveSystemAccountResponse)(x) +} + +func (x *MsgRemoveSystemAccountResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[17] + 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_MsgRemoveSystemAccountResponse_messageType fastReflection_MsgRemoveSystemAccountResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveSystemAccountResponse_messageType{} + +type fastReflection_MsgRemoveSystemAccountResponse_messageType struct{} + +func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveSystemAccountResponse)(nil) +} +func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveSystemAccountResponse) +} +func (x fastReflection_MsgRemoveSystemAccountResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveSystemAccountResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgRemoveSystemAccountResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveSystemAccountResponse +} + +// 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_MsgRemoveSystemAccountResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveSystemAccountResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgRemoveSystemAccountResponse) New() protoreflect.Message { + return new(fastReflection_MsgRemoveSystemAccountResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgRemoveSystemAccountResponse) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveSystemAccountResponse)(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_MsgRemoveSystemAccountResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgRemoveSystemAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgRemoveSystemAccountResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgRemoveSystemAccountResponse 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_MsgRemoveSystemAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgRemoveSystemAccountResponse", 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) 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_MsgRemoveSystemAccountResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgRemoveSystemAccountResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgRemoveSystemAccountResponse) + 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 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().(*MsgRemoveSystemAccountResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccountResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveSystemAccountResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgSetMaxMintAllowance protoreflect.MessageDescriptor + fd_MsgSetMaxMintAllowance_denom protoreflect.FieldDescriptor + fd_MsgSetMaxMintAllowance_signer protoreflect.FieldDescriptor + fd_MsgSetMaxMintAllowance_amount protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgSetMaxMintAllowance = File_florin_v2_tx_proto.Messages().ByName("MsgSetMaxMintAllowance") + fd_MsgSetMaxMintAllowance_denom = md_MsgSetMaxMintAllowance.Fields().ByName("denom") + fd_MsgSetMaxMintAllowance_signer = md_MsgSetMaxMintAllowance.Fields().ByName("signer") + fd_MsgSetMaxMintAllowance_amount = md_MsgSetMaxMintAllowance.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetMaxMintAllowance)(nil) + +type fastReflection_MsgSetMaxMintAllowance MsgSetMaxMintAllowance + +func (x *MsgSetMaxMintAllowance) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMaxMintAllowance)(x) +} + +func (x *MsgSetMaxMintAllowance) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[18] + 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_MsgSetMaxMintAllowance_messageType fastReflection_MsgSetMaxMintAllowance_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMaxMintAllowance_messageType{} + +type fastReflection_MsgSetMaxMintAllowance_messageType struct{} + +func (x fastReflection_MsgSetMaxMintAllowance_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMaxMintAllowance)(nil) +} +func (x fastReflection_MsgSetMaxMintAllowance_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMaxMintAllowance) +} +func (x fastReflection_MsgSetMaxMintAllowance_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMaxMintAllowance +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMaxMintAllowance) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMaxMintAllowance +} + +// 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_MsgSetMaxMintAllowance) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMaxMintAllowance_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMaxMintAllowance) New() protoreflect.Message { + return new(fastReflection_MsgSetMaxMintAllowance) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMaxMintAllowance) Interface() protoreflect.ProtoMessage { + return (*MsgSetMaxMintAllowance)(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_MsgSetMaxMintAllowance) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgSetMaxMintAllowance_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgSetMaxMintAllowance_signer, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgSetMaxMintAllowance_amount, 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_MsgSetMaxMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + return x.Denom != "" + case "florin.v2.MsgSetMaxMintAllowance.signer": + return x.Signer != "" + case "florin.v2.MsgSetMaxMintAllowance.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + x.Denom = "" + case "florin.v2.MsgSetMaxMintAllowance.signer": + x.Signer = "" + case "florin.v2.MsgSetMaxMintAllowance.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgSetMaxMintAllowance.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgSetMaxMintAllowance.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgSetMaxMintAllowance.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgSetMaxMintAllowance.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgSetMaxMintAllowance is not mutable")) + case "florin.v2.MsgSetMaxMintAllowance.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgSetMaxMintAllowance is not mutable")) + case "florin.v2.MsgSetMaxMintAllowance.amount": + panic(fmt.Errorf("field amount of message florin.v2.MsgSetMaxMintAllowance is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgSetMaxMintAllowance.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgSetMaxMintAllowance.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgSetMaxMintAllowance.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowance 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_MsgSetMaxMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgSetMaxMintAllowance", 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) 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_MsgSetMaxMintAllowance) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMaxMintAllowance) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMaxMintAllowance) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgSetMaxMintAllowance) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowance: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowance: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Amount", 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.Amount = 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_MsgSetMaxMintAllowanceResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgSetMaxMintAllowanceResponse = File_florin_v2_tx_proto.Messages().ByName("MsgSetMaxMintAllowanceResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetMaxMintAllowanceResponse)(nil) + +type fastReflection_MsgSetMaxMintAllowanceResponse MsgSetMaxMintAllowanceResponse + +func (x *MsgSetMaxMintAllowanceResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMaxMintAllowanceResponse)(x) +} + +func (x *MsgSetMaxMintAllowanceResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[19] + 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_MsgSetMaxMintAllowanceResponse_messageType fastReflection_MsgSetMaxMintAllowanceResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMaxMintAllowanceResponse_messageType{} + +type fastReflection_MsgSetMaxMintAllowanceResponse_messageType struct{} + +func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMaxMintAllowanceResponse)(nil) +} +func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMaxMintAllowanceResponse) +} +func (x fastReflection_MsgSetMaxMintAllowanceResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMaxMintAllowanceResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMaxMintAllowanceResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMaxMintAllowanceResponse +} + +// 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_MsgSetMaxMintAllowanceResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMaxMintAllowanceResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMaxMintAllowanceResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetMaxMintAllowanceResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMaxMintAllowanceResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetMaxMintAllowanceResponse)(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_MsgSetMaxMintAllowanceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgSetMaxMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMaxMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMaxMintAllowanceResponse 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_MsgSetMaxMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgSetMaxMintAllowanceResponse", 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) 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_MsgSetMaxMintAllowanceResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMaxMintAllowanceResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgSetMaxMintAllowanceResponse) + 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 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().(*MsgSetMaxMintAllowanceResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowanceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMaxMintAllowanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgSetMintAllowance protoreflect.MessageDescriptor + fd_MsgSetMintAllowance_denom protoreflect.FieldDescriptor + fd_MsgSetMintAllowance_signer protoreflect.FieldDescriptor + fd_MsgSetMintAllowance_account protoreflect.FieldDescriptor + fd_MsgSetMintAllowance_amount protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgSetMintAllowance = File_florin_v2_tx_proto.Messages().ByName("MsgSetMintAllowance") + fd_MsgSetMintAllowance_denom = md_MsgSetMintAllowance.Fields().ByName("denom") + fd_MsgSetMintAllowance_signer = md_MsgSetMintAllowance.Fields().ByName("signer") + fd_MsgSetMintAllowance_account = md_MsgSetMintAllowance.Fields().ByName("account") + fd_MsgSetMintAllowance_amount = md_MsgSetMintAllowance.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetMintAllowance)(nil) + +type fastReflection_MsgSetMintAllowance MsgSetMintAllowance + +func (x *MsgSetMintAllowance) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMintAllowance)(x) +} + +func (x *MsgSetMintAllowance) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[20] + 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_MsgSetMintAllowance_messageType fastReflection_MsgSetMintAllowance_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMintAllowance_messageType{} + +type fastReflection_MsgSetMintAllowance_messageType struct{} + +func (x fastReflection_MsgSetMintAllowance_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMintAllowance)(nil) +} +func (x fastReflection_MsgSetMintAllowance_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMintAllowance) +} +func (x fastReflection_MsgSetMintAllowance_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMintAllowance +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMintAllowance) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMintAllowance +} + +// 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_MsgSetMintAllowance) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMintAllowance_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMintAllowance) New() protoreflect.Message { + return new(fastReflection_MsgSetMintAllowance) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMintAllowance) Interface() protoreflect.ProtoMessage { + return (*MsgSetMintAllowance)(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_MsgSetMintAllowance) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgSetMintAllowance_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgSetMintAllowance_signer, value) { + return + } + } + if x.Account != "" { + value := protoreflect.ValueOfString(x.Account) + if !f(fd_MsgSetMintAllowance_account, value) { + return + } + } + if x.Amount != "" { + value := protoreflect.ValueOfString(x.Amount) + if !f(fd_MsgSetMintAllowance_amount, 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_MsgSetMintAllowance) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + return x.Denom != "" + case "florin.v2.MsgSetMintAllowance.signer": + return x.Signer != "" + case "florin.v2.MsgSetMintAllowance.account": + return x.Account != "" + case "florin.v2.MsgSetMintAllowance.amount": + return x.Amount != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + x.Denom = "" + case "florin.v2.MsgSetMintAllowance.signer": + x.Signer = "" + case "florin.v2.MsgSetMintAllowance.account": + x.Account = "" + case "florin.v2.MsgSetMintAllowance.amount": + x.Amount = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgSetMintAllowance.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgSetMintAllowance.account": + value := x.Account + return protoreflect.ValueOfString(value) + case "florin.v2.MsgSetMintAllowance.amount": + value := x.Amount + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgSetMintAllowance.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgSetMintAllowance.account": + x.Account = value.Interface().(string) + case "florin.v2.MsgSetMintAllowance.amount": + x.Amount = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgSetMintAllowance is not mutable")) + case "florin.v2.MsgSetMintAllowance.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgSetMintAllowance is not mutable")) + case "florin.v2.MsgSetMintAllowance.account": + panic(fmt.Errorf("field account of message florin.v2.MsgSetMintAllowance is not mutable")) + case "florin.v2.MsgSetMintAllowance.amount": + panic(fmt.Errorf("field amount of message florin.v2.MsgSetMintAllowance is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgSetMintAllowance.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgSetMintAllowance.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgSetMintAllowance.account": + return protoreflect.ValueOfString("") + case "florin.v2.MsgSetMintAllowance.amount": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowance")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowance 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_MsgSetMintAllowance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgSetMintAllowance", 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) 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_MsgSetMintAllowance) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMintAllowance) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Account) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Amount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMintAllowance) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Amount) > 0 { + i -= len(x.Amount) + copy(dAtA[i:], x.Amount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Amount))) + i-- + dAtA[i] = 0x22 + } + if len(x.Account) > 0 { + i -= len(x.Account) + copy(dAtA[i:], x.Account) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgSetMintAllowance) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowance: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowance: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 Account", 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.Account = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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.Amount = 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_MsgSetMintAllowanceResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgSetMintAllowanceResponse = File_florin_v2_tx_proto.Messages().ByName("MsgSetMintAllowanceResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetMintAllowanceResponse)(nil) + +type fastReflection_MsgSetMintAllowanceResponse MsgSetMintAllowanceResponse + +func (x *MsgSetMintAllowanceResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMintAllowanceResponse)(x) +} + +func (x *MsgSetMintAllowanceResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgSetMintAllowanceResponse_messageType fastReflection_MsgSetMintAllowanceResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMintAllowanceResponse_messageType{} + +type fastReflection_MsgSetMintAllowanceResponse_messageType struct{} + +func (x fastReflection_MsgSetMintAllowanceResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMintAllowanceResponse)(nil) +} +func (x fastReflection_MsgSetMintAllowanceResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMintAllowanceResponse) +} +func (x fastReflection_MsgSetMintAllowanceResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMintAllowanceResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMintAllowanceResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMintAllowanceResponse +} + +// 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_MsgSetMintAllowanceResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMintAllowanceResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMintAllowanceResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetMintAllowanceResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMintAllowanceResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetMintAllowanceResponse)(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_MsgSetMintAllowanceResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgSetMintAllowanceResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgSetMintAllowanceResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgSetMintAllowanceResponse 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_MsgSetMintAllowanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgSetMintAllowanceResponse", 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) 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_MsgSetMintAllowanceResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMintAllowanceResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgSetMintAllowanceResponse) + 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 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().(*MsgSetMintAllowanceResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowanceResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMintAllowanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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_MsgTransferOwnership protoreflect.MessageDescriptor + fd_MsgTransferOwnership_denom protoreflect.FieldDescriptor + fd_MsgTransferOwnership_signer protoreflect.FieldDescriptor + fd_MsgTransferOwnership_new_owner protoreflect.FieldDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgTransferOwnership = File_florin_v2_tx_proto.Messages().ByName("MsgTransferOwnership") + fd_MsgTransferOwnership_denom = md_MsgTransferOwnership.Fields().ByName("denom") + fd_MsgTransferOwnership_signer = md_MsgTransferOwnership.Fields().ByName("signer") + fd_MsgTransferOwnership_new_owner = md_MsgTransferOwnership.Fields().ByName("new_owner") +} + +var _ protoreflect.Message = (*fastReflection_MsgTransferOwnership)(nil) + +type fastReflection_MsgTransferOwnership MsgTransferOwnership + +func (x *MsgTransferOwnership) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgTransferOwnership)(x) +} + +func (x *MsgTransferOwnership) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[22] + 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_MsgTransferOwnership_messageType fastReflection_MsgTransferOwnership_messageType +var _ protoreflect.MessageType = fastReflection_MsgTransferOwnership_messageType{} + +type fastReflection_MsgTransferOwnership_messageType struct{} + +func (x fastReflection_MsgTransferOwnership_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgTransferOwnership)(nil) +} +func (x fastReflection_MsgTransferOwnership_messageType) New() protoreflect.Message { + return new(fastReflection_MsgTransferOwnership) +} +func (x fastReflection_MsgTransferOwnership_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgTransferOwnership +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgTransferOwnership) Descriptor() protoreflect.MessageDescriptor { + return md_MsgTransferOwnership +} + +// 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_MsgTransferOwnership) Type() protoreflect.MessageType { + return _fastReflection_MsgTransferOwnership_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgTransferOwnership) New() protoreflect.Message { + return new(fastReflection_MsgTransferOwnership) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgTransferOwnership) Interface() protoreflect.ProtoMessage { + return (*MsgTransferOwnership)(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_MsgTransferOwnership) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_MsgTransferOwnership_denom, value) { + return + } + } + if x.Signer != "" { + value := protoreflect.ValueOfString(x.Signer) + if !f(fd_MsgTransferOwnership_signer, value) { + return + } + } + if x.NewOwner != "" { + value := protoreflect.ValueOfString(x.NewOwner) + if !f(fd_MsgTransferOwnership_new_owner, 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_MsgTransferOwnership) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + return x.Denom != "" + case "florin.v2.MsgTransferOwnership.signer": + return x.Signer != "" + case "florin.v2.MsgTransferOwnership.new_owner": + return x.NewOwner != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + x.Denom = "" + case "florin.v2.MsgTransferOwnership.signer": + x.Signer = "" + case "florin.v2.MsgTransferOwnership.new_owner": + x.NewOwner = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "florin.v2.MsgTransferOwnership.signer": + value := x.Signer + return protoreflect.ValueOfString(value) + case "florin.v2.MsgTransferOwnership.new_owner": + value := x.NewOwner + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + x.Denom = value.Interface().(string) + case "florin.v2.MsgTransferOwnership.signer": + x.Signer = value.Interface().(string) + case "florin.v2.MsgTransferOwnership.new_owner": + x.NewOwner = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + panic(fmt.Errorf("field denom of message florin.v2.MsgTransferOwnership is not mutable")) + case "florin.v2.MsgTransferOwnership.signer": + panic(fmt.Errorf("field signer of message florin.v2.MsgTransferOwnership is not mutable")) + case "florin.v2.MsgTransferOwnership.new_owner": + panic(fmt.Errorf("field new_owner of message florin.v2.MsgTransferOwnership is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "florin.v2.MsgTransferOwnership.denom": + return protoreflect.ValueOfString("") + case "florin.v2.MsgTransferOwnership.signer": + return protoreflect.ValueOfString("") + case "florin.v2.MsgTransferOwnership.new_owner": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnership")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnership 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_MsgTransferOwnership) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgTransferOwnership", 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_MsgTransferOwnership) 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_MsgTransferOwnership) 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_MsgTransferOwnership) 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_MsgTransferOwnership) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgTransferOwnership) + 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.Denom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Signer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.NewOwner) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgTransferOwnership) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.NewOwner) > 0 { + i -= len(x.NewOwner) + copy(dAtA[i:], x.NewOwner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.NewOwner))) + i-- + dAtA[i] = 0x1a + } + if len(x.Signer) > 0 { + i -= len(x.Signer) + copy(dAtA[i:], x.Signer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + 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().(*MsgTransferOwnership) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnership: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnership: 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 Denom", 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.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = 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 NewOwner", 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.NewOwner = 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_MsgTransferOwnershipResponse protoreflect.MessageDescriptor +) + +func init() { + file_florin_v2_tx_proto_init() + md_MsgTransferOwnershipResponse = File_florin_v2_tx_proto.Messages().ByName("MsgTransferOwnershipResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgTransferOwnershipResponse)(nil) + +type fastReflection_MsgTransferOwnershipResponse MsgTransferOwnershipResponse + +func (x *MsgTransferOwnershipResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgTransferOwnershipResponse)(x) +} + +func (x *MsgTransferOwnershipResponse) slowProtoReflect() protoreflect.Message { + mi := &file_florin_v2_tx_proto_msgTypes[23] + 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_MsgTransferOwnershipResponse_messageType fastReflection_MsgTransferOwnershipResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgTransferOwnershipResponse_messageType{} + +type fastReflection_MsgTransferOwnershipResponse_messageType struct{} + +func (x fastReflection_MsgTransferOwnershipResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgTransferOwnershipResponse)(nil) +} +func (x fastReflection_MsgTransferOwnershipResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgTransferOwnershipResponse) +} +func (x fastReflection_MsgTransferOwnershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgTransferOwnershipResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgTransferOwnershipResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgTransferOwnershipResponse +} + +// 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_MsgTransferOwnershipResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgTransferOwnershipResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgTransferOwnershipResponse) New() protoreflect.Message { + return new(fastReflection_MsgTransferOwnershipResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgTransferOwnershipResponse) Interface() protoreflect.ProtoMessage { + return (*MsgTransferOwnershipResponse)(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_MsgTransferOwnershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// 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_MsgTransferOwnershipResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: florin.v2.MsgTransferOwnershipResponse")) + } + panic(fmt.Errorf("message florin.v2.MsgTransferOwnershipResponse 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_MsgTransferOwnershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in florin.v2.MsgTransferOwnershipResponse", 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) 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_MsgTransferOwnershipResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgTransferOwnershipResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = 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().(*MsgTransferOwnershipResponse) + 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 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().(*MsgTransferOwnershipResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnershipResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgTransferOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: florin/v2/tx.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method. +type MsgAcceptOwnership struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` +} + +func (x *MsgAcceptOwnership) Reset() { + *x = MsgAcceptOwnership{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAcceptOwnership) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAcceptOwnership) ProtoMessage() {} + +// Deprecated: Use MsgAcceptOwnership.ProtoReflect.Descriptor instead. +func (*MsgAcceptOwnership) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgAcceptOwnership) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgAcceptOwnership) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +// MsgAcceptOwnershipResponse is the response of the AcceptOwnership action. +type MsgAcceptOwnershipResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAcceptOwnershipResponse) Reset() { + *x = MsgAcceptOwnershipResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAcceptOwnershipResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAcceptOwnershipResponse) ProtoMessage() {} + +// Deprecated: Use MsgAcceptOwnershipResponse.ProtoReflect.Descriptor instead. +func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{1} +} + +// MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method. +type MsgAddAdminAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` +} + +func (x *MsgAddAdminAccount) Reset() { + *x = MsgAddAdminAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddAdminAccount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddAdminAccount) ProtoMessage() {} + +// Deprecated: Use MsgAddAdminAccount.ProtoReflect.Descriptor instead. +func (*MsgAddAdminAccount) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *MsgAddAdminAccount) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgAddAdminAccount) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgAddAdminAccount) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +// MsgAddAdminAccountResponse is the response of the AddAminAccount action. +type MsgAddAdminAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAddAdminAccountResponse) Reset() { + *x = MsgAddAdminAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddAdminAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddAdminAccountResponse) ProtoMessage() {} + +// Deprecated: Use MsgAddAdminAccountResponse.ProtoReflect.Descriptor instead. +func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{3} +} + +// MsgAddSystemAccount implements the addSystemAccount (0xa84c56d0) method. +type MsgAddSystemAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` +} + +func (x *MsgAddSystemAccount) Reset() { + *x = MsgAddSystemAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddSystemAccount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddSystemAccount) ProtoMessage() {} + +// Deprecated: Use MsgAddSystemAccount.ProtoReflect.Descriptor instead. +func (*MsgAddSystemAccount) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{4} +} + +func (x *MsgAddSystemAccount) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgAddSystemAccount) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgAddSystemAccount) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +// MsgAddSystemAccountResponse is the response of the AddSystemAccount action. +type MsgAddSystemAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAddSystemAccountResponse) Reset() { + *x = MsgAddSystemAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddSystemAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddSystemAccountResponse) ProtoMessage() {} + +// Deprecated: Use MsgAddSystemAccountResponse.ProtoReflect.Descriptor instead. +func (*MsgAddSystemAccountResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{5} +} + +// MsgAllowDenom is the request of the AllowDenom action. +type MsgAllowDenom struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (x *MsgAllowDenom) Reset() { + *x = MsgAllowDenom{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllowDenom) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllowDenom) ProtoMessage() {} + +// Deprecated: Use MsgAllowDenom.ProtoReflect.Descriptor instead. +func (*MsgAllowDenom) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{6} +} + +func (x *MsgAllowDenom) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgAllowDenom) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgAllowDenom) GetOwner() string { + if x != nil { + return x.Owner + } + return "" +} + +// MsgAllowDenomResponse is the response of the AllowDenom action. +type MsgAllowDenomResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAllowDenomResponse) Reset() { + *x = MsgAllowDenomResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllowDenomResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllowDenomResponse) ProtoMessage() {} + +// Deprecated: Use MsgAllowDenomResponse.ProtoReflect.Descriptor instead. +func (*MsgAllowDenomResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{7} +} + +// MsgBurn implements the burn (0x8d1247ba) method. +type MsgBurn struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + PubKey *anypb.Any `protobuf:"bytes,6,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` +} + +func (x *MsgBurn) Reset() { + *x = MsgBurn{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgBurn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgBurn) ProtoMessage() {} + +// Deprecated: Use MsgBurn.ProtoReflect.Descriptor instead. +func (*MsgBurn) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{8} +} + +func (x *MsgBurn) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgBurn) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgBurn) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +func (x *MsgBurn) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +func (x *MsgBurn) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *MsgBurn) GetPubKey() *anypb.Any { + if x != nil { + return x.PubKey + } + return nil +} + +// MsgBurnResponse is the response of the Burn action. +type MsgBurnResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgBurnResponse) Reset() { + *x = MsgBurnResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgBurnResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgBurnResponse) ProtoMessage() {} + +// Deprecated: Use MsgBurnResponse.ProtoReflect.Descriptor instead. +func (*MsgBurnResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{9} +} + +// MsgMint implements the mint (0x40c10f19) method. +type MsgMint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *MsgMint) Reset() { + *x = MsgMint{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgMint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgMint) ProtoMessage() {} + +// Deprecated: Use MsgMint.ProtoReflect.Descriptor instead. +func (*MsgMint) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{10} +} + +func (x *MsgMint) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgMint) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgMint) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +func (x *MsgMint) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +// MsgMintResponse is the response of the Mint action. +type MsgMintResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgMintResponse) Reset() { + *x = MsgMintResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgMintResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgMintResponse) ProtoMessage() {} + +// Deprecated: Use MsgMintResponse.ProtoReflect.Descriptor instead. +func (*MsgMintResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{11} +} + +// MsgRecover implements the recover (0x6eb4c609) method. +type MsgRecover struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` + PubKey *anypb.Any `protobuf:"bytes,6,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` +} + +func (x *MsgRecover) Reset() { + *x = MsgRecover{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRecover) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRecover) ProtoMessage() {} + +// Deprecated: Use MsgRecover.ProtoReflect.Descriptor instead. +func (*MsgRecover) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{12} +} + +func (x *MsgRecover) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgRecover) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgRecover) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +func (x *MsgRecover) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +func (x *MsgRecover) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *MsgRecover) GetPubKey() *anypb.Any { + if x != nil { + return x.PubKey + } + return nil +} + +// MsgRecoverResponse is the response of the Recover action. +type MsgRecoverResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgRecoverResponse) Reset() { + *x = MsgRecoverResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRecoverResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRecoverResponse) ProtoMessage() {} + +// Deprecated: Use MsgRecoverResponse.ProtoReflect.Descriptor instead. +func (*MsgRecoverResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{13} +} + +// MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method. +type MsgRemoveAdminAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` +} + +func (x *MsgRemoveAdminAccount) Reset() { + *x = MsgRemoveAdminAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRemoveAdminAccount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRemoveAdminAccount) ProtoMessage() {} + +// Deprecated: Use MsgRemoveAdminAccount.ProtoReflect.Descriptor instead. +func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{14} +} + +func (x *MsgRemoveAdminAccount) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgRemoveAdminAccount) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgRemoveAdminAccount) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +// MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action. +type MsgRemoveAdminAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgRemoveAdminAccountResponse) Reset() { + *x = MsgRemoveAdminAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRemoveAdminAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRemoveAdminAccountResponse) ProtoMessage() {} + +// Deprecated: Use MsgRemoveAdminAccountResponse.ProtoReflect.Descriptor instead. +func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{15} +} + +// MsgRemoveSystemAccount implements the removeSystemAccount (0xebbc3d46) method. +type MsgRemoveSystemAccount struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` +} + +func (x *MsgRemoveSystemAccount) Reset() { + *x = MsgRemoveSystemAccount{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRemoveSystemAccount) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRemoveSystemAccount) ProtoMessage() {} + +// Deprecated: Use MsgRemoveSystemAccount.ProtoReflect.Descriptor instead. +func (*MsgRemoveSystemAccount) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{16} +} + +func (x *MsgRemoveSystemAccount) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgRemoveSystemAccount) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgRemoveSystemAccount) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +// MsgRemoveSystemAccountResponse is the response of the RemoveSystemAccount action. +type MsgRemoveSystemAccountResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgRemoveSystemAccountResponse) Reset() { + *x = MsgRemoveSystemAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgRemoveSystemAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgRemoveSystemAccountResponse) ProtoMessage() {} + +// Deprecated: Use MsgRemoveSystemAccountResponse.ProtoReflect.Descriptor instead. +func (*MsgRemoveSystemAccountResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{17} +} + +// MsgSetMaxMintAllowance implements the setMaxMintAllowance (0xfd2319c4) method. +type MsgSetMaxMintAllowance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *MsgSetMaxMintAllowance) Reset() { + *x = MsgSetMaxMintAllowance{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMaxMintAllowance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMaxMintAllowance) ProtoMessage() {} + +// Deprecated: Use MsgSetMaxMintAllowance.ProtoReflect.Descriptor instead. +func (*MsgSetMaxMintAllowance) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{18} +} + +func (x *MsgSetMaxMintAllowance) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgSetMaxMintAllowance) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgSetMaxMintAllowance) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +// MsgSetMaxMintAllowanceResponse is the response of the SetMaxMintAllowance action. +type MsgSetMaxMintAllowanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgSetMaxMintAllowanceResponse) Reset() { + *x = MsgSetMaxMintAllowanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMaxMintAllowanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMaxMintAllowanceResponse) ProtoMessage() {} + +// Deprecated: Use MsgSetMaxMintAllowanceResponse.ProtoReflect.Descriptor instead. +func (*MsgSetMaxMintAllowanceResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{19} +} + +// MsgSetMintAllowance implements the setMintAllowance (0xf27c5f6e) method. +type MsgSetMintAllowance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` + Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` +} + +func (x *MsgSetMintAllowance) Reset() { + *x = MsgSetMintAllowance{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMintAllowance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMintAllowance) ProtoMessage() {} + +// Deprecated: Use MsgSetMintAllowance.ProtoReflect.Descriptor instead. +func (*MsgSetMintAllowance) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{20} +} + +func (x *MsgSetMintAllowance) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgSetMintAllowance) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgSetMintAllowance) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +func (x *MsgSetMintAllowance) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +// MsgSetMintAllowanceResponse is the response of the SetMintAllowance action. +type MsgSetMintAllowanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgSetMintAllowanceResponse) Reset() { + *x = MsgSetMintAllowanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMintAllowanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMintAllowanceResponse) ProtoMessage() {} + +// Deprecated: Use MsgSetMintAllowanceResponse.ProtoReflect.Descriptor instead. +func (*MsgSetMintAllowanceResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{21} +} + +// MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method. +type MsgTransferOwnership struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + NewOwner string `protobuf:"bytes,3,opt,name=new_owner,json=newOwner,proto3" json:"new_owner,omitempty"` +} + +func (x *MsgTransferOwnership) Reset() { + *x = MsgTransferOwnership{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgTransferOwnership) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgTransferOwnership) ProtoMessage() {} + +// Deprecated: Use MsgTransferOwnership.ProtoReflect.Descriptor instead. +func (*MsgTransferOwnership) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{22} +} + +func (x *MsgTransferOwnership) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *MsgTransferOwnership) GetSigner() string { + if x != nil { + return x.Signer + } + return "" +} + +func (x *MsgTransferOwnership) GetNewOwner() string { + if x != nil { + return x.NewOwner + } + return "" +} + +// MsgTransferOwnershipResponse is the response of the TransferOwnership action. +type MsgTransferOwnershipResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgTransferOwnershipResponse) Reset() { + *x = MsgTransferOwnershipResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_florin_v2_tx_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgTransferOwnershipResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgTransferOwnershipResponse) ProtoMessage() {} + +// Deprecated: Use MsgTransferOwnershipResponse.ProtoReflect.Descriptor instead. +func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int) { + return file_florin_v2_tx_proto_rawDescGZIP(), []int{23} +} + +var File_florin_v2_tx_proto protoreflect.FileDescriptor + +var file_florin_v2_tx_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x78, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x1a, + 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, + 0x31, 0x2f, 0x6d, 0x73, 0x67, 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, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, 0x14, + 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, + 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, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x3a, 0x2e, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, + 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 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, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2e, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, + 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, + 0x16, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, + 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, + 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2f, 0x88, 0xa0, 0x1f, 0x00, 0xe8, + 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, + 0xb0, 0x2a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, + 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0d, 0x4d, 0x73, + 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, + 0x69, 0x67, 0x6e, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x12, 0x2e, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 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, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x3a, 0x29, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x11, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x17, + 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbb, 0x02, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x42, + 0x75, 0x72, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, + 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2f, 0x42, 0x75, 0x72, 0x6e, 0x22, 0x11, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x07, 0x4d, 0x73, 0x67, + 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x02, + 0x74, 0x6f, 0x18, 0x03, 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, 0x02, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x3a, 0x23, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2f, 0x4d, 0x69, 0x6e, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x02, 0x0a, 0x0a, 0x4d, 0x73, 0x67, + 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, + 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, + 0x2c, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x03, 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, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x28, 0x0a, + 0x02, 0x74, 0x6f, 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, 0x02, 0x74, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x70, 0x75, + 0x62, 0x4b, 0x65, 0x79, 0x3a, 0x26, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, + 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x0e, 0x66, 0x6c, + 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x14, 0x0a, 0x12, + 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, + 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x31, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, + 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, + 0x2a, 0x19, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, + 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc8, 0x01, 0x0a, + 0x16, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, + 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, + 0x32, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x3a, 0x32, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, + 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, 0x66, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x2f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x16, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xc8, 0xde, + 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, + 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x32, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, + 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, + 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x02, 0x0a, + 0x13, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 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, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x48, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x2f, 0x88, 0xa0, 0x1f, 0x00, + 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, + 0xe7, 0xb0, 0x2a, 0x17, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2f, 0x53, 0x65, 0x74, 0x4d, 0x69, + 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, + 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, + 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x14, 0x4d, + 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x72, 0x18, 0x02, 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, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x09, 0x6e, + 0x65, 0x77, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 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, 0x6e, 0x65, 0x77, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x3a, 0x30, 0x88, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, + 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x18, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x73, 0x68, 0x69, 0x70, 0x22, 0x1e, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xfc, 0x07, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x57, 0x0a, 0x0f, + 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x12, + 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x41, + 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x1a, 0x25, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, + 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x25, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, + 0x0a, 0x10, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, + 0x73, 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, + 0x73, 0x67, 0x41, 0x64, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x41, 0x6c, + 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x18, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, + 0x6f, 0x6d, 0x1a, 0x20, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, + 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x12, 0x2e, 0x66, + 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, + 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, + 0x42, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x04, + 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, + 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x1a, 0x1a, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, + 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, + 0x15, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, + 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x1a, 0x1d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x2e, 0x66, 0x6c, + 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x28, 0x2e, + 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, + 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, + 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x13, + 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0x21, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, + 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x29, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, + 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x78, 0x4d, 0x69, 0x6e, 0x74, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5a, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x26, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, + 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, + 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x12, 0x1f, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, 0x4d, + 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x1a, 0x27, 0x2e, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x2e, + 0x4d, 0x73, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x4f, 0x77, 0x6e, 0x65, 0x72, + 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, + 0xb0, 0x2a, 0x01, 0x42, 0x99, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x66, 0x6c, 0x6f, 0x72, + 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x6f, 0x6e, + 0x65, 0x72, 0x69, 0x75, 0x6d, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x62, + 0x6c, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, + 0x2f, 0x76, 0x32, 0x3b, 0x66, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x46, + 0x58, 0x58, 0xaa, 0x02, 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x2e, 0x56, 0x32, 0xca, 0x02, + 0x09, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x15, 0x46, 0x6c, 0x6f, + 0x72, 0x69, 0x6e, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x0a, 0x46, 0x6c, 0x6f, 0x72, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_florin_v2_tx_proto_rawDescOnce sync.Once + file_florin_v2_tx_proto_rawDescData = file_florin_v2_tx_proto_rawDesc +) + +func file_florin_v2_tx_proto_rawDescGZIP() []byte { + file_florin_v2_tx_proto_rawDescOnce.Do(func() { + file_florin_v2_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_florin_v2_tx_proto_rawDescData) + }) + return file_florin_v2_tx_proto_rawDescData +} + +var file_florin_v2_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_florin_v2_tx_proto_goTypes = []interface{}{ + (*MsgAcceptOwnership)(nil), // 0: florin.v2.MsgAcceptOwnership + (*MsgAcceptOwnershipResponse)(nil), // 1: florin.v2.MsgAcceptOwnershipResponse + (*MsgAddAdminAccount)(nil), // 2: florin.v2.MsgAddAdminAccount + (*MsgAddAdminAccountResponse)(nil), // 3: florin.v2.MsgAddAdminAccountResponse + (*MsgAddSystemAccount)(nil), // 4: florin.v2.MsgAddSystemAccount + (*MsgAddSystemAccountResponse)(nil), // 5: florin.v2.MsgAddSystemAccountResponse + (*MsgAllowDenom)(nil), // 6: florin.v2.MsgAllowDenom + (*MsgAllowDenomResponse)(nil), // 7: florin.v2.MsgAllowDenomResponse + (*MsgBurn)(nil), // 8: florin.v2.MsgBurn + (*MsgBurnResponse)(nil), // 9: florin.v2.MsgBurnResponse + (*MsgMint)(nil), // 10: florin.v2.MsgMint + (*MsgMintResponse)(nil), // 11: florin.v2.MsgMintResponse + (*MsgRecover)(nil), // 12: florin.v2.MsgRecover + (*MsgRecoverResponse)(nil), // 13: florin.v2.MsgRecoverResponse + (*MsgRemoveAdminAccount)(nil), // 14: florin.v2.MsgRemoveAdminAccount + (*MsgRemoveAdminAccountResponse)(nil), // 15: florin.v2.MsgRemoveAdminAccountResponse + (*MsgRemoveSystemAccount)(nil), // 16: florin.v2.MsgRemoveSystemAccount + (*MsgRemoveSystemAccountResponse)(nil), // 17: florin.v2.MsgRemoveSystemAccountResponse + (*MsgSetMaxMintAllowance)(nil), // 18: florin.v2.MsgSetMaxMintAllowance + (*MsgSetMaxMintAllowanceResponse)(nil), // 19: florin.v2.MsgSetMaxMintAllowanceResponse + (*MsgSetMintAllowance)(nil), // 20: florin.v2.MsgSetMintAllowance + (*MsgSetMintAllowanceResponse)(nil), // 21: florin.v2.MsgSetMintAllowanceResponse + (*MsgTransferOwnership)(nil), // 22: florin.v2.MsgTransferOwnership + (*MsgTransferOwnershipResponse)(nil), // 23: florin.v2.MsgTransferOwnershipResponse + (*anypb.Any)(nil), // 24: google.protobuf.Any +} +var file_florin_v2_tx_proto_depIdxs = []int32{ + 24, // 0: florin.v2.MsgBurn.pub_key:type_name -> google.protobuf.Any + 24, // 1: florin.v2.MsgRecover.pub_key:type_name -> google.protobuf.Any + 0, // 2: florin.v2.Msg.AcceptOwnership:input_type -> florin.v2.MsgAcceptOwnership + 2, // 3: florin.v2.Msg.AddAdminAccount:input_type -> florin.v2.MsgAddAdminAccount + 4, // 4: florin.v2.Msg.AddSystemAccount:input_type -> florin.v2.MsgAddSystemAccount + 6, // 5: florin.v2.Msg.AllowDenom:input_type -> florin.v2.MsgAllowDenom + 8, // 6: florin.v2.Msg.Burn:input_type -> florin.v2.MsgBurn + 10, // 7: florin.v2.Msg.Mint:input_type -> florin.v2.MsgMint + 12, // 8: florin.v2.Msg.Recover:input_type -> florin.v2.MsgRecover + 14, // 9: florin.v2.Msg.RemoveAdminAccount:input_type -> florin.v2.MsgRemoveAdminAccount + 16, // 10: florin.v2.Msg.RemoveSystemAccount:input_type -> florin.v2.MsgRemoveSystemAccount + 18, // 11: florin.v2.Msg.SetMaxMintAllowance:input_type -> florin.v2.MsgSetMaxMintAllowance + 20, // 12: florin.v2.Msg.SetMintAllowance:input_type -> florin.v2.MsgSetMintAllowance + 22, // 13: florin.v2.Msg.TransferOwnership:input_type -> florin.v2.MsgTransferOwnership + 1, // 14: florin.v2.Msg.AcceptOwnership:output_type -> florin.v2.MsgAcceptOwnershipResponse + 3, // 15: florin.v2.Msg.AddAdminAccount:output_type -> florin.v2.MsgAddAdminAccountResponse + 5, // 16: florin.v2.Msg.AddSystemAccount:output_type -> florin.v2.MsgAddSystemAccountResponse + 7, // 17: florin.v2.Msg.AllowDenom:output_type -> florin.v2.MsgAllowDenomResponse + 9, // 18: florin.v2.Msg.Burn:output_type -> florin.v2.MsgBurnResponse + 11, // 19: florin.v2.Msg.Mint:output_type -> florin.v2.MsgMintResponse + 13, // 20: florin.v2.Msg.Recover:output_type -> florin.v2.MsgRecoverResponse + 15, // 21: florin.v2.Msg.RemoveAdminAccount:output_type -> florin.v2.MsgRemoveAdminAccountResponse + 17, // 22: florin.v2.Msg.RemoveSystemAccount:output_type -> florin.v2.MsgRemoveSystemAccountResponse + 19, // 23: florin.v2.Msg.SetMaxMintAllowance:output_type -> florin.v2.MsgSetMaxMintAllowanceResponse + 21, // 24: florin.v2.Msg.SetMintAllowance:output_type -> florin.v2.MsgSetMintAllowanceResponse + 23, // 25: florin.v2.Msg.TransferOwnership:output_type -> florin.v2.MsgTransferOwnershipResponse + 14, // [14:26] is the sub-list for method output_type + 2, // [2:14] 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 +} + +func init() { file_florin_v2_tx_proto_init() } +func file_florin_v2_tx_proto_init() { + if File_florin_v2_tx_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_florin_v2_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAcceptOwnership); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAcceptOwnershipResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAddAdminAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAddAdminAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAddSystemAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAddSystemAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAllowDenom); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAllowDenomResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgBurn); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgBurnResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgMint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgMintResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRecover); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRecoverResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRemoveAdminAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRemoveAdminAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRemoveSystemAccount); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgRemoveSystemAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetMaxMintAllowance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetMaxMintAllowanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetMintAllowance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSetMintAllowanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgTransferOwnership); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_florin_v2_tx_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgTransferOwnershipResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_florin_v2_tx_proto_rawDesc, + NumEnums: 0, + NumMessages: 24, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_florin_v2_tx_proto_goTypes, + DependencyIndexes: file_florin_v2_tx_proto_depIdxs, + MessageInfos: file_florin_v2_tx_proto_msgTypes, + }.Build() + File_florin_v2_tx_proto = out.File + file_florin_v2_tx_proto_rawDesc = nil + file_florin_v2_tx_proto_goTypes = nil + file_florin_v2_tx_proto_depIdxs = nil +} diff --git a/api/v2/tx_grpc.pb.go b/api/v2/tx_grpc.pb.go new file mode 100644 index 00000000..4856ff3b --- /dev/null +++ b/api/v2/tx_grpc.pb.go @@ -0,0 +1,539 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.5.1 +// - protoc (unknown) +// source: florin/v2/tx.proto + +package florinv2 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + Msg_AcceptOwnership_FullMethodName = "/florin.v2.Msg/AcceptOwnership" + Msg_AddAdminAccount_FullMethodName = "/florin.v2.Msg/AddAdminAccount" + Msg_AddSystemAccount_FullMethodName = "/florin.v2.Msg/AddSystemAccount" + Msg_AllowDenom_FullMethodName = "/florin.v2.Msg/AllowDenom" + Msg_Burn_FullMethodName = "/florin.v2.Msg/Burn" + Msg_Mint_FullMethodName = "/florin.v2.Msg/Mint" + Msg_Recover_FullMethodName = "/florin.v2.Msg/Recover" + Msg_RemoveAdminAccount_FullMethodName = "/florin.v2.Msg/RemoveAdminAccount" + Msg_RemoveSystemAccount_FullMethodName = "/florin.v2.Msg/RemoveSystemAccount" + Msg_SetMaxMintAllowance_FullMethodName = "/florin.v2.Msg/SetMaxMintAllowance" + Msg_SetMintAllowance_FullMethodName = "/florin.v2.Msg/SetMintAllowance" + Msg_TransferOwnership_FullMethodName = "/florin.v2.Msg/TransferOwnership" +) + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type MsgClient interface { + AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) + AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) + AddSystemAccount(ctx context.Context, in *MsgAddSystemAccount, opts ...grpc.CallOption) (*MsgAddSystemAccountResponse, error) + AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...grpc.CallOption) (*MsgAllowDenomResponse, error) + Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) + Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) + Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) + RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) + RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystemAccount, opts ...grpc.CallOption) (*MsgRemoveSystemAccountResponse, error) + SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAllowance, opts ...grpc.CallOption) (*MsgSetMaxMintAllowanceResponse, error) + SetMintAllowance(ctx context.Context, in *MsgSetMintAllowance, opts ...grpc.CallOption) (*MsgSetMintAllowanceResponse, error) + TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) +} + +type msgClient struct { + cc grpc.ClientConnInterface +} + +func NewMsgClient(cc grpc.ClientConnInterface) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgAcceptOwnershipResponse) + err := c.cc.Invoke(ctx, Msg_AcceptOwnership_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgAddAdminAccountResponse) + err := c.cc.Invoke(ctx, Msg_AddAdminAccount_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AddSystemAccount(ctx context.Context, in *MsgAddSystemAccount, opts ...grpc.CallOption) (*MsgAddSystemAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgAddSystemAccountResponse) + err := c.cc.Invoke(ctx, Msg_AddSystemAccount_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...grpc.CallOption) (*MsgAllowDenomResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgAllowDenomResponse) + err := c.cc.Invoke(ctx, Msg_AllowDenom_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgBurnResponse) + err := c.cc.Invoke(ctx, Msg_Burn_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgMintResponse) + err := c.cc.Invoke(ctx, Msg_Mint_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgRecoverResponse) + err := c.cc.Invoke(ctx, Msg_Recover_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgRemoveAdminAccountResponse) + err := c.cc.Invoke(ctx, Msg_RemoveAdminAccount_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystemAccount, opts ...grpc.CallOption) (*MsgRemoveSystemAccountResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgRemoveSystemAccountResponse) + err := c.cc.Invoke(ctx, Msg_RemoveSystemAccount_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAllowance, opts ...grpc.CallOption) (*MsgSetMaxMintAllowanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgSetMaxMintAllowanceResponse) + err := c.cc.Invoke(ctx, Msg_SetMaxMintAllowance_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) SetMintAllowance(ctx context.Context, in *MsgSetMintAllowance, opts ...grpc.CallOption) (*MsgSetMintAllowanceResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgSetMintAllowanceResponse) + err := c.cc.Invoke(ctx, Msg_SetMintAllowance_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(MsgTransferOwnershipResponse) + err := c.cc.Invoke(ctx, Msg_TransferOwnership_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +// All implementations must embed UnimplementedMsgServer +// for forward compatibility. +type MsgServer interface { + AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error) + AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error) + AddSystemAccount(context.Context, *MsgAddSystemAccount) (*MsgAddSystemAccountResponse, error) + AllowDenom(context.Context, *MsgAllowDenom) (*MsgAllowDenomResponse, error) + Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) + Mint(context.Context, *MsgMint) (*MsgMintResponse, error) + Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error) + RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error) + RemoveSystemAccount(context.Context, *MsgRemoveSystemAccount) (*MsgRemoveSystemAccountResponse, error) + SetMaxMintAllowance(context.Context, *MsgSetMaxMintAllowance) (*MsgSetMaxMintAllowanceResponse, error) + SetMintAllowance(context.Context, *MsgSetMintAllowance) (*MsgSetMintAllowanceResponse, error) + TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) + mustEmbedUnimplementedMsgServer() +} + +// UnimplementedMsgServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedMsgServer struct{} + +func (UnimplementedMsgServer) AcceptOwnership(context.Context, *MsgAcceptOwnership) (*MsgAcceptOwnershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AcceptOwnership not implemented") +} +func (UnimplementedMsgServer) AddAdminAccount(context.Context, *MsgAddAdminAccount) (*MsgAddAdminAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddAdminAccount not implemented") +} +func (UnimplementedMsgServer) AddSystemAccount(context.Context, *MsgAddSystemAccount) (*MsgAddSystemAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddSystemAccount not implemented") +} +func (UnimplementedMsgServer) AllowDenom(context.Context, *MsgAllowDenom) (*MsgAllowDenomResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllowDenom not implemented") +} +func (UnimplementedMsgServer) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Burn not implemented") +} +func (UnimplementedMsgServer) Mint(context.Context, *MsgMint) (*MsgMintResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Mint not implemented") +} +func (UnimplementedMsgServer) Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Recover not implemented") +} +func (UnimplementedMsgServer) RemoveAdminAccount(context.Context, *MsgRemoveAdminAccount) (*MsgRemoveAdminAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveAdminAccount not implemented") +} +func (UnimplementedMsgServer) RemoveSystemAccount(context.Context, *MsgRemoveSystemAccount) (*MsgRemoveSystemAccountResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveSystemAccount not implemented") +} +func (UnimplementedMsgServer) SetMaxMintAllowance(context.Context, *MsgSetMaxMintAllowance) (*MsgSetMaxMintAllowanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetMaxMintAllowance not implemented") +} +func (UnimplementedMsgServer) SetMintAllowance(context.Context, *MsgSetMintAllowance) (*MsgSetMintAllowanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetMintAllowance not implemented") +} +func (UnimplementedMsgServer) TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TransferOwnership not implemented") +} +func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} +func (UnimplementedMsgServer) testEmbeddedByValue() {} + +// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MsgServer will +// result in compilation errors. +type UnsafeMsgServer interface { + mustEmbedUnimplementedMsgServer() +} + +func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) { + // If the following call pancis, it indicates UnimplementedMsgServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } + s.RegisterService(&Msg_ServiceDesc, srv) +} + +func _Msg_AcceptOwnership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAcceptOwnership) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AcceptOwnership(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AcceptOwnership_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AcceptOwnership(ctx, req.(*MsgAcceptOwnership)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AddAdminAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddAdminAccount) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AddAdminAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AddAdminAccount_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AddAdminAccount(ctx, req.(*MsgAddAdminAccount)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AddSystemAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddSystemAccount) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AddSystemAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AddSystemAccount_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AddSystemAccount(ctx, req.(*MsgAddSystemAccount)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AllowDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAllowDenom) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AllowDenom(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AllowDenom_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AllowDenom(ctx, req.(*MsgAllowDenom)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBurn) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Burn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_Burn_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Burn(ctx, req.(*MsgBurn)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Mint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMint) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Mint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_Mint_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Mint(ctx, req.(*MsgMint)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Recover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRecover) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Recover(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_Recover_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Recover(ctx, req.(*MsgRecover)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_RemoveAdminAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRemoveAdminAccount) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).RemoveAdminAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_RemoveAdminAccount_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).RemoveAdminAccount(ctx, req.(*MsgRemoveAdminAccount)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_RemoveSystemAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRemoveSystemAccount) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).RemoveSystemAccount(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_RemoveSystemAccount_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).RemoveSystemAccount(ctx, req.(*MsgRemoveSystemAccount)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_SetMaxMintAllowance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetMaxMintAllowance) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetMaxMintAllowance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_SetMaxMintAllowance_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetMaxMintAllowance(ctx, req.(*MsgSetMaxMintAllowance)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_SetMintAllowance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetMintAllowance) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetMintAllowance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_SetMintAllowance_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetMintAllowance(ctx, req.(*MsgSetMintAllowance)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_TransferOwnership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgTransferOwnership) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).TransferOwnership(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_TransferOwnership_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).TransferOwnership(ctx, req.(*MsgTransferOwnership)) + } + return interceptor(ctx, in, info, handler) +} + +// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var Msg_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "florin.v2.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AcceptOwnership", + Handler: _Msg_AcceptOwnership_Handler, + }, + { + MethodName: "AddAdminAccount", + Handler: _Msg_AddAdminAccount_Handler, + }, + { + MethodName: "AddSystemAccount", + Handler: _Msg_AddSystemAccount_Handler, + }, + { + MethodName: "AllowDenom", + Handler: _Msg_AllowDenom_Handler, + }, + { + MethodName: "Burn", + Handler: _Msg_Burn_Handler, + }, + { + MethodName: "Mint", + Handler: _Msg_Mint_Handler, + }, + { + MethodName: "Recover", + Handler: _Msg_Recover_Handler, + }, + { + MethodName: "RemoveAdminAccount", + Handler: _Msg_RemoveAdminAccount_Handler, + }, + { + MethodName: "RemoveSystemAccount", + Handler: _Msg_RemoveSystemAccount_Handler, + }, + { + MethodName: "SetMaxMintAllowance", + Handler: _Msg_SetMaxMintAllowance_Handler, + }, + { + MethodName: "SetMintAllowance", + Handler: _Msg_SetMintAllowance_Handler, + }, + { + MethodName: "TransferOwnership", + Handler: _Msg_TransferOwnership_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "florin/v2/tx.proto", +} diff --git a/buf.yaml b/buf.yaml index 1bb1775f..2d4c6810 100644 --- a/buf.yaml +++ b/buf.yaml @@ -12,6 +12,3 @@ lint: - SERVICE_SUFFIX - RPC_REQUEST_STANDARD_NAME - RPC_RESPONSE_STANDARD_NAME -breaking: - except: - - FILE_SAME_GO_PACKAGE diff --git a/go.work.sum b/go.work.sum index 1e787f79..1d7c15e5 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,5 +1,6 @@ bitbucket.org/creachadair/shell v0.0.6 h1:reJflDbKqnlnqb4Oo2pQ1/BqmY/eCWcNGHrIUO8qIzc= bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M= +cel.dev/expr v0.15.0 h1:O1jzfJCQBfL5BFoYktaxwIhuttaQPsVWerH9/EEKx0w= cel.dev/expr v0.15.0/go.mod h1:TRSuuV7DlVCE/uwv5QbAiW/v8l5O8C4eEPHeu7gf7Sg= cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0 h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg= @@ -13,11 +14,13 @@ cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM= cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4= cloud.google.com/go v0.112.1 h1:uJSeirPke5UNZHIb4SxfZklVSiWWVqW4oXlETwZziwM= cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4= +cloud.google.com/go v0.115.1 h1:Jo0SM9cQnSkYfp44+v+NQXHpcHqlnRJk2qxh6yvxxxQ= cloud.google.com/go v0.115.1/go.mod h1:DuujITeaufu3gL68/lOFIirVNJwQeyf5UXyi+Wbgknc= cloud.google.com/go/accessapproval v1.7.5 h1:uzmAMSgYcnlHa9X9YSQZ4Q1wlfl4NNkZyQgho1Z6p04= cloud.google.com/go/accessapproval v1.7.5/go.mod h1:g88i1ok5dvQ9XJsxpUInWWvUBrIZhyPDPbk4T01OoJ0= cloud.google.com/go/accesscontextmanager v1.8.5 h1:2GLNaNu9KRJhJBFTIVRoPwk6xE5mUDgD47abBq4Zp/I= cloud.google.com/go/accesscontextmanager v1.8.5/go.mod h1:TInEhcZ7V9jptGNqN3EzZ5XMhT6ijWxTGjzyETwmL0Q= +cloud.google.com/go/ai v0.8.0 h1:rXUEz8Wp2OlrM8r1bfmpF2+VKqc1VJpafE3HgzRnD/w= cloud.google.com/go/ai v0.8.0/go.mod h1:t3Dfk4cM61sytiggo2UyGsDVW3RF1qGZaUKDrZFyqkE= cloud.google.com/go/aiplatform v1.60.0 h1:0cSrii1ZeLr16MbBoocyy5KVnrSdiQ3KN/vtrTe7RqE= cloud.google.com/go/aiplatform v1.60.0/go.mod h1:eTlGuHOahHprZw3Hio5VKmtThIOak5/qy6pzdsqcQnM= @@ -41,7 +44,9 @@ cloud.google.com/go/asset v1.17.2 h1:xgFnBP3luSbUcC9RWJvb3Zkt+y/wW6PKwPHr3ssnIP8 cloud.google.com/go/asset v1.17.2/go.mod h1:SVbzde67ehddSoKf5uebOD1sYw8Ab/jD/9EIeWg99q4= cloud.google.com/go/assuredworkloads v1.11.5 h1:gCrN3IyvqY3cP0wh2h43d99CgH3G+WYs9CeuFVKChR8= cloud.google.com/go/assuredworkloads v1.11.5/go.mod h1:FKJ3g3ZvkL2D7qtqIGnDufFkHxwIpNM9vtmhvt+6wqk= +cloud.google.com/go/auth v0.9.3 h1:VOEUIAADkkLtyfr3BLa3R8Ed/j6w1jTBmARx+wb5w5U= cloud.google.com/go/auth v0.9.3/go.mod h1:7z6VY+7h3KUdRov5F1i8NDP5ZzWKYmEPO842BgCsmTk= +cloud.google.com/go/auth/oauth2adapt v0.2.4 h1:0GWE/FUsXhf6C+jAkWgYm7X9tK8cuEIfy19DBn6B6bY= cloud.google.com/go/auth/oauth2adapt v0.2.4/go.mod h1:jC/jOpwFP6JBxhB3P5Rr0a9HLMC/Pe3eaL4NmdvqPtc= cloud.google.com/go/automl v1.13.5 h1:ijiJy9sYWh75WrqImXsfWc1e3HR3iO+ef9fvW03Ig/4= cloud.google.com/go/automl v1.13.5/go.mod h1:MDw3vLem3yh+SvmSgeYUmUKqyls6NzSumDm9OJ3xJ1Y= @@ -77,6 +82,7 @@ cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGB cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= +cloud.google.com/go/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY= cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY= cloud.google.com/go/contactcenterinsights v1.13.0 h1:6Vs/YnDG5STGjlWMEjN/xtmft7MrOTOnOZYUZtGTx0w= cloud.google.com/go/contactcenterinsights v1.13.0/go.mod h1:ieq5d5EtHsu8vhe2y3amtZ+BE+AQwX5qAy7cpo0POsI= @@ -166,6 +172,7 @@ cloud.google.com/go/logging v1.9.0/go.mod h1:1Io0vnZv4onoUnsVUQY3HZ3Igb1nBchky0A cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/longrunning v0.5.5 h1:GOE6pZFdSrTb4KAiKnXsJBtlE6mEyaW44oKyMILWnOg= cloud.google.com/go/longrunning v0.5.5/go.mod h1:WV2LAxD8/rg5Z1cNW6FJ/ZpX4E4VnDnoTk0yawPBB7s= +cloud.google.com/go/longrunning v0.5.7 h1:WLbHekDbjK1fVFD3ibpFFVoyizlLRl73I7YKuAKilhU= cloud.google.com/go/longrunning v0.5.7/go.mod h1:8GClkudohy1Fxm3owmBGid8W0pSgodEMwEAztp38Xng= cloud.google.com/go/managedidentities v1.6.5 h1:+bpih1piZVLxla/XBqeSUzJBp8gv9plGHIMAI7DLpDM= cloud.google.com/go/managedidentities v1.6.5/go.mod h1:fkFI2PwwyRQbjLxlm5bQ8SjtObFMW3ChBGNqaMcgZjI= @@ -509,6 +516,7 @@ github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe h1:QQ3GSy+MqSHxm/d8nC github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20240318125728-8a4994d93e50 h1:DBmgJDC9dTfkVyGgipamEh2BpGYxScCH1TOF1LL1cXc= github.com/cncf/xds/go v0.0.0-20240318125728-8a4994d93e50/go.mod h1:5e1+Vvlzido69INQaVO6d87Qn543Xr6nooe9Kz7oBFM= +github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b h1:ga8SEFjZ60pxLcmhnThWgvH2wg8376yUJmPhEH4H3kw= github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8= github.com/cockroachdb/datadriven v1.0.0/go.mod h1:5Ib8Meh+jk1RlHIXej6Pzevx/NLlNvQB9pmSBZErGA4= github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU= @@ -560,6 +568,7 @@ github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cristalhq/acmd v0.11.1 h1:DJ4fh2Pv0nPKmqT646IU/0Vh5FNdGblxvF+3/W3NAUI= github.com/cristalhq/acmd v0.11.1/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ= +github.com/cristalhq/acmd v0.12.0 h1:RdlKnxjN+txbQosg8p/TRNZ+J1Rdne43MVQZ1zDhGWk= github.com/cristalhq/acmd v0.12.0/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= @@ -609,6 +618,7 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.12.0 h1:4X+VP1GHd1Mhj6IB5mMeGbLCleqxjletLK6K0rbxyZI= github.com/envoyproxy/go-control-plane v0.12.0/go.mod h1:ZBTaoJ23lqITozF0M6G4/IragXCQKCnYbmlmtHvwRG0= +github.com/envoyproxy/go-control-plane v0.12.1-0.20240621013728-1eb8caab5155 h1:IgJPqnrlY2Mr4pYB6oaMKvFvwJ9H+X6CCY5x1vCTcpc= github.com/envoyproxy/go-control-plane v0.12.1-0.20240621013728-1eb8caab5155/go.mod h1:5Wkq+JduFtdAXihLmeTJf+tRYIT4KBc2vPXDhwVo1pA= github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A= @@ -693,6 +703,7 @@ github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= @@ -714,6 +725,7 @@ github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LB github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= +github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8= github.com/go-toolsmith/astequal v1.2.0 h1:3Fs3CYZ1k9Vo4FzFhwwewC3CHISHDnVUPC4x0bI2+Cw= github.com/go-viper/mapstructure/v2 v2.1.0 h1:gHnMa2Y/pIxElCH2GlZZ1lZSsn6XMtufpGyP1XxdC/w= @@ -748,6 +760,7 @@ github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188 h1:+eHOFJl1BaXrQ github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188/go.mod h1:vXjM/+wXQnTPR4KqTKDgJukSZ6amVRtWMPEjE6sQoK8= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -782,6 +795,7 @@ github.com/google/certificate-transparency-go v1.1.1 h1:6JHXZhXEvilMcTjR4MGZn5KV github.com/google/certificate-transparency-go v1.1.1/go.mod h1:FDKqPvSXawb2ecErVRrD+nfy23RCzyl7eqVCEmlT1Zs= github.com/google/flatbuffers v23.5.26+incompatible h1:M9dgRyhJemaM4Sw8+66GHBu8ioaQmyPLg1b8VwK5WJg= github.com/google/flatbuffers v23.5.26+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/generative-ai-go v0.17.0 h1:kUmCXUIwJouD7I7ev3OmxzzQVICyhIWAxaXk2yblCMY= github.com/google/generative-ai-go v0.17.0/go.mod h1:JYolL13VG7j79kM5BtHz4qwONHkeJQzOCkKXnpqtS/E= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= @@ -802,10 +816,12 @@ github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= +github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 h1:5iH8iuqE5apketRbSFBy+X1V0o+l+8NF1avt4HWl7cA= github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA= github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= +github.com/google/s2a-go v0.1.8 h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM= github.com/google/s2a-go v0.1.8/go.mod h1:6iNWHTpQ+nfNRN5E00MSdfDwVesa8hhS32PhPO8deJA= github.com/google/safehtml v0.0.2 h1:ZOt2VXg4x24bW0m2jtzAOkhoXV0iM8vNKc0paByCZqM= github.com/google/safehtml v0.0.2/go.mod h1:L4KWwDsUJdECRAEpZoBn3O64bQaywRscowZjJAzjHnU= @@ -822,6 +838,7 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= +github.com/googleapis/enterprise-certificate-proxy v0.3.3 h1:QRje2j5GZimBzlbhGA2V2QlGNgL8G6e+wGo/+/2bWI0= github.com/googleapis/enterprise-certificate-proxy v0.3.3/go.mod h1:YKe7cfqYXjKGpGvmSg28/fFvhNzinZQm8DGnaburhGA= github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e h1:CYRpN206UTHUinz3VJoLaBdy1gEGeJNsqT0mvswDcMw= github.com/googleapis/gax-go v0.0.0-20161107002406-da06d194a00e/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= @@ -832,6 +849,7 @@ github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUh github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc= github.com/googleapis/gax-go/v2 v2.12.3 h1:5/zPPDvw8Q1SuXjrqrZslrqT7dL/uJT2CQii/cLCKqA= github.com/googleapis/gax-go/v2 v2.12.3/go.mod h1:AKloxT6GtNbaLm8QTNSidHUVsHYcBHwWRvkNFJUQcS4= +github.com/googleapis/gax-go/v2 v2.13.0 h1:yitjD5f7jQHhyDsnhKEBU52NdvvdSeGzlAnDPT0hH1s= github.com/googleapis/gax-go/v2 v2.13.0/go.mod h1:Z/fvTZXF8/uw7Xu5GuslPw+bplx6SS338j1Is2S+B7A= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720 h1:zC34cGQu69FG7qzJ3WiKW244WfhDC3xxYMeNOX2gtUQ= @@ -1203,9 +1221,11 @@ github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2f github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0= github.com/onsi/ginkgo/v2 v2.12.0/go.mod h1:ZNEzXISYlqpb8S36iN71ifqLi3vVD1rVJGvWRCJOUpQ= +github.com/onsi/ginkgo/v2 v2.20.2 h1:7NVCeyIWROIAheY21RLS+3j2bb52W0W82tkberYytp4= github.com/onsi/ginkgo/v2 v2.20.2/go.mod h1:K9gyxPIlb+aIvnZ8bd9Ak+YP18w3APlR+5coaZoE2ag= github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8= github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= @@ -1221,6 +1241,7 @@ github.com/openzipkin/zipkin-go v0.2.5 h1:UwtQQx2pyPIgWYHRg+epgdx1/HnBQTgN3/oIYE github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE= github.com/ory/dockertest/v3 v3.9.1 h1:v4dkG+dlu76goxMiTT2j8zV7s4oPPEppKT8K8p2f1kY= github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnztDYOJ//uM= +github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU= github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w= github.com/otiai10/curr v1.0.0 h1:TJIWdbX0B+kpNagQrjgq8bCMrbhiuX73M2XwgtDMoOI= github.com/otiai10/mint v1.3.1 h1:BCmzIS3n71sGfHB5NMNDB3lHYPz8fWSkCAErHed//qc= @@ -1259,6 +1280,7 @@ github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZ github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pkg/sftp v1.13.6 h1:JFZT4XbOU7l77xGSpOdW+pwIMqP044IyjXX6FGyEKFo= github.com/pkg/sftp v1.13.6/go.mod h1:tz1ryNURKu77RL+GuCzmoJYxQczL3wLNNpPWagdg4Qk= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/polyfloyd/go-errorlint v1.6.0 h1:tftWV9DE7txiFzPpztTAwyoRLKNj9gpVm2cg8/OwcYY= @@ -1344,6 +1366,7 @@ github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E= github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA= +github.com/shirou/gopsutil/v3 v3.24.5 h1:i0t8kL+kQTvpAYToeuiVk3TgDeKOFioZO3Ztz/iZ9pI= github.com/shirou/gopsutil/v3 v3.24.5/go.mod h1:bsoOS1aStSs9ErQ1WWfxllSeS1K5D+U30r2NfcubMVk= github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= @@ -1433,6 +1456,7 @@ github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQ github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/quicktemplate v1.7.0 h1:LUPTJmlVcb46OOUY3IeD9DojFpAVbsG+5WFTcjMJzCM= github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8= +github.com/valyala/quicktemplate v1.8.0 h1:zU0tjbIqTRgKQzFY1L42zq0qR3eh4WoQQdIdqCysW5k= github.com/valyala/quicktemplate v1.8.0/go.mod h1:qIqW8/igXt8fdrUln5kOSb+KWMaJ4Y8QUsfd1k6L2jM= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= github.com/valyala/tcplisten v1.0.0 h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8= @@ -1482,6 +1506,7 @@ github.com/yuin/goldmark v1.2.1 h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM= github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw= github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= @@ -1524,11 +1549,13 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.4 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 h1:r6I7RJCN86bpD/FQwedZ0vSixDpwuWREjW9oRMsmqDc= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0/go.mod h1:B9yO6b04uB80CzjedvewuqDhxJxi11s7/GtiGa8bAjI= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0/go.mod h1:rdENBZMT2OE6Ne/KLwpiXudnAsbdrdBaqBvTN8M8BgA= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 h1:TT4fX+nBOA/+LUkobKGW1ydGcn+G3vRw9+g5HwCphpk= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0/go.mod h1:L7UH0GbB0p47T4Rri3uHjbpCFYrVrwc1I25QhNPiGK8= go.opentelemetry.io/otel v1.14.0 h1:/79Huy8wbf5DnIPhemGB+zEPVwnN6fuQybr/SRXa6hM= go.opentelemetry.io/otel v1.14.0/go.mod h1:o4buv+dJzx8rohcUeRmWUZhqupFvzWis188WlggnNeU= @@ -1536,11 +1563,13 @@ go.opentelemetry.io/otel v1.22.0/go.mod h1:eoV4iAi3Ea8LkAEI9+GFT44O6T/D0GWAVFyZV go.opentelemetry.io/otel v1.23.0/go.mod h1:YCycw9ZeKhcJFrb34iVSkyT0iczq/zYDtZYFufObyB0= go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= +go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw= go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= go.opentelemetry.io/otel/metric v1.22.0/go.mod h1:evJGjVpZv0mQ5QBRJoBF64yMuOf4xCWdXjK8pzFvliY= go.opentelemetry.io/otel/metric v1.23.0/go.mod h1:MqUW2X2a6Q8RN96E2/nqNoT+z9BSms20Jb7Bbp+HiTo= go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= +go.opentelemetry.io/otel/metric v1.29.0 h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc= go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= go.opentelemetry.io/otel/sdk v1.14.0 h1:PDCppFRDq8A1jL9v6KMI6dYesaq+DFcDZvjsoGvxGzY= go.opentelemetry.io/otel/sdk v1.14.0/go.mod h1:bwIC5TjrNG6QDCHNWvW4HLHtUQ4I+VQDsnjhvyZCALM= @@ -1553,6 +1582,7 @@ go.opentelemetry.io/otel/trace v1.22.0/go.mod h1:RbbHXVqKES9QhzZq/fE5UnOSILqRt40 go.opentelemetry.io/otel/trace v1.23.0/go.mod h1:GSGTbIClEsuZrGIzoEHqsVfxgn5UkggkflQwDScNUsk= go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= +go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4= go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= go.opentelemetry.io/proto/otlp v0.7.0 h1:rwOQPCuKAKmwGKq2aVNnYIibI6wnV7EvzgfTCzcdGg8= go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= @@ -1560,6 +1590,7 @@ go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v8 go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/automaxprocs v1.5.3 h1:kWazyxZUrS3Gs4qUpbwo5kEIMGe/DAvi5Z4tl2NW4j8= go.uber.org/automaxprocs v1.5.3/go.mod h1:eRbA25aqJrxAbsLO0xy5jVwPt7FQnRgjW+efnwa1WM0= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= @@ -1667,6 +1698,7 @@ golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs= golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA= golang.org/x/oauth2 v0.22.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5 h1:ObuXPmIgI4ZMyQLIz48cJYgSyWdjUXc2SZAdyJMwEAU= golang.org/x/perf v0.0.0-20230113213139-801c7ef9e5c5/go.mod h1:UBKtEnL8aqnd+0JHqZ+2qoMDwtuy6cYhhKNoHLBiTQc= @@ -1724,6 +1756,7 @@ golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2 h1:IRJeR9r1pYWsHKTRe/IInb7lYvbBVIqOgsX/u0mbOWY= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= +golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457 h1:zf5N6UOrA487eEFacMePxjXAJctxKmyjKUsjA11Uzuk= golang.org/x/telemetry v0.0.0-20240521205824-bda55230c457/go.mod h1:pRgIJT+bRLFKnoM1ldnzKoxTIn14Yxz928LQRYYgIN0= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= @@ -1742,6 +1775,7 @@ golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= +golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181221001348-537d06c36207/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1809,6 +1843,7 @@ google.golang.org/api v0.169.0 h1:QwWPy71FgMWqJN/l6jVlFHUa29a7dcUy02I8o799nPY= google.golang.org/api v0.169.0/go.mod h1:gpNOiMA2tZ4mf5R9Iwf4rK/Dcz0fbdIgWYWVoxmsyLg= google.golang.org/api v0.171.0 h1:w174hnBPqut76FzW5Qaupt7zY8Kql6fiVjgys4f58sU= google.golang.org/api v0.171.0/go.mod h1:Hnq5AHm4OTMt2BUVjael2CWZFD6vksJdWCWiUAmjC9o= +google.golang.org/api v0.196.0 h1:k/RafYqebaIJBO3+SMnfEGtFVlvp5vSgqTUF54UN/zg= google.golang.org/api v0.196.0/go.mod h1:g9IL21uGkYgvQ5BZg6BAtoGJQIm8r6EgaAbpNey5wBE= google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= diff --git a/keeper/msg_server_test.go b/keeper/msg_server_test.go index 448dd1f3..1e764b91 100644 --- a/keeper/msg_server_test.go +++ b/keeper/msg_server_test.go @@ -109,7 +109,7 @@ func TestAcceptOwnership(t *testing.T) { require.Empty(t, k.GetPendingOwner(ctx, "ueure")) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.OwnershipTransferred", events[0].Type) + require.Equal(t, "florin.v2.OwnershipTransferred", events[0].Type) } func TestAddAdminAccount(t *testing.T) { @@ -174,7 +174,7 @@ func TestAddAdminAccount(t *testing.T) { require.True(t, k.IsAdmin(ctx, "ueure", admin.Address)) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.AdminAccountAdded", events[0].Type) + require.Equal(t, "florin.v2.AdminAccountAdded", events[0].Type) } func TestAddSystemAccount(t *testing.T) { @@ -239,7 +239,7 @@ func TestAddSystemAccount(t *testing.T) { require.True(t, k.IsSystem(ctx, "ueure", system.Address)) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.SystemAccountAdded", events[0].Type) + require.Equal(t, "florin.v2.SystemAccountAdded", events[0].Type) } func TestAllowDenom(t *testing.T) { @@ -310,7 +310,7 @@ func TestAllowDenom(t *testing.T) { require.Equal(t, owner.Address, k.GetOwner(ctx, "uusde")) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.DenomAllowed", events[0].Type) + require.Equal(t, "florin.v2.DenomAllowed", events[0].Type) } func TestBurn(t *testing.T) { @@ -523,7 +523,7 @@ func TestMint(t *testing.T) { require.True(t, k.GetMintAllowance(ctx, "ueure", system.Address).IsZero()) events := ctx.EventManager().Events() require.Len(t, events, 2) - require.Equal(t, "florin.v1.MintAllowance", events[1].Type) + require.Equal(t, "florin.v2.MintAllowance", events[1].Type) } func TestRecover(t *testing.T) { @@ -655,7 +655,7 @@ func TestRecover(t *testing.T) { require.Equal(t, One, bank.Balances[recipient.Address].AmountOf("ueure")) events := ctx.EventManager().Events() require.Len(t, events, 2) - require.Equal(t, "florin.v1.Recovered", events[1].Type) + require.Equal(t, "florin.v2.Recovered", events[1].Type) } func TestRemoveAdminAccount(t *testing.T) { @@ -723,7 +723,7 @@ func TestRemoveAdminAccount(t *testing.T) { require.False(t, k.IsAdmin(ctx, "ueure", admin.Address)) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.AdminAccountRemoved", events[0].Type) + require.Equal(t, "florin.v2.AdminAccountRemoved", events[0].Type) } func TestRemoveSystemAccount(t *testing.T) { @@ -791,7 +791,7 @@ func TestRemoveSystemAccount(t *testing.T) { require.False(t, k.IsSystem(ctx, "ueure", system.Address)) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.SystemAccountRemoved", events[0].Type) + require.Equal(t, "florin.v2.SystemAccountRemoved", events[0].Type) } func TestSetMaxMintAllowance(t *testing.T) { @@ -854,7 +854,7 @@ func TestSetMaxMintAllowance(t *testing.T) { require.Equal(t, MaxMintAllowance, k.GetMaxMintAllowance(ctx, "ueure")) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.MaxMintAllowance", events[0].Type) + require.Equal(t, "florin.v2.MaxMintAllowance", events[0].Type) } func TestSetMintAllowance(t *testing.T) { @@ -936,7 +936,7 @@ func TestSetMintAllowance(t *testing.T) { require.Equal(t, One, k.GetMintAllowance(ctx, "ueure", minter.Address)) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.MintAllowance", events[0].Type) + require.Equal(t, "florin.v2.MintAllowance", events[0].Type) } func TestTransferOwnership(t *testing.T) { @@ -1011,5 +1011,5 @@ func TestTransferOwnership(t *testing.T) { require.Equal(t, pendingOwner.Address, k.GetPendingOwner(ctx, "ueure")) events := ctx.EventManager().Events() require.Len(t, events, 1) - require.Equal(t, "florin.v1.OwnershipTransferStarted", events[0].Type) + require.Equal(t, "florin.v2.OwnershipTransferStarted", events[0].Type) } diff --git a/proto/florin/module/v1/module.proto b/proto/florin/module/v1/module.proto index cde8b9cf..a196a99e 100644 --- a/proto/florin/module/v1/module.proto +++ b/proto/florin/module/v1/module.proto @@ -6,7 +6,7 @@ import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the Florin module. message Module { - option (cosmos.app.v1alpha1.module) = {go_import: "github.com/monerium/module-noble/v2/x/florin"}; + option (cosmos.app.v1alpha1.module) = {go_import: "github.com/monerium/module-noble/v2"}; // authority is the address that controls allowed denoms of this module. string authority = 1; diff --git a/proto/florin/v1/tx.proto b/proto/florin/v1/tx.proto index bf5a2632..ac4688f7 100644 --- a/proto/florin/v1/tx.proto +++ b/proto/florin/v1/tx.proto @@ -6,90 +6,15 @@ import "amino/amino.proto"; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -option go_package = "github.com/monerium/module-noble/v2/types"; +option go_package = "github.com/monerium/module-noble/v2/types/v1"; service Msg { - option (cosmos.msg.v1.service) = true; - - rpc AcceptOwnership(MsgAcceptOwnership) returns (MsgAcceptOwnershipResponse); - rpc AddAdminAccount(MsgAddAdminAccount) returns (MsgAddAdminAccountResponse); - rpc AddSystemAccount(MsgAddSystemAccount) returns (MsgAddSystemAccountResponse); - rpc AllowDenom(MsgAllowDenom) returns (MsgAllowDenomResponse); rpc Burn(MsgBurn) returns (MsgBurnResponse); rpc Mint(MsgMint) returns (MsgMintResponse); rpc Recover(MsgRecover) returns (MsgRecoverResponse); - rpc RemoveAdminAccount(MsgRemoveAdminAccount) returns (MsgRemoveAdminAccountResponse); - rpc RemoveSystemAccount(MsgRemoveSystemAccount) returns (MsgRemoveSystemAccountResponse); - rpc SetMaxMintAllowance(MsgSetMaxMintAllowance) returns (MsgSetMaxMintAllowanceResponse); - rpc SetMintAllowance(MsgSetMintAllowance) returns (MsgSetMintAllowanceResponse); - rpc TransferOwnership(MsgTransferOwnership) returns (MsgTransferOwnershipResponse); -} - -// MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method. -message MsgAcceptOwnership { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/AcceptOwnership"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgAcceptOwnershipResponse is the response of the AcceptOwnership action. -message MsgAcceptOwnershipResponse {} - -// MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method. -message MsgAddAdminAccount { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/AddAdminAccount"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgAddAdminAccountResponse is the response of the AddAminAccount action. -message MsgAddAdminAccountResponse {} - -// MsgAddSystemAccount implements the addSystemAccount (0xa84c56d0) method. -message MsgAddSystemAccount { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/AddSystemAccount"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgAddSystemAccountResponse is the response of the AddSystemAccount action. -message MsgAddSystemAccountResponse {} - -// MsgAllowDenom is the request of the AllowDenom action. -message MsgAllowDenom { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/AllowDenom"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string signer = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string denom = 2; - string owner = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } -// MsgAllowDenomResponse is the response of the AllowDenom action. -message MsgAllowDenomResponse {} - // MsgBurn implements the burn (0x8d1247ba) method. message MsgBurn { option (cosmos.msg.v1.signer) = "signer"; @@ -108,7 +33,6 @@ message MsgBurn { (gogoproto.nullable) = false ]; bytes signature = 5; - google.protobuf.Any pub_key = 6; } // MsgBurnResponse is the response of the Burn action. @@ -149,99 +73,7 @@ message MsgRecover { string from = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; string to = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; bytes signature = 5; - google.protobuf.Any pub_key = 6; } // MsgRecoverResponse is the response of the Recover action. message MsgRecoverResponse {} - -// MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method. -message MsgRemoveAdminAccount { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/RemoveAdminAccount"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action. -message MsgRemoveAdminAccountResponse {} - -// MsgRemoveSystemAccount implements the removeSystemAccount (0xebbc3d46) method. -message MsgRemoveSystemAccount { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/RemoveSystemAccount"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgRemoveSystemAccountResponse is the response of the RemoveSystemAccount action. -message MsgRemoveSystemAccountResponse {} - -// MsgSetMaxMintAllowance implements the setMaxMintAllowance (0xfd2319c4) method. -message MsgSetMaxMintAllowance { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/SetMaxMintAllowance"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string amount = 3 [ - (amino.dont_omitempty) = true, - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "cosmossdk.io/math.Int", - (gogoproto.nullable) = false - ]; -} - -// MsgSetMaxMintAllowanceResponse is the response of the SetMaxMintAllowance action. -message MsgSetMaxMintAllowanceResponse {} - -// MsgSetMintAllowance implements the setMintAllowance (0xf27c5f6e) method. -message MsgSetMintAllowance { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/SetMintAllowance"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string amount = 4 [ - (amino.dont_omitempty) = true, - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "cosmossdk.io/math.Int", - (gogoproto.nullable) = false - ]; -} - -// MsgSetMintAllowanceResponse is the response of the SetMintAllowance action. -message MsgSetMintAllowanceResponse {} - -// MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method. -message MsgTransferOwnership { - option (cosmos.msg.v1.signer) = "signer"; - option (amino.name) = "florin/TransferOwnership"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string new_owner = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgTransferOwnershipResponse is the response of the TransferOwnership action. -message MsgTransferOwnershipResponse {} diff --git a/proto/florin/v1/events.proto b/proto/florin/v2/events.proto similarity index 99% rename from proto/florin/v1/events.proto rename to proto/florin/v2/events.proto index e422632b..633d4e6b 100644 --- a/proto/florin/v1/events.proto +++ b/proto/florin/v2/events.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package florin.v1; +package florin.v2; import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/florin/v1/genesis.proto b/proto/florin/v2/genesis.proto similarity index 69% rename from proto/florin/v1/genesis.proto rename to proto/florin/v2/genesis.proto index 923d14dd..bf1b89d4 100644 --- a/proto/florin/v1/genesis.proto +++ b/proto/florin/v2/genesis.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package florin.v1; +package florin.v2; import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; @@ -13,26 +13,23 @@ message GenesisState { // blacklist_state is the genesis state of the blacklist submodule. florin.blacklist.v1.GenesisState blacklist_state = 1 [(gogoproto.nullable) = false]; - // authority is the address that controls allowed denoms of this module. - // Deprecated and moved to a variable set upon Keeper initialization. - string authority = 2 [deprecated = true]; // allowed_denoms is a unique list of denoms that this module is allowed to burn / mint / etc. - repeated string allowed_denoms = 3; + repeated string allowed_denoms = 2; // owners is a mapping between denoms and owner addresses for those tokens. - map owners = 4; + map owners = 3; // pending_owners is the mapping between denoms and pending owner addresses. - map pending_owners = 5; + map pending_owners = 4; // systems is the list of addresses that can act as the system. - repeated Account systems = 6 [(gogoproto.nullable) = false]; + repeated Account systems = 5 [(gogoproto.nullable) = false]; // admins is the list of addresses that can act as the admin. - repeated Account admins = 7 [(gogoproto.nullable) = false]; + repeated Account admins = 6 [(gogoproto.nullable) = false]; // mint_allowances is a list of system accounts and their mint allowances. - repeated Allowance mint_allowances = 8 [(gogoproto.nullable) = false]; + repeated Allowance mint_allowances = 7 [(gogoproto.nullable) = false]; // max_mint_allowances is a mapping between denoms and max mint allowances. - map max_mint_allowances = 9; + map max_mint_allowances = 8; } message Account { diff --git a/proto/florin/v1/query.proto b/proto/florin/v2/query.proto similarity index 67% rename from proto/florin/v1/query.proto rename to proto/florin/v2/query.proto index e9b0ed05..a6b3f3e2 100644 --- a/proto/florin/v1/query.proto +++ b/proto/florin/v2/query.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package florin.v1; +package florin.v2; import "amino/amino.proto"; import "cosmos/query/v1/query.proto"; import "cosmos_proto/cosmos.proto"; -import "florin/v1/genesis.proto"; +import "florin/v2/genesis.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -14,56 +14,67 @@ option go_package = "github.com/monerium/module-noble/v2/types"; service Query { rpc Authority(QueryAuthority) returns (QueryAuthorityResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/authority"; + option (google.api.http).get = "/florin/v2/authority"; } rpc AllowedDenoms(QueryAllowedDenoms) returns (QueryAllowedDenomsResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/allowed_denoms"; + option (google.api.http).get = "/florin/v2/allowed_denoms"; + option (google.api.http).additional_bindings = {get: "/florin/v1/allowed_denoms"}; } rpc Owners(QueryOwners) returns (QueryOwnersResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/owners"; + option (google.api.http).get = "/florin/v2/owners"; + option (google.api.http).additional_bindings = {get: "/florin/v1/owners"}; } rpc Owner(QueryOwner) returns (QueryOwnerResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/owner/{denom}"; + option (google.api.http).get = "/florin/v2/owner/{denom}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/owner/{denom}"}; } rpc Systems(QuerySystems) returns (QuerySystemsResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/systems"; + option (google.api.http).get = "/florin/v2/systems"; + option (google.api.http).additional_bindings = {get: "/florin/v1/systems"}; } rpc SystemsByDenom(QuerySystemsByDenom) returns (QuerySystemsByDenomResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/systems/{denom}"; + option (google.api.http).get = "/florin/v2/systems/{denom}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/systems/{denom}"}; } rpc Admins(QueryAdmins) returns (QueryAdminsResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/admins"; + option (google.api.http).get = "/florin/v2/admins"; + option (google.api.http).additional_bindings = {get: "/florin/v1/admins"}; } rpc AdminsByDenom(QueryAdminsByDenom) returns (QueryAdminsByDenomResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/admins/{denom}"; + option (google.api.http).get = "/florin/v2/admins/{denom}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/admins/{denom}"}; } rpc MaxMintAllowances(QueryMaxMintAllowances) returns (QueryMaxMintAllowancesResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/max_mint_allowances"; + option (google.api.http).get = "/florin/v2/max_mint_allowances"; + option (google.api.http).additional_bindings = {get: "/florin/v1/max_mint_allowances"}; } rpc MaxMintAllowance(QueryMaxMintAllowance) returns (QueryMaxMintAllowanceResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/max_mint_allowance/{denom}"; + option (google.api.http).get = "/florin/v2/max_mint_allowance/{denom}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/max_mint_allowance/{denom}"}; } rpc MintAllowances(QueryMintAllowances) returns (QueryMintAllowancesResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/mint_allowances/{denom}"; + option (google.api.http).get = "/florin/v2/mint_allowances/{denom}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/mint_allowances/{denom}"}; } rpc MintAllowance(QueryMintAllowance) returns (QueryMintAllowanceResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/florin/v1/mint_allowance/{denom}/{account}"; + option (google.api.http).get = "/florin/v2/mint_allowance/{denom}/{account}"; + option (google.api.http).additional_bindings = {get: "/florin/v1/mint_allowance/{denom}/{account}"}; } } diff --git a/proto/florin/v2/tx.proto b/proto/florin/v2/tx.proto new file mode 100644 index 00000000..401096a1 --- /dev/null +++ b/proto/florin/v2/tx.proto @@ -0,0 +1,247 @@ +syntax = "proto3"; + +package florin.v2; + +import "amino/amino.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; + +option go_package = "github.com/monerium/module-noble/v2/types"; + +service Msg { + option (cosmos.msg.v1.service) = true; + + rpc AcceptOwnership(MsgAcceptOwnership) returns (MsgAcceptOwnershipResponse); + rpc AddAdminAccount(MsgAddAdminAccount) returns (MsgAddAdminAccountResponse); + rpc AddSystemAccount(MsgAddSystemAccount) returns (MsgAddSystemAccountResponse); + rpc AllowDenom(MsgAllowDenom) returns (MsgAllowDenomResponse); + rpc Burn(MsgBurn) returns (MsgBurnResponse); + rpc Mint(MsgMint) returns (MsgMintResponse); + rpc Recover(MsgRecover) returns (MsgRecoverResponse); + rpc RemoveAdminAccount(MsgRemoveAdminAccount) returns (MsgRemoveAdminAccountResponse); + rpc RemoveSystemAccount(MsgRemoveSystemAccount) returns (MsgRemoveSystemAccountResponse); + rpc SetMaxMintAllowance(MsgSetMaxMintAllowance) returns (MsgSetMaxMintAllowanceResponse); + rpc SetMintAllowance(MsgSetMintAllowance) returns (MsgSetMintAllowanceResponse); + rpc TransferOwnership(MsgTransferOwnership) returns (MsgTransferOwnershipResponse); +} + +// MsgAcceptOwnership implements the acceptOwnership (0x79ba5097) method. +message MsgAcceptOwnership { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/AcceptOwnership"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgAcceptOwnershipResponse is the response of the AcceptOwnership action. +message MsgAcceptOwnershipResponse {} + +// MsgAddAdminAccount implements the addAdminAccount (0x4fe57e7a) method. +message MsgAddAdminAccount { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/AddAdminAccount"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgAddAdminAccountResponse is the response of the AddAminAccount action. +message MsgAddAdminAccountResponse {} + +// MsgAddSystemAccount implements the addSystemAccount (0xa84c56d0) method. +message MsgAddSystemAccount { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/AddSystemAccount"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgAddSystemAccountResponse is the response of the AddSystemAccount action. +message MsgAddSystemAccountResponse {} + +// MsgAllowDenom is the request of the AllowDenom action. +message MsgAllowDenom { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/AllowDenom"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string signer = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string denom = 2; + string owner = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgAllowDenomResponse is the response of the AllowDenom action. +message MsgAllowDenomResponse {} + +// MsgBurn implements the burn (0x8d1247ba) method. +message MsgBurn { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/Burn"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string from = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string amount = 4 [ + (amino.dont_omitempty) = true, + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false + ]; + bytes signature = 5; + google.protobuf.Any pub_key = 6; +} + +// MsgBurnResponse is the response of the Burn action. +message MsgBurnResponse {} + +// MsgMint implements the mint (0x40c10f19) method. +message MsgMint { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/Mint"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string amount = 4 [ + (amino.dont_omitempty) = true, + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false + ]; +} + +// MsgMintResponse is the response of the Mint action. +message MsgMintResponse {} + +// MsgRecover implements the recover (0x6eb4c609) method. +message MsgRecover { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/Recover"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string from = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string to = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + bytes signature = 5; + google.protobuf.Any pub_key = 6; +} + +// MsgRecoverResponse is the response of the Recover action. +message MsgRecoverResponse {} + +// MsgRemoveAdminAccount implements the removeAdminAccount (0x67a89a72) method. +message MsgRemoveAdminAccount { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/RemoveAdminAccount"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgRemoveAdminAccountResponse is the response of the RemoveAdminAccount action. +message MsgRemoveAdminAccountResponse {} + +// MsgRemoveSystemAccount implements the removeSystemAccount (0xebbc3d46) method. +message MsgRemoveSystemAccount { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/RemoveSystemAccount"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgRemoveSystemAccountResponse is the response of the RemoveSystemAccount action. +message MsgRemoveSystemAccountResponse {} + +// MsgSetMaxMintAllowance implements the setMaxMintAllowance (0xfd2319c4) method. +message MsgSetMaxMintAllowance { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/SetMaxMintAllowance"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string amount = 3 [ + (amino.dont_omitempty) = true, + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false + ]; +} + +// MsgSetMaxMintAllowanceResponse is the response of the SetMaxMintAllowance action. +message MsgSetMaxMintAllowanceResponse {} + +// MsgSetMintAllowance implements the setMintAllowance (0xf27c5f6e) method. +message MsgSetMintAllowance { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/SetMintAllowance"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string account = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string amount = 4 [ + (amino.dont_omitempty) = true, + (cosmos_proto.scalar) = "cosmos.Int", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.nullable) = false + ]; +} + +// MsgSetMintAllowanceResponse is the response of the SetMintAllowance action. +message MsgSetMintAllowanceResponse {} + +// MsgTransferOwnership implements the transferOwnership (0xf2fde38b) method. +message MsgTransferOwnership { + option (cosmos.msg.v1.signer) = "signer"; + option (amino.name) = "florin/TransferOwnership"; + + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + + string denom = 1; + string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + string new_owner = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgTransferOwnershipResponse is the response of the TransferOwnership action. +message MsgTransferOwnershipResponse {} diff --git a/types/events.pb.go b/types/events.pb.go index 039c1348..bb8df453 100644 --- a/types/events.pb.go +++ b/types/events.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: florin/v1/events.proto +// source: florin/v2/events.proto package types @@ -38,7 +38,7 @@ func (m *DenomAllowed) Reset() { *m = DenomAllowed{} } func (m *DenomAllowed) String() string { return proto.CompactTextString(m) } func (*DenomAllowed) ProtoMessage() {} func (*DenomAllowed) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{0} + return fileDescriptor_d1ca5401b88925ff, []int{0} } func (m *DenomAllowed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -95,7 +95,7 @@ func (m *MintAllowance) Reset() { *m = MintAllowance{} } func (m *MintAllowance) String() string { return proto.CompactTextString(m) } func (*MintAllowance) ProtoMessage() {} func (*MintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{1} + return fileDescriptor_d1ca5401b88925ff, []int{1} } func (m *MintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -150,7 +150,7 @@ func (m *MaxMintAllowance) Reset() { *m = MaxMintAllowance{} } func (m *MaxMintAllowance) String() string { return proto.CompactTextString(m) } func (*MaxMintAllowance) ProtoMessage() {} func (*MaxMintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{2} + return fileDescriptor_d1ca5401b88925ff, []int{2} } func (m *MaxMintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -198,7 +198,7 @@ func (m *SystemAccountAdded) Reset() { *m = SystemAccountAdded{} } func (m *SystemAccountAdded) String() string { return proto.CompactTextString(m) } func (*SystemAccountAdded) ProtoMessage() {} func (*SystemAccountAdded) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{3} + return fileDescriptor_d1ca5401b88925ff, []int{3} } func (m *SystemAccountAdded) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -253,7 +253,7 @@ func (m *SystemAccountRemoved) Reset() { *m = SystemAccountRemoved{} } func (m *SystemAccountRemoved) String() string { return proto.CompactTextString(m) } func (*SystemAccountRemoved) ProtoMessage() {} func (*SystemAccountRemoved) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{4} + return fileDescriptor_d1ca5401b88925ff, []int{4} } func (m *SystemAccountRemoved) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -308,7 +308,7 @@ func (m *AdminAccountAdded) Reset() { *m = AdminAccountAdded{} } func (m *AdminAccountAdded) String() string { return proto.CompactTextString(m) } func (*AdminAccountAdded) ProtoMessage() {} func (*AdminAccountAdded) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{5} + return fileDescriptor_d1ca5401b88925ff, []int{5} } func (m *AdminAccountAdded) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -363,7 +363,7 @@ func (m *AdminAccountRemoved) Reset() { *m = AdminAccountRemoved{} } func (m *AdminAccountRemoved) String() string { return proto.CompactTextString(m) } func (*AdminAccountRemoved) ProtoMessage() {} func (*AdminAccountRemoved) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{6} + return fileDescriptor_d1ca5401b88925ff, []int{6} } func (m *AdminAccountRemoved) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -420,7 +420,7 @@ func (m *OwnershipTransferStarted) Reset() { *m = OwnershipTransferStart func (m *OwnershipTransferStarted) String() string { return proto.CompactTextString(m) } func (*OwnershipTransferStarted) ProtoMessage() {} func (*OwnershipTransferStarted) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{7} + return fileDescriptor_d1ca5401b88925ff, []int{7} } func (m *OwnershipTransferStarted) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +484,7 @@ func (m *OwnershipTransferred) Reset() { *m = OwnershipTransferred{} } func (m *OwnershipTransferred) String() string { return proto.CompactTextString(m) } func (*OwnershipTransferred) ProtoMessage() {} func (*OwnershipTransferred) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{8} + return fileDescriptor_d1ca5401b88925ff, []int{8} } func (m *OwnershipTransferred) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -550,7 +550,7 @@ func (m *Recovered) Reset() { *m = Recovered{} } func (m *Recovered) String() string { return proto.CompactTextString(m) } func (*Recovered) ProtoMessage() {} func (*Recovered) Descriptor() ([]byte, []int) { - return fileDescriptor_a1ad0cea20c415b2, []int{9} + return fileDescriptor_d1ca5401b88925ff, []int{9} } func (m *Recovered) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -601,52 +601,51 @@ func (m *Recovered) GetTo() string { } func init() { - proto.RegisterType((*DenomAllowed)(nil), "florin.v1.DenomAllowed") - proto.RegisterType((*MintAllowance)(nil), "florin.v1.MintAllowance") - proto.RegisterType((*MaxMintAllowance)(nil), "florin.v1.MaxMintAllowance") - proto.RegisterType((*SystemAccountAdded)(nil), "florin.v1.SystemAccountAdded") - proto.RegisterType((*SystemAccountRemoved)(nil), "florin.v1.SystemAccountRemoved") - proto.RegisterType((*AdminAccountAdded)(nil), "florin.v1.AdminAccountAdded") - proto.RegisterType((*AdminAccountRemoved)(nil), "florin.v1.AdminAccountRemoved") - proto.RegisterType((*OwnershipTransferStarted)(nil), "florin.v1.OwnershipTransferStarted") - proto.RegisterType((*OwnershipTransferred)(nil), "florin.v1.OwnershipTransferred") - proto.RegisterType((*Recovered)(nil), "florin.v1.Recovered") -} - -func init() { proto.RegisterFile("florin/v1/events.proto", fileDescriptor_a1ad0cea20c415b2) } - -var fileDescriptor_a1ad0cea20c415b2 = []byte{ - // 466 bytes of a gzipped FileDescriptorProto + proto.RegisterType((*DenomAllowed)(nil), "florin.v2.DenomAllowed") + proto.RegisterType((*MintAllowance)(nil), "florin.v2.MintAllowance") + proto.RegisterType((*MaxMintAllowance)(nil), "florin.v2.MaxMintAllowance") + proto.RegisterType((*SystemAccountAdded)(nil), "florin.v2.SystemAccountAdded") + proto.RegisterType((*SystemAccountRemoved)(nil), "florin.v2.SystemAccountRemoved") + proto.RegisterType((*AdminAccountAdded)(nil), "florin.v2.AdminAccountAdded") + proto.RegisterType((*AdminAccountRemoved)(nil), "florin.v2.AdminAccountRemoved") + proto.RegisterType((*OwnershipTransferStarted)(nil), "florin.v2.OwnershipTransferStarted") + proto.RegisterType((*OwnershipTransferred)(nil), "florin.v2.OwnershipTransferred") + proto.RegisterType((*Recovered)(nil), "florin.v2.Recovered") +} + +func init() { proto.RegisterFile("florin/v2/events.proto", fileDescriptor_d1ca5401b88925ff) } + +var fileDescriptor_d1ca5401b88925ff = []byte{ + // 464 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x41, 0x6b, 0xd4, 0x40, 0x14, 0xde, 0xac, 0xb5, 0xba, 0x0f, 0x5b, 0x6c, 0x5c, 0x65, 0xad, 0x90, 0x4a, 0x40, 0x50, 0xa1, - 0x89, 0xd5, 0x9b, 0xb7, 0x6d, 0xab, 0xd8, 0x43, 0x11, 0x52, 0x4f, 0x5e, 0x4a, 0x36, 0x79, 0xbb, - 0x3b, 0x98, 0x99, 0x17, 0x66, 0x26, 0x59, 0xfb, 0x13, 0x3c, 0xe9, 0xcf, 0xf0, 0xe8, 0xc1, 0x1f, - 0xd1, 0x63, 0xf1, 0x24, 0x1e, 0x8a, 0xec, 0x1e, 0xfc, 0x1b, 0x92, 0x99, 0x14, 0x57, 0x24, 0x20, - 0xbb, 0xf4, 0x12, 0xde, 0xf7, 0xbd, 0xbc, 0xef, 0x7b, 0x33, 0x7c, 0x0c, 0xdc, 0x19, 0x66, 0x24, - 0x99, 0x08, 0xcb, 0x9d, 0x10, 0x4b, 0x14, 0x5a, 0x05, 0xb9, 0x24, 0x4d, 0x6e, 0xc7, 0xf2, 0x41, - 0xb9, 0xb3, 0xb9, 0x11, 0x73, 0x26, 0x28, 0x34, 0x5f, 0xdb, 0xdd, 0xbc, 0x9b, 0x90, 0xe2, 0xa4, - 0x8e, 0x0d, 0x0a, 0x2d, 0xa8, 0x5b, 0xdd, 0x11, 0x8d, 0xc8, 0xf2, 0x55, 0x65, 0x59, 0xff, 0x39, - 0xdc, 0xd8, 0x47, 0x41, 0xbc, 0x9f, 0x65, 0x34, 0xc1, 0xd4, 0xed, 0xc2, 0xd5, 0xb4, 0xc2, 0x3d, - 0xe7, 0xbe, 0xf3, 0xb0, 0x13, 0x59, 0x50, 0xb1, 0x34, 0x11, 0x28, 0x7b, 0x6d, 0xcb, 0x1a, 0xe0, - 0x7f, 0x70, 0x60, 0xed, 0x90, 0x09, 0x6d, 0x66, 0x63, 0x91, 0x60, 0xc3, 0x74, 0x0f, 0xae, 0xc5, - 0x49, 0x42, 0x85, 0xd0, 0xf5, 0xfc, 0x05, 0x74, 0x5f, 0xc1, 0x6a, 0xcc, 0x4d, 0xe3, 0x4a, 0xd5, - 0xd8, 0x7d, 0x72, 0x7a, 0xbe, 0xd5, 0xfa, 0x71, 0xbe, 0x75, 0xdb, 0x6e, 0xae, 0xd2, 0x77, 0x01, - 0xa3, 0x90, 0xc7, 0x7a, 0x1c, 0x1c, 0x08, 0xfd, 0xed, 0xeb, 0x36, 0xd4, 0x47, 0x3a, 0x10, 0xfa, - 0xf3, 0xaf, 0x2f, 0x8f, 0x9d, 0xa8, 0x9e, 0xf7, 0x25, 0xdc, 0x3c, 0x8c, 0xdf, 0xff, 0xcf, 0x36, - 0x7f, 0x3c, 0xdb, 0x4b, 0x7a, 0xee, 0x83, 0x7b, 0x74, 0xa2, 0x34, 0xf2, 0xbe, 0x3d, 0x4e, 0x3f, - 0x4d, 0x1b, 0x6f, 0xb0, 0xf1, 0x0e, 0xfc, 0x97, 0xd0, 0xfd, 0x4b, 0x25, 0x42, 0x4e, 0xe5, 0x02, - 0x3a, 0x7b, 0xb0, 0xd1, 0x4f, 0x39, 0x13, 0x4b, 0x2d, 0xf3, 0x02, 0x6e, 0xcd, 0x8b, 0x2c, 0xba, - 0x8b, 0x86, 0xde, 0xeb, 0x2a, 0x22, 0x6a, 0xcc, 0xf2, 0x37, 0x32, 0x16, 0x6a, 0x88, 0xf2, 0x48, - 0xc7, 0x52, 0x37, 0x6a, 0x3d, 0x80, 0xf5, 0x5c, 0x62, 0xc9, 0xa8, 0x50, 0xc7, 0xf3, 0x51, 0x5b, - 0xbb, 0x60, 0x8d, 0x9e, 0x7b, 0x0f, 0x3a, 0x02, 0x27, 0xf5, 0x1f, 0x26, 0x33, 0xd1, 0x75, 0x81, - 0x13, 0xd3, 0xf4, 0x73, 0xe8, 0xfe, 0xe3, 0x2a, 0x2f, 0xd5, 0xf1, 0xa3, 0x03, 0x9d, 0x08, 0x13, - 0x2a, 0xb1, 0xd9, 0xc7, 0x85, 0x95, 0xa1, 0x24, 0x5e, 0xab, 0x9b, 0xda, 0x5d, 0x87, 0xb6, 0xa6, - 0x5a, 0xad, 0xad, 0x69, 0x2e, 0x93, 0x2b, 0xcb, 0x65, 0x72, 0x77, 0xef, 0x74, 0xea, 0x39, 0x67, - 0x53, 0xcf, 0xf9, 0x39, 0xf5, 0x9c, 0x4f, 0x33, 0xaf, 0x75, 0x36, 0xf3, 0x5a, 0xdf, 0x67, 0x5e, - 0xeb, 0xed, 0xa3, 0x11, 0xd3, 0xe3, 0x62, 0x10, 0x24, 0xc4, 0x43, 0x4e, 0x02, 0x25, 0x2b, 0xaa, - 0x22, 0x2d, 0x32, 0xdc, 0x16, 0x34, 0xc8, 0x30, 0x2c, 0x9f, 0x86, 0xfa, 0x24, 0x47, 0x35, 0x58, - 0x35, 0x6f, 0xc3, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x52, 0xda, 0x3c, 0x92, 0x84, 0x04, - 0x00, 0x00, + 0x89, 0xd4, 0x9b, 0xb7, 0x6d, 0xab, 0xd8, 0x43, 0x11, 0x52, 0x4f, 0x5e, 0x4a, 0x36, 0x79, 0xbb, + 0x3b, 0x98, 0x99, 0x17, 0x66, 0x26, 0x89, 0xfd, 0x09, 0x9e, 0xf4, 0x67, 0x78, 0xf4, 0xe0, 0x8f, + 0xe8, 0xb1, 0x78, 0x12, 0x0f, 0x45, 0x76, 0x0f, 0xfe, 0x0d, 0xc9, 0x4c, 0x8a, 0x2b, 0x12, 0x90, + 0x2e, 0x5e, 0xc2, 0xfb, 0xbe, 0x97, 0xf7, 0x7d, 0x6f, 0x86, 0x8f, 0x81, 0x3b, 0xe3, 0x8c, 0x24, + 0x13, 0x61, 0xb9, 0x13, 0x62, 0x89, 0x42, 0xab, 0x20, 0x97, 0xa4, 0xc9, 0xed, 0x59, 0x3e, 0x28, + 0x77, 0x36, 0x37, 0x62, 0xce, 0x04, 0x85, 0xe6, 0x6b, 0xbb, 0x9b, 0x77, 0x13, 0x52, 0x9c, 0xd4, + 0xb1, 0x41, 0xa1, 0x05, 0x4d, 0xab, 0x3f, 0xa1, 0x09, 0x59, 0xbe, 0xae, 0x2c, 0xeb, 0x3f, 0x83, + 0x1b, 0xfb, 0x28, 0x88, 0x0f, 0xb3, 0x8c, 0x2a, 0x4c, 0xdd, 0x3e, 0x5c, 0x4d, 0x6b, 0x3c, 0x70, + 0xee, 0x3b, 0x0f, 0x7b, 0x91, 0x05, 0x35, 0x4b, 0x95, 0x40, 0x39, 0xe8, 0x5a, 0xd6, 0x00, 0xff, + 0xbd, 0x03, 0x6b, 0x87, 0x4c, 0x68, 0x33, 0x1b, 0x8b, 0x04, 0x5b, 0xa6, 0x07, 0x70, 0x2d, 0x4e, + 0x12, 0x2a, 0x84, 0x6e, 0xe6, 0x2f, 0xa0, 0xfb, 0x12, 0x56, 0x63, 0x6e, 0x1a, 0x57, 0xea, 0xc6, + 0xee, 0x93, 0xd3, 0xf3, 0xad, 0xce, 0xf7, 0xf3, 0xad, 0xdb, 0x76, 0x73, 0x95, 0xbe, 0x0d, 0x18, + 0x85, 0x3c, 0xd6, 0xd3, 0xe0, 0x40, 0xe8, 0xaf, 0x5f, 0xb6, 0xa1, 0x39, 0xd2, 0x81, 0xd0, 0x9f, + 0x7e, 0x7e, 0x7e, 0xec, 0x44, 0xcd, 0xbc, 0x2f, 0xe1, 0xe6, 0x61, 0xfc, 0xee, 0x5f, 0xb6, 0xf9, + 0xed, 0xd9, 0x5d, 0xd2, 0x73, 0x1f, 0xdc, 0xa3, 0x13, 0xa5, 0x91, 0x0f, 0xed, 0x71, 0x86, 0x69, + 0xda, 0x7a, 0x83, 0xad, 0x77, 0xe0, 0xbf, 0x80, 0xfe, 0x1f, 0x2a, 0x11, 0x72, 0x2a, 0x2f, 0xa1, + 0xb3, 0x07, 0x1b, 0xc3, 0x94, 0x33, 0xb1, 0xd4, 0x32, 0xcf, 0xe1, 0xd6, 0xa2, 0xc8, 0x65, 0x77, + 0xd1, 0x30, 0x78, 0x55, 0x47, 0x44, 0x4d, 0x59, 0xfe, 0x5a, 0xc6, 0x42, 0x8d, 0x51, 0x1e, 0xe9, + 0x58, 0xea, 0x56, 0xad, 0x07, 0xb0, 0x9e, 0x4b, 0x2c, 0x19, 0x15, 0xea, 0x78, 0x31, 0x6a, 0x6b, + 0x17, 0xac, 0xd1, 0x73, 0xef, 0x41, 0x4f, 0x60, 0xd5, 0xfc, 0x61, 0x32, 0x13, 0x5d, 0x17, 0x58, + 0x99, 0xa6, 0x9f, 0x43, 0xff, 0x2f, 0x57, 0xf9, 0x5f, 0x1d, 0x3f, 0x38, 0xd0, 0x8b, 0x30, 0xa1, + 0x12, 0xdb, 0x7d, 0x5c, 0x58, 0x19, 0x4b, 0xe2, 0x8d, 0xba, 0xa9, 0xdd, 0x75, 0xe8, 0x6a, 0x6a, + 0xd4, 0xba, 0x9a, 0x16, 0x32, 0xb9, 0xb2, 0x5c, 0x26, 0x77, 0xf7, 0x4e, 0x67, 0x9e, 0x73, 0x36, + 0xf3, 0x9c, 0x1f, 0x33, 0xcf, 0xf9, 0x38, 0xf7, 0x3a, 0x67, 0x73, 0xaf, 0xf3, 0x6d, 0xee, 0x75, + 0xde, 0x3c, 0x9a, 0x30, 0x3d, 0x2d, 0x46, 0x41, 0x42, 0x3c, 0xe4, 0x24, 0x50, 0xb2, 0xa2, 0x2e, + 0xd2, 0x22, 0xc3, 0x6d, 0x41, 0xa3, 0x0c, 0xeb, 0xa7, 0x46, 0x9f, 0xe4, 0xa8, 0x46, 0xab, 0xe6, + 0x6d, 0x78, 0xfa, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x1e, 0xc3, 0xa4, 0x84, 0x04, 0x00, 0x00, } func (m *DenomAllowed) Marshal() (dAtA []byte, err error) { diff --git a/types/genesis.pb.go b/types/genesis.pb.go index fdf9166c..d226314e 100644 --- a/types/genesis.pb.go +++ b/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: florin/v1/genesis.proto +// source: florin/v2/genesis.proto package types @@ -30,30 +30,27 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type GenesisState struct { // blacklist_state is the genesis state of the blacklist submodule. BlacklistState blacklist.GenesisState `protobuf:"bytes,1,opt,name=blacklist_state,json=blacklistState,proto3" json:"blacklist_state"` - // authority is the address that controls allowed denoms of this module. - // Deprecated and moved to a variable set upon Keeper initialization. - Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` // Deprecated: Do not use. // allowed_denoms is a unique list of denoms that this module is allowed to burn / mint / etc. - AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` + AllowedDenoms []string `protobuf:"bytes,2,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` // owners is a mapping between denoms and owner addresses for those tokens. - Owners map[string]string `protobuf:"bytes,4,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Owners map[string]string `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // pending_owners is the mapping between denoms and pending owner addresses. - PendingOwners map[string]string `protobuf:"bytes,5,rep,name=pending_owners,json=pendingOwners,proto3" json:"pending_owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + PendingOwners map[string]string `protobuf:"bytes,4,rep,name=pending_owners,json=pendingOwners,proto3" json:"pending_owners,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // systems is the list of addresses that can act as the system. - Systems []Account `protobuf:"bytes,6,rep,name=systems,proto3" json:"systems"` + Systems []Account `protobuf:"bytes,5,rep,name=systems,proto3" json:"systems"` // admins is the list of addresses that can act as the admin. - Admins []Account `protobuf:"bytes,7,rep,name=admins,proto3" json:"admins"` + Admins []Account `protobuf:"bytes,6,rep,name=admins,proto3" json:"admins"` // mint_allowances is a list of system accounts and their mint allowances. - MintAllowances []Allowance `protobuf:"bytes,8,rep,name=mint_allowances,json=mintAllowances,proto3" json:"mint_allowances"` + MintAllowances []Allowance `protobuf:"bytes,7,rep,name=mint_allowances,json=mintAllowances,proto3" json:"mint_allowances"` // max_mint_allowances is a mapping between denoms and max mint allowances. - MaxMintAllowances map[string]string `protobuf:"bytes,9,rep,name=max_mint_allowances,json=maxMintAllowances,proto3" json:"max_mint_allowances,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + MaxMintAllowances map[string]string `protobuf:"bytes,8,rep,name=max_mint_allowances,json=maxMintAllowances,proto3" json:"max_mint_allowances,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_db6733df958f1e20, []int{0} + return fileDescriptor_d73aa1c189b49130, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -89,14 +86,6 @@ func (m *GenesisState) GetBlacklistState() blacklist.GenesisState { return blacklist.GenesisState{} } -// Deprecated: Do not use. -func (m *GenesisState) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - func (m *GenesisState) GetAllowedDenoms() []string { if m != nil { return m.AllowedDenoms @@ -155,7 +144,7 @@ func (m *Account) Reset() { *m = Account{} } func (m *Account) String() string { return proto.CompactTextString(m) } func (*Account) ProtoMessage() {} func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_db6733df958f1e20, []int{1} + return fileDescriptor_d73aa1c189b49130, []int{1} } func (m *Account) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,7 +197,7 @@ func (m *Allowance) Reset() { *m = Allowance{} } func (m *Allowance) String() string { return proto.CompactTextString(m) } func (*Allowance) ProtoMessage() {} func (*Allowance) Descriptor() ([]byte, []int) { - return fileDescriptor_db6733df958f1e20, []int{2} + return fileDescriptor_d73aa1c189b49130, []int{2} } func (m *Allowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -252,55 +241,54 @@ func (m *Allowance) GetAddress() string { } func init() { - proto.RegisterType((*GenesisState)(nil), "florin.v1.GenesisState") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.GenesisState.MaxMintAllowancesEntry") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.GenesisState.OwnersEntry") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.GenesisState.PendingOwnersEntry") - proto.RegisterType((*Account)(nil), "florin.v1.Account") - proto.RegisterType((*Allowance)(nil), "florin.v1.Allowance") + proto.RegisterType((*GenesisState)(nil), "florin.v2.GenesisState") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.GenesisState.MaxMintAllowancesEntry") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.GenesisState.OwnersEntry") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.GenesisState.PendingOwnersEntry") + proto.RegisterType((*Account)(nil), "florin.v2.Account") + proto.RegisterType((*Allowance)(nil), "florin.v2.Allowance") } -func init() { proto.RegisterFile("florin/v1/genesis.proto", fileDescriptor_db6733df958f1e20) } +func init() { proto.RegisterFile("florin/v2/genesis.proto", fileDescriptor_d73aa1c189b49130) } -var fileDescriptor_db6733df958f1e20 = []byte{ - // 588 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xc7, 0xe3, 0xa4, 0x4d, 0x3e, 0x6f, 0xbe, 0xa6, 0x74, 0x09, 0x60, 0x72, 0x70, 0xd3, 0x20, - 0xa4, 0x50, 0xa9, 0x76, 0x13, 0x2e, 0x14, 0x2e, 0xd0, 0x16, 0xa1, 0x1e, 0x0a, 0xc5, 0xdc, 0x38, - 0x60, 0x6d, 0xec, 0x25, 0xb1, 0x62, 0xef, 0x46, 0xde, 0x75, 0xda, 0x3c, 0x01, 0x07, 0x2e, 0x3c, - 0x06, 0x47, 0x0e, 0x3c, 0x44, 0x8f, 0x15, 0x27, 0xc4, 0xa1, 0x42, 0xc9, 0x81, 0xd7, 0x40, 0xde, - 0xdd, 0x18, 0xb7, 0xa5, 0x42, 0xb9, 0x44, 0x3b, 0xff, 0x99, 0xff, 0x2f, 0xab, 0xd9, 0x19, 0x83, - 0x3b, 0xef, 0x43, 0x1a, 0x07, 0xc4, 0x1e, 0x77, 0xec, 0x3e, 0x26, 0x98, 0x05, 0xcc, 0x1a, 0xc5, - 0x94, 0x53, 0xa8, 0xcb, 0x84, 0x35, 0xee, 0x34, 0xd6, 0x50, 0x14, 0x10, 0x6a, 0x8b, 0x5f, 0x99, - 0x6d, 0xdc, 0xf5, 0x28, 0x8b, 0x28, 0x73, 0x45, 0x64, 0xcb, 0x40, 0xa5, 0x36, 0x14, 0xb1, 0x17, - 0x22, 0x6f, 0x18, 0x06, 0x8c, 0x5f, 0x61, 0x37, 0xea, 0x7d, 0xda, 0xa7, 0xd2, 0x9a, 0x9e, 0xa4, - 0xda, 0xfa, 0x50, 0x06, 0xff, 0xbf, 0x90, 0x75, 0x6f, 0x38, 0xe2, 0x18, 0x1e, 0x81, 0xd5, 0x0c, - 0xe2, 0xb2, 0x54, 0x32, 0xb4, 0xa6, 0xd6, 0xae, 0x76, 0x37, 0x2c, 0x75, 0xb9, 0x2c, 0x6d, 0x8d, - 0x3b, 0x56, 0xde, 0xbb, 0xbb, 0x74, 0x7a, 0xbe, 0x5e, 0x70, 0x6a, 0x59, 0x81, 0x24, 0x36, 0x81, - 0x8e, 0x12, 0x3e, 0xa0, 0x71, 0xc0, 0x27, 0x46, 0xb1, 0xa9, 0xb5, 0xf5, 0xdd, 0xa2, 0xa1, 0x39, - 0x7f, 0x44, 0x78, 0x1f, 0xd4, 0x50, 0x18, 0xd2, 0x63, 0xec, 0xbb, 0x3e, 0x26, 0x34, 0x62, 0x46, - 0xa9, 0x59, 0x6a, 0xeb, 0xce, 0x8a, 0x52, 0xf7, 0x85, 0x08, 0x9f, 0x80, 0x32, 0x3d, 0x26, 0x38, - 0x66, 0xc6, 0x52, 0xb3, 0xd4, 0xae, 0x76, 0xef, 0x59, 0x59, 0xbb, 0x2e, 0xdc, 0xc3, 0x7a, 0x25, - 0xaa, 0x9e, 0x13, 0x1e, 0x4f, 0x1c, 0x65, 0x81, 0xaf, 0x41, 0x6d, 0x84, 0x89, 0x1f, 0x90, 0xbe, - 0xab, 0x20, 0xcb, 0x02, 0xb2, 0x79, 0x1d, 0xe4, 0x48, 0x56, 0xe7, 0x59, 0x2b, 0xa3, 0xbc, 0x06, - 0xbb, 0xa0, 0xc2, 0x26, 0x8c, 0xe3, 0x88, 0x19, 0x65, 0xc1, 0x82, 0x39, 0xd6, 0x33, 0xcf, 0xa3, - 0x09, 0xe1, 0xaa, 0x27, 0xf3, 0x42, 0xb8, 0x0d, 0xca, 0xc8, 0x8f, 0x02, 0xc2, 0x8c, 0xca, 0x3f, - 0x2c, 0xaa, 0x0e, 0xee, 0x81, 0xd5, 0x28, 0x20, 0xdc, 0x15, 0xbd, 0x40, 0xc4, 0xc3, 0xcc, 0xf8, - 0x4f, 0x58, 0xeb, 0x79, 0xeb, 0x3c, 0x39, 0x7f, 0x83, 0xd4, 0x92, 0x89, 0x0c, 0xbe, 0x03, 0x37, - 0x23, 0x74, 0xe2, 0x5e, 0x06, 0xe9, 0x02, 0x64, 0x5d, 0xd7, 0x82, 0x43, 0x74, 0x72, 0x78, 0x81, - 0x23, 0xdb, 0xb0, 0x16, 0x5d, 0xd6, 0x1b, 0x3b, 0xa0, 0x9a, 0x6b, 0x14, 0xbc, 0x01, 0x4a, 0x43, - 0x3c, 0x11, 0x83, 0xa3, 0x3b, 0xe9, 0x11, 0xd6, 0xc1, 0xf2, 0x18, 0x85, 0x09, 0x96, 0x03, 0xe0, - 0xc8, 0xe0, 0x71, 0xf1, 0x91, 0xd6, 0x78, 0x0a, 0xe0, 0xd5, 0x56, 0x2f, 0x44, 0xd8, 0x07, 0xb7, - 0xff, 0x7e, 0xd3, 0x45, 0x28, 0xad, 0x1d, 0x50, 0x51, 0x0f, 0x90, 0x16, 0x89, 0x39, 0x54, 0x46, - 0x19, 0x40, 0x03, 0x54, 0x90, 0xef, 0xc7, 0x98, 0x31, 0x65, 0x9e, 0x87, 0xad, 0x8f, 0x1a, 0xd0, - 0xb3, 0xbf, 0x5e, 0xd4, 0x0d, 0x5f, 0x02, 0x3d, 0x7b, 0x12, 0xa3, 0x24, 0xf6, 0x63, 0x3b, 0x7d, - 0xc4, 0x1f, 0xe7, 0xeb, 0xb7, 0xe4, 0x92, 0x33, 0x7f, 0x68, 0x05, 0xd4, 0x8e, 0x10, 0x1f, 0x58, - 0x07, 0x84, 0x7f, 0xfb, 0xba, 0x05, 0xd4, 0xf6, 0x1f, 0x10, 0xfe, 0xf9, 0xd7, 0x97, 0xcd, 0x74, - 0x9b, 0xb2, 0x09, 0xd8, 0x3b, 0x9d, 0x9a, 0xda, 0xd9, 0xd4, 0xd4, 0x7e, 0x4e, 0x4d, 0xed, 0xd3, - 0xcc, 0x2c, 0x9c, 0xcd, 0xcc, 0xc2, 0xf7, 0x99, 0x59, 0x78, 0xfb, 0xa0, 0x1f, 0xf0, 0x41, 0xd2, - 0xb3, 0x3c, 0x1a, 0xd9, 0x11, 0x25, 0x38, 0x0e, 0x92, 0xf4, 0xe0, 0x27, 0x21, 0xde, 0x22, 0xb4, - 0x17, 0x62, 0x7b, 0xdc, 0xb5, 0xf9, 0x64, 0x84, 0x59, 0xaf, 0x2c, 0x3e, 0x0f, 0x0f, 0x7f, 0x07, - 0x00, 0x00, 0xff, 0xff, 0x71, 0x25, 0x3c, 0xbc, 0xab, 0x04, 0x00, 0x00, +var fileDescriptor_d73aa1c189b49130 = []byte{ + // 567 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xc1, 0x6e, 0xd3, 0x30, + 0x18, 0xc7, 0x9b, 0x75, 0x6b, 0xa9, 0xc7, 0x3a, 0x66, 0x0a, 0x84, 0x1e, 0xb2, 0xae, 0x08, 0xa9, + 0x4c, 0x9a, 0xb3, 0x95, 0x0b, 0x83, 0x0b, 0x74, 0x43, 0x68, 0x87, 0xc1, 0x28, 0x37, 0x0e, 0x44, + 0x6e, 0x62, 0xba, 0xa8, 0xb1, 0x5d, 0xc5, 0x6e, 0xb7, 0x3e, 0x03, 0x17, 0x1e, 0x83, 0x23, 0x07, + 0x1e, 0x62, 0xc7, 0x89, 0x13, 0xe2, 0x30, 0xa1, 0x56, 0x88, 0xd7, 0x40, 0xb1, 0xdd, 0x90, 0x0e, + 0x26, 0xd4, 0x4b, 0xe5, 0xef, 0xff, 0x7d, 0xff, 0x5f, 0xd2, 0xbf, 0xed, 0x80, 0x3b, 0xef, 0x23, + 0x1e, 0x87, 0xcc, 0x1d, 0x36, 0xdd, 0x2e, 0x61, 0x44, 0x84, 0x02, 0xf5, 0x63, 0x2e, 0x39, 0x2c, + 0xe9, 0x06, 0x1a, 0x36, 0xab, 0x6b, 0x98, 0x86, 0x8c, 0xbb, 0xea, 0x57, 0x77, 0xab, 0x77, 0x7d, + 0x2e, 0x28, 0x17, 0x9e, 0xaa, 0x5c, 0x5d, 0x98, 0xd6, 0x86, 0x21, 0x76, 0x22, 0xec, 0xf7, 0xa2, + 0x50, 0x48, 0x77, 0xb8, 0x33, 0xcb, 0xae, 0x56, 0xba, 0xbc, 0xcb, 0xb5, 0x35, 0x59, 0x69, 0xb5, + 0xfe, 0x73, 0x09, 0x5c, 0x7f, 0xa1, 0xe7, 0xde, 0x48, 0x2c, 0x09, 0x3c, 0x02, 0xab, 0x29, 0xc4, + 0x13, 0x89, 0x64, 0x5b, 0x35, 0xab, 0xb1, 0xdc, 0xdc, 0x40, 0xe6, 0xe5, 0xd2, 0x36, 0x1a, 0xee, + 0xa0, 0xac, 0xb7, 0xb5, 0x78, 0x76, 0xb1, 0x9e, 0x6b, 0x97, 0xd3, 0x01, 0x4d, 0xbc, 0x0f, 0xca, + 0x38, 0x8a, 0xf8, 0x09, 0x09, 0xbc, 0x80, 0x30, 0x4e, 0x85, 0xbd, 0x50, 0xcb, 0x37, 0x4a, 0xed, + 0x15, 0xa3, 0xee, 0x2b, 0x11, 0x3e, 0x01, 0x05, 0x7e, 0xc2, 0x48, 0x2c, 0xec, 0x7c, 0x2d, 0xdf, + 0x58, 0x6e, 0xde, 0x43, 0x69, 0x18, 0x33, 0x4f, 0x41, 0xaf, 0xd4, 0xd4, 0x73, 0x26, 0xe3, 0x51, + 0xdb, 0x58, 0xe0, 0x6b, 0x50, 0xee, 0x13, 0x16, 0x84, 0xac, 0xeb, 0x19, 0xc8, 0xa2, 0x82, 0x6c, + 0x5e, 0x05, 0x39, 0xd2, 0xd3, 0x59, 0xd6, 0x4a, 0x3f, 0xab, 0xc1, 0x26, 0x28, 0x8a, 0x91, 0x90, + 0x84, 0x0a, 0x7b, 0x49, 0xb1, 0x60, 0x86, 0xf5, 0xcc, 0xf7, 0xf9, 0x80, 0x49, 0xf3, 0x8f, 0xa7, + 0x83, 0x70, 0x1b, 0x14, 0x70, 0x40, 0x43, 0x26, 0xec, 0xc2, 0x7f, 0x2c, 0x66, 0x0e, 0xee, 0x81, + 0x55, 0x1a, 0x32, 0xe9, 0xa9, 0x2c, 0x30, 0xf3, 0x89, 0xb0, 0x8b, 0xca, 0x5a, 0xc9, 0x5a, 0xa7, + 0xcd, 0x69, 0xc2, 0x89, 0x25, 0x15, 0x05, 0x7c, 0x07, 0x6e, 0x52, 0x7c, 0xea, 0x5d, 0x06, 0x5d, + 0x53, 0x20, 0x74, 0x55, 0x04, 0x87, 0xf8, 0xf4, 0x70, 0x86, 0xa3, 0x63, 0x58, 0xa3, 0x97, 0xf5, + 0xea, 0x2e, 0x58, 0xce, 0x04, 0x05, 0x6f, 0x80, 0x7c, 0x8f, 0x8c, 0xd4, 0xb1, 0x28, 0xb5, 0x93, + 0x25, 0xac, 0x80, 0xa5, 0x21, 0x8e, 0x06, 0xc4, 0x5e, 0x50, 0x9a, 0x2e, 0x1e, 0x2f, 0x3c, 0xb2, + 0xaa, 0x4f, 0x01, 0xfc, 0x3b, 0xea, 0xb9, 0x08, 0xfb, 0xe0, 0xf6, 0xbf, 0xdf, 0x74, 0x1e, 0x4a, + 0x7d, 0x17, 0x14, 0xcd, 0x06, 0x24, 0x43, 0xea, 0x1c, 0x1a, 0xa3, 0x2e, 0xa0, 0x0d, 0x8a, 0x38, + 0x08, 0x62, 0x22, 0x84, 0x31, 0x4f, 0xcb, 0xfa, 0x07, 0x0b, 0x94, 0xd2, 0x47, 0xcf, 0xeb, 0x86, + 0x2f, 0x41, 0x29, 0xdd, 0x12, 0x3b, 0x9f, 0xf4, 0x5a, 0xdb, 0xc9, 0x26, 0x7e, 0xbf, 0x58, 0xbf, + 0xa5, 0xaf, 0xb0, 0x08, 0x7a, 0x28, 0xe4, 0x2e, 0xc5, 0xf2, 0x18, 0x1d, 0x30, 0xf9, 0xf5, 0xcb, + 0x16, 0x30, 0x77, 0xfb, 0x80, 0xc9, 0x4f, 0xbf, 0x3e, 0x6f, 0x5a, 0xed, 0x3f, 0x88, 0xd6, 0xde, + 0xd9, 0xd8, 0xb1, 0xce, 0xc7, 0x8e, 0xf5, 0x63, 0xec, 0x58, 0x1f, 0x27, 0x4e, 0xee, 0x7c, 0xe2, + 0xe4, 0xbe, 0x4d, 0x9c, 0xdc, 0xdb, 0x07, 0xdd, 0x50, 0x1e, 0x0f, 0x3a, 0xc8, 0xe7, 0xd4, 0xa5, + 0x9c, 0x91, 0x38, 0x1c, 0x24, 0x8b, 0x60, 0x10, 0x91, 0x2d, 0xc6, 0x3b, 0x11, 0x49, 0xbe, 0x37, + 0x72, 0xd4, 0x27, 0xa2, 0x53, 0x50, 0x97, 0xff, 0xe1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, + 0xa7, 0x14, 0xcb, 0x89, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -339,7 +327,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0xa i = encodeVarintGenesis(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x42 } } if len(m.MintAllowances) > 0 { @@ -353,7 +341,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x42 + dAtA[i] = 0x3a } } if len(m.Admins) > 0 { @@ -367,7 +355,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a + dAtA[i] = 0x32 } } if len(m.Systems) > 0 { @@ -381,7 +369,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x2a } } if len(m.PendingOwners) > 0 { @@ -400,7 +388,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0xa i = encodeVarintGenesis(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } } if len(m.Owners) > 0 { @@ -419,7 +407,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0xa i = encodeVarintGenesis(dAtA, i, uint64(baseI-i)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } } if len(m.AllowedDenoms) > 0 { @@ -428,16 +416,9 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.AllowedDenoms[iNdEx]) i = encodeVarintGenesis(dAtA, i, uint64(len(m.AllowedDenoms[iNdEx]))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } } - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintGenesis(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0x12 - } { size, err := m.BlacklistState.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -554,10 +535,6 @@ func (m *GenesisState) Size() (n int) { _ = l l = m.BlacklistState.Size() n += 1 + l + sovGenesis(uint64(l)) - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovGenesis(uint64(l)) - } if len(m.AllowedDenoms) > 0 { for _, s := range m.AllowedDenoms { l = len(s) @@ -714,38 +691,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenesis - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthGenesis - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthGenesis - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Authority = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AllowedDenoms", wireType) } @@ -777,7 +722,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } m.AllowedDenoms = append(m.AllowedDenoms, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex - case 4: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Owners", wireType) } @@ -904,7 +849,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } m.Owners[mapkey] = mapvalue iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PendingOwners", wireType) } @@ -1031,7 +976,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } m.PendingOwners[mapkey] = mapvalue iNdEx = postIndex - case 6: + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Systems", wireType) } @@ -1065,7 +1010,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 7: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Admins", wireType) } @@ -1099,7 +1044,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 8: + case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field MintAllowances", wireType) } @@ -1133,7 +1078,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 9: + case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field MaxMintAllowances", wireType) } diff --git a/types/query.pb.go b/types/query.pb.go index 8b56f15c..891dadb6 100644 --- a/types/query.pb.go +++ b/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: florin/v1/query.proto +// source: florin/v2/query.proto package types @@ -40,7 +40,7 @@ func (m *QueryAuthority) Reset() { *m = QueryAuthority{} } func (m *QueryAuthority) String() string { return proto.CompactTextString(m) } func (*QueryAuthority) ProtoMessage() {} func (*QueryAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{0} + return fileDescriptor_769de60c7f27ee2c, []int{0} } func (m *QueryAuthority) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,7 @@ func (m *QueryAuthorityResponse) Reset() { *m = QueryAuthorityResponse{} func (m *QueryAuthorityResponse) String() string { return proto.CompactTextString(m) } func (*QueryAuthorityResponse) ProtoMessage() {} func (*QueryAuthorityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{1} + return fileDescriptor_769de60c7f27ee2c, []int{1} } func (m *QueryAuthorityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *QueryAllowedDenoms) Reset() { *m = QueryAllowedDenoms{} } func (m *QueryAllowedDenoms) String() string { return proto.CompactTextString(m) } func (*QueryAllowedDenoms) ProtoMessage() {} func (*QueryAllowedDenoms) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{2} + return fileDescriptor_769de60c7f27ee2c, []int{2} } func (m *QueryAllowedDenoms) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *QueryAllowedDenomsResponse) Reset() { *m = QueryAllowedDenomsRe func (m *QueryAllowedDenomsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllowedDenomsResponse) ProtoMessage() {} func (*QueryAllowedDenomsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{3} + return fileDescriptor_769de60c7f27ee2c, []int{3} } func (m *QueryAllowedDenomsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -200,7 +200,7 @@ func (m *QueryOwners) Reset() { *m = QueryOwners{} } func (m *QueryOwners) String() string { return proto.CompactTextString(m) } func (*QueryOwners) ProtoMessage() {} func (*QueryOwners) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{4} + return fileDescriptor_769de60c7f27ee2c, []int{4} } func (m *QueryOwners) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -238,7 +238,7 @@ func (m *QueryOwnersResponse) Reset() { *m = QueryOwnersResponse{} } func (m *QueryOwnersResponse) String() string { return proto.CompactTextString(m) } func (*QueryOwnersResponse) ProtoMessage() {} func (*QueryOwnersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{5} + return fileDescriptor_769de60c7f27ee2c, []int{5} } func (m *QueryOwnersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -289,7 +289,7 @@ func (m *QueryOwner) Reset() { *m = QueryOwner{} } func (m *QueryOwner) String() string { return proto.CompactTextString(m) } func (*QueryOwner) ProtoMessage() {} func (*QueryOwner) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{6} + return fileDescriptor_769de60c7f27ee2c, []int{6} } func (m *QueryOwner) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -334,7 +334,7 @@ func (m *QueryOwnerResponse) Reset() { *m = QueryOwnerResponse{} } func (m *QueryOwnerResponse) String() string { return proto.CompactTextString(m) } func (*QueryOwnerResponse) ProtoMessage() {} func (*QueryOwnerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{7} + return fileDescriptor_769de60c7f27ee2c, []int{7} } func (m *QueryOwnerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,7 +384,7 @@ func (m *QuerySystems) Reset() { *m = QuerySystems{} } func (m *QuerySystems) String() string { return proto.CompactTextString(m) } func (*QuerySystems) ProtoMessage() {} func (*QuerySystems) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{8} + return fileDescriptor_769de60c7f27ee2c, []int{8} } func (m *QuerySystems) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -421,7 +421,7 @@ func (m *QuerySystemsResponse) Reset() { *m = QuerySystemsResponse{} } func (m *QuerySystemsResponse) String() string { return proto.CompactTextString(m) } func (*QuerySystemsResponse) ProtoMessage() {} func (*QuerySystemsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{9} + return fileDescriptor_769de60c7f27ee2c, []int{9} } func (m *QuerySystemsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -465,7 +465,7 @@ func (m *QuerySystemsByDenom) Reset() { *m = QuerySystemsByDenom{} } func (m *QuerySystemsByDenom) String() string { return proto.CompactTextString(m) } func (*QuerySystemsByDenom) ProtoMessage() {} func (*QuerySystemsByDenom) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{10} + return fileDescriptor_769de60c7f27ee2c, []int{10} } func (m *QuerySystemsByDenom) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -509,7 +509,7 @@ func (m *QuerySystemsByDenomResponse) Reset() { *m = QuerySystemsByDenom func (m *QuerySystemsByDenomResponse) String() string { return proto.CompactTextString(m) } func (*QuerySystemsByDenomResponse) ProtoMessage() {} func (*QuerySystemsByDenomResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{11} + return fileDescriptor_769de60c7f27ee2c, []int{11} } func (m *QuerySystemsByDenomResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -552,7 +552,7 @@ func (m *QueryAdmins) Reset() { *m = QueryAdmins{} } func (m *QueryAdmins) String() string { return proto.CompactTextString(m) } func (*QueryAdmins) ProtoMessage() {} func (*QueryAdmins) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{12} + return fileDescriptor_769de60c7f27ee2c, []int{12} } func (m *QueryAdmins) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -589,7 +589,7 @@ func (m *QueryAdminsResponse) Reset() { *m = QueryAdminsResponse{} } func (m *QueryAdminsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAdminsResponse) ProtoMessage() {} func (*QueryAdminsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{13} + return fileDescriptor_769de60c7f27ee2c, []int{13} } func (m *QueryAdminsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -633,7 +633,7 @@ func (m *QueryAdminsByDenom) Reset() { *m = QueryAdminsByDenom{} } func (m *QueryAdminsByDenom) String() string { return proto.CompactTextString(m) } func (*QueryAdminsByDenom) ProtoMessage() {} func (*QueryAdminsByDenom) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{14} + return fileDescriptor_769de60c7f27ee2c, []int{14} } func (m *QueryAdminsByDenom) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -677,7 +677,7 @@ func (m *QueryAdminsByDenomResponse) Reset() { *m = QueryAdminsByDenomRe func (m *QueryAdminsByDenomResponse) String() string { return proto.CompactTextString(m) } func (*QueryAdminsByDenomResponse) ProtoMessage() {} func (*QueryAdminsByDenomResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{15} + return fileDescriptor_769de60c7f27ee2c, []int{15} } func (m *QueryAdminsByDenomResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -720,7 +720,7 @@ func (m *QueryMaxMintAllowances) Reset() { *m = QueryMaxMintAllowances{} func (m *QueryMaxMintAllowances) String() string { return proto.CompactTextString(m) } func (*QueryMaxMintAllowances) ProtoMessage() {} func (*QueryMaxMintAllowances) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{16} + return fileDescriptor_769de60c7f27ee2c, []int{16} } func (m *QueryMaxMintAllowances) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -757,7 +757,7 @@ func (m *QueryMaxMintAllowancesResponse) Reset() { *m = QueryMaxMintAllo func (m *QueryMaxMintAllowancesResponse) String() string { return proto.CompactTextString(m) } func (*QueryMaxMintAllowancesResponse) ProtoMessage() {} func (*QueryMaxMintAllowancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{17} + return fileDescriptor_769de60c7f27ee2c, []int{17} } func (m *QueryMaxMintAllowancesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -801,7 +801,7 @@ func (m *QueryMaxMintAllowance) Reset() { *m = QueryMaxMintAllowance{} } func (m *QueryMaxMintAllowance) String() string { return proto.CompactTextString(m) } func (*QueryMaxMintAllowance) ProtoMessage() {} func (*QueryMaxMintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{18} + return fileDescriptor_769de60c7f27ee2c, []int{18} } func (m *QueryMaxMintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -845,7 +845,7 @@ func (m *QueryMaxMintAllowanceResponse) Reset() { *m = QueryMaxMintAllow func (m *QueryMaxMintAllowanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryMaxMintAllowanceResponse) ProtoMessage() {} func (*QueryMaxMintAllowanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{19} + return fileDescriptor_769de60c7f27ee2c, []int{19} } func (m *QueryMaxMintAllowanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -882,7 +882,7 @@ func (m *QueryMintAllowances) Reset() { *m = QueryMintAllowances{} } func (m *QueryMintAllowances) String() string { return proto.CompactTextString(m) } func (*QueryMintAllowances) ProtoMessage() {} func (*QueryMintAllowances) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{20} + return fileDescriptor_769de60c7f27ee2c, []int{20} } func (m *QueryMintAllowances) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -926,7 +926,7 @@ func (m *QueryMintAllowancesResponse) Reset() { *m = QueryMintAllowances func (m *QueryMintAllowancesResponse) String() string { return proto.CompactTextString(m) } func (*QueryMintAllowancesResponse) ProtoMessage() {} func (*QueryMintAllowancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{21} + return fileDescriptor_769de60c7f27ee2c, []int{21} } func (m *QueryMintAllowancesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -971,7 +971,7 @@ func (m *QueryMintAllowance) Reset() { *m = QueryMintAllowance{} } func (m *QueryMintAllowance) String() string { return proto.CompactTextString(m) } func (*QueryMintAllowance) ProtoMessage() {} func (*QueryMintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{22} + return fileDescriptor_769de60c7f27ee2c, []int{22} } func (m *QueryMintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1022,7 +1022,7 @@ func (m *QueryMintAllowanceResponse) Reset() { *m = QueryMintAllowanceRe func (m *QueryMintAllowanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryMintAllowanceResponse) ProtoMessage() {} func (*QueryMintAllowanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f896e6ddcd63be16, []int{23} + return fileDescriptor_769de60c7f27ee2c, []int{23} } func (m *QueryMintAllowanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1052,108 +1052,113 @@ func (m *QueryMintAllowanceResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryMintAllowanceResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*QueryAuthority)(nil), "florin.v1.QueryAuthority") - proto.RegisterType((*QueryAuthorityResponse)(nil), "florin.v1.QueryAuthorityResponse") - proto.RegisterType((*QueryAllowedDenoms)(nil), "florin.v1.QueryAllowedDenoms") - proto.RegisterType((*QueryAllowedDenomsResponse)(nil), "florin.v1.QueryAllowedDenomsResponse") - proto.RegisterType((*QueryOwners)(nil), "florin.v1.QueryOwners") - proto.RegisterType((*QueryOwnersResponse)(nil), "florin.v1.QueryOwnersResponse") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.QueryOwnersResponse.OwnersEntry") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.QueryOwnersResponse.PendingOwnersEntry") - proto.RegisterType((*QueryOwner)(nil), "florin.v1.QueryOwner") - proto.RegisterType((*QueryOwnerResponse)(nil), "florin.v1.QueryOwnerResponse") - proto.RegisterType((*QuerySystems)(nil), "florin.v1.QuerySystems") - proto.RegisterType((*QuerySystemsResponse)(nil), "florin.v1.QuerySystemsResponse") - proto.RegisterType((*QuerySystemsByDenom)(nil), "florin.v1.QuerySystemsByDenom") - proto.RegisterType((*QuerySystemsByDenomResponse)(nil), "florin.v1.QuerySystemsByDenomResponse") - proto.RegisterType((*QueryAdmins)(nil), "florin.v1.QueryAdmins") - proto.RegisterType((*QueryAdminsResponse)(nil), "florin.v1.QueryAdminsResponse") - proto.RegisterType((*QueryAdminsByDenom)(nil), "florin.v1.QueryAdminsByDenom") - proto.RegisterType((*QueryAdminsByDenomResponse)(nil), "florin.v1.QueryAdminsByDenomResponse") - proto.RegisterType((*QueryMaxMintAllowances)(nil), "florin.v1.QueryMaxMintAllowances") - proto.RegisterType((*QueryMaxMintAllowancesResponse)(nil), "florin.v1.QueryMaxMintAllowancesResponse") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry") - proto.RegisterType((*QueryMaxMintAllowance)(nil), "florin.v1.QueryMaxMintAllowance") - proto.RegisterType((*QueryMaxMintAllowanceResponse)(nil), "florin.v1.QueryMaxMintAllowanceResponse") - proto.RegisterType((*QueryMintAllowances)(nil), "florin.v1.QueryMintAllowances") - proto.RegisterType((*QueryMintAllowancesResponse)(nil), "florin.v1.QueryMintAllowancesResponse") - proto.RegisterMapType((map[string]string)(nil), "florin.v1.QueryMintAllowancesResponse.AllowancesEntry") - proto.RegisterType((*QueryMintAllowance)(nil), "florin.v1.QueryMintAllowance") - proto.RegisterType((*QueryMintAllowanceResponse)(nil), "florin.v1.QueryMintAllowanceResponse") -} - -func init() { proto.RegisterFile("florin/v1/query.proto", fileDescriptor_f896e6ddcd63be16) } - -var fileDescriptor_f896e6ddcd63be16 = []byte{ - // 1084 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0xba, 0xc4, 0x95, 0x5f, 0x6a, 0x93, 0x4c, 0x1c, 0xd7, 0xd9, 0xc4, 0x9b, 0x64, 0xc0, - 0x6d, 0x9a, 0x28, 0xde, 0xc6, 0xa0, 0x52, 0x90, 0x90, 0x1a, 0x37, 0x08, 0x15, 0xa9, 0x14, 0x8c, - 0x84, 0x10, 0x07, 0xdc, 0x8d, 0xbd, 0x38, 0xab, 0x7a, 0x67, 0x8c, 0x77, 0x9d, 0xd6, 0xaa, 0x22, - 0x04, 0x27, 0xb8, 0x00, 0x82, 0x2f, 0xc1, 0xb1, 0x87, 0x7e, 0x88, 0x4a, 0x5c, 0x2a, 0xb8, 0x54, - 0x1c, 0x2a, 0x94, 0x20, 0xf1, 0x35, 0x90, 0x67, 0x66, 0x67, 0xff, 0xdb, 0xa9, 0x72, 0x89, 0xfc, - 0xfe, 0xcc, 0xef, 0xf7, 0xe6, 0xbd, 0x37, 0xfb, 0x53, 0x60, 0xe9, 0xeb, 0x1e, 0x1d, 0x58, 0x44, - 0x3f, 0xda, 0xd5, 0xbf, 0x19, 0x9a, 0x83, 0x51, 0xad, 0x3f, 0xa0, 0x2e, 0x45, 0x39, 0xee, 0xae, - 0x1d, 0xed, 0xaa, 0x0b, 0x86, 0x6d, 0x11, 0xaa, 0xb3, 0xbf, 0x3c, 0xaa, 0xae, 0xb4, 0xa9, 0x63, - 0x53, 0x87, 0x9f, 0x88, 0x1c, 0x55, 0x97, 0x79, 0xb0, 0xc5, 0x2c, 0x9d, 0x1b, 0x22, 0x74, 0xd9, - 0x27, 0xeb, 0x9a, 0xc4, 0x74, 0x2c, 0x2f, 0x50, 0xec, 0xd2, 0x2e, 0xe5, 0x07, 0xc6, 0xbf, 0x84, - 0x77, 0xb5, 0x4b, 0x69, 0xb7, 0x67, 0xea, 0x46, 0xdf, 0xd2, 0x0d, 0x42, 0xa8, 0x6b, 0xb8, 0x16, - 0x25, 0xe2, 0x0c, 0x9e, 0x87, 0xc2, 0xa7, 0x63, 0xda, 0xbd, 0xa1, 0x7b, 0x48, 0x07, 0x96, 0x3b, - 0xc2, 0x37, 0xa0, 0x14, 0xf6, 0x34, 0x4d, 0xa7, 0x4f, 0x89, 0x63, 0xa2, 0x55, 0xc8, 0x19, 0x9e, - 0xb3, 0xac, 0xac, 0x2b, 0x9b, 0xb9, 0xa6, 0xef, 0xc0, 0x45, 0x40, 0xfc, 0x5c, 0xaf, 0x47, 0x1f, - 0x9a, 0x9d, 0x7d, 0x93, 0x50, 0xdb, 0xc1, 0xb7, 0x41, 0x8d, 0x7b, 0x25, 0x62, 0x15, 0x0a, 0x06, - 0x0f, 0xb4, 0x3a, 0x2c, 0x52, 0x56, 0xd6, 0x2f, 0x6c, 0xe6, 0x9a, 0x79, 0x23, 0x04, 0x92, 0x87, - 0x39, 0x06, 0x72, 0xef, 0x21, 0x31, 0x07, 0x0e, 0x7e, 0x92, 0x81, 0xc5, 0x80, 0x2d, 0xd1, 0x1a, - 0x90, 0xa5, 0xcc, 0xc3, 0x50, 0xe6, 0xea, 0x5b, 0x35, 0xd9, 0xff, 0x5a, 0x42, 0x7e, 0x8d, 0x9b, - 0x1f, 0x10, 0x77, 0x30, 0x6a, 0x8a, 0x93, 0xe8, 0x0b, 0x28, 0xf4, 0x4d, 0xd2, 0xb1, 0x48, 0xb7, - 0x25, 0xb0, 0x32, 0x0c, 0x6b, 0x77, 0x0a, 0xd6, 0x27, 0xfc, 0x50, 0x10, 0x32, 0xdf, 0x0f, 0xfa, - 0xd4, 0x77, 0x61, 0x2e, 0x10, 0x45, 0xf3, 0x70, 0xe1, 0x81, 0xe9, 0xb5, 0x71, 0xfc, 0x13, 0x15, - 0x61, 0xf6, 0xc8, 0xe8, 0x0d, 0xcd, 0x72, 0x86, 0xf9, 0xb8, 0xf1, 0x5e, 0xe6, 0xa6, 0xa2, 0xde, - 0x02, 0x14, 0xc7, 0x7f, 0x15, 0x04, 0x8c, 0x01, 0xfc, 0xaa, 0xc7, 0x79, 0xac, 0xdd, 0xe2, 0x2c, - 0x37, 0xf0, 0x3d, 0x31, 0x40, 0x96, 0x23, 0x9b, 0x5a, 0x84, 0x59, 0xd6, 0x08, 0x2f, 0x97, 0x19, - 0xe8, 0x0d, 0xc8, 0x87, 0xda, 0x24, 0x18, 0x2f, 0x05, 0xaf, 0x8c, 0x0b, 0x70, 0x89, 0x01, 0x7e, - 0x36, 0x72, 0x5c, 0xd3, 0x76, 0xf0, 0x47, 0x50, 0x0c, 0xda, 0x92, 0xa2, 0x0e, 0x17, 0x1d, 0xee, - 0x12, 0x83, 0x43, 0x81, 0x66, 0xef, 0xb5, 0xdb, 0x74, 0x48, 0xdc, 0xc6, 0x6b, 0xcf, 0x5e, 0xae, - 0xcd, 0x34, 0xbd, 0x44, 0xbc, 0x2d, 0x56, 0x40, 0x60, 0x35, 0x46, 0x6c, 0x55, 0x52, 0x6e, 0xf6, - 0x0e, 0xac, 0x24, 0x24, 0x4b, 0xfe, 0x72, 0x98, 0x3f, 0xe7, 0xb3, 0x78, 0x8b, 0xb7, 0xd7, 0xb1, - 0x2d, 0xe2, 0xe0, 0x0f, 0x05, 0x29, 0x37, 0xe5, 0xf9, 0xeb, 0x90, 0x35, 0x98, 0x67, 0x6a, 0xf9, - 0x22, 0x0f, 0x6f, 0x79, 0x6f, 0x85, 0x99, 0x93, 0x8b, 0x7f, 0xdb, 0x7b, 0x41, 0xc1, 0x5c, 0xc9, - 0x5d, 0x0a, 0x71, 0xe7, 0x24, 0x43, 0x59, 0xbc, 0xe2, 0xbb, 0xc6, 0xa3, 0xbb, 0x16, 0x71, 0xd9, - 0xf3, 0x33, 0x48, 0xdb, 0x74, 0xf0, 0x0b, 0x05, 0xb4, 0xe4, 0x90, 0x04, 0xed, 0xc3, 0xa2, 0x6d, - 0x3c, 0x6a, 0xd9, 0x16, 0x71, 0x5b, 0x86, 0x0c, 0x8b, 0xdb, 0xdd, 0x8a, 0xbe, 0x84, 0x54, 0x9c, - 0x5a, 0x2c, 0xc2, 0x1f, 0xc6, 0x82, 0x1d, 0xf5, 0xab, 0xfb, 0x50, 0x4a, 0x4e, 0x7e, 0xa5, 0x2d, - 0xdf, 0x81, 0xa5, 0xc4, 0x8a, 0x52, 0x3a, 0xfb, 0x2d, 0x54, 0x12, 0xd3, 0x65, 0x1f, 0xbe, 0x02, - 0x14, 0xef, 0x03, 0xc7, 0x68, 0x5c, 0x1f, 0x0f, 0xf4, 0xef, 0x97, 0x6b, 0x4b, 0xfc, 0xdb, 0xec, - 0x74, 0x1e, 0xd4, 0x2c, 0xaa, 0xdb, 0x86, 0x7b, 0x58, 0xbb, 0x43, 0xdc, 0x3f, 0x9f, 0xee, 0x80, - 0xf8, 0x68, 0xdf, 0x21, 0xee, 0xef, 0xff, 0x3d, 0xd9, 0x52, 0x9a, 0xf3, 0xd1, 0x6b, 0xcb, 0x25, - 0x0e, 0xdf, 0x3b, 0xa5, 0xda, 0xa7, 0x8a, 0xd8, 0xe2, 0x94, 0xa1, 0x7d, 0x0e, 0x10, 0x9b, 0xd5, - 0x8d, 0xd8, 0xac, 0x92, 0x07, 0x15, 0x9d, 0x50, 0x00, 0x49, 0x7d, 0x1f, 0x5e, 0x3f, 0xcf, 0x4c, - 0xf6, 0xc5, 0xaa, 0x9f, 0x61, 0x20, 0xe3, 0x87, 0x68, 0xf0, 0xf7, 0x22, 0x70, 0x3c, 0x13, 0xf7, - 0xc4, 0x23, 0x48, 0x9e, 0xd3, 0xc7, 0x90, 0x3b, 0xff, 0x78, 0x7c, 0x88, 0xfa, 0x1f, 0x73, 0x30, - 0xcb, 0xe8, 0x50, 0x0f, 0x72, 0x52, 0x07, 0xd1, 0x72, 0xb4, 0x9b, 0x32, 0xa4, 0x6e, 0xa4, 0x86, - 0xbc, 0x22, 0xf1, 0xc6, 0x0f, 0x63, 0x9a, 0xef, 0xff, 0xfa, 0xf7, 0xb7, 0x4c, 0x09, 0x15, 0x75, - 0x5f, 0xc4, 0xa5, 0x84, 0xa2, 0x63, 0xc8, 0x87, 0x74, 0x12, 0x55, 0x62, 0xb0, 0xc1, 0xb0, 0x5a, - 0x9d, 0x18, 0x96, 0xcc, 0x57, 0x7c, 0xe6, 0x15, 0xb4, 0x1c, 0x64, 0x0e, 0x69, 0x2f, 0xba, 0x0f, - 0x59, 0xae, 0x2f, 0xa8, 0x94, 0xac, 0x76, 0xaa, 0x36, 0x59, 0x05, 0xb1, 0xe6, 0x33, 0x2d, 0xa2, - 0x85, 0x00, 0x93, 0x50, 0xd7, 0x0e, 0xcc, 0x72, 0x05, 0x5a, 0x4a, 0x04, 0x52, 0x2b, 0x89, 0x6e, - 0x09, 0x5f, 0xf5, 0xe1, 0x55, 0x54, 0x8e, 0xc2, 0xeb, 0x8f, 0xd9, 0x3d, 0x8e, 0x51, 0x07, 0x2e, - 0x8a, 0x2f, 0x3d, 0xba, 0x1c, 0x05, 0x14, 0x01, 0x75, 0x2d, 0x25, 0x20, 0xb9, 0xd6, 0x7c, 0xae, - 0x22, 0x42, 0x01, 0x2e, 0xa1, 0x0d, 0xe8, 0x3b, 0x05, 0x0a, 0x11, 0xf5, 0xd1, 0x52, 0x40, 0x45, - 0x5c, 0xbd, 0x32, 0x39, 0x2e, 0xb9, 0xaf, 0xfa, 0xdc, 0xab, 0x48, 0x8d, 0x73, 0xcb, 0x9b, 0xde, - 0x87, 0x2c, 0x97, 0x85, 0xf8, 0xc4, 0xb8, 0x3f, 0x3e, 0xb1, 0xb0, 0x76, 0xa5, 0x4f, 0x8c, 0xeb, - 0x08, 0x5b, 0xc9, 0x90, 0x48, 0x55, 0x92, 0x01, 0xbd, 0x2b, 0x56, 0x27, 0x86, 0xcf, 0xb0, 0x92, - 0x2c, 0x5d, 0x5e, 0xf0, 0x27, 0x05, 0x16, 0x62, 0xc2, 0x80, 0x36, 0xa6, 0x4a, 0x90, 0x7a, 0xed, - 0xcc, 0x2a, 0x85, 0xb7, 0xfd, 0x5a, 0xd6, 0x91, 0x16, 0xa8, 0x25, 0x41, 0x03, 0xd1, 0xaf, 0x0a, - 0xcc, 0xc7, 0xe4, 0x65, 0x7d, 0x1a, 0x99, 0xba, 0x39, 0x2d, 0x43, 0x56, 0x53, 0xf7, 0xab, 0xb9, - 0x8a, 0xaa, 0x13, 0xab, 0x91, 0x5d, 0xfa, 0x51, 0x81, 0x42, 0xa4, 0x45, 0xda, 0xe4, 0x2f, 0x7f, - 0x7c, 0x15, 0x53, 0x9a, 0xa3, 0xfb, 0xe5, 0xbc, 0x89, 0x70, 0xb0, 0x9c, 0x70, 0x63, 0x64, 0x2d, - 0x3f, 0x2b, 0x90, 0x0f, 0x77, 0xa7, 0x32, 0x91, 0x2a, 0xbe, 0x31, 0xc9, 0x7d, 0xb9, 0xe9, 0x17, - 0xb2, 0x83, 0xb6, 0x53, 0x0b, 0xf1, 0xea, 0xd0, 0x1f, 0x0b, 0xe9, 0x38, 0x6e, 0xdc, 0x7e, 0x76, - 0xa2, 0x29, 0xcf, 0x4f, 0x34, 0xe5, 0x9f, 0x13, 0x4d, 0xf9, 0xe5, 0x54, 0x9b, 0x79, 0x7e, 0xaa, - 0xcd, 0xbc, 0x38, 0xd5, 0x66, 0xbe, 0xbc, 0xd6, 0xb5, 0xdc, 0xc3, 0xe1, 0x41, 0xad, 0x4d, 0x6d, - 0xdd, 0xa6, 0xc4, 0x1c, 0x58, 0xc3, 0xf1, 0x8f, 0xce, 0xb0, 0x67, 0xee, 0x10, 0x7a, 0xd0, 0x33, - 0xf5, 0xa3, 0xba, 0xee, 0x8e, 0xfa, 0xa6, 0x73, 0x90, 0x65, 0xff, 0x2e, 0xbd, 0xf5, 0x7f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0xf7, 0x9b, 0x4e, 0xb4, 0xea, 0x0d, 0x00, 0x00, + proto.RegisterType((*QueryAuthority)(nil), "florin.v2.QueryAuthority") + proto.RegisterType((*QueryAuthorityResponse)(nil), "florin.v2.QueryAuthorityResponse") + proto.RegisterType((*QueryAllowedDenoms)(nil), "florin.v2.QueryAllowedDenoms") + proto.RegisterType((*QueryAllowedDenomsResponse)(nil), "florin.v2.QueryAllowedDenomsResponse") + proto.RegisterType((*QueryOwners)(nil), "florin.v2.QueryOwners") + proto.RegisterType((*QueryOwnersResponse)(nil), "florin.v2.QueryOwnersResponse") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.QueryOwnersResponse.OwnersEntry") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.QueryOwnersResponse.PendingOwnersEntry") + proto.RegisterType((*QueryOwner)(nil), "florin.v2.QueryOwner") + proto.RegisterType((*QueryOwnerResponse)(nil), "florin.v2.QueryOwnerResponse") + proto.RegisterType((*QuerySystems)(nil), "florin.v2.QuerySystems") + proto.RegisterType((*QuerySystemsResponse)(nil), "florin.v2.QuerySystemsResponse") + proto.RegisterType((*QuerySystemsByDenom)(nil), "florin.v2.QuerySystemsByDenom") + proto.RegisterType((*QuerySystemsByDenomResponse)(nil), "florin.v2.QuerySystemsByDenomResponse") + proto.RegisterType((*QueryAdmins)(nil), "florin.v2.QueryAdmins") + proto.RegisterType((*QueryAdminsResponse)(nil), "florin.v2.QueryAdminsResponse") + proto.RegisterType((*QueryAdminsByDenom)(nil), "florin.v2.QueryAdminsByDenom") + proto.RegisterType((*QueryAdminsByDenomResponse)(nil), "florin.v2.QueryAdminsByDenomResponse") + proto.RegisterType((*QueryMaxMintAllowances)(nil), "florin.v2.QueryMaxMintAllowances") + proto.RegisterType((*QueryMaxMintAllowancesResponse)(nil), "florin.v2.QueryMaxMintAllowancesResponse") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.QueryMaxMintAllowancesResponse.MaxMintAllowancesEntry") + proto.RegisterType((*QueryMaxMintAllowance)(nil), "florin.v2.QueryMaxMintAllowance") + proto.RegisterType((*QueryMaxMintAllowanceResponse)(nil), "florin.v2.QueryMaxMintAllowanceResponse") + proto.RegisterType((*QueryMintAllowances)(nil), "florin.v2.QueryMintAllowances") + proto.RegisterType((*QueryMintAllowancesResponse)(nil), "florin.v2.QueryMintAllowancesResponse") + proto.RegisterMapType((map[string]string)(nil), "florin.v2.QueryMintAllowancesResponse.AllowancesEntry") + proto.RegisterType((*QueryMintAllowance)(nil), "florin.v2.QueryMintAllowance") + proto.RegisterType((*QueryMintAllowanceResponse)(nil), "florin.v2.QueryMintAllowanceResponse") +} + +func init() { proto.RegisterFile("florin/v2/query.proto", fileDescriptor_769de60c7f27ee2c) } + +var fileDescriptor_769de60c7f27ee2c = []byte{ + // 1158 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0xa6, 0x24, 0x95, 0x5f, 0x6a, 0x93, 0x4c, 0x9c, 0xd4, 0xd9, 0x24, 0x9b, 0x64, 0x21, + 0x90, 0xa6, 0x8a, 0xb7, 0x71, 0x21, 0x94, 0x4a, 0x48, 0x8d, 0x93, 0x0a, 0xb5, 0x52, 0x68, 0x31, + 0x02, 0x21, 0x83, 0x88, 0x36, 0xf6, 0xe2, 0xac, 0xea, 0x9d, 0x31, 0xde, 0x75, 0x5a, 0x53, 0x55, + 0x20, 0x4e, 0x1c, 0x91, 0xb8, 0x71, 0x41, 0xe2, 0xc4, 0x8d, 0x1c, 0x7a, 0x43, 0xe2, 0xdc, 0x63, + 0x05, 0x97, 0x8a, 0x43, 0x85, 0x12, 0x24, 0xfe, 0x0d, 0xe4, 0x99, 0xd9, 0xd9, 0xd9, 0x9f, 0x4e, + 0xd5, 0x4b, 0xb4, 0xf3, 0xbe, 0x37, 0xef, 0x7d, 0xf3, 0x7e, 0xf8, 0x53, 0x60, 0xe6, 0xcb, 0x36, + 0xe9, 0xda, 0xd8, 0x38, 0xaa, 0x18, 0x5f, 0xf5, 0xac, 0x6e, 0xbf, 0xdc, 0xe9, 0x12, 0x8f, 0xa0, + 0x1c, 0x33, 0x97, 0x8f, 0x2a, 0xea, 0x94, 0xe9, 0xd8, 0x98, 0x18, 0xf4, 0x2f, 0x43, 0xd5, 0xf9, + 0x06, 0x71, 0x1d, 0xe2, 0xb2, 0x1b, 0xc6, 0xd1, 0xa6, 0x7c, 0x55, 0x9d, 0x63, 0xe0, 0x3e, 0x3d, + 0x19, 0xec, 0xc0, 0xa1, 0x8b, 0x41, 0xb2, 0x96, 0x85, 0x2d, 0xd7, 0xf6, 0x81, 0x62, 0x8b, 0xb4, + 0x08, 0xbb, 0x30, 0xf8, 0xe2, 0xd6, 0x85, 0x16, 0x21, 0xad, 0xb6, 0x65, 0x98, 0x1d, 0xdb, 0x30, + 0x31, 0x26, 0x9e, 0xe9, 0xd9, 0x04, 0xf3, 0x3b, 0xfa, 0x24, 0x14, 0x3e, 0x1c, 0xa4, 0xdd, 0xee, + 0x79, 0x87, 0xa4, 0x6b, 0x7b, 0x7d, 0x7d, 0x0b, 0x66, 0xc3, 0x96, 0x9a, 0xe5, 0x76, 0x08, 0x76, + 0x2d, 0xb4, 0x00, 0x39, 0xd3, 0x37, 0x96, 0x94, 0x65, 0x65, 0x2d, 0x57, 0x0b, 0x0c, 0x7a, 0x11, + 0x10, 0xbb, 0xd7, 0x6e, 0x93, 0xfb, 0x56, 0x73, 0xd7, 0xc2, 0xc4, 0x71, 0xf5, 0x1d, 0x50, 0xe3, + 0x56, 0x11, 0x71, 0x15, 0x0a, 0x26, 0x03, 0xf6, 0x9b, 0x14, 0x29, 0x29, 0xcb, 0xe7, 0xd6, 0x72, + 0xb5, 0xbc, 0x19, 0x0a, 0x92, 0x87, 0x09, 0x1a, 0xe4, 0xce, 0x7d, 0x6c, 0x75, 0x5d, 0xfd, 0x78, + 0x14, 0xa6, 0xa5, 0xb3, 0x88, 0x56, 0x85, 0x71, 0x42, 0x2d, 0x34, 0xca, 0x44, 0x65, 0xbd, 0x2c, + 0xea, 0x5f, 0x4e, 0xf0, 0x2f, 0xb3, 0xe3, 0x4d, 0xec, 0x75, 0xfb, 0x35, 0x7e, 0x13, 0x7d, 0x0a, + 0x85, 0x8e, 0x85, 0x9b, 0x36, 0x6e, 0xed, 0xf3, 0x58, 0xa3, 0x34, 0xd6, 0xe6, 0x90, 0x58, 0x77, + 0xd9, 0x25, 0x39, 0x64, 0xbe, 0x23, 0xdb, 0xd4, 0x77, 0x61, 0x42, 0x42, 0xd1, 0x24, 0x9c, 0xbb, + 0x67, 0xf9, 0x65, 0x1c, 0x7c, 0xa2, 0x22, 0x8c, 0x1d, 0x99, 0xed, 0x9e, 0x55, 0x1a, 0xa5, 0x36, + 0x76, 0xb8, 0x3e, 0x7a, 0x4d, 0x51, 0x6f, 0x00, 0x8a, 0xc7, 0x7f, 0x91, 0x08, 0xba, 0x0e, 0x10, + 0xb0, 0x1e, 0xf8, 0xd1, 0x72, 0xf3, 0xbb, 0xec, 0xa0, 0xdf, 0xe1, 0x0d, 0xa4, 0x3e, 0xa2, 0xa8, + 0x45, 0x18, 0xa3, 0x85, 0xf0, 0x7d, 0xe9, 0x01, 0xbd, 0x06, 0xf9, 0x50, 0x99, 0x78, 0xc6, 0x0b, + 0xf2, 0x93, 0xf5, 0x02, 0x5c, 0xa0, 0x01, 0x3f, 0xea, 0xbb, 0x9e, 0xe5, 0xb8, 0xfa, 0x6d, 0x28, + 0xca, 0x67, 0x91, 0xa2, 0x02, 0xe7, 0x5d, 0x66, 0xe2, 0x8d, 0x43, 0x52, 0xb1, 0xb7, 0x1b, 0x0d, + 0xd2, 0xc3, 0x5e, 0xf5, 0x95, 0x27, 0xcf, 0x97, 0x46, 0x6a, 0xbe, 0xa3, 0x7e, 0x99, 0x8f, 0x00, + 0x8f, 0x55, 0xed, 0xd3, 0x51, 0x49, 0x79, 0xd9, 0x3b, 0x30, 0x9f, 0xe0, 0x2c, 0xf2, 0x97, 0xc2, + 0xf9, 0x73, 0x41, 0x16, 0x7f, 0xf0, 0xb6, 0x9b, 0x8e, 0x8d, 0x5d, 0xfd, 0x7d, 0x9e, 0x94, 0x1d, + 0xc5, 0xfd, 0x2b, 0x30, 0x6e, 0x52, 0xcb, 0x50, 0xfa, 0xdc, 0x4f, 0x5f, 0xf7, 0x77, 0x85, 0x1e, + 0xb3, 0xc9, 0xbf, 0xe5, 0x6f, 0x90, 0xec, 0x2b, 0x72, 0xcf, 0x86, 0x72, 0xe7, 0x44, 0x86, 0x12, + 0xdf, 0xe2, 0x3d, 0xf3, 0xc1, 0x9e, 0x8d, 0x3d, 0xba, 0x7e, 0x26, 0x6e, 0x58, 0xae, 0xfe, 0x4c, + 0x01, 0x2d, 0x19, 0x12, 0x41, 0x3b, 0x30, 0xed, 0x98, 0x0f, 0xf6, 0x1d, 0x1b, 0x7b, 0xfb, 0xa6, + 0x80, 0xf9, 0xeb, 0x6e, 0x44, 0x37, 0x21, 0x35, 0x4e, 0x39, 0x86, 0xb0, 0xc5, 0x98, 0x72, 0xa2, + 0x76, 0x75, 0x17, 0x66, 0x93, 0x9d, 0x5f, 0x68, 0xca, 0x37, 0x60, 0x26, 0x91, 0x51, 0x4a, 0x65, + 0xbf, 0x81, 0xc5, 0x44, 0x77, 0x51, 0x87, 0x2f, 0x00, 0xc5, 0xeb, 0xc0, 0x62, 0x54, 0xaf, 0x0c, + 0x1a, 0xfa, 0xf7, 0xf3, 0xa5, 0x19, 0xf6, 0xdb, 0xec, 0x36, 0xef, 0x95, 0x6d, 0x62, 0x38, 0xa6, + 0x77, 0x58, 0xbe, 0x85, 0xbd, 0x3f, 0x1f, 0x6f, 0x00, 0xff, 0xd1, 0xbe, 0x85, 0xbd, 0x5f, 0xff, + 0x3b, 0x5e, 0x57, 0x6a, 0x93, 0xd1, 0x67, 0x8b, 0x21, 0x0e, 0xbf, 0x3b, 0x85, 0xed, 0x63, 0x85, + 0x4f, 0x71, 0x4a, 0xd3, 0x3e, 0x01, 0x88, 0xf5, 0x6a, 0x2b, 0xd6, 0xab, 0xe4, 0x46, 0x45, 0x3b, + 0x24, 0x45, 0x52, 0xdf, 0x83, 0x57, 0x5f, 0xa6, 0x27, 0xbb, 0x7c, 0xd4, 0xcf, 0xd0, 0x90, 0xc1, + 0x22, 0x9a, 0x6c, 0x5f, 0x78, 0x1c, 0xff, 0xa8, 0xb7, 0xf9, 0x12, 0x24, 0xf7, 0xe9, 0x03, 0xc8, + 0xbd, 0x7c, 0x7b, 0x82, 0x10, 0x95, 0x5f, 0x0a, 0x30, 0x46, 0xd3, 0xa1, 0x36, 0xe4, 0x84, 0x0e, + 0xa2, 0xb9, 0x68, 0x35, 0x05, 0xa4, 0xae, 0xa4, 0x42, 0x3e, 0x49, 0x7d, 0xe5, 0xfb, 0x41, 0x9a, + 0xef, 0xfe, 0xfa, 0xf7, 0xc7, 0xd1, 0x59, 0x54, 0x34, 0x02, 0x11, 0x17, 0x12, 0x8a, 0x7e, 0x52, + 0x20, 0x1f, 0x12, 0x4a, 0xb4, 0x18, 0x8b, 0x2b, 0xc3, 0xea, 0x6a, 0x26, 0x2c, 0x52, 0xef, 0x04, + 0xa9, 0xaf, 0xd5, 0xe7, 0xd1, 0x9c, 0x48, 0xbe, 0x69, 0x84, 0xe5, 0x57, 0x82, 0x2a, 0x51, 0xa8, + 0x07, 0xe3, 0x4c, 0x7d, 0xd0, 0x6c, 0xb2, 0x16, 0xaa, 0x5a, 0xb6, 0x46, 0xea, 0x57, 0x03, 0x1a, + 0x6b, 0xf5, 0x69, 0x34, 0x25, 0xd1, 0xe0, 0xea, 0x3b, 0x25, 0xa5, 0xe7, 0xa6, 0x6f, 0x15, 0x18, + 0x63, 0xaa, 0x35, 0x93, 0x18, 0x5e, 0x5d, 0x4c, 0x34, 0x8b, 0xa4, 0xdb, 0x41, 0xd2, 0xad, 0xba, + 0x8a, 0x4a, 0xd1, 0xa4, 0xc6, 0x43, 0xfa, 0xbe, 0x47, 0x12, 0x52, 0x89, 0x20, 0x5f, 0xc3, 0x79, + 0xae, 0x1c, 0xe8, 0x62, 0x34, 0x19, 0x07, 0xd4, 0xa5, 0x14, 0x40, 0xf0, 0x78, 0x3b, 0xe0, 0xb1, + 0x5e, 0x2f, 0x22, 0x24, 0xf1, 0xe0, 0x6a, 0x23, 0xd9, 0x2a, 0xc2, 0xf6, 0xb3, 0x02, 0x85, 0x88, + 0xc6, 0x69, 0x29, 0xa9, 0x38, 0xae, 0xbe, 0x91, 0x8d, 0x0b, 0x46, 0x37, 0x03, 0x46, 0xd7, 0xeb, + 0x0b, 0x48, 0x8d, 0x33, 0x12, 0x15, 0x50, 0xe3, 0xcc, 0x04, 0xd6, 0x83, 0x71, 0x26, 0x4d, 0xf1, + 0xb9, 0x60, 0xf6, 0xf8, 0x5c, 0x84, 0xf5, 0x33, 0x6b, 0x2e, 0x98, 0x9a, 0x85, 0xe6, 0x82, 0x9b, + 0xe8, 0xae, 0x84, 0xe4, 0x73, 0x31, 0x39, 0x8d, 0x5f, 0x96, 0xd5, 0x4c, 0xf8, 0x4c, 0xbb, 0x42, + 0x2f, 0x88, 0x87, 0xcf, 0xc5, 0x48, 0x09, 0xe8, 0x58, 0x81, 0xa9, 0x98, 0x9e, 0xa1, 0x95, 0xa1, + 0xca, 0xa9, 0x5e, 0x3a, 0xb3, 0xb8, 0xea, 0x7b, 0x01, 0xd1, 0x6a, 0x7d, 0x19, 0x69, 0x12, 0xd1, + 0x04, 0xf1, 0x96, 0xf0, 0x4a, 0x22, 0xfe, 0xbb, 0x02, 0x93, 0x31, 0xdd, 0x5c, 0x1e, 0x46, 0x47, + 0x5d, 0x1b, 0xe6, 0x21, 0xf8, 0x7e, 0x16, 0xf0, 0xbd, 0x5b, 0x7f, 0x13, 0xad, 0x66, 0xf2, 0x15, + 0x95, 0x5c, 0xcd, 0xa4, 0x2d, 0xdc, 0x7e, 0x53, 0xa0, 0x10, 0xa9, 0xb6, 0x96, 0xad, 0x7d, 0xf1, + 0x35, 0x49, 0xa9, 0xf3, 0xc7, 0x01, 0xef, 0xdb, 0xf5, 0xd7, 0x91, 0x2e, 0xf3, 0x0e, 0xd7, 0x50, + 0xb0, 0xd1, 0x65, 0xd2, 0x29, 0x3e, 0x7f, 0x28, 0x90, 0x0f, 0x17, 0x7b, 0x31, 0x93, 0x50, 0x7c, + 0x7e, 0x93, 0xcb, 0xdc, 0x0a, 0xe8, 0x7e, 0x5e, 0xdf, 0x40, 0x97, 0x53, 0xe9, 0xfa, 0x4c, 0x8c, + 0x87, 0x5c, 0x64, 0x1f, 0x49, 0xce, 0x95, 0xa1, 0xce, 0xd5, 0x9d, 0x27, 0x27, 0x9a, 0xf2, 0xf4, + 0x44, 0x53, 0xfe, 0x39, 0xd1, 0x94, 0x1f, 0x4e, 0xb5, 0x91, 0xa7, 0xa7, 0xda, 0xc8, 0xb3, 0x53, + 0x6d, 0xa4, 0x7e, 0xa9, 0x65, 0x7b, 0x87, 0xbd, 0x83, 0x72, 0x83, 0x38, 0x86, 0x43, 0xb0, 0xd5, + 0xb5, 0x7b, 0x83, 0x8f, 0x66, 0xaf, 0x6d, 0x6d, 0x60, 0x72, 0xd0, 0xb6, 0x06, 0xf1, 0xbd, 0x7e, + 0xc7, 0x72, 0x0f, 0xc6, 0xe9, 0x7f, 0xa1, 0x57, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x8b, + 0x04, 0x16, 0x41, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1192,7 +1197,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Authority(ctx context.Context, in *QueryAuthority, opts ...grpc.CallOption) (*QueryAuthorityResponse, error) { out := new(QueryAuthorityResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/Authority", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/Authority", in, out, opts...) if err != nil { return nil, err } @@ -1201,7 +1206,7 @@ func (c *queryClient) Authority(ctx context.Context, in *QueryAuthority, opts .. func (c *queryClient) AllowedDenoms(ctx context.Context, in *QueryAllowedDenoms, opts ...grpc.CallOption) (*QueryAllowedDenomsResponse, error) { out := new(QueryAllowedDenomsResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/AllowedDenoms", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/AllowedDenoms", in, out, opts...) if err != nil { return nil, err } @@ -1210,7 +1215,7 @@ func (c *queryClient) AllowedDenoms(ctx context.Context, in *QueryAllowedDenoms, func (c *queryClient) Owners(ctx context.Context, in *QueryOwners, opts ...grpc.CallOption) (*QueryOwnersResponse, error) { out := new(QueryOwnersResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/Owners", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/Owners", in, out, opts...) if err != nil { return nil, err } @@ -1219,7 +1224,7 @@ func (c *queryClient) Owners(ctx context.Context, in *QueryOwners, opts ...grpc. func (c *queryClient) Owner(ctx context.Context, in *QueryOwner, opts ...grpc.CallOption) (*QueryOwnerResponse, error) { out := new(QueryOwnerResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/Owner", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/Owner", in, out, opts...) if err != nil { return nil, err } @@ -1228,7 +1233,7 @@ func (c *queryClient) Owner(ctx context.Context, in *QueryOwner, opts ...grpc.Ca func (c *queryClient) Systems(ctx context.Context, in *QuerySystems, opts ...grpc.CallOption) (*QuerySystemsResponse, error) { out := new(QuerySystemsResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/Systems", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/Systems", in, out, opts...) if err != nil { return nil, err } @@ -1237,7 +1242,7 @@ func (c *queryClient) Systems(ctx context.Context, in *QuerySystems, opts ...grp func (c *queryClient) SystemsByDenom(ctx context.Context, in *QuerySystemsByDenom, opts ...grpc.CallOption) (*QuerySystemsByDenomResponse, error) { out := new(QuerySystemsByDenomResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/SystemsByDenom", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/SystemsByDenom", in, out, opts...) if err != nil { return nil, err } @@ -1246,7 +1251,7 @@ func (c *queryClient) SystemsByDenom(ctx context.Context, in *QuerySystemsByDeno func (c *queryClient) Admins(ctx context.Context, in *QueryAdmins, opts ...grpc.CallOption) (*QueryAdminsResponse, error) { out := new(QueryAdminsResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/Admins", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/Admins", in, out, opts...) if err != nil { return nil, err } @@ -1255,7 +1260,7 @@ func (c *queryClient) Admins(ctx context.Context, in *QueryAdmins, opts ...grpc. func (c *queryClient) AdminsByDenom(ctx context.Context, in *QueryAdminsByDenom, opts ...grpc.CallOption) (*QueryAdminsByDenomResponse, error) { out := new(QueryAdminsByDenomResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/AdminsByDenom", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/AdminsByDenom", in, out, opts...) if err != nil { return nil, err } @@ -1264,7 +1269,7 @@ func (c *queryClient) AdminsByDenom(ctx context.Context, in *QueryAdminsByDenom, func (c *queryClient) MaxMintAllowances(ctx context.Context, in *QueryMaxMintAllowances, opts ...grpc.CallOption) (*QueryMaxMintAllowancesResponse, error) { out := new(QueryMaxMintAllowancesResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/MaxMintAllowances", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/MaxMintAllowances", in, out, opts...) if err != nil { return nil, err } @@ -1273,7 +1278,7 @@ func (c *queryClient) MaxMintAllowances(ctx context.Context, in *QueryMaxMintAll func (c *queryClient) MaxMintAllowance(ctx context.Context, in *QueryMaxMintAllowance, opts ...grpc.CallOption) (*QueryMaxMintAllowanceResponse, error) { out := new(QueryMaxMintAllowanceResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/MaxMintAllowance", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/MaxMintAllowance", in, out, opts...) if err != nil { return nil, err } @@ -1282,7 +1287,7 @@ func (c *queryClient) MaxMintAllowance(ctx context.Context, in *QueryMaxMintAllo func (c *queryClient) MintAllowances(ctx context.Context, in *QueryMintAllowances, opts ...grpc.CallOption) (*QueryMintAllowancesResponse, error) { out := new(QueryMintAllowancesResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/MintAllowances", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/MintAllowances", in, out, opts...) if err != nil { return nil, err } @@ -1291,7 +1296,7 @@ func (c *queryClient) MintAllowances(ctx context.Context, in *QueryMintAllowance func (c *queryClient) MintAllowance(ctx context.Context, in *QueryMintAllowance, opts ...grpc.CallOption) (*QueryMintAllowanceResponse, error) { out := new(QueryMintAllowanceResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Query/MintAllowance", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Query/MintAllowance", in, out, opts...) if err != nil { return nil, err } @@ -1369,7 +1374,7 @@ func _Query_Authority_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/Authority", + FullMethod: "/florin.v2.Query/Authority", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Authority(ctx, req.(*QueryAuthority)) @@ -1387,7 +1392,7 @@ func _Query_AllowedDenoms_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/AllowedDenoms", + FullMethod: "/florin.v2.Query/AllowedDenoms", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AllowedDenoms(ctx, req.(*QueryAllowedDenoms)) @@ -1405,7 +1410,7 @@ func _Query_Owners_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/Owners", + FullMethod: "/florin.v2.Query/Owners", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Owners(ctx, req.(*QueryOwners)) @@ -1423,7 +1428,7 @@ func _Query_Owner_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/Owner", + FullMethod: "/florin.v2.Query/Owner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Owner(ctx, req.(*QueryOwner)) @@ -1441,7 +1446,7 @@ func _Query_Systems_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/Systems", + FullMethod: "/florin.v2.Query/Systems", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Systems(ctx, req.(*QuerySystems)) @@ -1459,7 +1464,7 @@ func _Query_SystemsByDenom_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/SystemsByDenom", + FullMethod: "/florin.v2.Query/SystemsByDenom", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).SystemsByDenom(ctx, req.(*QuerySystemsByDenom)) @@ -1477,7 +1482,7 @@ func _Query_Admins_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/Admins", + FullMethod: "/florin.v2.Query/Admins", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Admins(ctx, req.(*QueryAdmins)) @@ -1495,7 +1500,7 @@ func _Query_AdminsByDenom_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/AdminsByDenom", + FullMethod: "/florin.v2.Query/AdminsByDenom", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AdminsByDenom(ctx, req.(*QueryAdminsByDenom)) @@ -1513,7 +1518,7 @@ func _Query_MaxMintAllowances_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/MaxMintAllowances", + FullMethod: "/florin.v2.Query/MaxMintAllowances", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).MaxMintAllowances(ctx, req.(*QueryMaxMintAllowances)) @@ -1531,7 +1536,7 @@ func _Query_MaxMintAllowance_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/MaxMintAllowance", + FullMethod: "/florin.v2.Query/MaxMintAllowance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).MaxMintAllowance(ctx, req.(*QueryMaxMintAllowance)) @@ -1549,7 +1554,7 @@ func _Query_MintAllowances_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/MintAllowances", + FullMethod: "/florin.v2.Query/MintAllowances", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).MintAllowances(ctx, req.(*QueryMintAllowances)) @@ -1567,7 +1572,7 @@ func _Query_MintAllowance_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Query/MintAllowance", + FullMethod: "/florin.v2.Query/MintAllowance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).MintAllowance(ctx, req.(*QueryMintAllowance)) @@ -1577,7 +1582,7 @@ func _Query_MintAllowance_Handler(srv interface{}, ctx context.Context, dec func var Query_serviceDesc = _Query_serviceDesc var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "florin.v1.Query", + ServiceName: "florin.v2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1630,7 +1635,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "florin/v1/query.proto", + Metadata: "florin/v2/query.proto", } func (m *QueryAuthority) Marshal() (dAtA []byte, err error) { diff --git a/types/query.pb.gw.go b/types/query.pb.gw.go index 82b68ced..3b4ee948 100644 --- a/types/query.pb.gw.go +++ b/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: florin/v1/query.proto +// source: florin/v2/query.proto /* Package types is a reverse proxy. @@ -69,6 +69,24 @@ func local_request_Query_AllowedDenoms_0(ctx context.Context, marshaler runtime. } +func request_Query_AllowedDenoms_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllowedDenoms + var metadata runtime.ServerMetadata + + msg, err := client.AllowedDenoms(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_AllowedDenoms_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllowedDenoms + var metadata runtime.ServerMetadata + + msg, err := server.AllowedDenoms(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Owners_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOwners var metadata runtime.ServerMetadata @@ -87,6 +105,24 @@ func local_request_Query_Owners_0(ctx context.Context, marshaler runtime.Marshal } +func request_Query_Owners_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOwners + var metadata runtime.ServerMetadata + + msg, err := client.Owners(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Owners_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOwners + var metadata runtime.ServerMetadata + + msg, err := server.Owners(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Owner_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOwner var metadata runtime.ServerMetadata @@ -141,6 +177,60 @@ func local_request_Query_Owner_0(ctx context.Context, marshaler runtime.Marshale } +func request_Query_Owner_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOwner + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.Owner(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Owner_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOwner + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.Owner(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Systems_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QuerySystems var metadata runtime.ServerMetadata @@ -159,6 +249,24 @@ func local_request_Query_Systems_0(ctx context.Context, marshaler runtime.Marsha } +func request_Query_Systems_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySystems + var metadata runtime.ServerMetadata + + msg, err := client.Systems(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Systems_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySystems + var metadata runtime.ServerMetadata + + msg, err := server.Systems(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_SystemsByDenom_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QuerySystemsByDenom var metadata runtime.ServerMetadata @@ -213,6 +321,60 @@ func local_request_Query_SystemsByDenom_0(ctx context.Context, marshaler runtime } +func request_Query_SystemsByDenom_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySystemsByDenom + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.SystemsByDenom(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_SystemsByDenom_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QuerySystemsByDenom + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.SystemsByDenom(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Admins_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryAdmins var metadata runtime.ServerMetadata @@ -231,6 +393,24 @@ func local_request_Query_Admins_0(ctx context.Context, marshaler runtime.Marshal } +func request_Query_Admins_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAdmins + var metadata runtime.ServerMetadata + + msg, err := client.Admins(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Admins_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAdmins + var metadata runtime.ServerMetadata + + msg, err := server.Admins(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_AdminsByDenom_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryAdminsByDenom var metadata runtime.ServerMetadata @@ -285,6 +465,60 @@ func local_request_Query_AdminsByDenom_0(ctx context.Context, marshaler runtime. } +func request_Query_AdminsByDenom_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAdminsByDenom + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.AdminsByDenom(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_AdminsByDenom_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAdminsByDenom + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.AdminsByDenom(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_MaxMintAllowances_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryMaxMintAllowances var metadata runtime.ServerMetadata @@ -303,6 +537,24 @@ func local_request_Query_MaxMintAllowances_0(ctx context.Context, marshaler runt } +func request_Query_MaxMintAllowances_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMaxMintAllowances + var metadata runtime.ServerMetadata + + msg, err := client.MaxMintAllowances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_MaxMintAllowances_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMaxMintAllowances + var metadata runtime.ServerMetadata + + msg, err := server.MaxMintAllowances(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_MaxMintAllowance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryMaxMintAllowance var metadata runtime.ServerMetadata @@ -357,8 +609,8 @@ func local_request_Query_MaxMintAllowance_0(ctx context.Context, marshaler runti } -func request_Query_MintAllowances_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryMintAllowances +func request_Query_MaxMintAllowance_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMaxMintAllowance var metadata runtime.ServerMetadata var ( @@ -379,13 +631,13 @@ func request_Query_MintAllowances_0(ctx context.Context, marshaler runtime.Marsh return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) } - msg, err := client.MintAllowances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.MaxMintAllowance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_MintAllowances_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryMintAllowances +func local_request_Query_MaxMintAllowance_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMaxMintAllowance var metadata runtime.ServerMetadata var ( @@ -406,13 +658,13 @@ func local_request_Query_MintAllowances_0(ctx context.Context, marshaler runtime return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) } - msg, err := server.MintAllowances(ctx, &protoReq) + msg, err := server.MaxMintAllowance(ctx, &protoReq) return msg, metadata, err } -func request_Query_MintAllowance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryMintAllowance +func request_Query_MintAllowances_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowances var metadata runtime.ServerMetadata var ( @@ -433,10 +685,118 @@ func request_Query_MintAllowance_0(ctx context.Context, marshaler runtime.Marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) } - val, ok = pathParams["account"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "account") - } + msg, err := client.MintAllowances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_MintAllowances_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowances + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.MintAllowances(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_MintAllowances_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowances + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := client.MintAllowances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_MintAllowances_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowances + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + msg, err := server.MintAllowances(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_MintAllowance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowance + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + val, ok = pathParams["account"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "account") + } protoReq.Account, err = runtime.String(val) @@ -487,6 +847,82 @@ func local_request_Query_MintAllowance_0(ctx context.Context, marshaler runtime. } +func request_Query_MintAllowance_1(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowance + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + val, ok = pathParams["account"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "account") + } + + protoReq.Account, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "account", err) + } + + msg, err := client.MintAllowance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_MintAllowance_1(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryMintAllowance + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["denom"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "denom") + } + + protoReq.Denom, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "denom", err) + } + + val, ok = pathParams["account"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "account") + } + + protoReq.Account, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "account", err) + } + + msg, err := server.MintAllowance(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -527,7 +963,260 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_AllowedDenoms_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_AllowedDenoms_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AllowedDenoms_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_AllowedDenoms_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_AllowedDenoms_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AllowedDenoms_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Owners_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Owners_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owners_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Owners_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Owners_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owners_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Owner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Owner_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Owner_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Owner_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owner_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Systems_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Systems_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Systems_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Systems_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Systems_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Systems_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_SystemsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_SystemsByDenom_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SystemsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_SystemsByDenom_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_SystemsByDenom_1(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SystemsByDenom_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Admins_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Admins_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Admins_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Admins_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Admins_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -535,11 +1224,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_AllowedDenoms_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_Admins_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Owners_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_AdminsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -550,7 +1239,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Owners_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_AdminsByDenom_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -558,11 +1247,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Owners_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_AdminsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Owner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_AdminsByDenom_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -573,7 +1262,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Owner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_AdminsByDenom_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -581,11 +1270,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Owner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_AdminsByDenom_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Systems_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MaxMintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -596,7 +1285,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Systems_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MaxMintAllowances_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -604,11 +1293,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Systems_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MaxMintAllowances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_SystemsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MaxMintAllowances_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -619,7 +1308,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_SystemsByDenom_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MaxMintAllowances_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -627,11 +1316,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_SystemsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MaxMintAllowances_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Admins_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MaxMintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -642,7 +1331,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Admins_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MaxMintAllowance_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -650,11 +1339,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Admins_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MaxMintAllowance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_AdminsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MaxMintAllowance_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -665,7 +1354,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_AdminsByDenom_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MaxMintAllowance_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -673,11 +1362,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_AdminsByDenom_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MaxMintAllowance_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_MaxMintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -688,7 +1377,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_MaxMintAllowances_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MintAllowances_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -696,11 +1385,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_MaxMintAllowances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MintAllowances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_MaxMintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MintAllowances_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -711,7 +1400,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_MaxMintAllowance_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MintAllowances_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -719,11 +1408,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_MaxMintAllowance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MintAllowances_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_MintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -734,7 +1423,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_MintAllowances_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MintAllowance_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -742,11 +1431,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_MintAllowances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MintAllowance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_MintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_MintAllowance_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -757,7 +1446,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_MintAllowance_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_MintAllowance_1(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -765,7 +1454,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_MintAllowance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_MintAllowance_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -850,6 +1539,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_AllowedDenoms_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_AllowedDenoms_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AllowedDenoms_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Owners_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -870,6 +1579,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Owners_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Owners_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owners_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Owner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -890,6 +1619,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Owner_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Owner_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Owner_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Systems_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -910,6 +1659,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Systems_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Systems_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Systems_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_SystemsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -930,6 +1699,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_SystemsByDenom_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_SystemsByDenom_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_SystemsByDenom_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Admins_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -950,6 +1739,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Admins_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Admins_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Admins_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_AdminsByDenom_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -970,6 +1779,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_AdminsByDenom_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_AdminsByDenom_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AdminsByDenom_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_MaxMintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -990,6 +1819,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_MaxMintAllowances_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_MaxMintAllowances_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MaxMintAllowances_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_MaxMintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1010,6 +1859,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_MaxMintAllowance_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_MaxMintAllowance_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MaxMintAllowance_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_MintAllowances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1030,6 +1899,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_MintAllowances_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_MintAllowances_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MintAllowances_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_MintAllowance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -1050,33 +1939,75 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_MintAllowance_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_MintAllowance_1(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_MintAllowance_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( - pattern_Query_Authority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "authority"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Authority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "authority"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_AllowedDenoms_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "allowed_denoms"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_AllowedDenoms_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "allowed_denoms"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Owners_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "owners"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Owners_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "owners"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Owner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v2", "owner", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_Owner_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "owner", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllowedDenoms_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "allowed_denoms"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Systems_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "systems"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Owners_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "owners"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Systems_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "systems"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Owner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "owner", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_SystemsByDenom_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v2", "systems", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Systems_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "systems"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_SystemsByDenom_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "systems", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_SystemsByDenom_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "systems", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Admins_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "admins"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Admins_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "admins"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Admins_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "admins"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AdminsByDenom_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "admins", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AdminsByDenom_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v2", "admins", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_MaxMintAllowances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "max_mint_allowances"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AdminsByDenom_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "admins", "denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_MaxMintAllowance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "max_mint_allowance", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_MaxMintAllowances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v2", "max_mint_allowances"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_MintAllowances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "mint_allowances", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_MaxMintAllowances_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"florin", "v1", "max_mint_allowances"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_MintAllowance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"florin", "v1", "mint_allowance", "denom", "account"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_MaxMintAllowance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v2", "max_mint_allowance", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MaxMintAllowance_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "max_mint_allowance", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MintAllowances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v2", "mint_allowances", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MintAllowances_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"florin", "v1", "mint_allowances", "denom"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MintAllowance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"florin", "v2", "mint_allowance", "denom", "account"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_MintAllowance_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"florin", "v1", "mint_allowance", "denom", "account"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -1084,23 +2015,45 @@ var ( forward_Query_AllowedDenoms_0 = runtime.ForwardResponseMessage + forward_Query_AllowedDenoms_1 = runtime.ForwardResponseMessage + forward_Query_Owners_0 = runtime.ForwardResponseMessage + forward_Query_Owners_1 = runtime.ForwardResponseMessage + forward_Query_Owner_0 = runtime.ForwardResponseMessage + forward_Query_Owner_1 = runtime.ForwardResponseMessage + forward_Query_Systems_0 = runtime.ForwardResponseMessage + forward_Query_Systems_1 = runtime.ForwardResponseMessage + forward_Query_SystemsByDenom_0 = runtime.ForwardResponseMessage + forward_Query_SystemsByDenom_1 = runtime.ForwardResponseMessage + forward_Query_Admins_0 = runtime.ForwardResponseMessage + forward_Query_Admins_1 = runtime.ForwardResponseMessage + forward_Query_AdminsByDenom_0 = runtime.ForwardResponseMessage + forward_Query_AdminsByDenom_1 = runtime.ForwardResponseMessage + forward_Query_MaxMintAllowances_0 = runtime.ForwardResponseMessage + forward_Query_MaxMintAllowances_1 = runtime.ForwardResponseMessage + forward_Query_MaxMintAllowance_0 = runtime.ForwardResponseMessage + forward_Query_MaxMintAllowance_1 = runtime.ForwardResponseMessage + forward_Query_MintAllowances_0 = runtime.ForwardResponseMessage + forward_Query_MintAllowances_1 = runtime.ForwardResponseMessage + forward_Query_MintAllowance_0 = runtime.ForwardResponseMessage + + forward_Query_MintAllowance_1 = runtime.ForwardResponseMessage ) diff --git a/types/tx.pb.go b/types/tx.pb.go index 52569dbe..ac9dc426 100644 --- a/types/tx.pb.go +++ b/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: florin/v1/tx.proto +// source: florin/v2/tx.proto package types @@ -43,7 +43,7 @@ func (m *MsgAcceptOwnership) Reset() { *m = MsgAcceptOwnership{} } func (m *MsgAcceptOwnership) String() string { return proto.CompactTextString(m) } func (*MsgAcceptOwnership) ProtoMessage() {} func (*MsgAcceptOwnership) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{0} + return fileDescriptor_2c6521323fcd9cbc, []int{0} } func (m *MsgAcceptOwnership) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,7 +80,7 @@ func (m *MsgAcceptOwnershipResponse) Reset() { *m = MsgAcceptOwnershipRe func (m *MsgAcceptOwnershipResponse) String() string { return proto.CompactTextString(m) } func (*MsgAcceptOwnershipResponse) ProtoMessage() {} func (*MsgAcceptOwnershipResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{1} + return fileDescriptor_2c6521323fcd9cbc, []int{1} } func (m *MsgAcceptOwnershipResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *MsgAddAdminAccount) Reset() { *m = MsgAddAdminAccount{} } func (m *MsgAddAdminAccount) String() string { return proto.CompactTextString(m) } func (*MsgAddAdminAccount) ProtoMessage() {} func (*MsgAddAdminAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{2} + return fileDescriptor_2c6521323fcd9cbc, []int{2} } func (m *MsgAddAdminAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *MsgAddAdminAccountResponse) Reset() { *m = MsgAddAdminAccountRe func (m *MsgAddAdminAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddAdminAccountResponse) ProtoMessage() {} func (*MsgAddAdminAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{3} + return fileDescriptor_2c6521323fcd9cbc, []int{3} } func (m *MsgAddAdminAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,7 +197,7 @@ func (m *MsgAddSystemAccount) Reset() { *m = MsgAddSystemAccount{} } func (m *MsgAddSystemAccount) String() string { return proto.CompactTextString(m) } func (*MsgAddSystemAccount) ProtoMessage() {} func (*MsgAddSystemAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{4} + return fileDescriptor_2c6521323fcd9cbc, []int{4} } func (m *MsgAddSystemAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -234,7 +234,7 @@ func (m *MsgAddSystemAccountResponse) Reset() { *m = MsgAddSystemAccount func (m *MsgAddSystemAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddSystemAccountResponse) ProtoMessage() {} func (*MsgAddSystemAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{5} + return fileDescriptor_2c6521323fcd9cbc, []int{5} } func (m *MsgAddSystemAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -274,7 +274,7 @@ func (m *MsgAllowDenom) Reset() { *m = MsgAllowDenom{} } func (m *MsgAllowDenom) String() string { return proto.CompactTextString(m) } func (*MsgAllowDenom) ProtoMessage() {} func (*MsgAllowDenom) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{6} + return fileDescriptor_2c6521323fcd9cbc, []int{6} } func (m *MsgAllowDenom) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,7 +311,7 @@ func (m *MsgAllowDenomResponse) Reset() { *m = MsgAllowDenomResponse{} } func (m *MsgAllowDenomResponse) String() string { return proto.CompactTextString(m) } func (*MsgAllowDenomResponse) ProtoMessage() {} func (*MsgAllowDenomResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{7} + return fileDescriptor_2c6521323fcd9cbc, []int{7} } func (m *MsgAllowDenomResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -354,7 +354,7 @@ func (m *MsgBurn) Reset() { *m = MsgBurn{} } func (m *MsgBurn) String() string { return proto.CompactTextString(m) } func (*MsgBurn) ProtoMessage() {} func (*MsgBurn) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{8} + return fileDescriptor_2c6521323fcd9cbc, []int{8} } func (m *MsgBurn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -391,7 +391,7 @@ func (m *MsgBurnResponse) Reset() { *m = MsgBurnResponse{} } func (m *MsgBurnResponse) String() string { return proto.CompactTextString(m) } func (*MsgBurnResponse) ProtoMessage() {} func (*MsgBurnResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{9} + return fileDescriptor_2c6521323fcd9cbc, []int{9} } func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -432,7 +432,7 @@ func (m *MsgMint) Reset() { *m = MsgMint{} } func (m *MsgMint) String() string { return proto.CompactTextString(m) } func (*MsgMint) ProtoMessage() {} func (*MsgMint) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{10} + return fileDescriptor_2c6521323fcd9cbc, []int{10} } func (m *MsgMint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -469,7 +469,7 @@ func (m *MsgMintResponse) Reset() { *m = MsgMintResponse{} } func (m *MsgMintResponse) String() string { return proto.CompactTextString(m) } func (*MsgMintResponse) ProtoMessage() {} func (*MsgMintResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{11} + return fileDescriptor_2c6521323fcd9cbc, []int{11} } func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -512,7 +512,7 @@ func (m *MsgRecover) Reset() { *m = MsgRecover{} } func (m *MsgRecover) String() string { return proto.CompactTextString(m) } func (*MsgRecover) ProtoMessage() {} func (*MsgRecover) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{12} + return fileDescriptor_2c6521323fcd9cbc, []int{12} } func (m *MsgRecover) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -549,7 +549,7 @@ func (m *MsgRecoverResponse) Reset() { *m = MsgRecoverResponse{} } func (m *MsgRecoverResponse) String() string { return proto.CompactTextString(m) } func (*MsgRecoverResponse) ProtoMessage() {} func (*MsgRecoverResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{13} + return fileDescriptor_2c6521323fcd9cbc, []int{13} } func (m *MsgRecoverResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -589,7 +589,7 @@ func (m *MsgRemoveAdminAccount) Reset() { *m = MsgRemoveAdminAccount{} } func (m *MsgRemoveAdminAccount) String() string { return proto.CompactTextString(m) } func (*MsgRemoveAdminAccount) ProtoMessage() {} func (*MsgRemoveAdminAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{14} + return fileDescriptor_2c6521323fcd9cbc, []int{14} } func (m *MsgRemoveAdminAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -626,7 +626,7 @@ func (m *MsgRemoveAdminAccountResponse) Reset() { *m = MsgRemoveAdminAcc func (m *MsgRemoveAdminAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveAdminAccountResponse) ProtoMessage() {} func (*MsgRemoveAdminAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{15} + return fileDescriptor_2c6521323fcd9cbc, []int{15} } func (m *MsgRemoveAdminAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -666,7 +666,7 @@ func (m *MsgRemoveSystemAccount) Reset() { *m = MsgRemoveSystemAccount{} func (m *MsgRemoveSystemAccount) String() string { return proto.CompactTextString(m) } func (*MsgRemoveSystemAccount) ProtoMessage() {} func (*MsgRemoveSystemAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{16} + return fileDescriptor_2c6521323fcd9cbc, []int{16} } func (m *MsgRemoveSystemAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -703,7 +703,7 @@ func (m *MsgRemoveSystemAccountResponse) Reset() { *m = MsgRemoveSystemA func (m *MsgRemoveSystemAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveSystemAccountResponse) ProtoMessage() {} func (*MsgRemoveSystemAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{17} + return fileDescriptor_2c6521323fcd9cbc, []int{17} } func (m *MsgRemoveSystemAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -743,7 +743,7 @@ func (m *MsgSetMaxMintAllowance) Reset() { *m = MsgSetMaxMintAllowance{} func (m *MsgSetMaxMintAllowance) String() string { return proto.CompactTextString(m) } func (*MsgSetMaxMintAllowance) ProtoMessage() {} func (*MsgSetMaxMintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{18} + return fileDescriptor_2c6521323fcd9cbc, []int{18} } func (m *MsgSetMaxMintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -780,7 +780,7 @@ func (m *MsgSetMaxMintAllowanceResponse) Reset() { *m = MsgSetMaxMintAll func (m *MsgSetMaxMintAllowanceResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetMaxMintAllowanceResponse) ProtoMessage() {} func (*MsgSetMaxMintAllowanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{19} + return fileDescriptor_2c6521323fcd9cbc, []int{19} } func (m *MsgSetMaxMintAllowanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +821,7 @@ func (m *MsgSetMintAllowance) Reset() { *m = MsgSetMintAllowance{} } func (m *MsgSetMintAllowance) String() string { return proto.CompactTextString(m) } func (*MsgSetMintAllowance) ProtoMessage() {} func (*MsgSetMintAllowance) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{20} + return fileDescriptor_2c6521323fcd9cbc, []int{20} } func (m *MsgSetMintAllowance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -858,7 +858,7 @@ func (m *MsgSetMintAllowanceResponse) Reset() { *m = MsgSetMintAllowance func (m *MsgSetMintAllowanceResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetMintAllowanceResponse) ProtoMessage() {} func (*MsgSetMintAllowanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{21} + return fileDescriptor_2c6521323fcd9cbc, []int{21} } func (m *MsgSetMintAllowanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -898,7 +898,7 @@ func (m *MsgTransferOwnership) Reset() { *m = MsgTransferOwnership{} } func (m *MsgTransferOwnership) String() string { return proto.CompactTextString(m) } func (*MsgTransferOwnership) ProtoMessage() {} func (*MsgTransferOwnership) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{22} + return fileDescriptor_2c6521323fcd9cbc, []int{22} } func (m *MsgTransferOwnership) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -935,7 +935,7 @@ func (m *MsgTransferOwnershipResponse) Reset() { *m = MsgTransferOwnersh func (m *MsgTransferOwnershipResponse) String() string { return proto.CompactTextString(m) } func (*MsgTransferOwnershipResponse) ProtoMessage() {} func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_de2a06c2ec80785c, []int{23} + return fileDescriptor_2c6521323fcd9cbc, []int{23} } func (m *MsgTransferOwnershipResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -965,100 +965,100 @@ func (m *MsgTransferOwnershipResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgTransferOwnershipResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAcceptOwnership)(nil), "florin.v1.MsgAcceptOwnership") - proto.RegisterType((*MsgAcceptOwnershipResponse)(nil), "florin.v1.MsgAcceptOwnershipResponse") - proto.RegisterType((*MsgAddAdminAccount)(nil), "florin.v1.MsgAddAdminAccount") - proto.RegisterType((*MsgAddAdminAccountResponse)(nil), "florin.v1.MsgAddAdminAccountResponse") - proto.RegisterType((*MsgAddSystemAccount)(nil), "florin.v1.MsgAddSystemAccount") - proto.RegisterType((*MsgAddSystemAccountResponse)(nil), "florin.v1.MsgAddSystemAccountResponse") - proto.RegisterType((*MsgAllowDenom)(nil), "florin.v1.MsgAllowDenom") - proto.RegisterType((*MsgAllowDenomResponse)(nil), "florin.v1.MsgAllowDenomResponse") - proto.RegisterType((*MsgBurn)(nil), "florin.v1.MsgBurn") - proto.RegisterType((*MsgBurnResponse)(nil), "florin.v1.MsgBurnResponse") - proto.RegisterType((*MsgMint)(nil), "florin.v1.MsgMint") - proto.RegisterType((*MsgMintResponse)(nil), "florin.v1.MsgMintResponse") - proto.RegisterType((*MsgRecover)(nil), "florin.v1.MsgRecover") - proto.RegisterType((*MsgRecoverResponse)(nil), "florin.v1.MsgRecoverResponse") - proto.RegisterType((*MsgRemoveAdminAccount)(nil), "florin.v1.MsgRemoveAdminAccount") - proto.RegisterType((*MsgRemoveAdminAccountResponse)(nil), "florin.v1.MsgRemoveAdminAccountResponse") - proto.RegisterType((*MsgRemoveSystemAccount)(nil), "florin.v1.MsgRemoveSystemAccount") - proto.RegisterType((*MsgRemoveSystemAccountResponse)(nil), "florin.v1.MsgRemoveSystemAccountResponse") - proto.RegisterType((*MsgSetMaxMintAllowance)(nil), "florin.v1.MsgSetMaxMintAllowance") - proto.RegisterType((*MsgSetMaxMintAllowanceResponse)(nil), "florin.v1.MsgSetMaxMintAllowanceResponse") - proto.RegisterType((*MsgSetMintAllowance)(nil), "florin.v1.MsgSetMintAllowance") - proto.RegisterType((*MsgSetMintAllowanceResponse)(nil), "florin.v1.MsgSetMintAllowanceResponse") - proto.RegisterType((*MsgTransferOwnership)(nil), "florin.v1.MsgTransferOwnership") - proto.RegisterType((*MsgTransferOwnershipResponse)(nil), "florin.v1.MsgTransferOwnershipResponse") -} - -func init() { proto.RegisterFile("florin/v1/tx.proto", fileDescriptor_de2a06c2ec80785c) } - -var fileDescriptor_de2a06c2ec80785c = []byte{ + proto.RegisterType((*MsgAcceptOwnership)(nil), "florin.v2.MsgAcceptOwnership") + proto.RegisterType((*MsgAcceptOwnershipResponse)(nil), "florin.v2.MsgAcceptOwnershipResponse") + proto.RegisterType((*MsgAddAdminAccount)(nil), "florin.v2.MsgAddAdminAccount") + proto.RegisterType((*MsgAddAdminAccountResponse)(nil), "florin.v2.MsgAddAdminAccountResponse") + proto.RegisterType((*MsgAddSystemAccount)(nil), "florin.v2.MsgAddSystemAccount") + proto.RegisterType((*MsgAddSystemAccountResponse)(nil), "florin.v2.MsgAddSystemAccountResponse") + proto.RegisterType((*MsgAllowDenom)(nil), "florin.v2.MsgAllowDenom") + proto.RegisterType((*MsgAllowDenomResponse)(nil), "florin.v2.MsgAllowDenomResponse") + proto.RegisterType((*MsgBurn)(nil), "florin.v2.MsgBurn") + proto.RegisterType((*MsgBurnResponse)(nil), "florin.v2.MsgBurnResponse") + proto.RegisterType((*MsgMint)(nil), "florin.v2.MsgMint") + proto.RegisterType((*MsgMintResponse)(nil), "florin.v2.MsgMintResponse") + proto.RegisterType((*MsgRecover)(nil), "florin.v2.MsgRecover") + proto.RegisterType((*MsgRecoverResponse)(nil), "florin.v2.MsgRecoverResponse") + proto.RegisterType((*MsgRemoveAdminAccount)(nil), "florin.v2.MsgRemoveAdminAccount") + proto.RegisterType((*MsgRemoveAdminAccountResponse)(nil), "florin.v2.MsgRemoveAdminAccountResponse") + proto.RegisterType((*MsgRemoveSystemAccount)(nil), "florin.v2.MsgRemoveSystemAccount") + proto.RegisterType((*MsgRemoveSystemAccountResponse)(nil), "florin.v2.MsgRemoveSystemAccountResponse") + proto.RegisterType((*MsgSetMaxMintAllowance)(nil), "florin.v2.MsgSetMaxMintAllowance") + proto.RegisterType((*MsgSetMaxMintAllowanceResponse)(nil), "florin.v2.MsgSetMaxMintAllowanceResponse") + proto.RegisterType((*MsgSetMintAllowance)(nil), "florin.v2.MsgSetMintAllowance") + proto.RegisterType((*MsgSetMintAllowanceResponse)(nil), "florin.v2.MsgSetMintAllowanceResponse") + proto.RegisterType((*MsgTransferOwnership)(nil), "florin.v2.MsgTransferOwnership") + proto.RegisterType((*MsgTransferOwnershipResponse)(nil), "florin.v2.MsgTransferOwnershipResponse") +} + +func init() { proto.RegisterFile("florin/v2/tx.proto", fileDescriptor_2c6521323fcd9cbc) } + +var fileDescriptor_2c6521323fcd9cbc = []byte{ // 1025 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x97, 0xcf, 0x6f, 0xe3, 0x44, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0xcf, 0x6f, 0xe3, 0x44, 0x14, 0xc7, 0xe3, 0xb4, 0x4d, 0xe8, 0x5b, 0x60, 0xa9, 0x37, 0xdd, 0x66, 0x4d, 0xeb, 0x04, 0x23, - 0x4a, 0x5a, 0x51, 0xbb, 0x0d, 0x82, 0x43, 0x2f, 0x28, 0x85, 0xc3, 0xae, 0x50, 0x84, 0x94, 0x22, - 0x21, 0xad, 0x84, 0x8a, 0xe3, 0x4c, 0x5d, 0x6b, 0xe3, 0x99, 0xc8, 0x63, 0xa7, 0x9b, 0x1b, 0xe2, - 0x84, 0xd0, 0x1e, 0xf8, 0x13, 0x96, 0x1b, 0xc7, 0x0a, 0xed, 0x8d, 0x0b, 0xe2, 0x00, 0x3d, 0xae, - 0x7a, 0x42, 0x1c, 0x2a, 0xd4, 0x1e, 0x8a, 0xf8, 0x1b, 0x38, 0x20, 0xdb, 0xe3, 0x69, 0xfc, 0x23, - 0x75, 0x05, 0x61, 0xd5, 0x4b, 0x15, 0xbf, 0x5f, 0xf3, 0x3e, 0x5f, 0x8f, 0x67, 0x5e, 0x41, 0xdc, - 0xef, 0x13, 0xc7, 0xc2, 0xda, 0x70, 0x4b, 0x73, 0x1f, 0xab, 0x03, 0x87, 0xb8, 0x44, 0x9c, 0x0f, - 0x6d, 0xea, 0x70, 0x4b, 0x5a, 0xd0, 0x6d, 0x0b, 0x13, 0x2d, 0xf8, 0x1b, 0x7a, 0xa5, 0x25, 0x83, - 0x50, 0x9b, 0x50, 0xcd, 0xa6, 0xa6, 0x9f, 0x65, 0x53, 0x93, 0x39, 0xee, 0x85, 0x8e, 0xbd, 0xe0, - 0x49, 0x0b, 0x1f, 0x98, 0xab, 0x62, 0x12, 0x93, 0x84, 0x76, 0xff, 0x57, 0x94, 0x60, 0x12, 0x62, - 0xf6, 0x91, 0x16, 0x3c, 0x75, 0xbd, 0x7d, 0x4d, 0xc7, 0xa3, 0xd0, 0xa5, 0x3c, 0x11, 0x40, 0x6c, - 0x53, 0xb3, 0x65, 0x18, 0x68, 0xe0, 0x7e, 0x72, 0x88, 0x91, 0x43, 0x0f, 0xac, 0x81, 0x58, 0x81, - 0xb9, 0x1e, 0xc2, 0xc4, 0xae, 0x0a, 0x75, 0xa1, 0x31, 0xdf, 0x09, 0x1f, 0xc4, 0x4d, 0x28, 0x51, - 0xcb, 0xc4, 0xc8, 0xa9, 0x16, 0x7d, 0xf3, 0x4e, 0xf5, 0xe4, 0xd9, 0x46, 0x85, 0xad, 0xdf, 0xea, - 0xf5, 0x1c, 0x44, 0xe9, 0xae, 0xeb, 0x58, 0xd8, 0xec, 0xb0, 0xb8, 0x6d, 0xf5, 0xeb, 0xa7, 0xb5, - 0xc2, 0x9f, 0x4f, 0x6b, 0x85, 0xaf, 0x2e, 0x8e, 0xd6, 0x99, 0xf1, 0x9b, 0x8b, 0xa3, 0xf5, 0xbb, - 0x4c, 0x8d, 0xc4, 0xba, 0xca, 0x32, 0x48, 0xe9, 0x6e, 0x3a, 0x88, 0x0e, 0x08, 0xa6, 0x48, 0xf9, - 0x89, 0x35, 0xdb, 0xeb, 0xb5, 0x7a, 0xb6, 0x85, 0x5b, 0x86, 0x41, 0x3c, 0xec, 0x4e, 0xab, 0x59, - 0xb1, 0x09, 0x65, 0x3d, 0x2c, 0x59, 0x9d, 0xc9, 0x49, 0x89, 0x02, 0xf3, 0x01, 0xe3, 0xbd, 0x46, - 0x80, 0x71, 0x2b, 0x07, 0xfc, 0x59, 0x80, 0x3b, 0xa1, 0x7b, 0x77, 0x44, 0x5d, 0x64, 0xdf, 0x04, - 0x42, 0x6d, 0x02, 0xe1, 0xd2, 0x25, 0x61, 0xac, 0x59, 0x65, 0x05, 0x5e, 0xcf, 0x60, 0xe0, 0x8c, - 0x3f, 0x08, 0xf0, 0x8a, 0xef, 0xef, 0xf7, 0xc9, 0xe1, 0x47, 0x09, 0x0e, 0xe1, 0x9a, 0x1c, 0x5c, - 0x8f, 0xe2, 0xb8, 0x1e, 0x2a, 0xcc, 0x11, 0x7f, 0xcf, 0xe4, 0xb2, 0x85, 0x61, 0xdb, 0x6b, 0x13, - 0xc8, 0x16, 0x22, 0x32, 0xde, 0xa2, 0xb2, 0x04, 0x8b, 0xb1, 0x9e, 0x39, 0xcd, 0x8f, 0x45, 0x28, - 0xb7, 0xa9, 0xb9, 0xe3, 0x39, 0x78, 0x6a, 0x6f, 0xe9, 0x1d, 0x98, 0xdd, 0x77, 0x88, 0x9d, 0x8b, - 0x11, 0x44, 0x89, 0xf7, 0xa1, 0xa4, 0xdb, 0xc1, 0x2b, 0x9d, 0x0d, 0xe2, 0x37, 0x8f, 0x4f, 0x6b, - 0x85, 0xdf, 0x4f, 0x6b, 0x8b, 0x61, 0x0e, 0xed, 0x3d, 0x52, 0x2d, 0xa2, 0xd9, 0xba, 0x7b, 0xa0, - 0x3e, 0xc0, 0xee, 0xc9, 0xb3, 0x0d, 0x60, 0xc5, 0x1e, 0x60, 0xf7, 0xfb, 0x8b, 0xa3, 0x75, 0xa1, - 0xc3, 0xf2, 0xc5, 0x65, 0x98, 0xf7, 0x3b, 0xd0, 0x5d, 0xcf, 0x41, 0xd5, 0xb9, 0xba, 0xd0, 0x78, - 0xb9, 0x73, 0x69, 0x10, 0x37, 0xa0, 0x3c, 0xf0, 0xba, 0x7b, 0x8f, 0xd0, 0xa8, 0x5a, 0xaa, 0x0b, - 0x8d, 0x5b, 0xcd, 0x8a, 0x1a, 0x1e, 0x2b, 0x6a, 0x74, 0xac, 0xa8, 0x2d, 0x3c, 0xea, 0x94, 0x06, - 0x5e, 0xf7, 0x63, 0x34, 0xda, 0x7e, 0x73, 0x82, 0xb8, 0xb7, 0x98, 0xb8, 0xbe, 0x62, 0xca, 0x02, - 0xdc, 0x66, 0xe2, 0x71, 0x41, 0xff, 0x12, 0x02, 0x41, 0xdb, 0xd6, 0x14, 0xb7, 0x7d, 0x03, 0x8a, - 0x2e, 0xc9, 0x95, 0xb3, 0xe8, 0x92, 0xe9, 0x89, 0x99, 0xcb, 0xef, 0x03, 0x32, 0x7e, 0xff, 0x27, - 0xe7, 0xff, 0xae, 0x08, 0xd0, 0xa6, 0x66, 0x07, 0x19, 0x64, 0x38, 0xbe, 0xd3, 0x5f, 0xe8, 0x9e, - 0x0a, 0x05, 0x9b, 0xbd, 0x86, 0x60, 0x53, 0xdd, 0x33, 0xab, 0x13, 0x34, 0x7b, 0x95, 0x69, 0xc6, - 0x44, 0x51, 0x2a, 0xc1, 0x35, 0xc0, 0x9e, 0xb8, 0x72, 0xbf, 0x08, 0xc1, 0x47, 0xda, 0x41, 0x36, - 0x19, 0xa2, 0x1b, 0x73, 0x41, 0x6c, 0x4d, 0x60, 0xba, 0xc7, 0x99, 0x92, 0xed, 0x2a, 0x35, 0x58, - 0xc9, 0xe4, 0xe0, 0xa4, 0xc7, 0x02, 0xdc, 0xe5, 0x11, 0x37, 0xe7, 0xa6, 0x68, 0x4e, 0x40, 0x95, - 0x62, 0xa8, 0xf1, 0xcb, 0xa2, 0x0e, 0x72, 0x36, 0x09, 0x87, 0x3d, 0x0d, 0x61, 0x77, 0x91, 0xdb, - 0xd6, 0x1f, 0xfb, 0x9f, 0x4a, 0x70, 0x0a, 0xeb, 0xd8, 0x40, 0x53, 0x83, 0xbd, 0xfc, 0xea, 0x67, - 0xfe, 0xe3, 0x57, 0x9f, 0x27, 0x41, 0x06, 0x05, 0x93, 0x20, 0xc3, 0xc3, 0x25, 0x78, 0x52, 0x0c, - 0xc6, 0x02, 0x3f, 0xe4, 0x7f, 0xe1, 0xff, 0x17, 0x2f, 0x7b, 0x8a, 0x27, 0x65, 0xde, 0x80, 0x91, - 0xc4, 0x66, 0x03, 0x46, 0xd2, 0xcc, 0xd5, 0xfa, 0x55, 0x80, 0x4a, 0x9b, 0x9a, 0x9f, 0x3a, 0x3a, - 0xa6, 0xfb, 0xc8, 0x99, 0xfa, 0x50, 0x2b, 0xbe, 0x07, 0xf3, 0x18, 0x1d, 0xee, 0x5d, 0x6f, 0xd6, - 0x78, 0x09, 0xa3, 0xc3, 0xa0, 0x85, 0xed, 0xcd, 0x09, 0x9c, 0x55, 0xc6, 0x99, 0x6a, 0x58, 0x91, - 0x61, 0x39, 0x0b, 0x24, 0x22, 0x6d, 0xfe, 0x5d, 0x86, 0x99, 0x36, 0x35, 0xc5, 0xcf, 0xe0, 0x76, - 0x72, 0x80, 0x5f, 0x51, 0xf9, 0xff, 0x16, 0x6a, 0x7a, 0xa2, 0x96, 0xde, 0xba, 0xd2, 0x1d, 0x2d, - 0x10, 0x14, 0x4e, 0x0c, 0xdb, 0xc9, 0xc2, 0x71, 0x77, 0xaa, 0x70, 0xf6, 0xa0, 0x2b, 0x3e, 0x84, - 0xd7, 0x52, 0x43, 0xae, 0x9c, 0x4a, 0x8d, 0xf9, 0xa5, 0xd5, 0xab, 0xfd, 0xbc, 0xf6, 0x7d, 0x80, - 0xb1, 0xe1, 0xb2, 0x9a, 0xc8, 0xe2, 0x1e, 0xa9, 0x3e, 0xc9, 0xc3, 0x2b, 0xbd, 0x0f, 0xb3, 0xc1, - 0x60, 0x27, 0xc6, 0x23, 0x7d, 0x9b, 0x24, 0xa5, 0x6d, 0xe3, 0x79, 0xc1, 0xfc, 0x92, 0xc8, 0xf3, - 0x6d, 0xc9, 0xbc, 0xf1, 0xbb, 0x5f, 0xfc, 0x00, 0xca, 0xd1, 0xbd, 0xbf, 0x18, 0x0f, 0x63, 0x66, - 0x69, 0x25, 0xd3, 0xcc, 0x0b, 0x7c, 0x01, 0x62, 0xc6, 0xf5, 0x57, 0x4f, 0x26, 0x25, 0x23, 0xa4, - 0x46, 0x5e, 0x04, 0x5f, 0xc1, 0x80, 0x3b, 0x59, 0xd7, 0xce, 0x1b, 0x59, 0x05, 0xe2, 0xaf, 0x6f, - 0x2d, 0x37, 0x64, 0x7c, 0x91, 0xac, 0xe3, 0x3e, 0xb1, 0x48, 0x46, 0x48, 0x72, 0x91, 0x2b, 0x0e, - 0x55, 0x7f, 0x0b, 0xa6, 0x0e, 0x54, 0x39, 0x9d, 0x1e, 0x2b, 0xbf, 0x7a, 0xb5, 0x9f, 0xd7, 0xfe, - 0x1c, 0x16, 0xd2, 0xc7, 0x4f, 0x2d, 0x9e, 0x9c, 0x0a, 0x90, 0xde, 0xce, 0x09, 0x88, 0xca, 0x4b, - 0x73, 0x5f, 0xfa, 0x07, 0xe8, 0xce, 0x87, 0xc7, 0x67, 0xb2, 0xf0, 0xfc, 0x4c, 0x16, 0xfe, 0x38, - 0x93, 0x85, 0x6f, 0xcf, 0xe5, 0xc2, 0xf3, 0x73, 0xb9, 0xf0, 0xdb, 0xb9, 0x5c, 0x78, 0xb8, 0x66, - 0x5a, 0xee, 0x81, 0xd7, 0x55, 0x0d, 0x62, 0x6b, 0x36, 0xc1, 0xc8, 0xb1, 0x3c, 0xff, 0x47, 0xcf, - 0xeb, 0xa3, 0x0d, 0x4c, 0xba, 0x7d, 0xa4, 0x0d, 0x9b, 0x9a, 0x3b, 0x1a, 0x20, 0xda, 0x2d, 0x05, - 0x93, 0xd8, 0xbb, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xff, 0x68, 0xa5, 0xa0, 0x10, 0x00, + 0x4a, 0x5a, 0x51, 0xbb, 0x1b, 0x04, 0x87, 0x5e, 0x50, 0x0a, 0x87, 0x5d, 0xa1, 0x08, 0x29, 0x45, + 0x42, 0x5a, 0x09, 0x15, 0xc7, 0x99, 0xba, 0xd6, 0xc6, 0x33, 0x91, 0xc7, 0x4e, 0x37, 0x37, 0xc4, + 0x09, 0xa1, 0x3d, 0xf0, 0x27, 0x2c, 0x37, 0x8e, 0x15, 0xda, 0x1b, 0x17, 0xc4, 0x01, 0x7a, 0x5c, + 0xed, 0x09, 0x71, 0xa8, 0x50, 0x7b, 0x28, 0xe2, 0x6f, 0xe0, 0x80, 0x6c, 0x8f, 0xa7, 0xf1, 0x8f, + 0xc4, 0x15, 0x84, 0x55, 0x2f, 0xad, 0xfd, 0x7e, 0xcd, 0xfb, 0x7c, 0x6d, 0xcf, 0xbc, 0x16, 0xc4, + 0x83, 0x3e, 0x71, 0x2c, 0xac, 0x0d, 0x9b, 0x9a, 0xfb, 0x48, 0x1d, 0x38, 0xc4, 0x25, 0xe2, 0x62, + 0x68, 0x53, 0x87, 0x4d, 0x69, 0x49, 0xb7, 0x2d, 0x4c, 0xb4, 0xe0, 0x67, 0xe8, 0x95, 0x56, 0x0c, + 0x42, 0x6d, 0x42, 0x35, 0x9b, 0x9a, 0xda, 0xf0, 0xae, 0xff, 0x8b, 0x39, 0xee, 0x84, 0x8e, 0xfd, + 0xe0, 0x4e, 0x0b, 0x6f, 0x98, 0xab, 0x62, 0x12, 0x93, 0x84, 0x76, 0xff, 0x2a, 0x4a, 0x30, 0x09, + 0x31, 0xfb, 0x48, 0x0b, 0xee, 0xba, 0xde, 0x81, 0xa6, 0xe3, 0x51, 0xe8, 0x52, 0x1e, 0x0b, 0x20, + 0xb6, 0xa9, 0xd9, 0x32, 0x0c, 0x34, 0x70, 0x3f, 0x39, 0xc2, 0xc8, 0xa1, 0x87, 0xd6, 0x40, 0xac, + 0xc0, 0x42, 0x0f, 0x61, 0x62, 0x57, 0x85, 0xba, 0xd0, 0x58, 0xec, 0x84, 0x37, 0xe2, 0x36, 0x94, + 0xa8, 0x65, 0x62, 0xe4, 0x54, 0x8b, 0xbe, 0x79, 0xb7, 0xfa, 0xfc, 0xe9, 0x56, 0x85, 0xad, 0xdf, + 0xea, 0xf5, 0x1c, 0x44, 0xe9, 0x9e, 0xeb, 0x58, 0xd8, 0xec, 0xb0, 0xb8, 0x1d, 0xf5, 0xeb, 0x27, + 0xb5, 0xc2, 0x9f, 0x4f, 0x6a, 0x85, 0xaf, 0x2e, 0x8e, 0x37, 0x99, 0xf1, 0x9b, 0x8b, 0xe3, 0xcd, + 0xdb, 0x4c, 0x8d, 0xc4, 0xba, 0xca, 0x2a, 0x48, 0xe9, 0x6e, 0x3a, 0x88, 0x0e, 0x08, 0xa6, 0x48, + 0xf9, 0x89, 0x35, 0xdb, 0xeb, 0xb5, 0x7a, 0xb6, 0x85, 0x5b, 0x86, 0x41, 0x3c, 0xec, 0xce, 0xaa, + 0x59, 0xb1, 0x09, 0x65, 0x3d, 0x2c, 0x59, 0x9d, 0xcb, 0x49, 0x89, 0x02, 0xf3, 0x01, 0xe3, 0xbd, + 0x46, 0x80, 0x71, 0x2b, 0x07, 0xfc, 0x59, 0x80, 0x5b, 0xa1, 0x7b, 0x6f, 0x44, 0x5d, 0x64, 0x5f, + 0x07, 0x42, 0x6d, 0x02, 0xe1, 0xca, 0x25, 0x61, 0xac, 0x59, 0x65, 0x0d, 0x5e, 0xcf, 0x60, 0xe0, + 0x8c, 0x3f, 0x08, 0xf0, 0x8a, 0xef, 0xef, 0xf7, 0xc9, 0xd1, 0x47, 0x09, 0x0e, 0xe1, 0x8a, 0x1c, + 0x5c, 0x8f, 0xe2, 0xb8, 0x1e, 0x2a, 0x2c, 0x10, 0xff, 0x9d, 0xc9, 0x65, 0x0b, 0xc3, 0x76, 0x36, + 0x26, 0x90, 0x2d, 0x45, 0x64, 0xbc, 0x45, 0x65, 0x05, 0x96, 0x63, 0x3d, 0x73, 0x9a, 0x1f, 0x8b, + 0x50, 0x6e, 0x53, 0x73, 0xd7, 0x73, 0xf0, 0xcc, 0x9e, 0xd2, 0x3b, 0x30, 0x7f, 0xe0, 0x10, 0x3b, + 0x17, 0x23, 0x88, 0x12, 0xef, 0x41, 0x49, 0xb7, 0x83, 0x47, 0x3a, 0x1f, 0xc4, 0x6f, 0x9f, 0x9c, + 0xd6, 0x0a, 0xbf, 0x9f, 0xd6, 0x96, 0xc3, 0x1c, 0xda, 0x7b, 0xa8, 0x5a, 0x44, 0xb3, 0x75, 0xf7, + 0x50, 0xbd, 0x8f, 0xdd, 0xe7, 0x4f, 0xb7, 0x80, 0x15, 0xbb, 0x8f, 0xdd, 0xef, 0x2f, 0x8e, 0x37, + 0x85, 0x0e, 0xcb, 0x17, 0x57, 0x61, 0xd1, 0xef, 0x40, 0x77, 0x3d, 0x07, 0x55, 0x17, 0xea, 0x42, + 0xe3, 0xe5, 0xce, 0xa5, 0x41, 0xdc, 0x82, 0xf2, 0xc0, 0xeb, 0xee, 0x3f, 0x44, 0xa3, 0x6a, 0xa9, + 0x2e, 0x34, 0x6e, 0x34, 0x2b, 0x6a, 0xb8, 0xad, 0xa8, 0xd1, 0xb6, 0xa2, 0xb6, 0xf0, 0xa8, 0x53, + 0x1a, 0x78, 0xdd, 0x8f, 0xd1, 0x68, 0xe7, 0xcd, 0x09, 0xe2, 0xde, 0x60, 0xe2, 0xfa, 0x8a, 0x29, + 0x4b, 0x70, 0x93, 0x89, 0xc7, 0x05, 0xfd, 0x4b, 0x08, 0x04, 0x6d, 0x5b, 0x33, 0x7c, 0xed, 0x1b, + 0x50, 0x74, 0x49, 0xae, 0x9c, 0x45, 0x97, 0xcc, 0x4e, 0xcc, 0x5c, 0x7e, 0x1f, 0x90, 0xf1, 0xfb, + 0x97, 0x9c, 0xff, 0xbb, 0x22, 0x40, 0x9b, 0x9a, 0x1d, 0x64, 0x90, 0xe1, 0xf8, 0x9b, 0xfe, 0x42, + 0xdf, 0xa9, 0x50, 0xb0, 0xf9, 0x2b, 0x08, 0x36, 0xd3, 0x77, 0x66, 0x7d, 0x82, 0x66, 0xaf, 0x32, + 0xcd, 0x98, 0x28, 0x4a, 0x25, 0x38, 0x06, 0xd8, 0x1d, 0x57, 0xee, 0x17, 0x21, 0xf8, 0x48, 0x3b, + 0xc8, 0x26, 0x43, 0x74, 0x6d, 0x0e, 0x88, 0xbb, 0x13, 0x98, 0xee, 0x70, 0xa6, 0x64, 0xbb, 0x4a, + 0x0d, 0xd6, 0x32, 0x39, 0x38, 0xe9, 0x89, 0x00, 0xb7, 0x79, 0xc4, 0xf5, 0x39, 0x29, 0x9a, 0x13, + 0x50, 0xa5, 0x18, 0x6a, 0xfc, 0xb0, 0xa8, 0x83, 0x9c, 0x4d, 0xc2, 0x61, 0x4f, 0x43, 0xd8, 0x3d, + 0xe4, 0xb6, 0xf5, 0x47, 0xfe, 0xa7, 0x12, 0xec, 0xc2, 0x3a, 0x36, 0xd0, 0xcc, 0x60, 0x2f, 0xbf, + 0xfa, 0xb9, 0xff, 0xf8, 0xd5, 0xe7, 0x49, 0x90, 0x41, 0xc1, 0x24, 0xc8, 0xf0, 0x70, 0x09, 0x1e, + 0x17, 0x83, 0xb1, 0xc0, 0x0f, 0xf9, 0x5f, 0xf8, 0xff, 0xc5, 0xc3, 0x9e, 0xe1, 0x4e, 0x99, 0x37, + 0x60, 0x24, 0xb1, 0xd9, 0x80, 0x91, 0x34, 0x73, 0xb5, 0x7e, 0x15, 0xa0, 0xd2, 0xa6, 0xe6, 0xa7, + 0x8e, 0x8e, 0xe9, 0x01, 0x72, 0x66, 0x3e, 0xd4, 0x8a, 0xef, 0xc1, 0x22, 0x46, 0x47, 0xfb, 0x57, + 0x9b, 0x35, 0x5e, 0xc2, 0xe8, 0x28, 0x68, 0x61, 0x67, 0x7b, 0x02, 0x67, 0x95, 0x71, 0xa6, 0x1a, + 0x56, 0x64, 0x58, 0xcd, 0x02, 0x89, 0x48, 0x9b, 0x7f, 0x97, 0x61, 0xae, 0x4d, 0x4d, 0xf1, 0x33, + 0xb8, 0x99, 0x1c, 0xe0, 0xd7, 0x54, 0xfe, 0xb7, 0x85, 0x9a, 0x9e, 0xa8, 0xa5, 0xb7, 0xa6, 0xba, + 0xa3, 0x05, 0x82, 0xc2, 0x89, 0x61, 0x3b, 0x59, 0x38, 0xee, 0x4e, 0x15, 0xce, 0x1e, 0x74, 0xc5, + 0x07, 0xf0, 0x5a, 0x6a, 0xc8, 0x95, 0x53, 0xa9, 0x31, 0xbf, 0xb4, 0x3e, 0xdd, 0xcf, 0x6b, 0xdf, + 0x03, 0x18, 0x1b, 0x2e, 0xab, 0x89, 0x2c, 0xee, 0x91, 0xea, 0x93, 0x3c, 0xbc, 0xd2, 0xfb, 0x30, + 0x1f, 0x0c, 0x76, 0x62, 0x3c, 0xd2, 0xb7, 0x49, 0x52, 0xda, 0x36, 0x9e, 0x17, 0xcc, 0x2f, 0x89, + 0x3c, 0xdf, 0x96, 0xcc, 0x1b, 0x3f, 0xfb, 0xc5, 0x0f, 0xa0, 0x1c, 0x9d, 0xfb, 0xcb, 0xf1, 0x30, + 0x66, 0x96, 0xd6, 0x32, 0xcd, 0xbc, 0xc0, 0x17, 0x20, 0x66, 0x1c, 0x7f, 0xf5, 0x64, 0x52, 0x32, + 0x42, 0x6a, 0xe4, 0x45, 0xf0, 0x15, 0x0c, 0xb8, 0x95, 0x75, 0xec, 0xbc, 0x91, 0x55, 0x20, 0xfe, + 0xf8, 0x36, 0x72, 0x43, 0xc6, 0x17, 0xc9, 0xda, 0xee, 0x13, 0x8b, 0x64, 0x84, 0x24, 0x17, 0x99, + 0xb2, 0xa9, 0xfa, 0xaf, 0x60, 0x6a, 0x43, 0x95, 0xd3, 0xe9, 0xb1, 0xf2, 0xeb, 0xd3, 0xfd, 0xbc, + 0xf6, 0xe7, 0xb0, 0x94, 0xde, 0x7e, 0x6a, 0xf1, 0xe4, 0x54, 0x80, 0xf4, 0x76, 0x4e, 0x40, 0x54, + 0x5e, 0x5a, 0xf8, 0xd2, 0xdf, 0x40, 0x77, 0x3f, 0x3c, 0x39, 0x93, 0x85, 0x67, 0x67, 0xb2, 0xf0, + 0xc7, 0x99, 0x2c, 0x7c, 0x7b, 0x2e, 0x17, 0x9e, 0x9d, 0xcb, 0x85, 0xdf, 0xce, 0xe5, 0xc2, 0x83, + 0x0d, 0xd3, 0x72, 0x0f, 0xbd, 0xae, 0x6a, 0x10, 0x5b, 0xb3, 0x09, 0x46, 0x8e, 0xe5, 0xf9, 0x17, + 0x3d, 0xaf, 0x8f, 0xb6, 0x30, 0xe9, 0xf6, 0x51, 0xf0, 0x6f, 0x88, 0xd1, 0x00, 0xd1, 0x6e, 0x29, + 0x98, 0xc4, 0xde, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x49, 0xff, 0xbc, 0x4f, 0xa0, 0x10, 0x00, 0x00, } @@ -1098,7 +1098,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, opts ...grpc.CallOption) (*MsgAcceptOwnershipResponse, error) { out := new(MsgAcceptOwnershipResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/AcceptOwnership", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/AcceptOwnership", in, out, opts...) if err != nil { return nil, err } @@ -1107,7 +1107,7 @@ func (c *msgClient) AcceptOwnership(ctx context.Context, in *MsgAcceptOwnership, func (c *msgClient) AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, opts ...grpc.CallOption) (*MsgAddAdminAccountResponse, error) { out := new(MsgAddAdminAccountResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/AddAdminAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/AddAdminAccount", in, out, opts...) if err != nil { return nil, err } @@ -1116,7 +1116,7 @@ func (c *msgClient) AddAdminAccount(ctx context.Context, in *MsgAddAdminAccount, func (c *msgClient) AddSystemAccount(ctx context.Context, in *MsgAddSystemAccount, opts ...grpc.CallOption) (*MsgAddSystemAccountResponse, error) { out := new(MsgAddSystemAccountResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/AddSystemAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/AddSystemAccount", in, out, opts...) if err != nil { return nil, err } @@ -1125,7 +1125,7 @@ func (c *msgClient) AddSystemAccount(ctx context.Context, in *MsgAddSystemAccoun func (c *msgClient) AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...grpc.CallOption) (*MsgAllowDenomResponse, error) { out := new(MsgAllowDenomResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/AllowDenom", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/AllowDenom", in, out, opts...) if err != nil { return nil, err } @@ -1134,7 +1134,7 @@ func (c *msgClient) AllowDenom(ctx context.Context, in *MsgAllowDenom, opts ...g func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { out := new(MsgBurnResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/Burn", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/Burn", in, out, opts...) if err != nil { return nil, err } @@ -1143,7 +1143,7 @@ func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOpti func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) { out := new(MsgMintResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/Mint", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/Mint", in, out, opts...) if err != nil { return nil, err } @@ -1152,7 +1152,7 @@ func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOpti func (c *msgClient) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) { out := new(MsgRecoverResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/Recover", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/Recover", in, out, opts...) if err != nil { return nil, err } @@ -1161,7 +1161,7 @@ func (c *msgClient) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.Ca func (c *msgClient) RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAccount, opts ...grpc.CallOption) (*MsgRemoveAdminAccountResponse, error) { out := new(MsgRemoveAdminAccountResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/RemoveAdminAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/RemoveAdminAccount", in, out, opts...) if err != nil { return nil, err } @@ -1170,7 +1170,7 @@ func (c *msgClient) RemoveAdminAccount(ctx context.Context, in *MsgRemoveAdminAc func (c *msgClient) RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystemAccount, opts ...grpc.CallOption) (*MsgRemoveSystemAccountResponse, error) { out := new(MsgRemoveSystemAccountResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/RemoveSystemAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/RemoveSystemAccount", in, out, opts...) if err != nil { return nil, err } @@ -1179,7 +1179,7 @@ func (c *msgClient) RemoveSystemAccount(ctx context.Context, in *MsgRemoveSystem func (c *msgClient) SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAllowance, opts ...grpc.CallOption) (*MsgSetMaxMintAllowanceResponse, error) { out := new(MsgSetMaxMintAllowanceResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/SetMaxMintAllowance", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/SetMaxMintAllowance", in, out, opts...) if err != nil { return nil, err } @@ -1188,7 +1188,7 @@ func (c *msgClient) SetMaxMintAllowance(ctx context.Context, in *MsgSetMaxMintAl func (c *msgClient) SetMintAllowance(ctx context.Context, in *MsgSetMintAllowance, opts ...grpc.CallOption) (*MsgSetMintAllowanceResponse, error) { out := new(MsgSetMintAllowanceResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/SetMintAllowance", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/SetMintAllowance", in, out, opts...) if err != nil { return nil, err } @@ -1197,7 +1197,7 @@ func (c *msgClient) SetMintAllowance(ctx context.Context, in *MsgSetMintAllowanc func (c *msgClient) TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) { out := new(MsgTransferOwnershipResponse) - err := c.cc.Invoke(ctx, "/florin.v1.Msg/TransferOwnership", in, out, opts...) + err := c.cc.Invoke(ctx, "/florin.v2.Msg/TransferOwnership", in, out, opts...) if err != nil { return nil, err } @@ -1275,7 +1275,7 @@ func _Msg_AcceptOwnership_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/AcceptOwnership", + FullMethod: "/florin.v2.Msg/AcceptOwnership", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AcceptOwnership(ctx, req.(*MsgAcceptOwnership)) @@ -1293,7 +1293,7 @@ func _Msg_AddAdminAccount_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/AddAdminAccount", + FullMethod: "/florin.v2.Msg/AddAdminAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddAdminAccount(ctx, req.(*MsgAddAdminAccount)) @@ -1311,7 +1311,7 @@ func _Msg_AddSystemAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/AddSystemAccount", + FullMethod: "/florin.v2.Msg/AddSystemAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddSystemAccount(ctx, req.(*MsgAddSystemAccount)) @@ -1329,7 +1329,7 @@ func _Msg_AllowDenom_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/AllowDenom", + FullMethod: "/florin.v2.Msg/AllowDenom", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AllowDenom(ctx, req.(*MsgAllowDenom)) @@ -1347,7 +1347,7 @@ func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{ } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/Burn", + FullMethod: "/florin.v2.Msg/Burn", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Burn(ctx, req.(*MsgBurn)) @@ -1365,7 +1365,7 @@ func _Msg_Mint_Handler(srv interface{}, ctx context.Context, dec func(interface{ } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/Mint", + FullMethod: "/florin.v2.Msg/Mint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Mint(ctx, req.(*MsgMint)) @@ -1383,7 +1383,7 @@ func _Msg_Recover_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/Recover", + FullMethod: "/florin.v2.Msg/Recover", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Recover(ctx, req.(*MsgRecover)) @@ -1401,7 +1401,7 @@ func _Msg_RemoveAdminAccount_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/RemoveAdminAccount", + FullMethod: "/florin.v2.Msg/RemoveAdminAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveAdminAccount(ctx, req.(*MsgRemoveAdminAccount)) @@ -1419,7 +1419,7 @@ func _Msg_RemoveSystemAccount_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/RemoveSystemAccount", + FullMethod: "/florin.v2.Msg/RemoveSystemAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveSystemAccount(ctx, req.(*MsgRemoveSystemAccount)) @@ -1437,7 +1437,7 @@ func _Msg_SetMaxMintAllowance_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/SetMaxMintAllowance", + FullMethod: "/florin.v2.Msg/SetMaxMintAllowance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SetMaxMintAllowance(ctx, req.(*MsgSetMaxMintAllowance)) @@ -1455,7 +1455,7 @@ func _Msg_SetMintAllowance_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/SetMintAllowance", + FullMethod: "/florin.v2.Msg/SetMintAllowance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SetMintAllowance(ctx, req.(*MsgSetMintAllowance)) @@ -1473,7 +1473,7 @@ func _Msg_TransferOwnership_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/florin.v1.Msg/TransferOwnership", + FullMethod: "/florin.v2.Msg/TransferOwnership", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).TransferOwnership(ctx, req.(*MsgTransferOwnership)) @@ -1483,7 +1483,7 @@ func _Msg_TransferOwnership_Handler(srv interface{}, ctx context.Context, dec fu var Msg_serviceDesc = _Msg_serviceDesc var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "florin.v1.Msg", + ServiceName: "florin.v2.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1536,7 +1536,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "florin/v1/tx.proto", + Metadata: "florin/v2/tx.proto", } func (m *MsgAcceptOwnership) Marshal() (dAtA []byte, err error) { diff --git a/types/v1/tx.pb.go b/types/v1/tx.pb.go new file mode 100644 index 00000000..6e858006 --- /dev/null +++ b/types/v1/tx.pb.go @@ -0,0 +1,1676 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: florin/v1/tx.proto + +package v1 + +import ( + context "context" + cosmossdk_io_math "cosmossdk.io/math" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// MsgBurn implements the burn (0x8d1247ba) method. +type MsgBurn struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + Amount cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (m *MsgBurn) Reset() { *m = MsgBurn{} } +func (m *MsgBurn) String() string { return proto.CompactTextString(m) } +func (*MsgBurn) ProtoMessage() {} +func (*MsgBurn) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{0} +} +func (m *MsgBurn) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurn.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 *MsgBurn) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurn.Merge(m, src) +} +func (m *MsgBurn) XXX_Size() int { + return m.Size() +} +func (m *MsgBurn) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurn.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurn proto.InternalMessageInfo + +// MsgBurnResponse is the response of the Burn action. +type MsgBurnResponse struct { +} + +func (m *MsgBurnResponse) Reset() { *m = MsgBurnResponse{} } +func (m *MsgBurnResponse) String() string { return proto.CompactTextString(m) } +func (*MsgBurnResponse) ProtoMessage() {} +func (*MsgBurnResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{1} +} +func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgBurnResponse.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 *MsgBurnResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgBurnResponse.Merge(m, src) +} +func (m *MsgBurnResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgBurnResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgBurnResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgBurnResponse proto.InternalMessageInfo + +// MsgMint implements the mint (0x40c10f19) method. +type MsgMint struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + Amount cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=cosmossdk.io/math.Int" json:"amount"` +} + +func (m *MsgMint) Reset() { *m = MsgMint{} } +func (m *MsgMint) String() string { return proto.CompactTextString(m) } +func (*MsgMint) ProtoMessage() {} +func (*MsgMint) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{2} +} +func (m *MsgMint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMint.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 *MsgMint) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMint.Merge(m, src) +} +func (m *MsgMint) XXX_Size() int { + return m.Size() +} +func (m *MsgMint) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMint.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMint proto.InternalMessageInfo + +// MsgMintResponse is the response of the Mint action. +type MsgMintResponse struct { +} + +func (m *MsgMintResponse) Reset() { *m = MsgMintResponse{} } +func (m *MsgMintResponse) String() string { return proto.CompactTextString(m) } +func (*MsgMintResponse) ProtoMessage() {} +func (*MsgMintResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{3} +} +func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMintResponse.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 *MsgMintResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMintResponse.Merge(m, src) +} +func (m *MsgMintResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgMintResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMintResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMintResponse proto.InternalMessageInfo + +// MsgRecover implements the recover (0x6eb4c609) method. +type MsgRecover struct { + Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` + Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` + From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (m *MsgRecover) Reset() { *m = MsgRecover{} } +func (m *MsgRecover) String() string { return proto.CompactTextString(m) } +func (*MsgRecover) ProtoMessage() {} +func (*MsgRecover) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{4} +} +func (m *MsgRecover) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRecover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRecover.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 *MsgRecover) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRecover.Merge(m, src) +} +func (m *MsgRecover) XXX_Size() int { + return m.Size() +} +func (m *MsgRecover) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRecover.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRecover proto.InternalMessageInfo + +// MsgRecoverResponse is the response of the Recover action. +type MsgRecoverResponse struct { +} + +func (m *MsgRecoverResponse) Reset() { *m = MsgRecoverResponse{} } +func (m *MsgRecoverResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRecoverResponse) ProtoMessage() {} +func (*MsgRecoverResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_de2a06c2ec80785c, []int{5} +} +func (m *MsgRecoverResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRecoverResponse.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 *MsgRecoverResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRecoverResponse.Merge(m, src) +} +func (m *MsgRecoverResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgRecoverResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRecoverResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRecoverResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgBurn)(nil), "florin.v1.MsgBurn") + proto.RegisterType((*MsgBurnResponse)(nil), "florin.v1.MsgBurnResponse") + proto.RegisterType((*MsgMint)(nil), "florin.v1.MsgMint") + proto.RegisterType((*MsgMintResponse)(nil), "florin.v1.MsgMintResponse") + proto.RegisterType((*MsgRecover)(nil), "florin.v1.MsgRecover") + proto.RegisterType((*MsgRecoverResponse)(nil), "florin.v1.MsgRecoverResponse") +} + +func init() { proto.RegisterFile("florin/v1/tx.proto", fileDescriptor_de2a06c2ec80785c) } + +var fileDescriptor_de2a06c2ec80785c = []byte{ + // 515 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x94, 0x3f, 0x6f, 0x13, 0x3f, + 0x18, 0xc7, 0xcf, 0x69, 0x9a, 0x2a, 0xfe, 0xfd, 0x04, 0xaa, 0x95, 0x8a, 0x23, 0x82, 0x4b, 0x15, + 0x24, 0x14, 0x45, 0xcd, 0xb9, 0x29, 0x12, 0x03, 0x0b, 0x22, 0x03, 0xa2, 0x43, 0x96, 0x63, 0x63, + 0x41, 0xf9, 0xe3, 0xba, 0x27, 0x62, 0x3f, 0x91, 0xed, 0x3b, 0xc1, 0xca, 0x84, 0x10, 0x03, 0x2f, + 0xa1, 0x23, 0x63, 0x86, 0x8a, 0xd7, 0xd0, 0xb1, 0xea, 0x84, 0x18, 0x2a, 0x94, 0x0c, 0x41, 0x8c, + 0xbc, 0x02, 0xe4, 0x3b, 0xa7, 0x85, 0xf2, 0x27, 0x0c, 0x95, 0x58, 0x22, 0xfb, 0xfb, 0x3c, 0x5f, + 0xcb, 0xdf, 0x4f, 0x1e, 0x1f, 0x26, 0x7b, 0x23, 0x50, 0xb1, 0xa4, 0x69, 0x9b, 0x9a, 0xe7, 0xe1, + 0x58, 0x81, 0x01, 0x52, 0xce, 0xb5, 0x30, 0x6d, 0x57, 0xd7, 0x7b, 0x22, 0x96, 0x40, 0xb3, 0xdf, + 0xbc, 0x5a, 0xbd, 0x36, 0x00, 0x2d, 0x40, 0x53, 0xa1, 0xb9, 0x75, 0x09, 0xcd, 0x5d, 0xe1, 0x7a, + 0x5e, 0x78, 0x9a, 0xed, 0x68, 0xbe, 0x71, 0xa5, 0x0a, 0x07, 0x0e, 0xb9, 0x6e, 0x57, 0xb9, 0x5a, + 0x7f, 0x53, 0xc0, 0x6b, 0x5d, 0xcd, 0x3b, 0x89, 0x92, 0xa4, 0x82, 0x57, 0x87, 0x4c, 0x82, 0xf0, + 0xd1, 0x26, 0x6a, 0x94, 0xa3, 0x7c, 0x43, 0xb6, 0x71, 0x49, 0xc7, 0x5c, 0x32, 0xe5, 0x17, 0xac, + 0xdc, 0xf1, 0x4f, 0x0e, 0x5b, 0x15, 0x77, 0xf2, 0x83, 0xe1, 0x50, 0x31, 0xad, 0x1f, 0x1b, 0x15, + 0x4b, 0x1e, 0xb9, 0x3e, 0xb2, 0x85, 0x8b, 0x7b, 0x0a, 0x84, 0xbf, 0xb2, 0xa4, 0x3f, 0xeb, 0x22, + 0x8f, 0x70, 0xa9, 0x27, 0x20, 0x91, 0xc6, 0x2f, 0x66, 0xfd, 0xdb, 0x47, 0xa7, 0x35, 0xef, 0xe3, + 0x69, 0x6d, 0x23, 0xf7, 0xe8, 0xe1, 0xb3, 0x30, 0x06, 0x2a, 0x7a, 0x66, 0x3f, 0xdc, 0x95, 0xe6, + 0xe4, 0xb0, 0x85, 0xdd, 0x61, 0xbb, 0xd2, 0xbc, 0x9b, 0x4f, 0x9a, 0x28, 0x72, 0x7e, 0x72, 0x03, + 0x97, 0xed, 0x0d, 0x7a, 0x26, 0x51, 0xcc, 0x5f, 0xdd, 0x44, 0x8d, 0xff, 0xa3, 0x73, 0xe1, 0xde, + 0xad, 0x57, 0x07, 0x35, 0xef, 0xf3, 0x41, 0xcd, 0x7b, 0x39, 0x9f, 0x34, 0xdd, 0x55, 0x5f, 0xcf, + 0x27, 0xcd, 0xff, 0x1c, 0x7d, 0x8b, 0xa0, 0xbe, 0x8e, 0xaf, 0x3a, 0x1a, 0x11, 0xd3, 0x63, 0x90, + 0x9a, 0xd5, 0xbf, 0xa0, 0x8c, 0x50, 0x37, 0x96, 0xe6, 0xd2, 0x08, 0x35, 0x70, 0xc1, 0xc0, 0x52, + 0x3e, 0x05, 0x03, 0x97, 0x47, 0x67, 0x69, 0x7e, 0x1b, 0xd0, 0xe5, 0xb7, 0xcb, 0xb3, 0xfc, 0x5f, + 0x11, 0xc6, 0x5d, 0xcd, 0x23, 0x36, 0x80, 0x94, 0xa9, 0x7f, 0x34, 0x24, 0x39, 0xb0, 0xe2, 0x5f, + 0x00, 0xfb, 0xf3, 0x10, 0xdc, 0xfe, 0x0d, 0x84, 0x2b, 0x0e, 0x82, 0x4b, 0x59, 0xaf, 0x60, 0x72, + 0x9e, 0x79, 0x81, 0x62, 0xe7, 0x3d, 0xc2, 0x2b, 0x5d, 0xcd, 0xc9, 0x5d, 0x5c, 0xcc, 0x1e, 0x0c, + 0x09, 0xcf, 0x5e, 0x69, 0xe8, 0xc6, 0xa6, 0x5a, 0xfd, 0x59, 0x5b, 0xf8, 0xad, 0x2f, 0x1b, 0xa3, + 0x0b, 0x3e, 0xab, 0x5d, 0xf4, 0x7d, 0xff, 0x17, 0x90, 0xfb, 0x78, 0x6d, 0x81, 0x7f, 0xe3, 0xc7, + 0x36, 0x27, 0x57, 0x6f, 0xfe, 0x52, 0x5e, 0x1c, 0xd0, 0x79, 0x78, 0x34, 0x0d, 0xd0, 0xf1, 0x34, + 0x40, 0x9f, 0xa6, 0x01, 0x7a, 0x3b, 0x0b, 0xbc, 0xe3, 0x59, 0xe0, 0x7d, 0x98, 0x05, 0xde, 0x93, + 0x2d, 0x1e, 0x9b, 0xfd, 0xa4, 0x1f, 0x0e, 0x40, 0x50, 0x01, 0x92, 0xa9, 0x38, 0xb1, 0x8b, 0x61, + 0x32, 0x62, 0x2d, 0x09, 0xfd, 0x11, 0xa3, 0xe9, 0x0e, 0x35, 0x2f, 0xc6, 0x4c, 0xd3, 0xb4, 0xdd, + 0x2f, 0x65, 0x1f, 0x8d, 0x3b, 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0xea, 0x64, 0x2f, 0xb2, + 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) + Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) + Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) { + out := new(MsgBurnResponse) + err := c.cc.Invoke(ctx, "/florin.v1.Msg/Burn", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) { + out := new(MsgMintResponse) + err := c.cc.Invoke(ctx, "/florin.v1.Msg/Mint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) Recover(ctx context.Context, in *MsgRecover, opts ...grpc.CallOption) (*MsgRecoverResponse, error) { + out := new(MsgRecoverResponse) + err := c.cc.Invoke(ctx, "/florin.v1.Msg/Recover", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) + Mint(context.Context, *MsgMint) (*MsgMintResponse, error) + Recover(context.Context, *MsgRecover) (*MsgRecoverResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Burn not implemented") +} +func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Mint not implemented") +} +func (*UnimplementedMsgServer) Recover(ctx context.Context, req *MsgRecover) (*MsgRecoverResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Recover not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_Burn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgBurn) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Burn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/florin.v1.Msg/Burn", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Burn(ctx, req.(*MsgBurn)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Mint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgMint) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Mint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/florin.v1.Msg/Mint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Mint(ctx, req.(*MsgMint)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_Recover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRecover) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).Recover(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/florin.v1.Msg/Recover", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).Recover(ctx, req.(*MsgRecover)) + } + return interceptor(ctx, in, info, handler) +} + +var Msg_serviceDesc = _Msg_serviceDesc +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "florin.v1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Burn", + Handler: _Msg_Burn_Handler, + }, + { + MethodName: "Mint", + Handler: _Msg_Mint_Handler, + }, + { + MethodName: "Recover", + Handler: _Msg_Recover_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "florin/v1/tx.proto", +} + +func (m *MsgBurn) 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 *MsgBurn) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Signature) > 0 { + i -= len(m.Signature) + copy(dAtA[i:], m.Signature) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signature))) + i-- + dAtA[i] = 0x2a + } + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0x1a + } + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgBurnResponse) 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 *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgMint) 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 *MsgMint) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintTx(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0x1a + } + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgMintResponse) 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 *MsgMintResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgRecover) 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 *MsgRecover) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRecover) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Signature) > 0 { + i -= len(m.Signature) + copy(dAtA[i:], m.Signature) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signature))) + i-- + dAtA[i] = 0x2a + } + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintTx(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0x22 + } + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0x1a + } + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0x12 + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgRecoverResponse) 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 *MsgRecoverResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRecoverResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgBurn) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.Signature) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgBurnResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgMint) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.To) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgMintResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgRecover) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Denom) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.To) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Signature) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgRecoverResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgBurn) 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: MsgBurn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurn: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) + if m.Signature == nil { + m.Signature = []byte{} + } + iNdEx = postIndex + 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 *MsgBurnResponse) 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: MsgBurnResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 *MsgMint) 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: MsgMint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMint: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + 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 *MsgMintResponse) 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: MsgMintResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 *MsgRecover) 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: MsgRecover: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRecover: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...) + if m.Signature == nil { + m.Signature = []byte{} + } + iNdEx = postIndex + 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 *MsgRecoverResponse) 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: MsgRecoverResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgRecoverResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +)