From c39d0f40c8d7942386e1020fa79df03bb3c58281 Mon Sep 17 00:00:00 2001 From: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com> Date: Fri, 2 Sep 2022 07:52:26 -0700 Subject: [PATCH] refactor(x/ecocredit): rename class creator allowlist messages (#1463) * refactor(x/ecocredit): rename class creator allowlist messages * fix integration test * fix test and update changelog --- CHANGELOG.md | 3 + api/regen/ecocredit/v1/query.pulsar.go | 2368 ++++++++--------- api/regen/ecocredit/v1/query_grpc.pb.go | 82 +- api/regen/ecocredit/v1/state.cosmos_orm.go | 106 +- api/regen/ecocredit/v1/state.pulsar.go | 494 ++-- api/regen/ecocredit/v1/tx.pulsar.go | 1462 +++++----- api/regen/ecocredit/v1/tx_grpc.pb.go | 90 +- proto/regen/ecocredit/v1/query.proto | 54 +- proto/regen/ecocredit/v1/state.proto | 32 +- proto/regen/ecocredit/v1/tx.proto | 56 +- x/ecocredit/base/client/query.go | 16 +- ...> msg_set_class_creator_allowlist.feature} | 10 +- x/ecocredit/base/keeper/msg_create_class.go | 2 +- .../base/keeper/msg_create_class_test.go | 2 +- ....go => msg_set_class_creator_allowlist.go} | 6 +- .../msg_set_class_creator_allowlist_test.go | 56 + .../keeper/msg_toggle_class_allowlist_test.go | 56 - .../base/keeper/query_allowlist_enabled.go | 19 - .../keeper/query_allowlist_enabled_test.go | 28 - .../keeper/query_class_creator_allowlist.go | 19 + .../query_class_creator_allowlist_test.go | 28 + x/ecocredit/base/keeper/query_params.go | 2 +- x/ecocredit/base/keeper/query_params_test.go | 2 +- ...> msg_set_class_creator_allowlist.feature} | 2 +- ....go => msg_set_class_creator_allowlist.go} | 14 +- .../msg_set_class_creator_allowlist_test.go | 41 + .../v1/msg_toggle_class_allowlist_test.go | 41 - x/ecocredit/base/types/v1/query.pb.go | 973 ++++--- x/ecocredit/base/types/v1/query.pb.gw.go | 80 +- x/ecocredit/base/types/v1/state.pb.go | 348 +-- x/ecocredit/base/types/v1/tx.pb.go | 778 +++--- x/ecocredit/client/query.go | 2 +- x/ecocredit/client/testsuite/grpc.go | 17 +- x/ecocredit/client/testsuite/query.go | 6 +- x/ecocredit/client/testsuite/suite.go | 2 +- x/ecocredit/migrations/v3/state.go | 2 +- x/ecocredit/migrations/v3/state_test.go | 2 +- x/ecocredit/simulation/genesis.go | 6 +- x/ecocredit/simulation/genesis_test.go | 2 +- 39 files changed, 3658 insertions(+), 3651 deletions(-) rename x/ecocredit/base/keeper/features/{msg_toggle_class_allowlist.feature => msg_set_class_creator_allowlist.feature} (78%) rename x/ecocredit/base/keeper/{msg_toggle_class_allowlist.go => msg_set_class_creator_allowlist.go} (60%) create mode 100644 x/ecocredit/base/keeper/msg_set_class_creator_allowlist_test.go delete mode 100644 x/ecocredit/base/keeper/msg_toggle_class_allowlist_test.go delete mode 100644 x/ecocredit/base/keeper/query_allowlist_enabled.go delete mode 100644 x/ecocredit/base/keeper/query_allowlist_enabled_test.go create mode 100644 x/ecocredit/base/keeper/query_class_creator_allowlist.go create mode 100644 x/ecocredit/base/keeper/query_class_creator_allowlist_test.go rename x/ecocredit/base/types/v1/features/{msg_toggle_class_allowlist.feature => msg_set_class_creator_allowlist.feature} (95%) rename x/ecocredit/base/types/v1/{msg_toggle_class_allowlist.go => msg_set_class_creator_allowlist.go} (58%) create mode 100644 x/ecocredit/base/types/v1/msg_set_class_creator_allowlist_test.go delete mode 100644 x/ecocredit/base/types/v1/msg_toggle_class_allowlist_test.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 78b87a6287..c4e6a89567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,11 +86,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [#1354](https://github.com/regen-network/regen-ledger/pull/1354) Add `AddClassCreator` msg-based gov proposal - [#1354](https://github.com/regen-network/regen-ledger/pull/1354) Add `RemoveClassCreator` msg-based gov proposal - [#1354](https://github.com/regen-network/regen-ledger/pull/1354) Add `ToggleCreditClassAllowlist` msg-based gov proposal + - [#1463](https://github.com/regen-network/regen-ledger/pull/1354) Renamed to `SetClassCreatorAllowlist` - [#1354](https://github.com/regen-network/regen-ledger/pull/1354) Add `UpdateClassFees` msg-based gov proposal - [#1391](https://github.com/regen-network/regen-ledger/pull/1391) Add `BasketFees` params query - [#1412](https://github.com/regen-network/regen-ledger/pull/1412) Add `EventRemoveAllowedDenom` - [#1416](https://github.com/regen-network/regen-ledger/pull/1416) Add `QueryAllBalances` query - [#1417](https://github.com/regen-network/regen-ledger/pull/1417) Add ecocredit params state migration +- [#1423](https://github.com/regen-network/regen-ledger/pull/1423) Add `CreditClassAllowlistEnabled` params query + - [#1463](https://github.com/regen-network/regen-ledger/pull/1354) Renamed to `ClassCreatorAllowlist` - [#1423](https://github.com/regen-network/regen-ledger/pull/1423) Add `AllowedClassCreators` params query - [#1423](https://github.com/regen-network/regen-ledger/pull/1423) Add `CreditClassFees` params query - [#1423](https://github.com/regen-network/regen-ledger/pull/1423) Add `CreditClassAllowlistEnabled` params query diff --git a/api/regen/ecocredit/v1/query.pulsar.go b/api/regen/ecocredit/v1/query.pulsar.go index 18f81d0e46..536eb88849 100644 --- a/api/regen/ecocredit/v1/query.pulsar.go +++ b/api/regen/ecocredit/v1/query.pulsar.go @@ -25305,25 +25305,23 @@ func (x *fastReflection_BatchBalanceInfo) ProtoMethods() *protoiface.Methods { } var ( - md_QueryAllowedClassCreatorsRequest protoreflect.MessageDescriptor - fd_QueryAllowedClassCreatorsRequest_pagination protoreflect.FieldDescriptor + md_QueryClassCreatorAllowlistRequest protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryAllowedClassCreatorsRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryAllowedClassCreatorsRequest") - fd_QueryAllowedClassCreatorsRequest_pagination = md_QueryAllowedClassCreatorsRequest.Fields().ByName("pagination") + md_QueryClassCreatorAllowlistRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryClassCreatorAllowlistRequest") } -var _ protoreflect.Message = (*fastReflection_QueryAllowedClassCreatorsRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryClassCreatorAllowlistRequest)(nil) -type fastReflection_QueryAllowedClassCreatorsRequest QueryAllowedClassCreatorsRequest +type fastReflection_QueryClassCreatorAllowlistRequest QueryClassCreatorAllowlistRequest -func (x *QueryAllowedClassCreatorsRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllowedClassCreatorsRequest)(x) +func (x *QueryClassCreatorAllowlistRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryClassCreatorAllowlistRequest)(x) } -func (x *QueryAllowedClassCreatorsRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryClassCreatorAllowlistRequest) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -25335,43 +25333,43 @@ func (x *QueryAllowedClassCreatorsRequest) slowProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -var _fastReflection_QueryAllowedClassCreatorsRequest_messageType fastReflection_QueryAllowedClassCreatorsRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllowedClassCreatorsRequest_messageType{} +var _fastReflection_QueryClassCreatorAllowlistRequest_messageType fastReflection_QueryClassCreatorAllowlistRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryClassCreatorAllowlistRequest_messageType{} -type fastReflection_QueryAllowedClassCreatorsRequest_messageType struct{} +type fastReflection_QueryClassCreatorAllowlistRequest_messageType struct{} -func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllowedClassCreatorsRequest)(nil) +func (x fastReflection_QueryClassCreatorAllowlistRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryClassCreatorAllowlistRequest)(nil) } -func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllowedClassCreatorsRequest) +func (x fastReflection_QueryClassCreatorAllowlistRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryClassCreatorAllowlistRequest) } -func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllowedClassCreatorsRequest +func (x fastReflection_QueryClassCreatorAllowlistRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryClassCreatorAllowlistRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllowedClassCreatorsRequest +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryClassCreatorAllowlistRequest } // 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_QueryAllowedClassCreatorsRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllowedClassCreatorsRequest_messageType +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryClassCreatorAllowlistRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllowedClassCreatorsRequest) +func (x *fastReflection_QueryClassCreatorAllowlistRequest) New() protoreflect.Message { + return new(fastReflection_QueryClassCreatorAllowlistRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllowedClassCreatorsRequest)(x) +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Interface() protoreflect.ProtoMessage { + return (*QueryClassCreatorAllowlistRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -25379,13 +25377,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Interface() protorefle // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllowedClassCreatorsRequest_pagination, value) { - return - } - } +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -25399,15 +25391,13 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Range(f func(protorefl // 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_QueryAllowedClassCreatorsRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest does not contain field %s", fd.FullName())) } } @@ -25417,15 +25407,13 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Has(fd protoreflect.Fi // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest does not contain field %s", fd.FullName())) } } @@ -25435,16 +25423,13 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Clear(fd protoreflect. // 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_QueryAllowedClassCreatorsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest does not contain field %s", descriptor.FullName())) } } @@ -25458,15 +25443,13 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Get(descriptor protore // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest does not contain field %s", fd.FullName())) } } @@ -25480,44 +25463,36 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) Set(fd protoreflect.Fi // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest 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_QueryAllowedClassCreatorsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": - m := new(v1beta1.PageRequest) - return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistRequest 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_QueryAllowedClassCreatorsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryAllowedClassCreatorsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryClassCreatorAllowlistRequest", d.FullName())) } panic("unreachable") } @@ -25525,7 +25500,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) WhichOneof(d protorefl // 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_QueryAllowedClassCreatorsRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25536,7 +25511,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) GetUnknown() protorefl // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25548,7 +25523,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) SetUnknown(fields prot // 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_QueryAllowedClassCreatorsRequest) IsValid() bool { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) IsValid() bool { return x != nil } @@ -25558,9 +25533,9 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) 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_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryClassCreatorAllowlistRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) + x := input.Message.Interface().(*QueryClassCreatorAllowlistRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25572,10 +25547,6 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi var n int var l int _ = l - if x.Pagination != nil { - l = options.Size(x.Pagination) - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -25586,7 +25557,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) + x := input.Message.Interface().(*QueryClassCreatorAllowlistRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25605,20 +25576,6 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -25630,7 +25587,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) + x := input.Message.Interface().(*QueryClassCreatorAllowlistRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25662,48 +25619,12 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryClassCreatorAllowlistRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryClassCreatorAllowlistRequest: 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 Pagination", 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.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -25739,74 +25660,26 @@ func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoi } } -var _ protoreflect.List = (*_QueryAllowedClassCreatorsResponse_1_list)(nil) - -type _QueryAllowedClassCreatorsResponse_1_list struct { - list *[]string -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfString((*x.list)[i]) -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message QueryAllowedClassCreatorsResponse at list field ClassCreators as it is not of Message kind")) -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) NewElement() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_QueryAllowedClassCreatorsResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllowedClassCreatorsResponse protoreflect.MessageDescriptor - fd_QueryAllowedClassCreatorsResponse_class_creators protoreflect.FieldDescriptor - fd_QueryAllowedClassCreatorsResponse_pagination protoreflect.FieldDescriptor + md_QueryClassCreatorAllowlistResponse protoreflect.MessageDescriptor + fd_QueryClassCreatorAllowlistResponse_enabled protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryAllowedClassCreatorsResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryAllowedClassCreatorsResponse") - fd_QueryAllowedClassCreatorsResponse_class_creators = md_QueryAllowedClassCreatorsResponse.Fields().ByName("class_creators") - fd_QueryAllowedClassCreatorsResponse_pagination = md_QueryAllowedClassCreatorsResponse.Fields().ByName("pagination") + md_QueryClassCreatorAllowlistResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryClassCreatorAllowlistResponse") + fd_QueryClassCreatorAllowlistResponse_enabled = md_QueryClassCreatorAllowlistResponse.Fields().ByName("enabled") } -var _ protoreflect.Message = (*fastReflection_QueryAllowedClassCreatorsResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryClassCreatorAllowlistResponse)(nil) -type fastReflection_QueryAllowedClassCreatorsResponse QueryAllowedClassCreatorsResponse +type fastReflection_QueryClassCreatorAllowlistResponse QueryClassCreatorAllowlistResponse -func (x *QueryAllowedClassCreatorsResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllowedClassCreatorsResponse)(x) +func (x *QueryClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryClassCreatorAllowlistResponse)(x) } -func (x *QueryAllowedClassCreatorsResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryClassCreatorAllowlistResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -25818,43 +25691,43 @@ func (x *QueryAllowedClassCreatorsResponse) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_QueryAllowedClassCreatorsResponse_messageType fastReflection_QueryAllowedClassCreatorsResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllowedClassCreatorsResponse_messageType{} +var _fastReflection_QueryClassCreatorAllowlistResponse_messageType fastReflection_QueryClassCreatorAllowlistResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryClassCreatorAllowlistResponse_messageType{} -type fastReflection_QueryAllowedClassCreatorsResponse_messageType struct{} +type fastReflection_QueryClassCreatorAllowlistResponse_messageType struct{} -func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllowedClassCreatorsResponse)(nil) +func (x fastReflection_QueryClassCreatorAllowlistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryClassCreatorAllowlistResponse)(nil) } -func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllowedClassCreatorsResponse) +func (x fastReflection_QueryClassCreatorAllowlistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryClassCreatorAllowlistResponse) } -func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllowedClassCreatorsResponse +func (x fastReflection_QueryClassCreatorAllowlistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryClassCreatorAllowlistResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllowedClassCreatorsResponse +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryClassCreatorAllowlistResponse } // 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_QueryAllowedClassCreatorsResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllowedClassCreatorsResponse_messageType +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryClassCreatorAllowlistResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllowedClassCreatorsResponse) +func (x *fastReflection_QueryClassCreatorAllowlistResponse) New() protoreflect.Message { + return new(fastReflection_QueryClassCreatorAllowlistResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllowedClassCreatorsResponse)(x) +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Interface() protoreflect.ProtoMessage { + return (*QueryClassCreatorAllowlistResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -25862,16 +25735,10 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.ClassCreators) != 0 { - value := protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators}) - if !f(fd_QueryAllowedClassCreatorsResponse_class_creators, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllowedClassCreatorsResponse_pagination, value) { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Enabled != false { + value := protoreflect.ValueOfBool(x.Enabled) + if !f(fd_QueryClassCreatorAllowlistResponse_enabled, value) { return } } @@ -25888,17 +25755,15 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Range(f func(protoref // 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_QueryAllowedClassCreatorsResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - return len(x.ClassCreators) != 0 - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - return x.Pagination != nil + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + return x.Enabled != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -25908,17 +25773,15 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - x.ClassCreators = nil - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - x.Pagination = nil + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + x.Enabled = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -25928,22 +25791,16 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Clear(fd protoreflect // 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_QueryAllowedClassCreatorsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - if len(x.ClassCreators) == 0 { - return protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{}) - } - listValue := &_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators} - return protoreflect.ValueOfList(listValue) - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + value := x.Enabled + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse does not contain field %s", descriptor.FullName())) } } @@ -25957,19 +25814,15 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - lv := value.List() - clv := lv.(*_QueryAllowedClassCreatorsResponse_1_list) - x.ClassCreators = *clv.list - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + x.Enabled = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -25983,53 +25836,40 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - if x.ClassCreators == nil { - x.ClassCreators = []string{} - } - value := &_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators} - return protoreflect.ValueOfList(value) - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + panic(fmt.Errorf("field enabled of message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse 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_QueryAllowedClassCreatorsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": - list := []string{} - return protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{list: &list}) - case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse.enabled": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryClassCreatorAllowlistResponse 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_QueryAllowedClassCreatorsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryAllowedClassCreatorsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryClassCreatorAllowlistResponse", d.FullName())) } panic("unreachable") } @@ -26037,7 +25877,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) WhichOneof(d protoref // 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_QueryAllowedClassCreatorsResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26048,7 +25888,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllowedClassCreatorsResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26060,7 +25900,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) SetUnknown(fields pro // 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_QueryAllowedClassCreatorsResponse) IsValid() bool { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) IsValid() bool { return x != nil } @@ -26070,9 +25910,9 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) 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_QueryAllowedClassCreatorsResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryClassCreatorAllowlistResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) + x := input.Message.Interface().(*QueryClassCreatorAllowlistResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26084,15 +25924,8 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto var n int var l int _ = l - if len(x.ClassCreators) > 0 { - for _, s := range x.ClassCreators { - l = len(s) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) - n += 1 + l + runtime.Sov(uint64(l)) + if x.Enabled { + n += 2 } if x.unknownFields != nil { n += len(x.unknownFields) @@ -26104,7 +25937,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) + x := input.Message.Interface().(*QueryClassCreatorAllowlistResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26123,28 +25956,15 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if x.Enabled { i-- - dAtA[i] = 0x12 - } - if len(x.ClassCreators) > 0 { - for iNdEx := len(x.ClassCreators) - 1; iNdEx >= 0; iNdEx-- { - i -= len(x.ClassCreators[iNdEx]) - copy(dAtA[i:], x.ClassCreators[iNdEx]) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ClassCreators[iNdEx]))) - i-- - dAtA[i] = 0xa + if x.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -26157,7 +25977,7 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) + x := input.Message.Interface().(*QueryClassCreatorAllowlistResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26189,49 +26009,17 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryClassCreatorAllowlistResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryClassCreatorAllowlistResponse: 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 ClassCreators", 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.ClassCreators = append(x.ClassCreators, 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 Pagination", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -26241,28 +26029,12 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= 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.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex + x.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -26299,23 +26071,25 @@ func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *proto } var ( - md_QueryCreditClassFeesRequest protoreflect.MessageDescriptor + md_QueryAllowedClassCreatorsRequest protoreflect.MessageDescriptor + fd_QueryAllowedClassCreatorsRequest_pagination protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryCreditClassFeesRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassFeesRequest") + md_QueryAllowedClassCreatorsRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryAllowedClassCreatorsRequest") + fd_QueryAllowedClassCreatorsRequest_pagination = md_QueryAllowedClassCreatorsRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryCreditClassFeesRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllowedClassCreatorsRequest)(nil) -type fastReflection_QueryCreditClassFeesRequest QueryCreditClassFeesRequest +type fastReflection_QueryAllowedClassCreatorsRequest QueryAllowedClassCreatorsRequest -func (x *QueryCreditClassFeesRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryCreditClassFeesRequest)(x) +func (x *QueryAllowedClassCreatorsRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllowedClassCreatorsRequest)(x) } -func (x *QueryCreditClassFeesRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryAllowedClassCreatorsRequest) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -26327,43 +26101,43 @@ func (x *QueryCreditClassFeesRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryCreditClassFeesRequest_messageType fastReflection_QueryCreditClassFeesRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryCreditClassFeesRequest_messageType{} +var _fastReflection_QueryAllowedClassCreatorsRequest_messageType fastReflection_QueryAllowedClassCreatorsRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllowedClassCreatorsRequest_messageType{} -type fastReflection_QueryCreditClassFeesRequest_messageType struct{} +type fastReflection_QueryAllowedClassCreatorsRequest_messageType struct{} -func (x fastReflection_QueryCreditClassFeesRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryCreditClassFeesRequest)(nil) +func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllowedClassCreatorsRequest)(nil) } -func (x fastReflection_QueryCreditClassFeesRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassFeesRequest) +func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllowedClassCreatorsRequest) } -func (x fastReflection_QueryCreditClassFeesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassFeesRequest +func (x fastReflection_QueryAllowedClassCreatorsRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllowedClassCreatorsRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryCreditClassFeesRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassFeesRequest +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllowedClassCreatorsRequest } // 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_QueryCreditClassFeesRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryCreditClassFeesRequest_messageType +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllowedClassCreatorsRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryCreditClassFeesRequest) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassFeesRequest) +func (x *fastReflection_QueryAllowedClassCreatorsRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllowedClassCreatorsRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryCreditClassFeesRequest) Interface() protoreflect.ProtoMessage { - return (*QueryCreditClassFeesRequest)(x) +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllowedClassCreatorsRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -26371,7 +26145,13 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllowedClassCreatorsRequest_pagination, value) { + return + } + } } // Has reports whether a field is populated. @@ -26385,13 +26165,15 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) } } @@ -26401,13 +26183,15 @@ func (x *fastReflection_QueryCreditClassFeesRequest) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) } } @@ -26417,13 +26201,16 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", descriptor.FullName())) } } @@ -26437,13 +26224,15 @@ func (x *fastReflection_QueryCreditClassFeesRequest) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest does not contain field %s", fd.FullName())) } } @@ -26457,36 +26246,44 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest 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_QueryCreditClassFeesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsRequest 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_QueryCreditClassFeesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassFeesRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryAllowedClassCreatorsRequest", d.FullName())) } panic("unreachable") } @@ -26494,7 +26291,7 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26505,7 +26302,7 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26517,7 +26314,7 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) IsValid() bool { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) IsValid() bool { return x != nil } @@ -26527,9 +26324,9 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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_QueryCreditClassFeesRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllowedClassCreatorsRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryCreditClassFeesRequest) + x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26541,6 +26338,10 @@ func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface. var n int var l int _ = l + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -26551,7 +26352,7 @@ func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassFeesRequest) + x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26570,8 +26371,22 @@ func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) } else { input.Buf = dAtA } @@ -26581,7 +26396,7 @@ func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassFeesRequest) + x := input.Message.Interface().(*QueryAllowedClassCreatorsRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26613,12 +26428,48 @@ func (x *fastReflection_QueryCreditClassFeesRequest) 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: QueryCreditClassFeesRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -26654,77 +26505,74 @@ func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface. } } -var _ protoreflect.List = (*_QueryCreditClassFeesResponse_1_list)(nil) +var _ protoreflect.List = (*_QueryAllowedClassCreatorsResponse_1_list)(nil) -type _QueryCreditClassFeesResponse_1_list struct { - list *[]*v1beta11.Coin +type _QueryAllowedClassCreatorsResponse_1_list struct { + list *[]string } -func (x *_QueryCreditClassFeesResponse_1_list) Len() int { +func (x *_QueryAllowedClassCreatorsResponse_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_QueryCreditClassFeesResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +func (x *_QueryAllowedClassCreatorsResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) } -func (x *_QueryCreditClassFeesResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*v1beta11.Coin) +func (x *_QueryAllowedClassCreatorsResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped (*x.list)[i] = concreteValue } -func (x *_QueryCreditClassFeesResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*v1beta11.Coin) +func (x *_QueryAllowedClassCreatorsResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped *x.list = append(*x.list, concreteValue) } -func (x *_QueryCreditClassFeesResponse_1_list) AppendMutable() protoreflect.Value { - v := new(v1beta11.Coin) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) +func (x *_QueryAllowedClassCreatorsResponse_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message QueryAllowedClassCreatorsResponse at list field ClassCreators as it is not of Message kind")) } -func (x *_QueryCreditClassFeesResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } +func (x *_QueryAllowedClassCreatorsResponse_1_list) Truncate(n int) { *x.list = (*x.list)[:n] } -func (x *_QueryCreditClassFeesResponse_1_list) NewElement() protoreflect.Value { - v := new(v1beta11.Coin) - return protoreflect.ValueOfMessage(v.ProtoReflect()) +func (x *_QueryAllowedClassCreatorsResponse_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) } -func (x *_QueryCreditClassFeesResponse_1_list) IsValid() bool { +func (x *_QueryAllowedClassCreatorsResponse_1_list) IsValid() bool { return x.list != nil } var ( - md_QueryCreditClassFeesResponse protoreflect.MessageDescriptor - fd_QueryCreditClassFeesResponse_fees protoreflect.FieldDescriptor + md_QueryAllowedClassCreatorsResponse protoreflect.MessageDescriptor + fd_QueryAllowedClassCreatorsResponse_class_creators protoreflect.FieldDescriptor + fd_QueryAllowedClassCreatorsResponse_pagination protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryCreditClassFeesResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassFeesResponse") - fd_QueryCreditClassFeesResponse_fees = md_QueryCreditClassFeesResponse.Fields().ByName("fees") + md_QueryAllowedClassCreatorsResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryAllowedClassCreatorsResponse") + fd_QueryAllowedClassCreatorsResponse_class_creators = md_QueryAllowedClassCreatorsResponse.Fields().ByName("class_creators") + fd_QueryAllowedClassCreatorsResponse_pagination = md_QueryAllowedClassCreatorsResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryCreditClassFeesResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllowedClassCreatorsResponse)(nil) -type fastReflection_QueryCreditClassFeesResponse QueryCreditClassFeesResponse +type fastReflection_QueryAllowedClassCreatorsResponse QueryAllowedClassCreatorsResponse -func (x *QueryCreditClassFeesResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryCreditClassFeesResponse)(x) +func (x *QueryAllowedClassCreatorsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllowedClassCreatorsResponse)(x) } -func (x *QueryCreditClassFeesResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryAllowedClassCreatorsResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -26736,43 +26584,43 @@ func (x *QueryCreditClassFeesResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryCreditClassFeesResponse_messageType fastReflection_QueryCreditClassFeesResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryCreditClassFeesResponse_messageType{} +var _fastReflection_QueryAllowedClassCreatorsResponse_messageType fastReflection_QueryAllowedClassCreatorsResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllowedClassCreatorsResponse_messageType{} -type fastReflection_QueryCreditClassFeesResponse_messageType struct{} +type fastReflection_QueryAllowedClassCreatorsResponse_messageType struct{} -func (x fastReflection_QueryCreditClassFeesResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryCreditClassFeesResponse)(nil) +func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllowedClassCreatorsResponse)(nil) } -func (x fastReflection_QueryCreditClassFeesResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassFeesResponse) +func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllowedClassCreatorsResponse) } -func (x fastReflection_QueryCreditClassFeesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassFeesResponse +func (x fastReflection_QueryAllowedClassCreatorsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllowedClassCreatorsResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryCreditClassFeesResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassFeesResponse +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllowedClassCreatorsResponse } // 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_QueryCreditClassFeesResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryCreditClassFeesResponse_messageType +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllowedClassCreatorsResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryCreditClassFeesResponse) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassFeesResponse) +func (x *fastReflection_QueryAllowedClassCreatorsResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllowedClassCreatorsResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryCreditClassFeesResponse) Interface() protoreflect.ProtoMessage { - return (*QueryCreditClassFeesResponse)(x) +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllowedClassCreatorsResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -26780,10 +26628,16 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Interface() protoreflect.P // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryCreditClassFeesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Fees) != 0 { - value := protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{list: &x.Fees}) - if !f(fd_QueryCreditClassFeesResponse_fees, value) { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.ClassCreators) != 0 { + value := protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators}) + if !f(fd_QueryAllowedClassCreatorsResponse_class_creators, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllowedClassCreatorsResponse_pagination, value) { return } } @@ -26800,15 +26654,17 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Range(f func(protoreflect. // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_QueryCreditClassFeesResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": - return len(x.Fees) != 0 + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": + return len(x.ClassCreators) != 0 + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) } } @@ -26818,15 +26674,17 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Has(fd protoreflect.FieldD // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": - x.Fees = nil + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": + x.ClassCreators = nil + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) } } @@ -26836,19 +26694,22 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Clear(fd protoreflect.Fiel // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_QueryCreditClassFeesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": - if len(x.Fees) == 0 { - return protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{}) + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": + if len(x.ClassCreators) == 0 { + return protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{}) } - listValue := &_QueryCreditClassFeesResponse_1_list{list: &x.Fees} + listValue := &_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators} return protoreflect.ValueOfList(listValue) + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", descriptor.FullName())) } } @@ -26862,17 +26723,19 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Get(descriptor protoreflec // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": lv := value.List() - clv := lv.(*_QueryCreditClassFeesResponse_1_list) - x.Fees = *clv.list + clv := lv.(*_QueryAllowedClassCreatorsResponse_1_list) + x.ClassCreators = *clv.list + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse does not contain field %s", fd.FullName())) } } @@ -26886,45 +26749,53 @@ func (x *fastReflection_QueryCreditClassFeesResponse) Set(fd protoreflect.FieldD // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": - if x.Fees == nil { - x.Fees = []*v1beta11.Coin{} + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": + if x.ClassCreators == nil { + x.ClassCreators = []string{} } - value := &_QueryCreditClassFeesResponse_1_list{list: &x.Fees} + value := &_QueryAllowedClassCreatorsResponse_1_list{list: &x.ClassCreators} return protoreflect.ValueOfList(value) + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse 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_QueryCreditClassFeesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": - list := []*v1beta11.Coin{} - return protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{list: &list}) + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.class_creators": + list := []string{} + return protoreflect.ValueOfList(&_QueryAllowedClassCreatorsResponse_1_list{list: &list}) + case "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryAllowedClassCreatorsResponse 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_QueryCreditClassFeesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassFeesResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryAllowedClassCreatorsResponse", d.FullName())) } panic("unreachable") } @@ -26932,7 +26803,7 @@ func (x *fastReflection_QueryCreditClassFeesResponse) WhichOneof(d protoreflect. // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_QueryCreditClassFeesResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26943,7 +26814,7 @@ func (x *fastReflection_QueryCreditClassFeesResponse) GetUnknown() protoreflect. // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassFeesResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26955,7 +26826,7 @@ func (x *fastReflection_QueryCreditClassFeesResponse) SetUnknown(fields protoref // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_QueryCreditClassFeesResponse) IsValid() bool { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) IsValid() bool { return x != nil } @@ -26965,9 +26836,9 @@ func (x *fastReflection_QueryCreditClassFeesResponse) 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_QueryCreditClassFeesResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllowedClassCreatorsResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryCreditClassFeesResponse) + x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26979,12 +26850,16 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface var n int var l int _ = l - if len(x.Fees) > 0 { - for _, e := range x.Fees { - l = options.Size(e) + if len(x.ClassCreators) > 0 { + for _, s := range x.ClassCreators { + l = len(s) n += 1 + l + runtime.Sov(uint64(l)) } } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -26995,7 +26870,7 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassFeesResponse) + x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27014,18 +26889,25 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Fees) > 0 { - for iNdEx := len(x.Fees) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Fees[iNdEx]) - 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))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.ClassCreators) > 0 { + for iNdEx := len(x.ClassCreators) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ClassCreators[iNdEx]) + copy(dAtA[i:], x.ClassCreators[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ClassCreators[iNdEx]))) i-- dAtA[i] = 0xa } @@ -27041,7 +26923,7 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassFeesResponse) + x := input.Message.Interface().(*QueryAllowedClassCreatorsResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27060,28 +26942,60 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface 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 + 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: QueryAllowedClassCreatorsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: 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 ClassCreators", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ClassCreators = append(x.ClassCreators, 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 Fees", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27108,8 +27022,10 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Fees = append(x.Fees, &v1beta11.Coin{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fees[len(x.Fees)-1]); err != nil { + if x.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -27149,23 +27065,23 @@ func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface } var ( - md_QueryCreditClassAllowlistEnabledRequest protoreflect.MessageDescriptor + md_QueryCreditClassFeesRequest protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryCreditClassAllowlistEnabledRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassAllowlistEnabledRequest") + md_QueryCreditClassFeesRequest = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassFeesRequest") } -var _ protoreflect.Message = (*fastReflection_QueryCreditClassAllowlistEnabledRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryCreditClassFeesRequest)(nil) -type fastReflection_QueryCreditClassAllowlistEnabledRequest QueryCreditClassAllowlistEnabledRequest +type fastReflection_QueryCreditClassFeesRequest QueryCreditClassFeesRequest -func (x *QueryCreditClassAllowlistEnabledRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryCreditClassAllowlistEnabledRequest)(x) +func (x *QueryCreditClassFeesRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryCreditClassFeesRequest)(x) } -func (x *QueryCreditClassAllowlistEnabledRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryCreditClassFeesRequest) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -27177,43 +27093,43 @@ func (x *QueryCreditClassAllowlistEnabledRequest) slowProtoReflect() protoreflec return mi.MessageOf(x) } -var _fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType{} +var _fastReflection_QueryCreditClassFeesRequest_messageType fastReflection_QueryCreditClassFeesRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryCreditClassFeesRequest_messageType{} -type fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType struct{} +type fastReflection_QueryCreditClassFeesRequest_messageType struct{} -func (x fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryCreditClassAllowlistEnabledRequest)(nil) +func (x fastReflection_QueryCreditClassFeesRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryCreditClassFeesRequest)(nil) } -func (x fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassAllowlistEnabledRequest) +func (x fastReflection_QueryCreditClassFeesRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryCreditClassFeesRequest) } -func (x fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassAllowlistEnabledRequest +func (x fastReflection_QueryCreditClassFeesRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryCreditClassFeesRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassAllowlistEnabledRequest +func (x *fastReflection_QueryCreditClassFeesRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryCreditClassFeesRequest } // 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_QueryCreditClassAllowlistEnabledRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryCreditClassAllowlistEnabledRequest_messageType +func (x *fastReflection_QueryCreditClassFeesRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryCreditClassFeesRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassAllowlistEnabledRequest) +func (x *fastReflection_QueryCreditClassFeesRequest) New() protoreflect.Message { + return new(fastReflection_QueryCreditClassFeesRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Interface() protoreflect.ProtoMessage { - return (*QueryCreditClassAllowlistEnabledRequest)(x) +func (x *fastReflection_QueryCreditClassFeesRequest) Interface() protoreflect.ProtoMessage { + return (*QueryCreditClassFeesRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -27221,7 +27137,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Interface() pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryCreditClassFeesRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -27235,13 +27151,13 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Range(f func(pr // 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_QueryCreditClassAllowlistEnabledRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryCreditClassFeesRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) } } @@ -27251,13 +27167,13 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Has(fd protoref // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryCreditClassFeesRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) } } @@ -27267,13 +27183,13 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Clear(fd protor // 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_QueryCreditClassAllowlistEnabledRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", descriptor.FullName())) } } @@ -27287,13 +27203,13 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Get(descriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryCreditClassFeesRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest does not contain field %s", fd.FullName())) } } @@ -27307,36 +27223,36 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Set(fd protoref // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest 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_QueryCreditClassAllowlistEnabledRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesRequest")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesRequest 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_QueryCreditClassAllowlistEnabledRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryCreditClassFeesRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassFeesRequest", d.FullName())) } panic("unreachable") } @@ -27344,7 +27260,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) WhichOneof(d pr // 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_QueryCreditClassAllowlistEnabledRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryCreditClassFeesRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -27355,7 +27271,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) GetUnknown() pr // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryCreditClassFeesRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -27367,7 +27283,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) SetUnknown(fiel // 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_QueryCreditClassAllowlistEnabledRequest) IsValid() bool { +func (x *fastReflection_QueryCreditClassFeesRequest) IsValid() bool { return x != nil } @@ -27377,9 +27293,9 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) 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_QueryCreditClassAllowlistEnabledRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryCreditClassFeesRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledRequest) + x := input.Message.Interface().(*QueryCreditClassFeesRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27401,7 +27317,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) ProtoMethods() } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledRequest) + x := input.Message.Interface().(*QueryCreditClassFeesRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27431,7 +27347,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) ProtoMethods() }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledRequest) + x := input.Message.Interface().(*QueryCreditClassFeesRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27463,10 +27379,10 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) ProtoMethods() fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassAllowlistEnabledRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassAllowlistEnabledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -27504,26 +27420,77 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledRequest) ProtoMethods() } } +var _ protoreflect.List = (*_QueryCreditClassFeesResponse_1_list)(nil) + +type _QueryCreditClassFeesResponse_1_list struct { + list *[]*v1beta11.Coin +} + +func (x *_QueryCreditClassFeesResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryCreditClassFeesResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryCreditClassFeesResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v1beta11.Coin) + (*x.list)[i] = concreteValue +} + +func (x *_QueryCreditClassFeesResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v1beta11.Coin) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryCreditClassFeesResponse_1_list) AppendMutable() protoreflect.Value { + v := new(v1beta11.Coin) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryCreditClassFeesResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryCreditClassFeesResponse_1_list) NewElement() protoreflect.Value { + v := new(v1beta11.Coin) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryCreditClassFeesResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryCreditClassAllowlistEnabledResponse protoreflect.MessageDescriptor - fd_QueryCreditClassAllowlistEnabledResponse_allowlist_enabled protoreflect.FieldDescriptor + md_QueryCreditClassFeesResponse protoreflect.MessageDescriptor + fd_QueryCreditClassFeesResponse_fees protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_query_proto_init() - md_QueryCreditClassAllowlistEnabledResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassAllowlistEnabledResponse") - fd_QueryCreditClassAllowlistEnabledResponse_allowlist_enabled = md_QueryCreditClassAllowlistEnabledResponse.Fields().ByName("allowlist_enabled") + md_QueryCreditClassFeesResponse = File_regen_ecocredit_v1_query_proto.Messages().ByName("QueryCreditClassFeesResponse") + fd_QueryCreditClassFeesResponse_fees = md_QueryCreditClassFeesResponse.Fields().ByName("fees") } -var _ protoreflect.Message = (*fastReflection_QueryCreditClassAllowlistEnabledResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryCreditClassFeesResponse)(nil) -type fastReflection_QueryCreditClassAllowlistEnabledResponse QueryCreditClassAllowlistEnabledResponse +type fastReflection_QueryCreditClassFeesResponse QueryCreditClassFeesResponse -func (x *QueryCreditClassAllowlistEnabledResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryCreditClassAllowlistEnabledResponse)(x) +func (x *QueryCreditClassFeesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryCreditClassFeesResponse)(x) } -func (x *QueryCreditClassAllowlistEnabledResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryCreditClassFeesResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_query_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -27535,43 +27502,43 @@ func (x *QueryCreditClassAllowlistEnabledResponse) slowProtoReflect() protorefle return mi.MessageOf(x) } -var _fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType{} +var _fastReflection_QueryCreditClassFeesResponse_messageType fastReflection_QueryCreditClassFeesResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryCreditClassFeesResponse_messageType{} -type fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType struct{} +type fastReflection_QueryCreditClassFeesResponse_messageType struct{} -func (x fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryCreditClassAllowlistEnabledResponse)(nil) +func (x fastReflection_QueryCreditClassFeesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryCreditClassFeesResponse)(nil) } -func (x fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassAllowlistEnabledResponse) +func (x fastReflection_QueryCreditClassFeesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryCreditClassFeesResponse) } -func (x fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassAllowlistEnabledResponse +func (x fastReflection_QueryCreditClassFeesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryCreditClassFeesResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryCreditClassAllowlistEnabledResponse +func (x *fastReflection_QueryCreditClassFeesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryCreditClassFeesResponse } // 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_QueryCreditClassAllowlistEnabledResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryCreditClassAllowlistEnabledResponse_messageType +func (x *fastReflection_QueryCreditClassFeesResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryCreditClassFeesResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) New() protoreflect.Message { - return new(fastReflection_QueryCreditClassAllowlistEnabledResponse) +func (x *fastReflection_QueryCreditClassFeesResponse) New() protoreflect.Message { + return new(fastReflection_QueryCreditClassFeesResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Interface() protoreflect.ProtoMessage { - return (*QueryCreditClassAllowlistEnabledResponse)(x) +func (x *fastReflection_QueryCreditClassFeesResponse) Interface() protoreflect.ProtoMessage { + return (*QueryCreditClassFeesResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -27579,10 +27546,10 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Interface() pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AllowlistEnabled != false { - value := protoreflect.ValueOfBool(x.AllowlistEnabled) - if !f(fd_QueryCreditClassAllowlistEnabledResponse_allowlist_enabled, value) { +func (x *fastReflection_QueryCreditClassFeesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Fees) != 0 { + value := protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{list: &x.Fees}) + if !f(fd_QueryCreditClassFeesResponse_fees, value) { return } } @@ -27599,15 +27566,15 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Range(f func(p // 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_QueryCreditClassAllowlistEnabledResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryCreditClassFeesResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - return x.AllowlistEnabled != false + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + return len(x.Fees) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) } } @@ -27617,15 +27584,15 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Has(fd protore // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryCreditClassFeesResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - x.AllowlistEnabled = false + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + x.Fees = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) } } @@ -27635,16 +27602,19 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Clear(fd proto // 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_QueryCreditClassAllowlistEnabledResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - value := x.AllowlistEnabled - return protoreflect.ValueOfBool(value) + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + if len(x.Fees) == 0 { + return protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{}) + } + listValue := &_QueryCreditClassFeesResponse_1_list{list: &x.Fees} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", descriptor.FullName())) } } @@ -27658,15 +27628,17 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Get(descriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryCreditClassFeesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - x.AllowlistEnabled = value.Bool() + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + lv := value.List() + clv := lv.(*_QueryCreditClassFeesResponse_1_list) + x.Fees = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse does not contain field %s", fd.FullName())) } } @@ -27680,40 +27652,45 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Set(fd protore // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - panic(fmt.Errorf("field allowlist_enabled of message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse is not mutable")) + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + if x.Fees == nil { + x.Fees = []*v1beta11.Coin{} + } + value := &_QueryCreditClassFeesResponse_1_list{list: &x.Fees} + return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse 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_QueryCreditClassAllowlistEnabledResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryCreditClassFeesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse.allowlist_enabled": - return protoreflect.ValueOfBool(false) + case "regen.ecocredit.v1.QueryCreditClassFeesResponse.fees": + list := []*v1beta11.Coin{} + return protoreflect.ValueOfList(&_QueryCreditClassFeesResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.QueryCreditClassFeesResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.QueryCreditClassFeesResponse 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_QueryCreditClassAllowlistEnabledResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryCreditClassFeesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.QueryCreditClassFeesResponse", d.FullName())) } panic("unreachable") } @@ -27721,7 +27698,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) WhichOneof(d p // 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_QueryCreditClassAllowlistEnabledResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryCreditClassFeesResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -27732,7 +27709,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) GetUnknown() p // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryCreditClassFeesResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -27744,7 +27721,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) SetUnknown(fie // 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_QueryCreditClassAllowlistEnabledResponse) IsValid() bool { +func (x *fastReflection_QueryCreditClassFeesResponse) IsValid() bool { return x != nil } @@ -27754,9 +27731,9 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) 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_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryCreditClassFeesResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledResponse) + x := input.Message.Interface().(*QueryCreditClassFeesResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27768,8 +27745,11 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() var n int var l int _ = l - if x.AllowlistEnabled { - n += 2 + if len(x.Fees) > 0 { + for _, e := range x.Fees { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -27781,7 +27761,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledResponse) + x := input.Message.Interface().(*QueryCreditClassFeesResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27800,15 +27780,21 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.AllowlistEnabled { - i-- - if x.AllowlistEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(x.Fees) > 0 { + for iNdEx := len(x.Fees) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Fees[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -27821,7 +27807,7 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryCreditClassAllowlistEnabledResponse) + x := input.Message.Interface().(*QueryCreditClassFeesResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27853,17 +27839,17 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassAllowlistEnabledResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassAllowlistEnabledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryCreditClassFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllowlistEnabled", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -27873,12 +27859,26 @@ func (x *fastReflection_QueryCreditClassAllowlistEnabledResponse) ProtoMethods() } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - x.AllowlistEnabled = bool(v != 0) + 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 + } + x.Fees = append(x.Fees, &v1beta11.Coin{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fees[len(x.Fees)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -30195,6 +30195,77 @@ func (x *BatchBalanceInfo) GetEscrowedAmount() string { return "" } +// QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request +// type. +// +// Since Revision 1 +type QueryClassCreatorAllowlistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *QueryClassCreatorAllowlistRequest) Reset() { + *x = QueryClassCreatorAllowlistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryClassCreatorAllowlistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryClassCreatorAllowlistRequest) ProtoMessage() {} + +// Deprecated: Use QueryClassCreatorAllowlistRequest.ProtoReflect.Descriptor instead. +func (*QueryClassCreatorAllowlistRequest) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{49} +} + +// QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist +// response type. +// +// Since Revision 1 +type QueryClassCreatorAllowlistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // enabled determines whether or not the allowlist for creating credit classes + // is enabled. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` +} + +func (x *QueryClassCreatorAllowlistResponse) Reset() { + *x = QueryClassCreatorAllowlistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryClassCreatorAllowlistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryClassCreatorAllowlistResponse) ProtoMessage() {} + +// Deprecated: Use QueryClassCreatorAllowlistResponse.ProtoReflect.Descriptor instead. +func (*QueryClassCreatorAllowlistResponse) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{50} +} + +func (x *QueryClassCreatorAllowlistResponse) GetEnabled() bool { + if x != nil { + return x.Enabled + } + return false +} + // QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request // type. // @@ -30211,7 +30282,7 @@ type QueryAllowedClassCreatorsRequest struct { func (x *QueryAllowedClassCreatorsRequest) Reset() { *x = QueryAllowedClassCreatorsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[49] + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30225,7 +30296,7 @@ func (*QueryAllowedClassCreatorsRequest) ProtoMessage() {} // Deprecated: Use QueryAllowedClassCreatorsRequest.ProtoReflect.Descriptor instead. func (*QueryAllowedClassCreatorsRequest) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{49} + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{51} } func (x *QueryAllowedClassCreatorsRequest) GetPagination() *v1beta1.PageRequest { @@ -30253,7 +30324,7 @@ type QueryAllowedClassCreatorsResponse struct { func (x *QueryAllowedClassCreatorsResponse) Reset() { *x = QueryAllowedClassCreatorsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[50] + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30267,7 +30338,7 @@ func (*QueryAllowedClassCreatorsResponse) ProtoMessage() {} // Deprecated: Use QueryAllowedClassCreatorsResponse.ProtoReflect.Descriptor instead. func (*QueryAllowedClassCreatorsResponse) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{50} + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{52} } func (x *QueryAllowedClassCreatorsResponse) GetClassCreators() []string { @@ -30296,7 +30367,7 @@ type QueryCreditClassFeesRequest struct { func (x *QueryCreditClassFeesRequest) Reset() { *x = QueryCreditClassFeesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[51] + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30310,7 +30381,7 @@ func (*QueryCreditClassFeesRequest) ProtoMessage() {} // Deprecated: Use QueryCreditClassFeesRequest.ProtoReflect.Descriptor instead. func (*QueryCreditClassFeesRequest) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{51} + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{53} } // QueryCreditClassFeesResponse is the Query/CreditClassFees response type. @@ -30328,7 +30399,7 @@ type QueryCreditClassFeesResponse struct { func (x *QueryCreditClassFeesResponse) Reset() { *x = QueryCreditClassFeesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[52] + mi := &file_regen_ecocredit_v1_query_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30342,7 +30413,7 @@ func (*QueryCreditClassFeesResponse) ProtoMessage() {} // Deprecated: Use QueryCreditClassFeesResponse.ProtoReflect.Descriptor instead. func (*QueryCreditClassFeesResponse) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{52} + return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{54} } func (x *QueryCreditClassFeesResponse) GetFees() []*v1beta11.Coin { @@ -30352,77 +30423,6 @@ func (x *QueryCreditClassFeesResponse) GetFees() []*v1beta11.Coin { return nil } -// QueryCreditClassAllowlistEnabledRequest is the -// Query/CreditClassAllowlistEnabled request type. -// -// Since Revision 1 -type QueryCreditClassAllowlistEnabledRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *QueryCreditClassAllowlistEnabledRequest) Reset() { - *x = QueryCreditClassAllowlistEnabledRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QueryCreditClassAllowlistEnabledRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QueryCreditClassAllowlistEnabledRequest) ProtoMessage() {} - -// Deprecated: Use QueryCreditClassAllowlistEnabledRequest.ProtoReflect.Descriptor instead. -func (*QueryCreditClassAllowlistEnabledRequest) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{53} -} - -// QueryCreditClassAllowlistEnabledResponse is the -// Query/CreditClassAllowlistEnabled response type. -// -// Since Revision 1 -type QueryCreditClassAllowlistEnabledResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // allowlist_enabled determines whether or not the allowlist for creating - // credit classes is enabled. - AllowlistEnabled bool `protobuf:"varint,1,opt,name=allowlist_enabled,json=allowlistEnabled,proto3" json:"allowlist_enabled,omitempty"` -} - -func (x *QueryCreditClassAllowlistEnabledResponse) Reset() { - *x = QueryCreditClassAllowlistEnabledResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_v1_query_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *QueryCreditClassAllowlistEnabledResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*QueryCreditClassAllowlistEnabledResponse) ProtoMessage() {} - -// Deprecated: Use QueryCreditClassAllowlistEnabledResponse.ProtoReflect.Descriptor instead. -func (*QueryCreditClassAllowlistEnabledResponse) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_v1_query_proto_rawDescGZIP(), []int{54} -} - -func (x *QueryCreditClassAllowlistEnabledResponse) GetAllowlistEnabled() bool { - if x != nil { - return x.AllowlistEnabled - } - return false -} - var File_regen_ecocredit_v1_query_proto protoreflect.FileDescriptor var file_regen_ecocredit_v1_query_proto_rawDesc = []byte{ @@ -30824,364 +30824,360 @@ var file_regen_ecocredit_v1_query_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x73, 0x63, 0x72, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x73, 0x63, 0x72, - 0x6f, 0x77, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6a, 0x0a, 0x20, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, - 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x6f, 0x77, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x23, 0x0a, 0x21, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x3e, 0x0a, 0x22, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, + 0x6a, 0x0a, 0x20, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7f, 0x0a, 0x1c, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, - 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x04, 0x66, - 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x22, 0x29, 0x0a, 0x27, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x28, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, - 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, - 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x32, 0xbd, 0x26, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x81, 0x01, 0x0a, 0x07, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1d, 0x12, 0x1b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0xd4, - 0x01, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, - 0x6e, 0x12, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x12, 0x2c, 0x2f, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x2f, 0x7b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, - 0x64, 0x6d, 0x69, 0x6e, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, - 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x56, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x12, 0x24, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x28, 0x12, 0x26, - 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x93, 0x01, 0x0a, 0x21, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x61, 0x73, 0x73, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x7f, 0x0a, 0x1c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5f, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xaa, + 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, + 0x73, 0x32, 0xa4, 0x26, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x81, 0x01, 0x0a, 0x07, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x12, 0x2c, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x2f, - 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x30, 0x12, 0x2e, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x85, 0x01, 0x0a, - 0x08, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x73, 0x12, 0x94, 0x02, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, + 0xd4, 0x01, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x12, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x65, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x12, 0x2c, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, + 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x12, 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x56, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x12, 0x24, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x28, 0x12, + 0x26, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd3, 0x01, 0x0a, 0x0c, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x12, 0x2c, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, + 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x30, 0x12, 0x2e, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x85, 0x01, + 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x28, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x94, 0x02, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x96, 0x01, 0x12, 0x30, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, - 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x31, 0x12, 0x2f, 0x2f, 0x72, 0x65, 0x67, + 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x96, 0x01, 0x12, 0x30, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, - 0x64, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x87, 0x02, 0x0a, 0x15, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, - 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x79, 0x12, 0x3b, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x72, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x3a, 0x12, 0x38, 0x2f, 0x72, 0x65, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, + 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x31, 0x12, 0x2f, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd9, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, + 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, + 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x87, 0x02, 0x0a, + 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, + 0x42, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x79, 0x12, 0x3b, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x3a, 0x12, 0x38, 0x2f, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, + 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x69, 0x64, 0x2f, 0x7b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xd9, 0x01, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x42, 0x79, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, 0x41, - 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x5d, 0x12, 0x2d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x6d, - 0x69, 0x6e, 0x7d, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x6d, 0x69, 0x6e, - 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x27, 0x2e, - 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x5d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x57, 0x12, 0x28, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, - 0x64, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, - 0x81, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, + 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x73, 0x12, 0xdb, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, - 0x79, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x42, 0x79, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x5d, 0x12, 0x2d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, + 0x6d, 0x69, 0x6e, 0x7d, 0x5a, 0x2c, 0x12, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x7b, 0x61, 0x64, 0x6d, 0x69, + 0x6e, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x27, + 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x49, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x5f, 0x12, 0x2e, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2d, - 0x62, 0x79, 0x2d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, - 0x72, 0x7d, 0x5a, 0x2d, 0x12, 0x2b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x73, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, - 0x7d, 0x12, 0xda, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x61, 0x12, 0x2f, 0x2f, - 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, - 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x2e, - 0x12, 0x2c, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x63, 0x6c, - 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xe8, - 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x12, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x69, - 0x12, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2d, 0x62, 0x79, - 0x2d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x32, 0x12, 0x30, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb4, 0x01, 0x0a, 0x05, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x12, 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x12, 0x27, 0x2f, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, - 0x6f, 0x6d, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, - 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, - 0x12, 0x98, 0x02, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x2e, 0x72, + 0x72, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x5d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x57, 0x12, 0x28, 0x2f, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x69, 0x64, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, + 0x12, 0x81, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xb9, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xb2, 0x01, 0x12, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, - 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x5a, 0x3d, - 0x12, 0x3b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, - 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x62, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x5a, 0x3c, 0x12, - 0x3a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x7b, 0x62, - 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x8f, 0x01, 0x0a, 0x08, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x73, 0x12, 0xdb, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, + 0x42, 0x79, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xe7, 0x01, - 0x0a, 0x0f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6b, 0x12, 0x33, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x62, 0x61, - 0x74, 0x63, 0x68, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, - 0x7d, 0x5a, 0x34, 0x12, 0x32, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, + 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x49, 0x73, 0x73, + 0x75, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x5f, 0x12, 0x2e, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, - 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x42, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x12, 0x20, 0x2f, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x61, 0x6c, 0x6c, 0x2d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5a, 0x1e, 0x12, 0x1c, + 0x2d, 0x62, 0x79, 0x2d, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, + 0x65, 0x72, 0x7d, 0x5a, 0x2d, 0x12, 0x2b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x73, 0x2f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x73, 0x73, 0x75, 0x65, + 0x72, 0x7d, 0x12, 0xda, 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x61, 0x12, 0x2f, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xbf, 0x01, 0x0a, - 0x06, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5e, - 0x12, 0x28, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x2f, 0x7b, 0x62, 0x61, - 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x5a, 0x32, 0x12, 0x30, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, - 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x92, - 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2b, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x72, 0x65, + 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x5a, + 0x2e, 0x12, 0x2c, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x2f, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x7d, 0x12, + 0xe8, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x12, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x69, 0x12, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2d, 0x62, + 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x5a, 0x32, 0x12, 0x30, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb4, 0x01, 0x0a, 0x05, 0x42, + 0x61, 0x74, 0x63, 0x68, 0x12, 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, + 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x22, 0x12, 0x20, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x26, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x12, 0x27, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x7d, 0x5a, 0x2b, 0x12, 0x29, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x7d, 0x12, 0x98, 0x02, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x25, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x72, 0x65, 0x67, + 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xb9, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0xb2, 0x01, 0x12, 0x33, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xd0, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x5a, + 0x3d, 0x12, 0x3b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, + 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x62, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x5a, 0x3c, + 0x12, 0x3a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x7b, + 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x12, 0x8f, 0x01, 0x0a, + 0x08, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xe7, + 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, + 0x63, 0x68, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x79, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x71, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x6b, 0x12, 0x33, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2d, 0x62, 0x79, 0x2d, 0x62, + 0x61, 0x74, 0x63, 0x68, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, + 0x6d, 0x7d, 0x5a, 0x34, 0x12, 0x32, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, + 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x63, 0x12, 0x2e, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x7b, 0x61, 0x62, 0x62, 0x72, 0x65, 0x76, 0x69, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x5a, 0x31, 0x12, 0x2f, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x62, 0x62, 0x72, - 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xb7, 0x01, 0x0a, 0x14, 0x41, 0x6c, - 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x73, 0x12, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x41, 0x6c, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x12, 0x20, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x61, 0x6c, 0x6c, 0x2d, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x5a, 0x1e, 0x12, + 0x1c, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xbf, 0x01, + 0x0a, 0x06, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x65, 0x64, 0x2d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x73, 0x12, 0xa3, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x72, 0x79, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x75, 0x70, 0x70, 0x6c, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x5e, 0x12, 0x28, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x2f, 0x7b, 0x62, + 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x5a, 0x32, 0x12, 0x30, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x7d, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, + 0x92, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x2b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x22, 0x12, 0x20, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, + 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x27, 0x12, 0x25, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x63, - 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x66, 0x65, 0x65, 0x73, 0x12, 0xd4, 0x01, 0x0a, 0x1b, 0x43, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, - 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, - 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x25, 0x88, 0x02, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xd0, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x6c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x2d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, - 0x42, 0xd8, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x58, 0xaa, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x69, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x63, 0x12, 0x2e, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x7b, 0x61, 0x62, 0x62, 0x72, 0x65, 0x76, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x5a, 0x31, 0x12, 0x2f, 0x2f, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x62, 0x62, + 0x72, 0x65, 0x76, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x15, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x2d, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x12, 0xb7, 0x01, 0x0a, 0x14, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x73, 0x12, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x2d, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x73, 0x12, 0xa3, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x27, 0x12, 0x25, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2d, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x2d, 0x66, 0x65, 0x65, 0x73, 0x42, 0xd8, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, + 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x3b, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, + 0x58, 0xaa, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x52, 0x65, + 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x52, + 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -31198,67 +31194,67 @@ func file_regen_ecocredit_v1_query_proto_rawDescGZIP() []byte { var file_regen_ecocredit_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 55) var file_regen_ecocredit_v1_query_proto_goTypes = []interface{}{ - (*QueryClassesRequest)(nil), // 0: regen.ecocredit.v1.QueryClassesRequest - (*QueryClassesResponse)(nil), // 1: regen.ecocredit.v1.QueryClassesResponse - (*QueryClassesByAdminRequest)(nil), // 2: regen.ecocredit.v1.QueryClassesByAdminRequest - (*QueryClassesByAdminResponse)(nil), // 3: regen.ecocredit.v1.QueryClassesByAdminResponse - (*QueryClassRequest)(nil), // 4: regen.ecocredit.v1.QueryClassRequest - (*QueryClassResponse)(nil), // 5: regen.ecocredit.v1.QueryClassResponse - (*QueryClassIssuersRequest)(nil), // 6: regen.ecocredit.v1.QueryClassIssuersRequest - (*QueryClassIssuersResponse)(nil), // 7: regen.ecocredit.v1.QueryClassIssuersResponse - (*QueryProjectsRequest)(nil), // 8: regen.ecocredit.v1.QueryProjectsRequest - (*QueryProjectsResponse)(nil), // 9: regen.ecocredit.v1.QueryProjectsResponse - (*QueryProjectsByClassRequest)(nil), // 10: regen.ecocredit.v1.QueryProjectsByClassRequest - (*QueryProjectsByClassResponse)(nil), // 11: regen.ecocredit.v1.QueryProjectsByClassResponse - (*QueryProjectsByReferenceIdRequest)(nil), // 12: regen.ecocredit.v1.QueryProjectsByReferenceIdRequest - (*QueryProjectsByReferenceIdResponse)(nil), // 13: regen.ecocredit.v1.QueryProjectsByReferenceIdResponse - (*QueryProjectsByAdminRequest)(nil), // 14: regen.ecocredit.v1.QueryProjectsByAdminRequest - (*QueryProjectsByAdminResponse)(nil), // 15: regen.ecocredit.v1.QueryProjectsByAdminResponse - (*QueryProjectRequest)(nil), // 16: regen.ecocredit.v1.QueryProjectRequest - (*QueryProjectResponse)(nil), // 17: regen.ecocredit.v1.QueryProjectResponse - (*QueryBatchesRequest)(nil), // 18: regen.ecocredit.v1.QueryBatchesRequest - (*QueryBatchesResponse)(nil), // 19: regen.ecocredit.v1.QueryBatchesResponse - (*QueryBatchesByIssuerRequest)(nil), // 20: regen.ecocredit.v1.QueryBatchesByIssuerRequest - (*QueryBatchesByIssuerResponse)(nil), // 21: regen.ecocredit.v1.QueryBatchesByIssuerResponse - (*QueryBatchesByClassRequest)(nil), // 22: regen.ecocredit.v1.QueryBatchesByClassRequest - (*QueryBatchesByProjectRequest)(nil), // 23: regen.ecocredit.v1.QueryBatchesByProjectRequest - (*QueryBatchesByProjectResponse)(nil), // 24: regen.ecocredit.v1.QueryBatchesByProjectResponse - (*QueryBatchesByClassResponse)(nil), // 25: regen.ecocredit.v1.QueryBatchesByClassResponse - (*QueryBatchRequest)(nil), // 26: regen.ecocredit.v1.QueryBatchRequest - (*QueryBatchResponse)(nil), // 27: regen.ecocredit.v1.QueryBatchResponse - (*QueryBalanceRequest)(nil), // 28: regen.ecocredit.v1.QueryBalanceRequest - (*QueryBalanceResponse)(nil), // 29: regen.ecocredit.v1.QueryBalanceResponse - (*QueryBalancesRequest)(nil), // 30: regen.ecocredit.v1.QueryBalancesRequest - (*QueryBalancesResponse)(nil), // 31: regen.ecocredit.v1.QueryBalancesResponse - (*QueryBalancesByBatchRequest)(nil), // 32: regen.ecocredit.v1.QueryBalancesByBatchRequest - (*QueryBalancesByBatchResponse)(nil), // 33: regen.ecocredit.v1.QueryBalancesByBatchResponse - (*QueryAllBalancesRequest)(nil), // 34: regen.ecocredit.v1.QueryAllBalancesRequest - (*QueryAllBalancesResponse)(nil), // 35: regen.ecocredit.v1.QueryAllBalancesResponse - (*QuerySupplyRequest)(nil), // 36: regen.ecocredit.v1.QuerySupplyRequest - (*QuerySupplyResponse)(nil), // 37: regen.ecocredit.v1.QuerySupplyResponse - (*QueryCreditTypesRequest)(nil), // 38: regen.ecocredit.v1.QueryCreditTypesRequest - (*QueryCreditTypesResponse)(nil), // 39: regen.ecocredit.v1.QueryCreditTypesResponse - (*QueryParamsRequest)(nil), // 40: regen.ecocredit.v1.QueryParamsRequest - (*AllowedDenomInfo)(nil), // 41: regen.ecocredit.v1.AllowedDenomInfo - (*QueryParamsResponse)(nil), // 42: regen.ecocredit.v1.QueryParamsResponse - (*QueryCreditTypeRequest)(nil), // 43: regen.ecocredit.v1.QueryCreditTypeRequest - (*QueryCreditTypeResponse)(nil), // 44: regen.ecocredit.v1.QueryCreditTypeResponse - (*ClassInfo)(nil), // 45: regen.ecocredit.v1.ClassInfo - (*ProjectInfo)(nil), // 46: regen.ecocredit.v1.ProjectInfo - (*BatchInfo)(nil), // 47: regen.ecocredit.v1.BatchInfo - (*BatchBalanceInfo)(nil), // 48: regen.ecocredit.v1.BatchBalanceInfo - (*QueryAllowedClassCreatorsRequest)(nil), // 49: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest - (*QueryAllowedClassCreatorsResponse)(nil), // 50: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse - (*QueryCreditClassFeesRequest)(nil), // 51: regen.ecocredit.v1.QueryCreditClassFeesRequest - (*QueryCreditClassFeesResponse)(nil), // 52: regen.ecocredit.v1.QueryCreditClassFeesResponse - (*QueryCreditClassAllowlistEnabledRequest)(nil), // 53: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest - (*QueryCreditClassAllowlistEnabledResponse)(nil), // 54: regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse - (*v1beta1.PageRequest)(nil), // 55: cosmos.base.query.v1beta1.PageRequest - (*v1beta1.PageResponse)(nil), // 56: cosmos.base.query.v1beta1.PageResponse - (*CreditType)(nil), // 57: regen.ecocredit.v1.CreditType - (*Params)(nil), // 58: regen.ecocredit.v1.Params - (*timestamppb.Timestamp)(nil), // 59: google.protobuf.Timestamp - (*v1beta11.Coin)(nil), // 60: cosmos.base.v1beta1.Coin + (*QueryClassesRequest)(nil), // 0: regen.ecocredit.v1.QueryClassesRequest + (*QueryClassesResponse)(nil), // 1: regen.ecocredit.v1.QueryClassesResponse + (*QueryClassesByAdminRequest)(nil), // 2: regen.ecocredit.v1.QueryClassesByAdminRequest + (*QueryClassesByAdminResponse)(nil), // 3: regen.ecocredit.v1.QueryClassesByAdminResponse + (*QueryClassRequest)(nil), // 4: regen.ecocredit.v1.QueryClassRequest + (*QueryClassResponse)(nil), // 5: regen.ecocredit.v1.QueryClassResponse + (*QueryClassIssuersRequest)(nil), // 6: regen.ecocredit.v1.QueryClassIssuersRequest + (*QueryClassIssuersResponse)(nil), // 7: regen.ecocredit.v1.QueryClassIssuersResponse + (*QueryProjectsRequest)(nil), // 8: regen.ecocredit.v1.QueryProjectsRequest + (*QueryProjectsResponse)(nil), // 9: regen.ecocredit.v1.QueryProjectsResponse + (*QueryProjectsByClassRequest)(nil), // 10: regen.ecocredit.v1.QueryProjectsByClassRequest + (*QueryProjectsByClassResponse)(nil), // 11: regen.ecocredit.v1.QueryProjectsByClassResponse + (*QueryProjectsByReferenceIdRequest)(nil), // 12: regen.ecocredit.v1.QueryProjectsByReferenceIdRequest + (*QueryProjectsByReferenceIdResponse)(nil), // 13: regen.ecocredit.v1.QueryProjectsByReferenceIdResponse + (*QueryProjectsByAdminRequest)(nil), // 14: regen.ecocredit.v1.QueryProjectsByAdminRequest + (*QueryProjectsByAdminResponse)(nil), // 15: regen.ecocredit.v1.QueryProjectsByAdminResponse + (*QueryProjectRequest)(nil), // 16: regen.ecocredit.v1.QueryProjectRequest + (*QueryProjectResponse)(nil), // 17: regen.ecocredit.v1.QueryProjectResponse + (*QueryBatchesRequest)(nil), // 18: regen.ecocredit.v1.QueryBatchesRequest + (*QueryBatchesResponse)(nil), // 19: regen.ecocredit.v1.QueryBatchesResponse + (*QueryBatchesByIssuerRequest)(nil), // 20: regen.ecocredit.v1.QueryBatchesByIssuerRequest + (*QueryBatchesByIssuerResponse)(nil), // 21: regen.ecocredit.v1.QueryBatchesByIssuerResponse + (*QueryBatchesByClassRequest)(nil), // 22: regen.ecocredit.v1.QueryBatchesByClassRequest + (*QueryBatchesByProjectRequest)(nil), // 23: regen.ecocredit.v1.QueryBatchesByProjectRequest + (*QueryBatchesByProjectResponse)(nil), // 24: regen.ecocredit.v1.QueryBatchesByProjectResponse + (*QueryBatchesByClassResponse)(nil), // 25: regen.ecocredit.v1.QueryBatchesByClassResponse + (*QueryBatchRequest)(nil), // 26: regen.ecocredit.v1.QueryBatchRequest + (*QueryBatchResponse)(nil), // 27: regen.ecocredit.v1.QueryBatchResponse + (*QueryBalanceRequest)(nil), // 28: regen.ecocredit.v1.QueryBalanceRequest + (*QueryBalanceResponse)(nil), // 29: regen.ecocredit.v1.QueryBalanceResponse + (*QueryBalancesRequest)(nil), // 30: regen.ecocredit.v1.QueryBalancesRequest + (*QueryBalancesResponse)(nil), // 31: regen.ecocredit.v1.QueryBalancesResponse + (*QueryBalancesByBatchRequest)(nil), // 32: regen.ecocredit.v1.QueryBalancesByBatchRequest + (*QueryBalancesByBatchResponse)(nil), // 33: regen.ecocredit.v1.QueryBalancesByBatchResponse + (*QueryAllBalancesRequest)(nil), // 34: regen.ecocredit.v1.QueryAllBalancesRequest + (*QueryAllBalancesResponse)(nil), // 35: regen.ecocredit.v1.QueryAllBalancesResponse + (*QuerySupplyRequest)(nil), // 36: regen.ecocredit.v1.QuerySupplyRequest + (*QuerySupplyResponse)(nil), // 37: regen.ecocredit.v1.QuerySupplyResponse + (*QueryCreditTypesRequest)(nil), // 38: regen.ecocredit.v1.QueryCreditTypesRequest + (*QueryCreditTypesResponse)(nil), // 39: regen.ecocredit.v1.QueryCreditTypesResponse + (*QueryParamsRequest)(nil), // 40: regen.ecocredit.v1.QueryParamsRequest + (*AllowedDenomInfo)(nil), // 41: regen.ecocredit.v1.AllowedDenomInfo + (*QueryParamsResponse)(nil), // 42: regen.ecocredit.v1.QueryParamsResponse + (*QueryCreditTypeRequest)(nil), // 43: regen.ecocredit.v1.QueryCreditTypeRequest + (*QueryCreditTypeResponse)(nil), // 44: regen.ecocredit.v1.QueryCreditTypeResponse + (*ClassInfo)(nil), // 45: regen.ecocredit.v1.ClassInfo + (*ProjectInfo)(nil), // 46: regen.ecocredit.v1.ProjectInfo + (*BatchInfo)(nil), // 47: regen.ecocredit.v1.BatchInfo + (*BatchBalanceInfo)(nil), // 48: regen.ecocredit.v1.BatchBalanceInfo + (*QueryClassCreatorAllowlistRequest)(nil), // 49: regen.ecocredit.v1.QueryClassCreatorAllowlistRequest + (*QueryClassCreatorAllowlistResponse)(nil), // 50: regen.ecocredit.v1.QueryClassCreatorAllowlistResponse + (*QueryAllowedClassCreatorsRequest)(nil), // 51: regen.ecocredit.v1.QueryAllowedClassCreatorsRequest + (*QueryAllowedClassCreatorsResponse)(nil), // 52: regen.ecocredit.v1.QueryAllowedClassCreatorsResponse + (*QueryCreditClassFeesRequest)(nil), // 53: regen.ecocredit.v1.QueryCreditClassFeesRequest + (*QueryCreditClassFeesResponse)(nil), // 54: regen.ecocredit.v1.QueryCreditClassFeesResponse + (*v1beta1.PageRequest)(nil), // 55: cosmos.base.query.v1beta1.PageRequest + (*v1beta1.PageResponse)(nil), // 56: cosmos.base.query.v1beta1.PageResponse + (*CreditType)(nil), // 57: regen.ecocredit.v1.CreditType + (*Params)(nil), // 58: regen.ecocredit.v1.Params + (*timestamppb.Timestamp)(nil), // 59: google.protobuf.Timestamp + (*v1beta11.Coin)(nil), // 60: cosmos.base.v1beta1.Coin } var file_regen_ecocredit_v1_query_proto_depIdxs = []int32{ 55, // 0: regen.ecocredit.v1.QueryClassesRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest @@ -31338,9 +31334,9 @@ var file_regen_ecocredit_v1_query_proto_depIdxs = []int32{ 38, // 74: regen.ecocredit.v1.Query.CreditTypes:input_type -> regen.ecocredit.v1.QueryCreditTypesRequest 40, // 75: regen.ecocredit.v1.Query.Params:input_type -> regen.ecocredit.v1.QueryParamsRequest 43, // 76: regen.ecocredit.v1.Query.CreditType:input_type -> regen.ecocredit.v1.QueryCreditTypeRequest - 49, // 77: regen.ecocredit.v1.Query.AllowedClassCreators:input_type -> regen.ecocredit.v1.QueryAllowedClassCreatorsRequest - 51, // 78: regen.ecocredit.v1.Query.CreditClassFees:input_type -> regen.ecocredit.v1.QueryCreditClassFeesRequest - 53, // 79: regen.ecocredit.v1.Query.CreditClassAllowlistEnabled:input_type -> regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest + 49, // 77: regen.ecocredit.v1.Query.ClassCreatorAllowlist:input_type -> regen.ecocredit.v1.QueryClassCreatorAllowlistRequest + 51, // 78: regen.ecocredit.v1.Query.AllowedClassCreators:input_type -> regen.ecocredit.v1.QueryAllowedClassCreatorsRequest + 53, // 79: regen.ecocredit.v1.Query.CreditClassFees:input_type -> regen.ecocredit.v1.QueryCreditClassFeesRequest 1, // 80: regen.ecocredit.v1.Query.Classes:output_type -> regen.ecocredit.v1.QueryClassesResponse 3, // 81: regen.ecocredit.v1.Query.ClassesByAdmin:output_type -> regen.ecocredit.v1.QueryClassesByAdminResponse 5, // 82: regen.ecocredit.v1.Query.Class:output_type -> regen.ecocredit.v1.QueryClassResponse @@ -31363,9 +31359,9 @@ var file_regen_ecocredit_v1_query_proto_depIdxs = []int32{ 39, // 99: regen.ecocredit.v1.Query.CreditTypes:output_type -> regen.ecocredit.v1.QueryCreditTypesResponse 42, // 100: regen.ecocredit.v1.Query.Params:output_type -> regen.ecocredit.v1.QueryParamsResponse 44, // 101: regen.ecocredit.v1.Query.CreditType:output_type -> regen.ecocredit.v1.QueryCreditTypeResponse - 50, // 102: regen.ecocredit.v1.Query.AllowedClassCreators:output_type -> regen.ecocredit.v1.QueryAllowedClassCreatorsResponse - 52, // 103: regen.ecocredit.v1.Query.CreditClassFees:output_type -> regen.ecocredit.v1.QueryCreditClassFeesResponse - 54, // 104: regen.ecocredit.v1.Query.CreditClassAllowlistEnabled:output_type -> regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse + 50, // 102: regen.ecocredit.v1.Query.ClassCreatorAllowlist:output_type -> regen.ecocredit.v1.QueryClassCreatorAllowlistResponse + 52, // 103: regen.ecocredit.v1.Query.AllowedClassCreators:output_type -> regen.ecocredit.v1.QueryAllowedClassCreatorsResponse + 54, // 104: regen.ecocredit.v1.Query.CreditClassFees:output_type -> regen.ecocredit.v1.QueryCreditClassFeesResponse 80, // [80:105] is the sub-list for method output_type 55, // [55:80] is the sub-list for method input_type 55, // [55:55] is the sub-list for extension type_name @@ -31970,7 +31966,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllowedClassCreatorsRequest); i { + switch v := v.(*QueryClassCreatorAllowlistRequest); i { case 0: return &v.state case 1: @@ -31982,7 +31978,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllowedClassCreatorsResponse); i { + switch v := v.(*QueryClassCreatorAllowlistResponse); i { case 0: return &v.state case 1: @@ -31994,7 +31990,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryCreditClassFeesRequest); i { + switch v := v.(*QueryAllowedClassCreatorsRequest); i { case 0: return &v.state case 1: @@ -32006,7 +32002,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryCreditClassFeesResponse); i { + switch v := v.(*QueryAllowedClassCreatorsResponse); i { case 0: return &v.state case 1: @@ -32018,7 +32014,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryCreditClassAllowlistEnabledRequest); i { + switch v := v.(*QueryCreditClassFeesRequest); i { case 0: return &v.state case 1: @@ -32030,7 +32026,7 @@ func file_regen_ecocredit_v1_query_proto_init() { } } file_regen_ecocredit_v1_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryCreditClassAllowlistEnabledResponse); i { + switch v := v.(*QueryCreditClassFeesResponse); i { case 0: return &v.state case 1: diff --git a/api/regen/ecocredit/v1/query_grpc.pb.go b/api/regen/ecocredit/v1/query_grpc.pb.go index df4ce755f7..0a68ee0fcb 100644 --- a/api/regen/ecocredit/v1/query_grpc.pb.go +++ b/api/regen/ecocredit/v1/query_grpc.pb.go @@ -80,6 +80,11 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(ctx context.Context, in *QueryCreditTypeRequest, opts ...grpc.CallOption) (*QueryCreditTypeResponse, error) + // ClassCreatorAllowlist queries the credit class creator allowlist + // enabled setting. + // + // Since Revision 1 + ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 1 @@ -88,11 +93,6 @@ type QueryClient interface { // // Since Revision 1 CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) - // CreditClassAllowlistEnabled queries the credit class creator allowlist - // flag. - // - // Since Revision 1 - CreditClassAllowlistEnabled(ctx context.Context, in *QueryCreditClassAllowlistEnabledRequest, opts ...grpc.CallOption) (*QueryCreditClassAllowlistEnabledResponse, error) } type queryClient struct { @@ -302,27 +302,27 @@ func (c *queryClient) CreditType(ctx context.Context, in *QueryCreditTypeRequest return out, nil } -func (c *queryClient) AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error) { - out := new(QueryAllowedClassCreatorsResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/AllowedClassCreators", in, out, opts...) +func (c *queryClient) ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error) { + out := new(QueryClassCreatorAllowlistResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/ClassCreatorAllowlist", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) { - out := new(QueryCreditClassFeesResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassFees", in, out, opts...) +func (c *queryClient) AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error) { + out := new(QueryAllowedClassCreatorsResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/AllowedClassCreators", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) CreditClassAllowlistEnabled(ctx context.Context, in *QueryCreditClassAllowlistEnabledRequest, opts ...grpc.CallOption) (*QueryCreditClassAllowlistEnabledResponse, error) { - out := new(QueryCreditClassAllowlistEnabledResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassAllowlistEnabled", in, out, opts...) +func (c *queryClient) CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) { + out := new(QueryCreditClassFeesResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassFees", in, out, opts...) if err != nil { return nil, err } @@ -391,6 +391,11 @@ type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error) + // ClassCreatorAllowlist queries the credit class creator allowlist + // enabled setting. + // + // Since Revision 1 + ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 1 @@ -399,11 +404,6 @@ type QueryServer interface { // // Since Revision 1 CreditClassFees(context.Context, *QueryCreditClassFeesRequest) (*QueryCreditClassFeesResponse, error) - // CreditClassAllowlistEnabled queries the credit class creator allowlist - // flag. - // - // Since Revision 1 - CreditClassAllowlistEnabled(context.Context, *QueryCreditClassAllowlistEnabledRequest) (*QueryCreditClassAllowlistEnabledResponse, error) mustEmbedUnimplementedQueryServer() } @@ -477,15 +477,15 @@ func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*Q func (UnimplementedQueryServer) CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreditType not implemented") } +func (UnimplementedQueryServer) ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClassCreatorAllowlist not implemented") +} func (UnimplementedQueryServer) AllowedClassCreators(context.Context, *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllowedClassCreators not implemented") } func (UnimplementedQueryServer) CreditClassFees(context.Context, *QueryCreditClassFeesRequest) (*QueryCreditClassFeesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreditClassFees not implemented") } -func (UnimplementedQueryServer) CreditClassAllowlistEnabled(context.Context, *QueryCreditClassAllowlistEnabledRequest) (*QueryCreditClassAllowlistEnabledResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreditClassAllowlistEnabled not implemented") -} func (UnimplementedQueryServer) mustEmbedUnimplementedQueryServer() {} // UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. @@ -895,56 +895,56 @@ func _Query_CreditType_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -func _Query_AllowedClassCreators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllowedClassCreatorsRequest) +func _Query_ClassCreatorAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryClassCreatorAllowlistRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).AllowedClassCreators(ctx, in) + return srv.(QueryServer).ClassCreatorAllowlist(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/AllowedClassCreators", + FullMethod: "/regen.ecocredit.v1.Query/ClassCreatorAllowlist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AllowedClassCreators(ctx, req.(*QueryAllowedClassCreatorsRequest)) + return srv.(QueryServer).ClassCreatorAllowlist(ctx, req.(*QueryClassCreatorAllowlistRequest)) } return interceptor(ctx, in, info, handler) } -func _Query_CreditClassFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryCreditClassFeesRequest) +func _Query_AllowedClassCreators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllowedClassCreatorsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).CreditClassFees(ctx, in) + return srv.(QueryServer).AllowedClassCreators(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/CreditClassFees", + FullMethod: "/regen.ecocredit.v1.Query/AllowedClassCreators", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).CreditClassFees(ctx, req.(*QueryCreditClassFeesRequest)) + return srv.(QueryServer).AllowedClassCreators(ctx, req.(*QueryAllowedClassCreatorsRequest)) } return interceptor(ctx, in, info, handler) } -func _Query_CreditClassAllowlistEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryCreditClassAllowlistEnabledRequest) +func _Query_CreditClassFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryCreditClassFeesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).CreditClassAllowlistEnabled(ctx, in) + return srv.(QueryServer).CreditClassFees(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/CreditClassAllowlistEnabled", + FullMethod: "/regen.ecocredit.v1.Query/CreditClassFees", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).CreditClassAllowlistEnabled(ctx, req.(*QueryCreditClassAllowlistEnabledRequest)) + return srv.(QueryServer).CreditClassFees(ctx, req.(*QueryCreditClassFeesRequest)) } return interceptor(ctx, in, info, handler) } @@ -1044,6 +1044,10 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "CreditType", Handler: _Query_CreditType_Handler, }, + { + MethodName: "ClassCreatorAllowlist", + Handler: _Query_ClassCreatorAllowlist_Handler, + }, { MethodName: "AllowedClassCreators", Handler: _Query_AllowedClassCreators_Handler, @@ -1052,10 +1056,6 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "CreditClassFees", Handler: _Query_CreditClassFees_Handler, }, - { - MethodName: "CreditClassAllowlistEnabled", - Handler: _Query_CreditClassAllowlistEnabled_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1/query.proto", diff --git a/api/regen/ecocredit/v1/state.cosmos_orm.go b/api/regen/ecocredit/v1/state.cosmos_orm.go index 907e6f9a43..4a6047f7c2 100644 --- a/api/regen/ecocredit/v1/state.cosmos_orm.go +++ b/api/regen/ecocredit/v1/state.cosmos_orm.go @@ -1770,6 +1770,36 @@ func NewBatchContractTable(db ormtable.Schema) (BatchContractTable, error) { return batchContractTable{table}, nil } +// singleton store +type ClassCreatorAllowlistTable interface { + Get(ctx context.Context) (*ClassCreatorAllowlist, error) + Save(ctx context.Context, classCreatorAllowlist *ClassCreatorAllowlist) error +} + +type classCreatorAllowlistTable struct { + table ormtable.Table +} + +var _ ClassCreatorAllowlistTable = classCreatorAllowlistTable{} + +func (x classCreatorAllowlistTable) Get(ctx context.Context) (*ClassCreatorAllowlist, error) { + classCreatorAllowlist := &ClassCreatorAllowlist{} + _, err := x.table.Get(ctx, classCreatorAllowlist) + return classCreatorAllowlist, err +} + +func (x classCreatorAllowlistTable) Save(ctx context.Context, classCreatorAllowlist *ClassCreatorAllowlist) error { + return x.table.Save(ctx, classCreatorAllowlist) +} + +func NewClassCreatorAllowlistTable(db ormtable.Schema) (ClassCreatorAllowlistTable, error) { + table := db.GetTable(&ClassCreatorAllowlist{}) + if table == nil { + return nil, ormerrors.TableNotFound.Wrap(string((&ClassCreatorAllowlist{}).ProtoReflect().Descriptor().FullName())) + } + return &classCreatorAllowlistTable{table}, nil +} + type AllowedClassCreatorTable interface { Insert(ctx context.Context, allowedClassCreator *AllowedClassCreator) error Update(ctx context.Context, allowedClassCreator *AllowedClassCreator) error @@ -1884,36 +1914,6 @@ func NewAllowedClassCreatorTable(db ormtable.Schema) (AllowedClassCreatorTable, return allowedClassCreatorTable{table}, nil } -// singleton store -type AllowListEnabledTable interface { - Get(ctx context.Context) (*AllowListEnabled, error) - Save(ctx context.Context, allowListEnabled *AllowListEnabled) error -} - -type allowListEnabledTable struct { - table ormtable.Table -} - -var _ AllowListEnabledTable = allowListEnabledTable{} - -func (x allowListEnabledTable) Get(ctx context.Context) (*AllowListEnabled, error) { - allowListEnabled := &AllowListEnabled{} - _, err := x.table.Get(ctx, allowListEnabled) - return allowListEnabled, err -} - -func (x allowListEnabledTable) Save(ctx context.Context, allowListEnabled *AllowListEnabled) error { - return x.table.Save(ctx, allowListEnabled) -} - -func NewAllowListEnabledTable(db ormtable.Schema) (AllowListEnabledTable, error) { - table := db.GetTable(&AllowListEnabled{}) - if table == nil { - return nil, ormerrors.TableNotFound.Wrap(string((&AllowListEnabled{}).ProtoReflect().Descriptor().FullName())) - } - return &allowListEnabledTable{table}, nil -} - // singleton store type ClassFeesTable interface { Get(ctx context.Context) (*ClassFees, error) @@ -1957,29 +1957,29 @@ type StateStore interface { BatchSupplyTable() BatchSupplyTable OriginTxIndexTable() OriginTxIndexTable BatchContractTable() BatchContractTable + ClassCreatorAllowlistTable() ClassCreatorAllowlistTable AllowedClassCreatorTable() AllowedClassCreatorTable - AllowListEnabledTable() AllowListEnabledTable ClassFeesTable() ClassFeesTable doNotImplement() } type stateStore struct { - creditType CreditTypeTable - class ClassTable - classIssuer ClassIssuerTable - project ProjectTable - batch BatchTable - classSequence ClassSequenceTable - projectSequence ProjectSequenceTable - batchSequence BatchSequenceTable - batchBalance BatchBalanceTable - batchSupply BatchSupplyTable - originTxIndex OriginTxIndexTable - batchContract BatchContractTable - allowedClassCreator AllowedClassCreatorTable - allowListEnabled AllowListEnabledTable - classFees ClassFeesTable + creditType CreditTypeTable + class ClassTable + classIssuer ClassIssuerTable + project ProjectTable + batch BatchTable + classSequence ClassSequenceTable + projectSequence ProjectSequenceTable + batchSequence BatchSequenceTable + batchBalance BatchBalanceTable + batchSupply BatchSupplyTable + originTxIndex OriginTxIndexTable + batchContract BatchContractTable + classCreatorAllowlist ClassCreatorAllowlistTable + allowedClassCreator AllowedClassCreatorTable + classFees ClassFeesTable } func (x stateStore) CreditTypeTable() CreditTypeTable { @@ -2030,12 +2030,12 @@ func (x stateStore) BatchContractTable() BatchContractTable { return x.batchContract } -func (x stateStore) AllowedClassCreatorTable() AllowedClassCreatorTable { - return x.allowedClassCreator +func (x stateStore) ClassCreatorAllowlistTable() ClassCreatorAllowlistTable { + return x.classCreatorAllowlist } -func (x stateStore) AllowListEnabledTable() AllowListEnabledTable { - return x.allowListEnabled +func (x stateStore) AllowedClassCreatorTable() AllowedClassCreatorTable { + return x.allowedClassCreator } func (x stateStore) ClassFeesTable() ClassFeesTable { @@ -2107,12 +2107,12 @@ func NewStateStore(db ormtable.Schema) (StateStore, error) { return nil, err } - allowedClassCreatorTable, err := NewAllowedClassCreatorTable(db) + classCreatorAllowlistTable, err := NewClassCreatorAllowlistTable(db) if err != nil { return nil, err } - allowListEnabledTable, err := NewAllowListEnabledTable(db) + allowedClassCreatorTable, err := NewAllowedClassCreatorTable(db) if err != nil { return nil, err } @@ -2135,8 +2135,8 @@ func NewStateStore(db ormtable.Schema) (StateStore, error) { batchSupplyTable, originTxIndexTable, batchContractTable, + classCreatorAllowlistTable, allowedClassCreatorTable, - allowListEnabledTable, classFeesTable, }, nil } diff --git a/api/regen/ecocredit/v1/state.pulsar.go b/api/regen/ecocredit/v1/state.pulsar.go index ce95a5a2f9..9dea887544 100644 --- a/api/regen/ecocredit/v1/state.pulsar.go +++ b/api/regen/ecocredit/v1/state.pulsar.go @@ -7133,25 +7133,25 @@ func (x *fastReflection_BatchContract) ProtoMethods() *protoiface.Methods { } var ( - md_AllowedClassCreator protoreflect.MessageDescriptor - fd_AllowedClassCreator_address protoreflect.FieldDescriptor + md_ClassCreatorAllowlist protoreflect.MessageDescriptor + fd_ClassCreatorAllowlist_enabled protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_state_proto_init() - md_AllowedClassCreator = File_regen_ecocredit_v1_state_proto.Messages().ByName("AllowedClassCreator") - fd_AllowedClassCreator_address = md_AllowedClassCreator.Fields().ByName("address") + md_ClassCreatorAllowlist = File_regen_ecocredit_v1_state_proto.Messages().ByName("ClassCreatorAllowlist") + fd_ClassCreatorAllowlist_enabled = md_ClassCreatorAllowlist.Fields().ByName("enabled") } -var _ protoreflect.Message = (*fastReflection_AllowedClassCreator)(nil) +var _ protoreflect.Message = (*fastReflection_ClassCreatorAllowlist)(nil) -type fastReflection_AllowedClassCreator AllowedClassCreator +type fastReflection_ClassCreatorAllowlist ClassCreatorAllowlist -func (x *AllowedClassCreator) ProtoReflect() protoreflect.Message { - return (*fastReflection_AllowedClassCreator)(x) +func (x *ClassCreatorAllowlist) ProtoReflect() protoreflect.Message { + return (*fastReflection_ClassCreatorAllowlist)(x) } -func (x *AllowedClassCreator) slowProtoReflect() protoreflect.Message { +func (x *ClassCreatorAllowlist) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_state_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7163,43 +7163,43 @@ func (x *AllowedClassCreator) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_AllowedClassCreator_messageType fastReflection_AllowedClassCreator_messageType -var _ protoreflect.MessageType = fastReflection_AllowedClassCreator_messageType{} +var _fastReflection_ClassCreatorAllowlist_messageType fastReflection_ClassCreatorAllowlist_messageType +var _ protoreflect.MessageType = fastReflection_ClassCreatorAllowlist_messageType{} -type fastReflection_AllowedClassCreator_messageType struct{} +type fastReflection_ClassCreatorAllowlist_messageType struct{} -func (x fastReflection_AllowedClassCreator_messageType) Zero() protoreflect.Message { - return (*fastReflection_AllowedClassCreator)(nil) +func (x fastReflection_ClassCreatorAllowlist_messageType) Zero() protoreflect.Message { + return (*fastReflection_ClassCreatorAllowlist)(nil) } -func (x fastReflection_AllowedClassCreator_messageType) New() protoreflect.Message { - return new(fastReflection_AllowedClassCreator) +func (x fastReflection_ClassCreatorAllowlist_messageType) New() protoreflect.Message { + return new(fastReflection_ClassCreatorAllowlist) } -func (x fastReflection_AllowedClassCreator_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_AllowedClassCreator +func (x fastReflection_ClassCreatorAllowlist_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ClassCreatorAllowlist } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_AllowedClassCreator) Descriptor() protoreflect.MessageDescriptor { - return md_AllowedClassCreator +func (x *fastReflection_ClassCreatorAllowlist) Descriptor() protoreflect.MessageDescriptor { + return md_ClassCreatorAllowlist } // 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_AllowedClassCreator) Type() protoreflect.MessageType { - return _fastReflection_AllowedClassCreator_messageType +func (x *fastReflection_ClassCreatorAllowlist) Type() protoreflect.MessageType { + return _fastReflection_ClassCreatorAllowlist_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_AllowedClassCreator) New() protoreflect.Message { - return new(fastReflection_AllowedClassCreator) +func (x *fastReflection_ClassCreatorAllowlist) New() protoreflect.Message { + return new(fastReflection_ClassCreatorAllowlist) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_AllowedClassCreator) Interface() protoreflect.ProtoMessage { - return (*AllowedClassCreator)(x) +func (x *fastReflection_ClassCreatorAllowlist) Interface() protoreflect.ProtoMessage { + return (*ClassCreatorAllowlist)(x) } // Range iterates over every populated field in an undefined order, @@ -7207,10 +7207,10 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Address) != 0 { - value := protoreflect.ValueOfBytes(x.Address) - if !f(fd_AllowedClassCreator_address, value) { +func (x *fastReflection_ClassCreatorAllowlist) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Enabled != false { + value := protoreflect.ValueOfBool(x.Enabled) + if !f(fd_ClassCreatorAllowlist_enabled, value) { return } } @@ -7227,15 +7227,15 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_ClassCreatorAllowlist) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - return len(x.Address) != 0 + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + return x.Enabled != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -7245,15 +7245,15 @@ func (x *fastReflection_AllowedClassCreator) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_AllowedClassCreator) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_ClassCreatorAllowlist) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - x.Address = nil + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + x.Enabled = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -7263,16 +7263,16 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ClassCreatorAllowlist) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - value := x.Address - return protoreflect.ValueOfBytes(value) + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + value := x.Enabled + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist does not contain field %s", descriptor.FullName())) } } @@ -7286,15 +7286,15 @@ func (x *fastReflection_AllowedClassCreator) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_AllowedClassCreator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_ClassCreatorAllowlist) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - x.Address = value.Bytes() + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + x.Enabled = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -7308,40 +7308,40 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ClassCreatorAllowlist) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - panic(fmt.Errorf("field address of message regen.ecocredit.v1.AllowedClassCreator is not mutable")) + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + panic(fmt.Errorf("field enabled of message regen.ecocredit.v1.ClassCreatorAllowlist is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist 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_AllowedClassCreator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_ClassCreatorAllowlist) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.AllowedClassCreator.address": - return protoreflect.ValueOfBytes(nil) + case "regen.ecocredit.v1.ClassCreatorAllowlist.enabled": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.ClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.ClassCreatorAllowlist 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_AllowedClassCreator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_ClassCreatorAllowlist) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.AllowedClassCreator", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.ClassCreatorAllowlist", d.FullName())) } panic("unreachable") } @@ -7349,7 +7349,7 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_ClassCreatorAllowlist) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7360,7 +7360,7 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_ClassCreatorAllowlist) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7372,7 +7372,7 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) IsValid() bool { +func (x *fastReflection_ClassCreatorAllowlist) IsValid() bool { return x != nil } @@ -7382,9 +7382,9 @@ func (x *fastReflection_AllowedClassCreator) 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_AllowedClassCreator) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_ClassCreatorAllowlist) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*AllowedClassCreator) + x := input.Message.Interface().(*ClassCreatorAllowlist) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7396,9 +7396,8 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.Address) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Enabled { + n += 2 } if x.unknownFields != nil { n += len(x.unknownFields) @@ -7410,7 +7409,7 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*AllowedClassCreator) + x := input.Message.Interface().(*ClassCreatorAllowlist) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7429,12 +7428,15 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + if x.Enabled { i-- - dAtA[i] = 0xa + if x.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -7447,7 +7449,7 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*AllowedClassCreator) + x := input.Message.Interface().(*ClassCreatorAllowlist) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7479,17 +7481,17 @@ func (x *fastReflection_AllowedClassCreator) 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: AllowedClassCreator: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ClassCreatorAllowlist: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AllowedClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ClassCreatorAllowlist: 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 Address", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) } - var byteLen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -7499,26 +7501,12 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + v |= 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.Address = append(x.Address[:0], dAtA[iNdEx:postIndex]...) - if x.Address == nil { - x.Address = []byte{} - } - iNdEx = postIndex + x.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -7555,25 +7543,25 @@ func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods } var ( - md_AllowListEnabled protoreflect.MessageDescriptor - fd_AllowListEnabled_enabled protoreflect.FieldDescriptor + md_AllowedClassCreator protoreflect.MessageDescriptor + fd_AllowedClassCreator_address protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_state_proto_init() - md_AllowListEnabled = File_regen_ecocredit_v1_state_proto.Messages().ByName("AllowListEnabled") - fd_AllowListEnabled_enabled = md_AllowListEnabled.Fields().ByName("enabled") + md_AllowedClassCreator = File_regen_ecocredit_v1_state_proto.Messages().ByName("AllowedClassCreator") + fd_AllowedClassCreator_address = md_AllowedClassCreator.Fields().ByName("address") } -var _ protoreflect.Message = (*fastReflection_AllowListEnabled)(nil) +var _ protoreflect.Message = (*fastReflection_AllowedClassCreator)(nil) -type fastReflection_AllowListEnabled AllowListEnabled +type fastReflection_AllowedClassCreator AllowedClassCreator -func (x *AllowListEnabled) ProtoReflect() protoreflect.Message { - return (*fastReflection_AllowListEnabled)(x) +func (x *AllowedClassCreator) ProtoReflect() protoreflect.Message { + return (*fastReflection_AllowedClassCreator)(x) } -func (x *AllowListEnabled) slowProtoReflect() protoreflect.Message { +func (x *AllowedClassCreator) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_state_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7585,43 +7573,43 @@ func (x *AllowListEnabled) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_AllowListEnabled_messageType fastReflection_AllowListEnabled_messageType -var _ protoreflect.MessageType = fastReflection_AllowListEnabled_messageType{} +var _fastReflection_AllowedClassCreator_messageType fastReflection_AllowedClassCreator_messageType +var _ protoreflect.MessageType = fastReflection_AllowedClassCreator_messageType{} -type fastReflection_AllowListEnabled_messageType struct{} +type fastReflection_AllowedClassCreator_messageType struct{} -func (x fastReflection_AllowListEnabled_messageType) Zero() protoreflect.Message { - return (*fastReflection_AllowListEnabled)(nil) +func (x fastReflection_AllowedClassCreator_messageType) Zero() protoreflect.Message { + return (*fastReflection_AllowedClassCreator)(nil) } -func (x fastReflection_AllowListEnabled_messageType) New() protoreflect.Message { - return new(fastReflection_AllowListEnabled) +func (x fastReflection_AllowedClassCreator_messageType) New() protoreflect.Message { + return new(fastReflection_AllowedClassCreator) } -func (x fastReflection_AllowListEnabled_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_AllowListEnabled +func (x fastReflection_AllowedClassCreator_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AllowedClassCreator } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_AllowListEnabled) Descriptor() protoreflect.MessageDescriptor { - return md_AllowListEnabled +func (x *fastReflection_AllowedClassCreator) Descriptor() protoreflect.MessageDescriptor { + return md_AllowedClassCreator } // 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_AllowListEnabled) Type() protoreflect.MessageType { - return _fastReflection_AllowListEnabled_messageType +func (x *fastReflection_AllowedClassCreator) Type() protoreflect.MessageType { + return _fastReflection_AllowedClassCreator_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_AllowListEnabled) New() protoreflect.Message { - return new(fastReflection_AllowListEnabled) +func (x *fastReflection_AllowedClassCreator) New() protoreflect.Message { + return new(fastReflection_AllowedClassCreator) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_AllowListEnabled) Interface() protoreflect.ProtoMessage { - return (*AllowListEnabled)(x) +func (x *fastReflection_AllowedClassCreator) Interface() protoreflect.ProtoMessage { + return (*AllowedClassCreator)(x) } // Range iterates over every populated field in an undefined order, @@ -7629,10 +7617,10 @@ func (x *fastReflection_AllowListEnabled) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_AllowListEnabled) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Enabled != false { - value := protoreflect.ValueOfBool(x.Enabled) - if !f(fd_AllowListEnabled_enabled, value) { +func (x *fastReflection_AllowedClassCreator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Address) != 0 { + value := protoreflect.ValueOfBytes(x.Address) + if !f(fd_AllowedClassCreator_address, value) { return } } @@ -7649,15 +7637,15 @@ func (x *fastReflection_AllowListEnabled) Range(f func(protoreflect.FieldDescrip // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_AllowListEnabled) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_AllowedClassCreator) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - return x.Enabled != false + case "regen.ecocredit.v1.AllowedClassCreator.address": + return len(x.Address) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) } } @@ -7667,15 +7655,15 @@ func (x *fastReflection_AllowListEnabled) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_AllowListEnabled) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_AllowedClassCreator) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - x.Enabled = false + case "regen.ecocredit.v1.AllowedClassCreator.address": + x.Address = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) } } @@ -7685,16 +7673,16 @@ func (x *fastReflection_AllowListEnabled) Clear(fd protoreflect.FieldDescriptor) // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_AllowListEnabled) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_AllowedClassCreator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - value := x.Enabled - return protoreflect.ValueOfBool(value) + case "regen.ecocredit.v1.AllowedClassCreator.address": + value := x.Address + return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", descriptor.FullName())) } } @@ -7708,15 +7696,15 @@ func (x *fastReflection_AllowListEnabled) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_AllowListEnabled) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_AllowedClassCreator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - x.Enabled = value.Bool() + case "regen.ecocredit.v1.AllowedClassCreator.address": + x.Address = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator does not contain field %s", fd.FullName())) } } @@ -7730,40 +7718,40 @@ func (x *fastReflection_AllowListEnabled) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_AllowListEnabled) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_AllowedClassCreator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - panic(fmt.Errorf("field enabled of message regen.ecocredit.v1.AllowListEnabled is not mutable")) + case "regen.ecocredit.v1.AllowedClassCreator.address": + panic(fmt.Errorf("field address of message regen.ecocredit.v1.AllowedClassCreator is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator 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_AllowListEnabled) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_AllowedClassCreator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.AllowListEnabled.enabled": - return protoreflect.ValueOfBool(false) + case "regen.ecocredit.v1.AllowedClassCreator.address": + return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowListEnabled")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.AllowedClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.AllowListEnabled does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.AllowedClassCreator 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_AllowListEnabled) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_AllowedClassCreator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.AllowListEnabled", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.AllowedClassCreator", d.FullName())) } panic("unreachable") } @@ -7771,7 +7759,7 @@ func (x *fastReflection_AllowListEnabled) WhichOneof(d protoreflect.OneofDescrip // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_AllowListEnabled) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_AllowedClassCreator) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7782,7 +7770,7 @@ func (x *fastReflection_AllowListEnabled) 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_AllowListEnabled) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_AllowedClassCreator) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7794,7 +7782,7 @@ func (x *fastReflection_AllowListEnabled) SetUnknown(fields protoreflect.RawFiel // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_AllowListEnabled) IsValid() bool { +func (x *fastReflection_AllowedClassCreator) IsValid() bool { return x != nil } @@ -7804,9 +7792,9 @@ func (x *fastReflection_AllowListEnabled) 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_AllowListEnabled) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_AllowedClassCreator) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*AllowListEnabled) + x := input.Message.Interface().(*AllowedClassCreator) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7818,8 +7806,9 @@ func (x *fastReflection_AllowListEnabled) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Enabled { - n += 2 + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -7831,7 +7820,7 @@ func (x *fastReflection_AllowListEnabled) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*AllowListEnabled) + x := input.Message.Interface().(*AllowedClassCreator) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7850,15 +7839,12 @@ func (x *fastReflection_AllowListEnabled) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Enabled { - i-- - if x.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -7871,7 +7857,7 @@ func (x *fastReflection_AllowListEnabled) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*AllowListEnabled) + x := input.Message.Interface().(*AllowedClassCreator) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7903,17 +7889,17 @@ func (x *fastReflection_AllowListEnabled) 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: AllowListEnabled: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AllowedClassCreator: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AllowListEnabled: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AllowedClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var v int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -7923,12 +7909,26 @@ func (x *fastReflection_AllowListEnabled) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - x.Enabled = bool(v != 0) + 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.Address = append(x.Address[:0], dAtA[iNdEx:postIndex]...) + if x.Address == nil { + x.Address = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -9299,21 +9299,23 @@ func (x *BatchContract) GetContract() string { return "" } -// AllowedClassCreator is an allowed credit class creator. This table is -// controlled via governance. +// ClassCreatorAllowlist determines if the credit class creator allowlist is +// enabled. When set to true, only the addresses in the AllowedClassCreator +// table may create credit classes. When set to false, any address may create +// credit classes. This table is controlled via governance. // // Since Revision 1 -type AllowedClassCreator struct { +type ClassCreatorAllowlist struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // address is the address that is allowed to create credit classes - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // enabled is whether or not the allow list is enabled. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (x *AllowedClassCreator) Reset() { - *x = AllowedClassCreator{} +func (x *ClassCreatorAllowlist) Reset() { + *x = ClassCreatorAllowlist{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_state_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9321,41 +9323,39 @@ func (x *AllowedClassCreator) Reset() { } } -func (x *AllowedClassCreator) String() string { +func (x *ClassCreatorAllowlist) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AllowedClassCreator) ProtoMessage() {} +func (*ClassCreatorAllowlist) ProtoMessage() {} -// Deprecated: Use AllowedClassCreator.ProtoReflect.Descriptor instead. -func (*AllowedClassCreator) Descriptor() ([]byte, []int) { +// Deprecated: Use ClassCreatorAllowlist.ProtoReflect.Descriptor instead. +func (*ClassCreatorAllowlist) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_state_proto_rawDescGZIP(), []int{12} } -func (x *AllowedClassCreator) GetAddress() []byte { +func (x *ClassCreatorAllowlist) GetEnabled() bool { if x != nil { - return x.Address + return x.Enabled } - return nil + return false } -// AllowListEnabled determines if the credit class creator allowlist is enabled. -// When set to true, only the addresses in the AllowedClassCreator table can -// create credit classes. When set to false, any address is free to create -// credit classes. This table is controlled via governance. +// AllowedClassCreator is an allowed credit class creator. This table is +// controlled via governance. // // Since Revision 1 -type AllowListEnabled struct { +type AllowedClassCreator struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // enabled is whether or not the allow list is enabled. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + // address is the address that is allowed to create credit classes + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (x *AllowListEnabled) Reset() { - *x = AllowListEnabled{} +func (x *AllowedClassCreator) Reset() { + *x = AllowedClassCreator{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_state_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9363,22 +9363,22 @@ func (x *AllowListEnabled) Reset() { } } -func (x *AllowListEnabled) String() string { +func (x *AllowedClassCreator) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AllowListEnabled) ProtoMessage() {} +func (*AllowedClassCreator) ProtoMessage() {} -// Deprecated: Use AllowListEnabled.ProtoReflect.Descriptor instead. -func (*AllowListEnabled) Descriptor() ([]byte, []int) { +// Deprecated: Use AllowedClassCreator.ProtoReflect.Descriptor instead. +func (*AllowedClassCreator) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_state_proto_rawDescGZIP(), []int{13} } -func (x *AllowListEnabled) GetEnabled() bool { +func (x *AllowedClassCreator) GetAddress() []byte { if x != nil { - return x.Enabled + return x.Address } - return false + return nil } // ClassFees is a list of coins that may be used as the fee for credit class @@ -9573,33 +9573,33 @@ var file_regen_ecocredit_v1_state_proto_rawDesc = []byte{ 0x3a, 0x2f, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x29, 0x0a, 0x0b, 0x0a, 0x09, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a, 0x12, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x2c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x10, 0x01, 0x18, 0x01, 0x18, - 0x0c, 0x22, 0x44, 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x3a, 0x13, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x0d, 0x0a, 0x09, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x22, 0x36, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, - 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x0e, 0x22, - 0x44, 0x0a, 0x09, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x04, - 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x08, 0xfa, 0x9e, 0xd3, - 0x8e, 0x03, 0x02, 0x08, 0x0f, 0x42, 0xd8, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, - 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6c, - 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x58, 0xaa, 0x02, - 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, - 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x52, 0x65, 0x67, 0x65, - 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x0c, 0x22, 0x3b, 0x0a, 0x15, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, + 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x0d, 0x22, 0x44, + 0x0a, 0x13, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, + 0x13, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x0d, 0x0a, 0x09, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x0e, 0x22, 0x44, 0x0a, 0x09, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, + 0x73, 0x12, 0x2d, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, + 0x3a, 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x0f, 0x42, 0xd8, 0x01, 0x0a, 0x16, 0x63, + 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, + 0x31, 0x3b, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x52, 0x45, 0x58, 0xaa, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, + 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, + 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x14, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -9628,8 +9628,8 @@ var file_regen_ecocredit_v1_state_proto_goTypes = []interface{}{ (*BatchSupply)(nil), // 9: regen.ecocredit.v1.BatchSupply (*OriginTxIndex)(nil), // 10: regen.ecocredit.v1.OriginTxIndex (*BatchContract)(nil), // 11: regen.ecocredit.v1.BatchContract - (*AllowedClassCreator)(nil), // 12: regen.ecocredit.v1.AllowedClassCreator - (*AllowListEnabled)(nil), // 13: regen.ecocredit.v1.AllowListEnabled + (*ClassCreatorAllowlist)(nil), // 12: regen.ecocredit.v1.ClassCreatorAllowlist + (*AllowedClassCreator)(nil), // 13: regen.ecocredit.v1.AllowedClassCreator (*ClassFees)(nil), // 14: regen.ecocredit.v1.ClassFees (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp (*v1beta1.Coin)(nil), // 16: cosmos.base.v1beta1.Coin @@ -9797,7 +9797,7 @@ func file_regen_ecocredit_v1_state_proto_init() { } } file_regen_ecocredit_v1_state_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllowedClassCreator); i { + switch v := v.(*ClassCreatorAllowlist); i { case 0: return &v.state case 1: @@ -9809,7 +9809,7 @@ func file_regen_ecocredit_v1_state_proto_init() { } } file_regen_ecocredit_v1_state_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AllowListEnabled); i { + switch v := v.(*AllowedClassCreator); i { case 0: return &v.state case 1: diff --git a/api/regen/ecocredit/v1/tx.pulsar.go b/api/regen/ecocredit/v1/tx.pulsar.go index 1823682417..cc21636652 100644 --- a/api/regen/ecocredit/v1/tx.pulsar.go +++ b/api/regen/ecocredit/v1/tx.pulsar.go @@ -18668,23 +18668,27 @@ func (x *fastReflection_MsgAddClassCreator) ProtoMethods() *protoiface.Methods { } var ( - md_MsgAddClassCreatorResponse protoreflect.MessageDescriptor + md_MsgSetClassCreatorAllowlist protoreflect.MessageDescriptor + fd_MsgSetClassCreatorAllowlist_authority protoreflect.FieldDescriptor + fd_MsgSetClassCreatorAllowlist_enabled protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_tx_proto_init() - md_MsgAddClassCreatorResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgAddClassCreatorResponse") + md_MsgSetClassCreatorAllowlist = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgSetClassCreatorAllowlist") + fd_MsgSetClassCreatorAllowlist_authority = md_MsgSetClassCreatorAllowlist.Fields().ByName("authority") + fd_MsgSetClassCreatorAllowlist_enabled = md_MsgSetClassCreatorAllowlist.Fields().ByName("enabled") } -var _ protoreflect.Message = (*fastReflection_MsgAddClassCreatorResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSetClassCreatorAllowlist)(nil) -type fastReflection_MsgAddClassCreatorResponse MsgAddClassCreatorResponse +type fastReflection_MsgSetClassCreatorAllowlist MsgSetClassCreatorAllowlist -func (x *MsgAddClassCreatorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgAddClassCreatorResponse)(x) +func (x *MsgSetClassCreatorAllowlist) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetClassCreatorAllowlist)(x) } -func (x *MsgAddClassCreatorResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgSetClassCreatorAllowlist) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -18696,43 +18700,43 @@ func (x *MsgAddClassCreatorResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgAddClassCreatorResponse_messageType fastReflection_MsgAddClassCreatorResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgAddClassCreatorResponse_messageType{} +var _fastReflection_MsgSetClassCreatorAllowlist_messageType fastReflection_MsgSetClassCreatorAllowlist_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetClassCreatorAllowlist_messageType{} -type fastReflection_MsgAddClassCreatorResponse_messageType struct{} +type fastReflection_MsgSetClassCreatorAllowlist_messageType struct{} -func (x fastReflection_MsgAddClassCreatorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgAddClassCreatorResponse)(nil) +func (x fastReflection_MsgSetClassCreatorAllowlist_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetClassCreatorAllowlist)(nil) } -func (x fastReflection_MsgAddClassCreatorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgAddClassCreatorResponse) +func (x fastReflection_MsgSetClassCreatorAllowlist_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetClassCreatorAllowlist) } -func (x fastReflection_MsgAddClassCreatorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddClassCreatorResponse +func (x fastReflection_MsgSetClassCreatorAllowlist_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetClassCreatorAllowlist } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgAddClassCreatorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgAddClassCreatorResponse +func (x *fastReflection_MsgSetClassCreatorAllowlist) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetClassCreatorAllowlist } // 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_MsgAddClassCreatorResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgAddClassCreatorResponse_messageType +func (x *fastReflection_MsgSetClassCreatorAllowlist) Type() protoreflect.MessageType { + return _fastReflection_MsgSetClassCreatorAllowlist_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgAddClassCreatorResponse) New() protoreflect.Message { - return new(fastReflection_MsgAddClassCreatorResponse) +func (x *fastReflection_MsgSetClassCreatorAllowlist) New() protoreflect.Message { + return new(fastReflection_MsgSetClassCreatorAllowlist) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgAddClassCreatorResponse) Interface() protoreflect.ProtoMessage { - return (*MsgAddClassCreatorResponse)(x) +func (x *fastReflection_MsgSetClassCreatorAllowlist) Interface() protoreflect.ProtoMessage { + return (*MsgSetClassCreatorAllowlist)(x) } // Range iterates over every populated field in an undefined order, @@ -18740,7 +18744,19 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgSetClassCreatorAllowlist_authority, value) { + return + } + } + if x.Enabled != false { + value := protoreflect.ValueOfBool(x.Enabled) + if !f(fd_MsgSetClassCreatorAllowlist_enabled, value) { + return + } + } } // Has reports whether a field is populated. @@ -18754,13 +18770,17 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + return x.Authority != "" + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + return x.Enabled != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -18770,13 +18790,17 @@ func (x *fastReflection_MsgAddClassCreatorResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddClassCreatorResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + x.Authority = "" + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + x.Enabled = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -18786,13 +18810,19 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + value := x.Enabled + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist does not contain field %s", descriptor.FullName())) } } @@ -18806,13 +18836,17 @@ func (x *fastReflection_MsgAddClassCreatorResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgAddClassCreatorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + x.Authority = value.Interface().(string) + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + x.Enabled = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist does not contain field %s", fd.FullName())) } } @@ -18826,36 +18860,44 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlist) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + panic(fmt.Errorf("field authority of message regen.ecocredit.v1.MsgSetClassCreatorAllowlist is not mutable")) + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + panic(fmt.Errorf("field enabled of message regen.ecocredit.v1.MsgSetClassCreatorAllowlist is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist 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_MsgAddClassCreatorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlist) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.authority": + return protoreflect.ValueOfString("") + case "regen.ecocredit.v1.MsgSetClassCreatorAllowlist.enabled": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlist")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlist 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_MsgAddClassCreatorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSetClassCreatorAllowlist) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgAddClassCreatorResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgSetClassCreatorAllowlist", d.FullName())) } panic("unreachable") } @@ -18863,7 +18905,7 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSetClassCreatorAllowlist) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18874,7 +18916,7 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSetClassCreatorAllowlist) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18886,7 +18928,7 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) IsValid() bool { +func (x *fastReflection_MsgSetClassCreatorAllowlist) IsValid() bool { return x != nil } @@ -18896,9 +18938,9 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSetClassCreatorAllowlist) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgAddClassCreatorResponse) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlist) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18910,6 +18952,13 @@ func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.M var n int var l int _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Enabled { + n += 2 + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -18920,7 +18969,7 @@ func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgAddClassCreatorResponse) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlist) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18939,6 +18988,23 @@ func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.Enabled { + i-- + if x.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + 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] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -18950,7 +19016,7 @@ func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgAddClassCreatorResponse) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlist) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18982,12 +19048,64 @@ func (x *fastReflection_MsgAddClassCreatorResponse) 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: MsgAddClassCreatorResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetClassCreatorAllowlist: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetClassCreatorAllowlist: 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 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 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19024,27 +19142,23 @@ func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.M } var ( - md_MsgRemoveClassCreator protoreflect.MessageDescriptor - fd_MsgRemoveClassCreator_authority protoreflect.FieldDescriptor - fd_MsgRemoveClassCreator_creator protoreflect.FieldDescriptor + md_MsgSetClassCreatorAllowlistResponse protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_v1_tx_proto_init() - md_MsgRemoveClassCreator = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgRemoveClassCreator") - fd_MsgRemoveClassCreator_authority = md_MsgRemoveClassCreator.Fields().ByName("authority") - fd_MsgRemoveClassCreator_creator = md_MsgRemoveClassCreator.Fields().ByName("creator") + md_MsgSetClassCreatorAllowlistResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgSetClassCreatorAllowlistResponse") } -var _ protoreflect.Message = (*fastReflection_MsgRemoveClassCreator)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSetClassCreatorAllowlistResponse)(nil) -type fastReflection_MsgRemoveClassCreator MsgRemoveClassCreator +type fastReflection_MsgSetClassCreatorAllowlistResponse MsgSetClassCreatorAllowlistResponse -func (x *MsgRemoveClassCreator) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveClassCreator)(x) +func (x *MsgSetClassCreatorAllowlistResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetClassCreatorAllowlistResponse)(x) } -func (x *MsgRemoveClassCreator) slowProtoReflect() protoreflect.Message { +func (x *MsgSetClassCreatorAllowlistResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -19056,43 +19170,43 @@ func (x *MsgRemoveClassCreator) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgRemoveClassCreator_messageType fastReflection_MsgRemoveClassCreator_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveClassCreator_messageType{} +var _fastReflection_MsgSetClassCreatorAllowlistResponse_messageType fastReflection_MsgSetClassCreatorAllowlistResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetClassCreatorAllowlistResponse_messageType{} -type fastReflection_MsgRemoveClassCreator_messageType struct{} +type fastReflection_MsgSetClassCreatorAllowlistResponse_messageType struct{} -func (x fastReflection_MsgRemoveClassCreator_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveClassCreator)(nil) +func (x fastReflection_MsgSetClassCreatorAllowlistResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetClassCreatorAllowlistResponse)(nil) } -func (x fastReflection_MsgRemoveClassCreator_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveClassCreator) +func (x fastReflection_MsgSetClassCreatorAllowlistResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetClassCreatorAllowlistResponse) } -func (x fastReflection_MsgRemoveClassCreator_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveClassCreator +func (x fastReflection_MsgSetClassCreatorAllowlistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetClassCreatorAllowlistResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgRemoveClassCreator) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveClassCreator +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetClassCreatorAllowlistResponse } // 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_MsgRemoveClassCreator) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveClassCreator_messageType +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetClassCreatorAllowlistResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveClassCreator) New() protoreflect.Message { - return new(fastReflection_MsgRemoveClassCreator) +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetClassCreatorAllowlistResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveClassCreator) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveClassCreator)(x) +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetClassCreatorAllowlistResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -19100,19 +19214,7 @@ func (x *fastReflection_MsgRemoveClassCreator) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgRemoveClassCreator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Authority != "" { - value := protoreflect.ValueOfString(x.Authority) - if !f(fd_MsgRemoveClassCreator_authority, value) { - return - } - } - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgRemoveClassCreator_creator, value) { - return - } - } +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -19126,17 +19228,13 @@ func (x *fastReflection_MsgRemoveClassCreator) Range(f func(protoreflect.FieldDe // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgRemoveClassCreator) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - return x.Authority != "" - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - return x.Creator != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -19146,17 +19244,13 @@ func (x *fastReflection_MsgRemoveClassCreator) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreator) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - x.Authority = "" - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - x.Creator = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -19166,19 +19260,13 @@ func (x *fastReflection_MsgRemoveClassCreator) Clear(fd protoreflect.FieldDescri // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgRemoveClassCreator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - value := x.Authority - return protoreflect.ValueOfString(value) - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - value := x.Creator - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse does not contain field %s", descriptor.FullName())) } } @@ -19192,17 +19280,13 @@ func (x *fastReflection_MsgRemoveClassCreator) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - x.Authority = value.Interface().(string) - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - x.Creator = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse does not contain field %s", fd.FullName())) } } @@ -19216,44 +19300,36 @@ func (x *fastReflection_MsgRemoveClassCreator) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - panic(fmt.Errorf("field authority of message regen.ecocredit.v1.MsgRemoveClassCreator is not mutable")) - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - panic(fmt.Errorf("field creator of message regen.ecocredit.v1.MsgRemoveClassCreator is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse 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_MsgRemoveClassCreator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": - return protoreflect.ValueOfString("") - case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse 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_MsgRemoveClassCreator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgRemoveClassCreator", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse", d.FullName())) } panic("unreachable") } @@ -19261,7 +19337,7 @@ func (x *fastReflection_MsgRemoveClassCreator) WhichOneof(d protoreflect.OneofDe // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgRemoveClassCreator) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19272,7 +19348,7 @@ func (x *fastReflection_MsgRemoveClassCreator) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreator) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19284,7 +19360,7 @@ func (x *fastReflection_MsgRemoveClassCreator) SetUnknown(fields protoreflect.Ra // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgRemoveClassCreator) IsValid() bool { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) IsValid() bool { return x != nil } @@ -19294,9 +19370,9 @@ func (x *fastReflection_MsgRemoveClassCreator) 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_MsgRemoveClassCreator) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSetClassCreatorAllowlistResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveClassCreator) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlistResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19308,14 +19384,6 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.Authority) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -19326,7 +19394,7 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveClassCreator) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlistResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19345,20 +19413,6 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - 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] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -19370,7 +19424,7 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveClassCreator) + x := input.Message.Interface().(*MsgSetClassCreatorAllowlistResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19402,76 +19456,12 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreator: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetClassCreatorAllowlistResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetClassCreatorAllowlistResponse: 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 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 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", 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.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19508,23 +19498,23 @@ func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Method } var ( - md_MsgRemoveClassCreatorResponse protoreflect.MessageDescriptor + md_MsgAddClassCreatorResponse protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_v1_tx_proto_init() - md_MsgRemoveClassCreatorResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgRemoveClassCreatorResponse") + md_MsgAddClassCreatorResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgAddClassCreatorResponse") } -var _ protoreflect.Message = (*fastReflection_MsgRemoveClassCreatorResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgAddClassCreatorResponse)(nil) -type fastReflection_MsgRemoveClassCreatorResponse MsgRemoveClassCreatorResponse +type fastReflection_MsgAddClassCreatorResponse MsgAddClassCreatorResponse -func (x *MsgRemoveClassCreatorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgRemoveClassCreatorResponse)(x) +func (x *MsgAddClassCreatorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAddClassCreatorResponse)(x) } -func (x *MsgRemoveClassCreatorResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgAddClassCreatorResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -19536,43 +19526,43 @@ func (x *MsgRemoveClassCreatorResponse) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgRemoveClassCreatorResponse_messageType fastReflection_MsgRemoveClassCreatorResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgRemoveClassCreatorResponse_messageType{} +var _fastReflection_MsgAddClassCreatorResponse_messageType fastReflection_MsgAddClassCreatorResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAddClassCreatorResponse_messageType{} -type fastReflection_MsgRemoveClassCreatorResponse_messageType struct{} +type fastReflection_MsgAddClassCreatorResponse_messageType struct{} -func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgRemoveClassCreatorResponse)(nil) +func (x fastReflection_MsgAddClassCreatorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAddClassCreatorResponse)(nil) } -func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgRemoveClassCreatorResponse) +func (x fastReflection_MsgAddClassCreatorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAddClassCreatorResponse) } -func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveClassCreatorResponse +func (x fastReflection_MsgAddClassCreatorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddClassCreatorResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgRemoveClassCreatorResponse +func (x *fastReflection_MsgAddClassCreatorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAddClassCreatorResponse } // 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_MsgRemoveClassCreatorResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgRemoveClassCreatorResponse_messageType +func (x *fastReflection_MsgAddClassCreatorResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAddClassCreatorResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgRemoveClassCreatorResponse) New() protoreflect.Message { - return new(fastReflection_MsgRemoveClassCreatorResponse) +func (x *fastReflection_MsgAddClassCreatorResponse) New() protoreflect.Message { + return new(fastReflection_MsgAddClassCreatorResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Interface() protoreflect.ProtoMessage { - return (*MsgRemoveClassCreatorResponse)(x) +func (x *fastReflection_MsgAddClassCreatorResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAddClassCreatorResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -19580,7 +19570,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgAddClassCreatorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -19594,13 +19584,13 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Range(f func(protoreflect // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgAddClassCreatorResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -19610,13 +19600,13 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgAddClassCreatorResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -19626,13 +19616,13 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Clear(fd protoreflect.Fie // 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_MsgRemoveClassCreatorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgAddClassCreatorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", descriptor.FullName())) } } @@ -19646,13 +19636,13 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgAddClassCreatorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -19666,36 +19656,36 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreatorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgAddClassCreatorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse 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_MsgRemoveClassCreatorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgAddClassCreatorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgAddClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgAddClassCreatorResponse 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_MsgRemoveClassCreatorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgAddClassCreatorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgRemoveClassCreatorResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgAddClassCreatorResponse", d.FullName())) } panic("unreachable") } @@ -19703,7 +19693,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) WhichOneof(d protoreflect // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgRemoveClassCreatorResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgAddClassCreatorResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19714,7 +19704,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgRemoveClassCreatorResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgAddClassCreatorResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19726,7 +19716,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) SetUnknown(fields protore // 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_MsgRemoveClassCreatorResponse) IsValid() bool { +func (x *fastReflection_MsgAddClassCreatorResponse) IsValid() bool { return x != nil } @@ -19736,9 +19726,9 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) 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_MsgRemoveClassCreatorResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgAddClassCreatorResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) + x := input.Message.Interface().(*MsgAddClassCreatorResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19760,7 +19750,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) + x := input.Message.Interface().(*MsgAddClassCreatorResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19790,7 +19780,7 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) + x := input.Message.Interface().(*MsgAddClassCreatorResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19822,10 +19812,10 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreatorResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddClassCreatorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAddClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -19864,27 +19854,27 @@ func (x *fastReflection_MsgRemoveClassCreatorResponse) ProtoMethods() *protoifac } var ( - md_MsgToggleCreditClassAllowlist protoreflect.MessageDescriptor - fd_MsgToggleCreditClassAllowlist_authority protoreflect.FieldDescriptor - fd_MsgToggleCreditClassAllowlist_enabled protoreflect.FieldDescriptor + md_MsgRemoveClassCreator protoreflect.MessageDescriptor + fd_MsgRemoveClassCreator_authority protoreflect.FieldDescriptor + fd_MsgRemoveClassCreator_creator protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_v1_tx_proto_init() - md_MsgToggleCreditClassAllowlist = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgToggleCreditClassAllowlist") - fd_MsgToggleCreditClassAllowlist_authority = md_MsgToggleCreditClassAllowlist.Fields().ByName("authority") - fd_MsgToggleCreditClassAllowlist_enabled = md_MsgToggleCreditClassAllowlist.Fields().ByName("enabled") + md_MsgRemoveClassCreator = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgRemoveClassCreator") + fd_MsgRemoveClassCreator_authority = md_MsgRemoveClassCreator.Fields().ByName("authority") + fd_MsgRemoveClassCreator_creator = md_MsgRemoveClassCreator.Fields().ByName("creator") } -var _ protoreflect.Message = (*fastReflection_MsgToggleCreditClassAllowlist)(nil) +var _ protoreflect.Message = (*fastReflection_MsgRemoveClassCreator)(nil) -type fastReflection_MsgToggleCreditClassAllowlist MsgToggleCreditClassAllowlist +type fastReflection_MsgRemoveClassCreator MsgRemoveClassCreator -func (x *MsgToggleCreditClassAllowlist) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgToggleCreditClassAllowlist)(x) +func (x *MsgRemoveClassCreator) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveClassCreator)(x) } -func (x *MsgToggleCreditClassAllowlist) slowProtoReflect() protoreflect.Message { +func (x *MsgRemoveClassCreator) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -19896,43 +19886,43 @@ func (x *MsgToggleCreditClassAllowlist) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgToggleCreditClassAllowlist_messageType fastReflection_MsgToggleCreditClassAllowlist_messageType -var _ protoreflect.MessageType = fastReflection_MsgToggleCreditClassAllowlist_messageType{} +var _fastReflection_MsgRemoveClassCreator_messageType fastReflection_MsgRemoveClassCreator_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveClassCreator_messageType{} -type fastReflection_MsgToggleCreditClassAllowlist_messageType struct{} +type fastReflection_MsgRemoveClassCreator_messageType struct{} -func (x fastReflection_MsgToggleCreditClassAllowlist_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgToggleCreditClassAllowlist)(nil) +func (x fastReflection_MsgRemoveClassCreator_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveClassCreator)(nil) } -func (x fastReflection_MsgToggleCreditClassAllowlist_messageType) New() protoreflect.Message { - return new(fastReflection_MsgToggleCreditClassAllowlist) +func (x fastReflection_MsgRemoveClassCreator_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveClassCreator) } -func (x fastReflection_MsgToggleCreditClassAllowlist_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgToggleCreditClassAllowlist +func (x fastReflection_MsgRemoveClassCreator_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveClassCreator } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Descriptor() protoreflect.MessageDescriptor { - return md_MsgToggleCreditClassAllowlist +func (x *fastReflection_MsgRemoveClassCreator) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveClassCreator } // 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_MsgToggleCreditClassAllowlist) Type() protoreflect.MessageType { - return _fastReflection_MsgToggleCreditClassAllowlist_messageType +func (x *fastReflection_MsgRemoveClassCreator) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveClassCreator_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgToggleCreditClassAllowlist) New() protoreflect.Message { - return new(fastReflection_MsgToggleCreditClassAllowlist) +func (x *fastReflection_MsgRemoveClassCreator) New() protoreflect.Message { + return new(fastReflection_MsgRemoveClassCreator) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Interface() protoreflect.ProtoMessage { - return (*MsgToggleCreditClassAllowlist)(x) +func (x *fastReflection_MsgRemoveClassCreator) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveClassCreator)(x) } // Range iterates over every populated field in an undefined order, @@ -19940,16 +19930,16 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgRemoveClassCreator) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Authority != "" { value := protoreflect.ValueOfString(x.Authority) - if !f(fd_MsgToggleCreditClassAllowlist_authority, value) { + if !f(fd_MsgRemoveClassCreator_authority, value) { return } } - if x.Enabled != false { - value := protoreflect.ValueOfBool(x.Enabled) - if !f(fd_MsgToggleCreditClassAllowlist_enabled, value) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgRemoveClassCreator_creator, value) { return } } @@ -19966,17 +19956,17 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Range(f func(protoreflect // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgRemoveClassCreator) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": return x.Authority != "" - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - return x.Enabled != false + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": + return x.Creator != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) } } @@ -19986,17 +19976,17 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgRemoveClassCreator) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": x.Authority = "" - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - x.Enabled = false + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": + x.Creator = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) } } @@ -20006,19 +19996,19 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Clear(fd protoreflect.Fie // 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_MsgToggleCreditClassAllowlist) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreator) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - value := x.Enabled - return protoreflect.ValueOfBool(value) + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": + value := x.Creator + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", descriptor.FullName())) } } @@ -20032,17 +20022,17 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgRemoveClassCreator) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": x.Authority = value.Interface().(string) - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - x.Enabled = value.Bool() + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": + x.Creator = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator does not contain field %s", fd.FullName())) } } @@ -20056,44 +20046,44 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlist) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreator) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": - panic(fmt.Errorf("field authority of message regen.ecocredit.v1.MsgToggleCreditClassAllowlist is not mutable")) - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - panic(fmt.Errorf("field enabled of message regen.ecocredit.v1.MsgToggleCreditClassAllowlist is not mutable")) + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": + panic(fmt.Errorf("field authority of message regen.ecocredit.v1.MsgRemoveClassCreator is not mutable")) + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": + panic(fmt.Errorf("field creator of message regen.ecocredit.v1.MsgRemoveClassCreator is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator 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_MsgToggleCreditClassAllowlist) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreator) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.authority": + case "regen.ecocredit.v1.MsgRemoveClassCreator.authority": + return protoreflect.ValueOfString("") + case "regen.ecocredit.v1.MsgRemoveClassCreator.creator": return protoreflect.ValueOfString("") - case "regen.ecocredit.v1.MsgToggleCreditClassAllowlist.enabled": - return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlist")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreator")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlist does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreator 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_MsgToggleCreditClassAllowlist) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgRemoveClassCreator) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgToggleCreditClassAllowlist", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgRemoveClassCreator", d.FullName())) } panic("unreachable") } @@ -20101,7 +20091,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) WhichOneof(d protoreflect // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgToggleCreditClassAllowlist) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgRemoveClassCreator) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20112,7 +20102,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlist) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgRemoveClassCreator) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20124,7 +20114,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) SetUnknown(fields protore // 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_MsgToggleCreditClassAllowlist) IsValid() bool { +func (x *fastReflection_MsgRemoveClassCreator) IsValid() bool { return x != nil } @@ -20134,9 +20124,9 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) 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_MsgToggleCreditClassAllowlist) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgRemoveClassCreator) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlist) + x := input.Message.Interface().(*MsgRemoveClassCreator) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20152,8 +20142,9 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Enabled { - n += 2 + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -20165,7 +20156,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlist) + x := input.Message.Interface().(*MsgRemoveClassCreator) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20184,15 +20175,12 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Enabled { - i-- - if x.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(x.Authority) > 0 { i -= len(x.Authority) @@ -20212,7 +20200,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlist) + x := input.Message.Interface().(*MsgRemoveClassCreator) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20244,10 +20232,10 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgToggleCreditClassAllowlist: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreator: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgToggleCreditClassAllowlist: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20283,10 +20271,10 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac x.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -20296,12 +20284,24 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - x.Enabled = bool(v != 0) + 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.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20338,23 +20338,23 @@ func (x *fastReflection_MsgToggleCreditClassAllowlist) ProtoMethods() *protoifac } var ( - md_MsgToggleCreditClassAllowlistResponse protoreflect.MessageDescriptor + md_MsgRemoveClassCreatorResponse protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_v1_tx_proto_init() - md_MsgToggleCreditClassAllowlistResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgToggleCreditClassAllowlistResponse") + md_MsgRemoveClassCreatorResponse = File_regen_ecocredit_v1_tx_proto.Messages().ByName("MsgRemoveClassCreatorResponse") } -var _ protoreflect.Message = (*fastReflection_MsgToggleCreditClassAllowlistResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgRemoveClassCreatorResponse)(nil) -type fastReflection_MsgToggleCreditClassAllowlistResponse MsgToggleCreditClassAllowlistResponse +type fastReflection_MsgRemoveClassCreatorResponse MsgRemoveClassCreatorResponse -func (x *MsgToggleCreditClassAllowlistResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgToggleCreditClassAllowlistResponse)(x) +func (x *MsgRemoveClassCreatorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgRemoveClassCreatorResponse)(x) } -func (x *MsgToggleCreditClassAllowlistResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgRemoveClassCreatorResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -20366,43 +20366,43 @@ func (x *MsgToggleCreditClassAllowlistResponse) slowProtoReflect() protoreflect. return mi.MessageOf(x) } -var _fastReflection_MsgToggleCreditClassAllowlistResponse_messageType fastReflection_MsgToggleCreditClassAllowlistResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgToggleCreditClassAllowlistResponse_messageType{} +var _fastReflection_MsgRemoveClassCreatorResponse_messageType fastReflection_MsgRemoveClassCreatorResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgRemoveClassCreatorResponse_messageType{} -type fastReflection_MsgToggleCreditClassAllowlistResponse_messageType struct{} +type fastReflection_MsgRemoveClassCreatorResponse_messageType struct{} -func (x fastReflection_MsgToggleCreditClassAllowlistResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgToggleCreditClassAllowlistResponse)(nil) +func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgRemoveClassCreatorResponse)(nil) } -func (x fastReflection_MsgToggleCreditClassAllowlistResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgToggleCreditClassAllowlistResponse) +func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgRemoveClassCreatorResponse) } -func (x fastReflection_MsgToggleCreditClassAllowlistResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgToggleCreditClassAllowlistResponse +func (x fastReflection_MsgRemoveClassCreatorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveClassCreatorResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgToggleCreditClassAllowlistResponse +func (x *fastReflection_MsgRemoveClassCreatorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgRemoveClassCreatorResponse } // 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_MsgToggleCreditClassAllowlistResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgToggleCreditClassAllowlistResponse_messageType +func (x *fastReflection_MsgRemoveClassCreatorResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgRemoveClassCreatorResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) New() protoreflect.Message { - return new(fastReflection_MsgToggleCreditClassAllowlistResponse) +func (x *fastReflection_MsgRemoveClassCreatorResponse) New() protoreflect.Message { + return new(fastReflection_MsgRemoveClassCreatorResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Interface() protoreflect.ProtoMessage { - return (*MsgToggleCreditClassAllowlistResponse)(x) +func (x *fastReflection_MsgRemoveClassCreatorResponse) Interface() protoreflect.ProtoMessage { + return (*MsgRemoveClassCreatorResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -20410,7 +20410,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Interface() proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -20424,13 +20424,13 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Range(f func(prot // 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_MsgToggleCreditClassAllowlistResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -20440,13 +20440,13 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Has(fd protorefle // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -20456,13 +20456,13 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Clear(fd protoref // 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_MsgToggleCreditClassAllowlistResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", descriptor.FullName())) } } @@ -20476,13 +20476,13 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Get(descriptor pr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse does not contain field %s", fd.FullName())) } } @@ -20496,36 +20496,36 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Set(fd protorefle // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreatorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse 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_MsgToggleCreditClassAllowlistResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgRemoveClassCreatorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.v1.MsgRemoveClassCreatorResponse")) } - panic(fmt.Errorf("message regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.v1.MsgRemoveClassCreatorResponse 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_MsgToggleCreditClassAllowlistResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgRemoveClassCreatorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.v1.MsgRemoveClassCreatorResponse", d.FullName())) } panic("unreachable") } @@ -20533,7 +20533,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) WhichOneof(d prot // 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_MsgToggleCreditClassAllowlistResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgRemoveClassCreatorResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20544,7 +20544,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) GetUnknown() prot // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgRemoveClassCreatorResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20556,7 +20556,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) SetUnknown(fields // 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_MsgToggleCreditClassAllowlistResponse) IsValid() bool { +func (x *fastReflection_MsgRemoveClassCreatorResponse) IsValid() bool { return x != nil } @@ -20566,9 +20566,9 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) 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_MsgToggleCreditClassAllowlistResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgRemoveClassCreatorResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlistResponse) + x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20590,7 +20590,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) ProtoMethods() *p } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlistResponse) + x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20620,7 +20620,7 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) ProtoMethods() *p }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgToggleCreditClassAllowlistResponse) + x := input.Message.Interface().(*MsgRemoveClassCreatorResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20652,10 +20652,10 @@ func (x *fastReflection_MsgToggleCreditClassAllowlistResponse) ProtoMethods() *p fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgToggleCreditClassAllowlistResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreatorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgToggleCreditClassAllowlistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgRemoveClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -23202,17 +23202,23 @@ func (x *MsgAddClassCreator) GetCreator() string { return "" } -// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. +// MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request +// type. // // Since Revision 1 -type MsgAddClassCreatorResponse struct { +type MsgSetClassCreatorAllowlist struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // enabled defines the boolean value to set the allowlist on or off. + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (x *MsgAddClassCreatorResponse) Reset() { - *x = MsgAddClassCreatorResponse{} +func (x *MsgSetClassCreatorAllowlist) Reset() { + *x = MsgSetClassCreatorAllowlist{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23220,33 +23226,43 @@ func (x *MsgAddClassCreatorResponse) Reset() { } } -func (x *MsgAddClassCreatorResponse) String() string { +func (x *MsgSetClassCreatorAllowlist) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAddClassCreatorResponse) ProtoMessage() {} +func (*MsgSetClassCreatorAllowlist) ProtoMessage() {} -// Deprecated: Use MsgAddClassCreatorResponse.ProtoReflect.Descriptor instead. -func (*MsgAddClassCreatorResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgSetClassCreatorAllowlist.ProtoReflect.Descriptor instead. +func (*MsgSetClassCreatorAllowlist) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_tx_proto_rawDescGZIP(), []int{33} } -// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. +func (x *MsgSetClassCreatorAllowlist) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgSetClassCreatorAllowlist) GetEnabled() bool { + if x != nil { + return x.Enabled + } + return false +} + +// MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist +// response type. // // Since Revision 1 -type MsgRemoveClassCreator struct { +type MsgSetClassCreatorAllowlistResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - // authority is the address of the governance account. - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // creator is the address to remove from the class creator list. - Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (x *MsgRemoveClassCreator) Reset() { - *x = MsgRemoveClassCreator{} +func (x *MsgSetClassCreatorAllowlistResponse) Reset() { + *x = MsgSetClassCreatorAllowlistResponse{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23254,42 +23270,28 @@ func (x *MsgRemoveClassCreator) Reset() { } } -func (x *MsgRemoveClassCreator) String() string { +func (x *MsgSetClassCreatorAllowlistResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgRemoveClassCreator) ProtoMessage() {} +func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage() {} -// Deprecated: Use MsgRemoveClassCreator.ProtoReflect.Descriptor instead. -func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgSetClassCreatorAllowlistResponse.ProtoReflect.Descriptor instead. +func (*MsgSetClassCreatorAllowlistResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_tx_proto_rawDescGZIP(), []int{34} } -func (x *MsgRemoveClassCreator) GetAuthority() string { - if x != nil { - return x.Authority - } - return "" -} - -func (x *MsgRemoveClassCreator) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} - -// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. +// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. // // Since Revision 1 -type MsgRemoveClassCreatorResponse struct { +type MsgAddClassCreatorResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgRemoveClassCreatorResponse) Reset() { - *x = MsgRemoveClassCreatorResponse{} +func (x *MsgAddClassCreatorResponse) Reset() { + *x = MsgAddClassCreatorResponse{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23297,34 +23299,33 @@ func (x *MsgRemoveClassCreatorResponse) Reset() { } } -func (x *MsgRemoveClassCreatorResponse) String() string { +func (x *MsgAddClassCreatorResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgRemoveClassCreatorResponse) ProtoMessage() {} +func (*MsgAddClassCreatorResponse) ProtoMessage() {} -// Deprecated: Use MsgRemoveClassCreatorResponse.ProtoReflect.Descriptor instead. -func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgAddClassCreatorResponse.ProtoReflect.Descriptor instead. +func (*MsgAddClassCreatorResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_tx_proto_rawDescGZIP(), []int{35} } -// MsgToggleCreditClassAllowlist is the Msg/ToggleCreditClassAllowlist request -// type. +// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. // // Since Revision 1 -type MsgToggleCreditClassAllowlist struct { +type MsgRemoveClassCreator struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // enabled defines the boolean value to set the allowlist on or off. - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + // creator is the address to remove from the class creator list. + Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (x *MsgToggleCreditClassAllowlist) Reset() { - *x = MsgToggleCreditClassAllowlist{} +func (x *MsgRemoveClassCreator) Reset() { + *x = MsgRemoveClassCreator{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23332,43 +23333,42 @@ func (x *MsgToggleCreditClassAllowlist) Reset() { } } -func (x *MsgToggleCreditClassAllowlist) String() string { +func (x *MsgRemoveClassCreator) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgToggleCreditClassAllowlist) ProtoMessage() {} +func (*MsgRemoveClassCreator) ProtoMessage() {} -// Deprecated: Use MsgToggleCreditClassAllowlist.ProtoReflect.Descriptor instead. -func (*MsgToggleCreditClassAllowlist) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgRemoveClassCreator.ProtoReflect.Descriptor instead. +func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_tx_proto_rawDescGZIP(), []int{36} } -func (x *MsgToggleCreditClassAllowlist) GetAuthority() string { +func (x *MsgRemoveClassCreator) GetAuthority() string { if x != nil { return x.Authority } return "" } -func (x *MsgToggleCreditClassAllowlist) GetEnabled() bool { +func (x *MsgRemoveClassCreator) GetCreator() string { if x != nil { - return x.Enabled + return x.Creator } - return false + return "" } -// MsgToggleCreditClassAllowlistResponse is the Msg/ToggleCreditClassAllowlist -// response type. +// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. // // Since Revision 1 -type MsgToggleCreditClassAllowlistResponse struct { +type MsgRemoveClassCreatorResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgToggleCreditClassAllowlistResponse) Reset() { - *x = MsgToggleCreditClassAllowlistResponse{} +func (x *MsgRemoveClassCreatorResponse) Reset() { + *x = MsgRemoveClassCreatorResponse{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_v1_tx_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23376,14 +23376,14 @@ func (x *MsgToggleCreditClassAllowlistResponse) Reset() { } } -func (x *MsgToggleCreditClassAllowlistResponse) String() string { +func (x *MsgRemoveClassCreatorResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgToggleCreditClassAllowlistResponse) ProtoMessage() {} +func (*MsgRemoveClassCreatorResponse) ProtoMessage() {} -// Deprecated: Use MsgToggleCreditClassAllowlistResponse.ProtoReflect.Descriptor instead. -func (*MsgToggleCreditClassAllowlistResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgRemoveClassCreatorResponse.ProtoReflect.Descriptor instead. +func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_v1_tx_proto_rawDescGZIP(), []int{37} } @@ -23935,181 +23935,181 @@ var file_regen_ecocredit_v1_tx_proto_rawDesc = []byte{ 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, + 0x69, 0x74, 0x79, 0x22, 0x65, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, + 0x73, 0x74, 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, + 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x25, 0x0a, 0x23, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x5f, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 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, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x5f, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 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, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, - 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, - 0x6c, 0x69, 0x73, 0x74, 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, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x0e, 0x82, 0xe7, - 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x27, 0x0a, 0x25, - 0x4d, 0x73, 0x67, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 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, 0x12, 0x5f, 0x0a, 0x04, 0x66, 0x65, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, - 0x6f, 0x69, 0x6e, 0x42, 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, - 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x94, 0x10, 0x0a, 0x03, 0x4d, 0x73, - 0x67, 0x12, 0x5d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x12, 0x22, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 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, 0x12, 0x5f, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, + 0x30, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, + 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8e, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x5d, 0x0a, + 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x22, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x63, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x12, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, - 0x61, 0x74, 0x63, 0x68, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0d, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5d, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, + 0x12, 0x22, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, + 0x61, 0x74, 0x63, 0x68, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x4d, 0x69, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x73, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x57, 0x0a, 0x09, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, - 0x20, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x1a, 0x28, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, - 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x04, 0x53, - 0x65, 0x6e, 0x64, 0x12, 0x1b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6e, 0x64, - 0x1a, 0x23, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, - 0x1d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x1a, 0x25, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, - 0x1d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x1a, 0x25, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x64, 0x6d, - 0x69, 0x6e, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, - 0x75, 0x65, 0x72, 0x73, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, + 0x61, 0x74, 0x65, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6c, 0x0a, 0x10, 0x4d, 0x69, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, + 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x1a, 0x2f, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x4d, 0x69, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, + 0x0a, 0x09, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x1a, 0x28, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x61, 0x6c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x04, 0x53, 0x65, 0x6e, 0x64, 0x12, + 0x1b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x1a, 0x23, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x1a, 0x25, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x1d, 0x2e, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x1a, 0x25, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x32, 0x2e, 0x72, 0x65, 0x67, + 0x73, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x72, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, + 0x73, 0x75, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, + 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x49, 0x73, 0x73, 0x75, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, - 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x1a, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x2e, 0x72, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x12, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, + 0x12, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4e, 0x0a, 0x06, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x1a, 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x63, 0x0a, 0x0d, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x12, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, - 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x43, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, - 0x64, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x2c, 0x2e, 0x72, 0x65, - 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0f, 0x41, 0x64, 0x64, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x26, 0x2e, 0x72, + 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, + 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x06, 0x42, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x72, + 0x69, 0x64, 0x67, 0x65, 0x1a, 0x25, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x72, 0x69, + 0x64, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0d, 0x42, + 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x12, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, - 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x1a, 0x54, 0x6f, 0x67, - 0x67, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, - 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x72, 0x69, 0x64, 0x67, + 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x63, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x24, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x54, 0x6f, 0x67, 0x67, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x41, 0x64, 0x64, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x74, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, 0x69, + 0x73, 0x74, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x6c, + 0x69, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x6c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0f, + 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x26, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x41, 0x64, 0x64, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x29, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, - 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x42, 0xd5, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x52, 0x45, 0x58, 0xaa, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x52, 0x65, - 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, - 0xe2, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x14, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0f, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x12, 0x26, + 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xd5, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2d, 0x6c, 0x65, 0x64, + 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x58, 0xaa, 0x02, 0x12, 0x52, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x12, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, + 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -24126,55 +24126,55 @@ func file_regen_ecocredit_v1_tx_proto_rawDescGZIP() []byte { var file_regen_ecocredit_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 43) var file_regen_ecocredit_v1_tx_proto_goTypes = []interface{}{ - (*MsgAddCreditType)(nil), // 0: regen.ecocredit.v1.MsgAddCreditType - (*MsgAddCreditTypeResponse)(nil), // 1: regen.ecocredit.v1.MsgAddCreditTypeResponse - (*MsgCreateClass)(nil), // 2: regen.ecocredit.v1.MsgCreateClass - (*MsgCreateClassResponse)(nil), // 3: regen.ecocredit.v1.MsgCreateClassResponse - (*MsgCreateProject)(nil), // 4: regen.ecocredit.v1.MsgCreateProject - (*MsgCreateProjectResponse)(nil), // 5: regen.ecocredit.v1.MsgCreateProjectResponse - (*MsgCreateBatch)(nil), // 6: regen.ecocredit.v1.MsgCreateBatch - (*MsgCreateBatchResponse)(nil), // 7: regen.ecocredit.v1.MsgCreateBatchResponse - (*MsgMintBatchCredits)(nil), // 8: regen.ecocredit.v1.MsgMintBatchCredits - (*MsgMintBatchCreditsResponse)(nil), // 9: regen.ecocredit.v1.MsgMintBatchCreditsResponse - (*MsgSealBatch)(nil), // 10: regen.ecocredit.v1.MsgSealBatch - (*MsgSealBatchResponse)(nil), // 11: regen.ecocredit.v1.MsgSealBatchResponse - (*MsgSend)(nil), // 12: regen.ecocredit.v1.MsgSend - (*MsgSendResponse)(nil), // 13: regen.ecocredit.v1.MsgSendResponse - (*MsgRetire)(nil), // 14: regen.ecocredit.v1.MsgRetire - (*MsgRetireResponse)(nil), // 15: regen.ecocredit.v1.MsgRetireResponse - (*MsgCancel)(nil), // 16: regen.ecocredit.v1.MsgCancel - (*MsgCancelResponse)(nil), // 17: regen.ecocredit.v1.MsgCancelResponse - (*MsgUpdateClassAdmin)(nil), // 18: regen.ecocredit.v1.MsgUpdateClassAdmin - (*MsgUpdateClassAdminResponse)(nil), // 19: regen.ecocredit.v1.MsgUpdateClassAdminResponse - (*MsgUpdateClassIssuers)(nil), // 20: regen.ecocredit.v1.MsgUpdateClassIssuers - (*MsgUpdateClassIssuersResponse)(nil), // 21: regen.ecocredit.v1.MsgUpdateClassIssuersResponse - (*MsgUpdateClassMetadata)(nil), // 22: regen.ecocredit.v1.MsgUpdateClassMetadata - (*MsgUpdateClassMetadataResponse)(nil), // 23: regen.ecocredit.v1.MsgUpdateClassMetadataResponse - (*MsgUpdateProjectAdmin)(nil), // 24: regen.ecocredit.v1.MsgUpdateProjectAdmin - (*MsgUpdateProjectAdminResponse)(nil), // 25: regen.ecocredit.v1.MsgUpdateProjectAdminResponse - (*MsgUpdateProjectMetadata)(nil), // 26: regen.ecocredit.v1.MsgUpdateProjectMetadata - (*MsgUpdateProjectMetadataResponse)(nil), // 27: regen.ecocredit.v1.MsgUpdateProjectMetadataResponse - (*MsgBridge)(nil), // 28: regen.ecocredit.v1.MsgBridge - (*MsgBridgeResponse)(nil), // 29: regen.ecocredit.v1.MsgBridgeResponse - (*MsgBridgeReceive)(nil), // 30: regen.ecocredit.v1.MsgBridgeReceive - (*MsgBridgeReceiveResponse)(nil), // 31: regen.ecocredit.v1.MsgBridgeReceiveResponse - (*MsgAddClassCreator)(nil), // 32: regen.ecocredit.v1.MsgAddClassCreator - (*MsgAddClassCreatorResponse)(nil), // 33: regen.ecocredit.v1.MsgAddClassCreatorResponse - (*MsgRemoveClassCreator)(nil), // 34: regen.ecocredit.v1.MsgRemoveClassCreator - (*MsgRemoveClassCreatorResponse)(nil), // 35: regen.ecocredit.v1.MsgRemoveClassCreatorResponse - (*MsgToggleCreditClassAllowlist)(nil), // 36: regen.ecocredit.v1.MsgToggleCreditClassAllowlist - (*MsgToggleCreditClassAllowlistResponse)(nil), // 37: regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse - (*MsgUpdateClassFees)(nil), // 38: regen.ecocredit.v1.MsgUpdateClassFees - (*MsgUpdateClassFeesResponse)(nil), // 39: regen.ecocredit.v1.MsgUpdateClassFeesResponse - (*MsgSend_SendCredits)(nil), // 40: regen.ecocredit.v1.MsgSend.SendCredits - (*MsgBridgeReceive_Batch)(nil), // 41: regen.ecocredit.v1.MsgBridgeReceive.Batch - (*MsgBridgeReceive_Project)(nil), // 42: regen.ecocredit.v1.MsgBridgeReceive.Project - (*CreditType)(nil), // 43: regen.ecocredit.v1.CreditType - (*v1beta1.Coin)(nil), // 44: cosmos.base.v1beta1.Coin - (*BatchIssuance)(nil), // 45: regen.ecocredit.v1.BatchIssuance - (*timestamppb.Timestamp)(nil), // 46: google.protobuf.Timestamp - (*OriginTx)(nil), // 47: regen.ecocredit.v1.OriginTx - (*Credits)(nil), // 48: regen.ecocredit.v1.Credits + (*MsgAddCreditType)(nil), // 0: regen.ecocredit.v1.MsgAddCreditType + (*MsgAddCreditTypeResponse)(nil), // 1: regen.ecocredit.v1.MsgAddCreditTypeResponse + (*MsgCreateClass)(nil), // 2: regen.ecocredit.v1.MsgCreateClass + (*MsgCreateClassResponse)(nil), // 3: regen.ecocredit.v1.MsgCreateClassResponse + (*MsgCreateProject)(nil), // 4: regen.ecocredit.v1.MsgCreateProject + (*MsgCreateProjectResponse)(nil), // 5: regen.ecocredit.v1.MsgCreateProjectResponse + (*MsgCreateBatch)(nil), // 6: regen.ecocredit.v1.MsgCreateBatch + (*MsgCreateBatchResponse)(nil), // 7: regen.ecocredit.v1.MsgCreateBatchResponse + (*MsgMintBatchCredits)(nil), // 8: regen.ecocredit.v1.MsgMintBatchCredits + (*MsgMintBatchCreditsResponse)(nil), // 9: regen.ecocredit.v1.MsgMintBatchCreditsResponse + (*MsgSealBatch)(nil), // 10: regen.ecocredit.v1.MsgSealBatch + (*MsgSealBatchResponse)(nil), // 11: regen.ecocredit.v1.MsgSealBatchResponse + (*MsgSend)(nil), // 12: regen.ecocredit.v1.MsgSend + (*MsgSendResponse)(nil), // 13: regen.ecocredit.v1.MsgSendResponse + (*MsgRetire)(nil), // 14: regen.ecocredit.v1.MsgRetire + (*MsgRetireResponse)(nil), // 15: regen.ecocredit.v1.MsgRetireResponse + (*MsgCancel)(nil), // 16: regen.ecocredit.v1.MsgCancel + (*MsgCancelResponse)(nil), // 17: regen.ecocredit.v1.MsgCancelResponse + (*MsgUpdateClassAdmin)(nil), // 18: regen.ecocredit.v1.MsgUpdateClassAdmin + (*MsgUpdateClassAdminResponse)(nil), // 19: regen.ecocredit.v1.MsgUpdateClassAdminResponse + (*MsgUpdateClassIssuers)(nil), // 20: regen.ecocredit.v1.MsgUpdateClassIssuers + (*MsgUpdateClassIssuersResponse)(nil), // 21: regen.ecocredit.v1.MsgUpdateClassIssuersResponse + (*MsgUpdateClassMetadata)(nil), // 22: regen.ecocredit.v1.MsgUpdateClassMetadata + (*MsgUpdateClassMetadataResponse)(nil), // 23: regen.ecocredit.v1.MsgUpdateClassMetadataResponse + (*MsgUpdateProjectAdmin)(nil), // 24: regen.ecocredit.v1.MsgUpdateProjectAdmin + (*MsgUpdateProjectAdminResponse)(nil), // 25: regen.ecocredit.v1.MsgUpdateProjectAdminResponse + (*MsgUpdateProjectMetadata)(nil), // 26: regen.ecocredit.v1.MsgUpdateProjectMetadata + (*MsgUpdateProjectMetadataResponse)(nil), // 27: regen.ecocredit.v1.MsgUpdateProjectMetadataResponse + (*MsgBridge)(nil), // 28: regen.ecocredit.v1.MsgBridge + (*MsgBridgeResponse)(nil), // 29: regen.ecocredit.v1.MsgBridgeResponse + (*MsgBridgeReceive)(nil), // 30: regen.ecocredit.v1.MsgBridgeReceive + (*MsgBridgeReceiveResponse)(nil), // 31: regen.ecocredit.v1.MsgBridgeReceiveResponse + (*MsgAddClassCreator)(nil), // 32: regen.ecocredit.v1.MsgAddClassCreator + (*MsgSetClassCreatorAllowlist)(nil), // 33: regen.ecocredit.v1.MsgSetClassCreatorAllowlist + (*MsgSetClassCreatorAllowlistResponse)(nil), // 34: regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse + (*MsgAddClassCreatorResponse)(nil), // 35: regen.ecocredit.v1.MsgAddClassCreatorResponse + (*MsgRemoveClassCreator)(nil), // 36: regen.ecocredit.v1.MsgRemoveClassCreator + (*MsgRemoveClassCreatorResponse)(nil), // 37: regen.ecocredit.v1.MsgRemoveClassCreatorResponse + (*MsgUpdateClassFees)(nil), // 38: regen.ecocredit.v1.MsgUpdateClassFees + (*MsgUpdateClassFeesResponse)(nil), // 39: regen.ecocredit.v1.MsgUpdateClassFeesResponse + (*MsgSend_SendCredits)(nil), // 40: regen.ecocredit.v1.MsgSend.SendCredits + (*MsgBridgeReceive_Batch)(nil), // 41: regen.ecocredit.v1.MsgBridgeReceive.Batch + (*MsgBridgeReceive_Project)(nil), // 42: regen.ecocredit.v1.MsgBridgeReceive.Project + (*CreditType)(nil), // 43: regen.ecocredit.v1.CreditType + (*v1beta1.Coin)(nil), // 44: cosmos.base.v1beta1.Coin + (*BatchIssuance)(nil), // 45: regen.ecocredit.v1.BatchIssuance + (*timestamppb.Timestamp)(nil), // 46: google.protobuf.Timestamp + (*OriginTx)(nil), // 47: regen.ecocredit.v1.OriginTx + (*Credits)(nil), // 48: regen.ecocredit.v1.Credits } var file_regen_ecocredit_v1_tx_proto_depIdxs = []int32{ 43, // 0: regen.ecocredit.v1.MsgAddCreditType.credit_type:type_name -> regen.ecocredit.v1.CreditType @@ -24211,9 +24211,9 @@ var file_regen_ecocredit_v1_tx_proto_depIdxs = []int32{ 28, // 31: regen.ecocredit.v1.Msg.Bridge:input_type -> regen.ecocredit.v1.MsgBridge 30, // 32: regen.ecocredit.v1.Msg.BridgeReceive:input_type -> regen.ecocredit.v1.MsgBridgeReceive 0, // 33: regen.ecocredit.v1.Msg.AddCreditType:input_type -> regen.ecocredit.v1.MsgAddCreditType - 32, // 34: regen.ecocredit.v1.Msg.AddClassCreator:input_type -> regen.ecocredit.v1.MsgAddClassCreator - 34, // 35: regen.ecocredit.v1.Msg.RemoveClassCreator:input_type -> regen.ecocredit.v1.MsgRemoveClassCreator - 36, // 36: regen.ecocredit.v1.Msg.ToggleCreditClassAllowlist:input_type -> regen.ecocredit.v1.MsgToggleCreditClassAllowlist + 33, // 34: regen.ecocredit.v1.Msg.SetClassCreatorAllowlist:input_type -> regen.ecocredit.v1.MsgSetClassCreatorAllowlist + 32, // 35: regen.ecocredit.v1.Msg.AddClassCreator:input_type -> regen.ecocredit.v1.MsgAddClassCreator + 36, // 36: regen.ecocredit.v1.Msg.RemoveClassCreator:input_type -> regen.ecocredit.v1.MsgRemoveClassCreator 38, // 37: regen.ecocredit.v1.Msg.UpdateClassFees:input_type -> regen.ecocredit.v1.MsgUpdateClassFees 3, // 38: regen.ecocredit.v1.Msg.CreateClass:output_type -> regen.ecocredit.v1.MsgCreateClassResponse 5, // 39: regen.ecocredit.v1.Msg.CreateProject:output_type -> regen.ecocredit.v1.MsgCreateProjectResponse @@ -24231,9 +24231,9 @@ var file_regen_ecocredit_v1_tx_proto_depIdxs = []int32{ 29, // 51: regen.ecocredit.v1.Msg.Bridge:output_type -> regen.ecocredit.v1.MsgBridgeResponse 31, // 52: regen.ecocredit.v1.Msg.BridgeReceive:output_type -> regen.ecocredit.v1.MsgBridgeReceiveResponse 1, // 53: regen.ecocredit.v1.Msg.AddCreditType:output_type -> regen.ecocredit.v1.MsgAddCreditTypeResponse - 33, // 54: regen.ecocredit.v1.Msg.AddClassCreator:output_type -> regen.ecocredit.v1.MsgAddClassCreatorResponse - 35, // 55: regen.ecocredit.v1.Msg.RemoveClassCreator:output_type -> regen.ecocredit.v1.MsgRemoveClassCreatorResponse - 37, // 56: regen.ecocredit.v1.Msg.ToggleCreditClassAllowlist:output_type -> regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse + 34, // 54: regen.ecocredit.v1.Msg.SetClassCreatorAllowlist:output_type -> regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse + 35, // 55: regen.ecocredit.v1.Msg.AddClassCreator:output_type -> regen.ecocredit.v1.MsgAddClassCreatorResponse + 37, // 56: regen.ecocredit.v1.Msg.RemoveClassCreator:output_type -> regen.ecocredit.v1.MsgRemoveClassCreatorResponse 39, // 57: regen.ecocredit.v1.Msg.UpdateClassFees:output_type -> regen.ecocredit.v1.MsgUpdateClassFeesResponse 38, // [38:58] is the sub-list for method output_type 18, // [18:38] is the sub-list for method input_type @@ -24647,7 +24647,7 @@ func file_regen_ecocredit_v1_tx_proto_init() { } } file_regen_ecocredit_v1_tx_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgAddClassCreatorResponse); i { + switch v := v.(*MsgSetClassCreatorAllowlist); i { case 0: return &v.state case 1: @@ -24659,7 +24659,7 @@ func file_regen_ecocredit_v1_tx_proto_init() { } } file_regen_ecocredit_v1_tx_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveClassCreator); i { + switch v := v.(*MsgSetClassCreatorAllowlistResponse); i { case 0: return &v.state case 1: @@ -24671,7 +24671,7 @@ func file_regen_ecocredit_v1_tx_proto_init() { } } file_regen_ecocredit_v1_tx_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgRemoveClassCreatorResponse); i { + switch v := v.(*MsgAddClassCreatorResponse); i { case 0: return &v.state case 1: @@ -24683,7 +24683,7 @@ func file_regen_ecocredit_v1_tx_proto_init() { } } file_regen_ecocredit_v1_tx_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgToggleCreditClassAllowlist); i { + switch v := v.(*MsgRemoveClassCreator); i { case 0: return &v.state case 1: @@ -24695,7 +24695,7 @@ func file_regen_ecocredit_v1_tx_proto_init() { } } file_regen_ecocredit_v1_tx_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgToggleCreditClassAllowlistResponse); i { + switch v := v.(*MsgRemoveClassCreatorResponse); i { case 0: return &v.state case 1: diff --git a/api/regen/ecocredit/v1/tx_grpc.pb.go b/api/regen/ecocredit/v1/tx_grpc.pb.go index 591d0df6e9..f61f06722a 100644 --- a/api/regen/ecocredit/v1/tx_grpc.pb.go +++ b/api/regen/ecocredit/v1/tx_grpc.pb.go @@ -106,6 +106,13 @@ type MsgClient interface { // // Since Revision 1 AddCreditType(ctx context.Context, in *MsgAddCreditType, opts ...grpc.CallOption) (*MsgAddCreditTypeResponse, error) + // SetClassCreatorAllowlist is a governance method that updates the class + // creator allowlist enabled setting. When enabled, only addresses listed in + // the allowlist can create credit classes. When disabled, any address can + // create credit classes. + // + // Since Revision 1 + SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of new // address to the class creation allowlist. // @@ -116,13 +123,6 @@ type MsgClient interface { // // Since Revision 1 RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) - // ToggleCreditClassAllowlist is a governance method that toggles the network - // allowlist to on or off. when on, the class creator allowlist is used to - // enforce which addresses may create classes. when off, any address may - // create classes. - // - // Since Revision 1 - ToggleCreditClassAllowlist(ctx context.Context, in *MsgToggleCreditClassAllowlist, opts ...grpc.CallOption) (*MsgToggleCreditClassAllowlistResponse, error) // UpdateClassFees is a governance method that allows for the addition and // removal of fees to be used for the class creation fee. // @@ -282,27 +282,27 @@ func (c *msgClient) AddCreditType(ctx context.Context, in *MsgAddCreditType, opt return out, nil } -func (c *msgClient) AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error) { - out := new(MsgAddClassCreatorResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/AddClassCreator", in, out, opts...) +func (c *msgClient) SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error) { + out := new(MsgSetClassCreatorAllowlistResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/SetClassCreatorAllowlist", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) { - out := new(MsgRemoveClassCreatorResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/RemoveClassCreator", in, out, opts...) +func (c *msgClient) AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error) { + out := new(MsgAddClassCreatorResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/AddClassCreator", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) ToggleCreditClassAllowlist(ctx context.Context, in *MsgToggleCreditClassAllowlist, opts ...grpc.CallOption) (*MsgToggleCreditClassAllowlistResponse, error) { - out := new(MsgToggleCreditClassAllowlistResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/ToggleCreditClassAllowlist", in, out, opts...) +func (c *msgClient) RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) { + out := new(MsgRemoveClassCreatorResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/RemoveClassCreator", in, out, opts...) if err != nil { return nil, err } @@ -406,6 +406,13 @@ type MsgServer interface { // // Since Revision 1 AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error) + // SetClassCreatorAllowlist is a governance method that updates the class + // creator allowlist enabled setting. When enabled, only addresses listed in + // the allowlist can create credit classes. When disabled, any address can + // create credit classes. + // + // Since Revision 1 + SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of new // address to the class creation allowlist. // @@ -416,13 +423,6 @@ type MsgServer interface { // // Since Revision 1 RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error) - // ToggleCreditClassAllowlist is a governance method that toggles the network - // allowlist to on or off. when on, the class creator allowlist is used to - // enforce which addresses may create classes. when off, any address may - // create classes. - // - // Since Revision 1 - ToggleCreditClassAllowlist(context.Context, *MsgToggleCreditClassAllowlist) (*MsgToggleCreditClassAllowlistResponse, error) // UpdateClassFees is a governance method that allows for the addition and // removal of fees to be used for the class creation fee. // @@ -483,15 +483,15 @@ func (UnimplementedMsgServer) BridgeReceive(context.Context, *MsgBridgeReceive) func (UnimplementedMsgServer) AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddCreditType not implemented") } +func (UnimplementedMsgServer) SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetClassCreatorAllowlist not implemented") +} func (UnimplementedMsgServer) AddClassCreator(context.Context, *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddClassCreator not implemented") } func (UnimplementedMsgServer) RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveClassCreator not implemented") } -func (UnimplementedMsgServer) ToggleCreditClassAllowlist(context.Context, *MsgToggleCreditClassAllowlist) (*MsgToggleCreditClassAllowlistResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ToggleCreditClassAllowlist not implemented") -} func (UnimplementedMsgServer) UpdateClassFees(context.Context, *MsgUpdateClassFees) (*MsgUpdateClassFeesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateClassFees not implemented") } @@ -796,56 +796,56 @@ func _Msg_AddCreditType_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -func _Msg_AddClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddClassCreator) +func _Msg_SetClassCreatorAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetClassCreatorAllowlist) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).AddClassCreator(ctx, in) + return srv.(MsgServer).SetClassCreatorAllowlist(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/AddClassCreator", + FullMethod: "/regen.ecocredit.v1.Msg/SetClassCreatorAllowlist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddClassCreator(ctx, req.(*MsgAddClassCreator)) + return srv.(MsgServer).SetClassCreatorAllowlist(ctx, req.(*MsgSetClassCreatorAllowlist)) } return interceptor(ctx, in, info, handler) } -func _Msg_RemoveClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgRemoveClassCreator) +func _Msg_AddClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddClassCreator) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).RemoveClassCreator(ctx, in) + return srv.(MsgServer).AddClassCreator(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/RemoveClassCreator", + FullMethod: "/regen.ecocredit.v1.Msg/AddClassCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).RemoveClassCreator(ctx, req.(*MsgRemoveClassCreator)) + return srv.(MsgServer).AddClassCreator(ctx, req.(*MsgAddClassCreator)) } return interceptor(ctx, in, info, handler) } -func _Msg_ToggleCreditClassAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgToggleCreditClassAllowlist) +func _Msg_RemoveClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRemoveClassCreator) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).ToggleCreditClassAllowlist(ctx, in) + return srv.(MsgServer).RemoveClassCreator(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/ToggleCreditClassAllowlist", + FullMethod: "/regen.ecocredit.v1.Msg/RemoveClassCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ToggleCreditClassAllowlist(ctx, req.(*MsgToggleCreditClassAllowlist)) + return srv.(MsgServer).RemoveClassCreator(ctx, req.(*MsgRemoveClassCreator)) } return interceptor(ctx, in, info, handler) } @@ -939,6 +939,10 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "AddCreditType", Handler: _Msg_AddCreditType_Handler, }, + { + MethodName: "SetClassCreatorAllowlist", + Handler: _Msg_SetClassCreatorAllowlist_Handler, + }, { MethodName: "AddClassCreator", Handler: _Msg_AddClassCreator_Handler, @@ -947,10 +951,6 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "RemoveClassCreator", Handler: _Msg_RemoveClassCreator_Handler, }, - { - MethodName: "ToggleCreditClassAllowlist", - Handler: _Msg_ToggleCreditClassAllowlist_Handler, - }, { MethodName: "UpdateClassFees", Handler: _Msg_UpdateClassFees_Handler, diff --git a/proto/regen/ecocredit/v1/query.proto b/proto/regen/ecocredit/v1/query.proto index b610bb24ee..1ed2c640de 100644 --- a/proto/regen/ecocredit/v1/query.proto +++ b/proto/regen/ecocredit/v1/query.proto @@ -226,6 +226,16 @@ service Query { }; } + // ClassCreatorAllowlist queries the credit class creator allowlist + // enabled setting. + // + // Since Revision 1 + rpc ClassCreatorAllowlist(QueryClassCreatorAllowlistRequest) + returns (QueryClassCreatorAllowlistResponse) { + option (google.api.http).get = + "/regen/ecocredit/v1/class-creator-allowlist"; + } + // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 1 @@ -241,16 +251,6 @@ service Query { returns (QueryCreditClassFeesResponse) { option (google.api.http).get = "/regen/ecocredit/v1/credit-class-fees"; } - - // CreditClassAllowlistEnabled queries the credit class creator allowlist - // flag. - // - // Since Revision 1 - rpc CreditClassAllowlistEnabled(QueryCreditClassAllowlistEnabledRequest) - returns (QueryCreditClassAllowlistEnabledResponse) { - option (google.api.http).get = - "/regen/ecocredit/v1/credit-class-allowlist-enabled"; - } } // QueryClassesRequest is the Query/Classes request type. @@ -768,6 +768,23 @@ message BatchBalanceInfo { string escrowed_amount = 5; } +// QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request +// type. +// +// Since Revision 1 +message QueryClassCreatorAllowlistRequest {} + +// QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist +// response type. +// +// Since Revision 1 +message QueryClassCreatorAllowlistResponse { + + // enabled determines whether or not the allowlist for creating credit classes + // is enabled. + bool enabled = 1; +} + // QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request // type. // @@ -807,20 +824,3 @@ message QueryCreditClassFeesResponse { (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" ]; } - -// QueryCreditClassAllowlistEnabledRequest is the -// Query/CreditClassAllowlistEnabled request type. -// -// Since Revision 1 -message QueryCreditClassAllowlistEnabledRequest {} - -// QueryCreditClassAllowlistEnabledResponse is the -// Query/CreditClassAllowlistEnabled response type. -// -// Since Revision 1 -message QueryCreditClassAllowlistEnabledResponse { - - // allowlist_enabled determines whether or not the allowlist for creating - // credit classes is enabled. - bool allowlist_enabled = 1; -} diff --git a/proto/regen/ecocredit/v1/state.proto b/proto/regen/ecocredit/v1/state.proto index 488a9eaa3a..af5b28c5cf 100644 --- a/proto/regen/ecocredit/v1/state.proto +++ b/proto/regen/ecocredit/v1/state.proto @@ -323,13 +323,28 @@ message BatchContract { string contract = 3; } +// ClassCreatorAllowlist determines if the credit class creator allowlist is +// enabled. When set to true, only the addresses in the AllowedClassCreator +// table may create credit classes. When set to false, any address may create +// credit classes. This table is controlled via governance. +// +// Since Revision 1 +message ClassCreatorAllowlist { + option (cosmos.orm.v1alpha1.singleton) = { + id : 13 + }; + + // enabled is whether or not the allow list is enabled. + bool enabled = 1; +} + // AllowedClassCreator is an allowed credit class creator. This table is // controlled via governance. // // Since Revision 1 message AllowedClassCreator { option (cosmos.orm.v1alpha1.table) = { - id : 13, + id : 14, primary_key : {fields : "address"} }; @@ -337,21 +352,6 @@ message AllowedClassCreator { bytes address = 1; } -// AllowListEnabled determines if the credit class creator allowlist is enabled. -// When set to true, only the addresses in the AllowedClassCreator table can -// create credit classes. When set to false, any address is free to create -// credit classes. This table is controlled via governance. -// -// Since Revision 1 -message AllowListEnabled { - option (cosmos.orm.v1alpha1.singleton) = { - id : 14 - }; - - // enabled is whether or not the allow list is enabled. - bool enabled = 1; -} - // ClassFees is a list of coins that may be used as the fee for credit class // creation. This table is controlled via governance. // diff --git a/proto/regen/ecocredit/v1/tx.proto b/proto/regen/ecocredit/v1/tx.proto index 9b8d574f94..3b2e2cf490 100644 --- a/proto/regen/ecocredit/v1/tx.proto +++ b/proto/regen/ecocredit/v1/tx.proto @@ -120,6 +120,15 @@ service Msg { // Since Revision 1 rpc AddCreditType(MsgAddCreditType) returns (MsgAddCreditTypeResponse); + // SetClassCreatorAllowlist is a governance method that updates the class + // creator allowlist enabled setting. When enabled, only addresses listed in + // the allowlist can create credit classes. When disabled, any address can + // create credit classes. + // + // Since Revision 1 + rpc SetClassCreatorAllowlist(MsgSetClassCreatorAllowlist) + returns (MsgSetClassCreatorAllowlistResponse); + // AddClassCreator is a governance method that allows the addition of new // address to the class creation allowlist. // @@ -133,15 +142,6 @@ service Msg { rpc RemoveClassCreator(MsgRemoveClassCreator) returns (MsgRemoveClassCreatorResponse); - // ToggleCreditClassAllowlist is a governance method that toggles the network - // allowlist to on or off. when on, the class creator allowlist is used to - // enforce which addresses may create classes. when off, any address may - // create classes. - // - // Since Revision 1 - rpc ToggleCreditClassAllowlist(MsgToggleCreditClassAllowlist) - returns (MsgToggleCreditClassAllowlistResponse); - // UpdateClassFees is a governance method that allows for the addition and // removal of fees to be used for the class creation fee. // @@ -620,48 +620,48 @@ message MsgAddClassCreator { string creator = 2; } -// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. -// -// Since Revision 1 -message MsgAddClassCreatorResponse {} - -// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. +// MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request +// type. // // Since Revision 1 -message MsgRemoveClassCreator { +message MsgSetClassCreatorAllowlist { option (cosmos.msg.v1.signer) = "authority"; // authority is the address of the governance account. string authority = 1; - // creator is the address to remove from the class creator list. - string creator = 2; + // enabled defines the boolean value to set the allowlist on or off. + bool enabled = 2; } -// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. +// MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist +// response type. // // Since Revision 1 -message MsgRemoveClassCreatorResponse {} +message MsgSetClassCreatorAllowlistResponse {} -// MsgToggleCreditClassAllowlist is the Msg/ToggleCreditClassAllowlist request -// type. +// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. +// +// Since Revision 1 +message MsgAddClassCreatorResponse {} + +// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. // // Since Revision 1 -message MsgToggleCreditClassAllowlist { +message MsgRemoveClassCreator { option (cosmos.msg.v1.signer) = "authority"; // authority is the address of the governance account. string authority = 1; - // enabled defines the boolean value to set the allowlist on or off. - bool enabled = 2; + // creator is the address to remove from the class creator list. + string creator = 2; } -// MsgToggleCreditClassAllowlistResponse is the Msg/ToggleCreditClassAllowlist -// response type. +// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. // // Since Revision 1 -message MsgToggleCreditClassAllowlistResponse {} +message MsgRemoveClassCreatorResponse {} // MsgUpdateClassFees is the Msg/UpdateClassFees request type. // diff --git a/x/ecocredit/base/client/query.go b/x/ecocredit/base/client/query.go index 4173a8c083..43020c0b86 100644 --- a/x/ecocredit/base/client/query.go +++ b/x/ecocredit/base/client/query.go @@ -535,20 +535,20 @@ func QueryCreditClassFeesCmd() *cobra.Command { }) } -// QueryCreditClassAllowlistEnabledCmd returns a query command that retrives the -// class allow-list enable/disable flag. -func QueryCreditClassAllowlistEnabledCmd() *cobra.Command { +// QueryClassCreatorAllowlistCmd returns a query command that retrieves the +// class allowlist enabled setting. +func QueryClassCreatorAllowlistCmd() *cobra.Command { return qflags(&cobra.Command{ - Use: "credit-class-allowlist-enabled", - Short: "Retrieve the credit class allow-list setting", - Long: "Retrieve the credit class allow-list setting", - Example: "regen q ecocredit credit-class-allowlist-enabled", + Use: "class-creator-allowlist", + Short: "Retrieve the class creator allowlist enabled setting", + Long: "Retrieve the class creator allowlist enabled setting", + Example: "regen q ecocredit class-creator-allowlist", RunE: func(cmd *cobra.Command, args []string) error { c, ctx, err := mkQueryClient(cmd) if err != nil { return err } - res, err := c.CreditClassAllowlistEnabled(cmd.Context(), &types.QueryCreditClassAllowlistEnabledRequest{}) + res, err := c.ClassCreatorAllowlist(cmd.Context(), &types.QueryClassCreatorAllowlistRequest{}) return printQueryResponse(ctx, res, err) }, }) diff --git a/x/ecocredit/base/keeper/features/msg_toggle_class_allowlist.feature b/x/ecocredit/base/keeper/features/msg_set_class_creator_allowlist.feature similarity index 78% rename from x/ecocredit/base/keeper/features/msg_toggle_class_allowlist.feature rename to x/ecocredit/base/keeper/features/msg_set_class_creator_allowlist.feature index ba4dcff9c5..105d898354 100644 --- a/x/ecocredit/base/keeper/features/msg_toggle_class_allowlist.feature +++ b/x/ecocredit/base/keeper/features/msg_set_class_creator_allowlist.feature @@ -1,4 +1,4 @@ -Feature: Msg/MsgToggleClassAllowlist +Feature: Msg/SetClassCreatorAllowlist A class allow list can be enabled/disabled: - when the authority is a governance account @@ -7,7 +7,7 @@ Feature: Msg/MsgToggleClassAllowlist Rule: The authority is a governance account Scenario: the authority is a governance account - When alice attempts to toggle class allowlist with properties + When alice attempts to set class creator allowlist with properties """ { "authority": "regen1nzh226hxrsvf4k69sa8v0nfuzx5vgwkczk8j68", @@ -18,7 +18,7 @@ Feature: Msg/MsgToggleClassAllowlist And expect class allowlist flag to be "true" Scenario: the authority is not a governance account - When alice attempts to toggle class allowlist with properties + When alice attempts to set class creator allowlist with properties """ { "authority": "regen1fua8speyxgempgy06gpfs0p4z32zznkqakm57s", @@ -30,7 +30,7 @@ Feature: Msg/MsgToggleClassAllowlist Rule: The class allow list setting is updated Scenario: The class allow list is enabled - When alice attempts to toggle class allowlist with properties + When alice attempts to set class creator allowlist with properties """ { "authority": "regen1nzh226hxrsvf4k69sa8v0nfuzx5vgwkczk8j68", @@ -40,7 +40,7 @@ Feature: Msg/MsgToggleClassAllowlist Then expect class allowlist flag to be "true" Scenario: The class allow list is disabled - When alice attempts to toggle class allowlist with properties + When alice attempts to set class creator allowlist with properties """ { "authority": "regen1nzh226hxrsvf4k69sa8v0nfuzx5vgwkczk8j68", diff --git a/x/ecocredit/base/keeper/msg_create_class.go b/x/ecocredit/base/keeper/msg_create_class.go index 3af0ea0708..169afee3fc 100644 --- a/x/ecocredit/base/keeper/msg_create_class.go +++ b/x/ecocredit/base/keeper/msg_create_class.go @@ -156,7 +156,7 @@ func (k Keeper) CreateClass(goCtx context.Context, req *types.MsgCreateClass) (* } func (k Keeper) assertCanCreateClass(ctx context.Context, adminAddress sdk.AccAddress) error { - allowListEnabled, err := k.stateStore.AllowListEnabledTable().Get(ctx) + allowListEnabled, err := k.stateStore.ClassCreatorAllowlistTable().Get(ctx) if err != nil { return err } diff --git a/x/ecocredit/base/keeper/msg_create_class_test.go b/x/ecocredit/base/keeper/msg_create_class_test.go index a2dc8b29ee..c5a74df1a8 100644 --- a/x/ecocredit/base/keeper/msg_create_class_test.go +++ b/x/ecocredit/base/keeper/msg_create_class_test.go @@ -58,7 +58,7 @@ func (s *createClassSuite) AllowlistEnabled(a string) { allowlistEnabled, err := strconv.ParseBool(a) require.NoError(s.t, err) - err = s.stateStore.AllowListEnabledTable().Save(s.ctx, &api.AllowListEnabled{ + err = s.stateStore.ClassCreatorAllowlistTable().Save(s.ctx, &api.ClassCreatorAllowlist{ Enabled: allowlistEnabled, }) require.NoError(s.t, err) diff --git a/x/ecocredit/base/keeper/msg_toggle_class_allowlist.go b/x/ecocredit/base/keeper/msg_set_class_creator_allowlist.go similarity index 60% rename from x/ecocredit/base/keeper/msg_toggle_class_allowlist.go rename to x/ecocredit/base/keeper/msg_set_class_creator_allowlist.go index eeb8fa06cb..56c7580ea1 100644 --- a/x/ecocredit/base/keeper/msg_toggle_class_allowlist.go +++ b/x/ecocredit/base/keeper/msg_set_class_creator_allowlist.go @@ -9,16 +9,16 @@ import ( types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" ) -func (k Keeper) ToggleCreditClassAllowlist(ctx context.Context, req *types.MsgToggleCreditClassAllowlist) (*types.MsgToggleCreditClassAllowlistResponse, error) { +func (k Keeper) SetClassCreatorAllowlist(ctx context.Context, req *types.MsgSetClassCreatorAllowlist) (*types.MsgSetClassCreatorAllowlistResponse, error) { if k.authority.String() != req.Authority { return nil, govtypes.ErrInvalidSigner.Wrapf("invalid authority: expected %s, got %s", k.authority, req.Authority) } - if err := k.stateStore.AllowListEnabledTable().Save(ctx, &api.AllowListEnabled{ + if err := k.stateStore.ClassCreatorAllowlistTable().Save(ctx, &api.ClassCreatorAllowlist{ Enabled: req.Enabled, }); err != nil { return nil, err } - return &types.MsgToggleCreditClassAllowlistResponse{}, nil + return &types.MsgSetClassCreatorAllowlistResponse{}, nil } diff --git a/x/ecocredit/base/keeper/msg_set_class_creator_allowlist_test.go b/x/ecocredit/base/keeper/msg_set_class_creator_allowlist_test.go new file mode 100644 index 0000000000..c394888213 --- /dev/null +++ b/x/ecocredit/base/keeper/msg_set_class_creator_allowlist_test.go @@ -0,0 +1,56 @@ +package keeper + +import ( + "encoding/json" + "strconv" + "testing" + + "github.com/regen-network/gocuke" + "github.com/stretchr/testify/require" + + types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" +) + +type setClassCreatorAllowlistSuite struct { + *baseSuite + err error +} + +func TestSetClassCreatorAllowlist(t *testing.T) { + gocuke.NewRunner(t, &setClassCreatorAllowlistSuite{}).Path("./features/msg_set_class_creator_allowlist.feature").Run() +} + +func (s *setClassCreatorAllowlistSuite) Before(t gocuke.TestingT) { + s.baseSuite = setupBase(t) +} + +func (s *setClassCreatorAllowlistSuite) AliceAttemptsToSetClassCreatorAllowlistWithProperties(a gocuke.DocString) { + var msg *types.MsgSetClassCreatorAllowlist + + err := json.Unmarshal([]byte(a.Content), &msg) + require.NoError(s.t, err) + + _, s.err = s.k.SetClassCreatorAllowlist(s.ctx, msg) +} + +func (s *setClassCreatorAllowlistSuite) ExpectClassAllowlistFlagToBe(a string) { + isAllowed, err := strconv.ParseBool(a) + require.NoError(s.t, err) + + res, err := s.stateStore.ClassCreatorAllowlistTable().Get(s.ctx) + require.NoError(s.t, err) + + require.Equal(s.t, isAllowed, res.Enabled) +} + +func (s *setClassCreatorAllowlistSuite) ExpectNoError() { + require.NoError(s.t, s.err) +} + +func (s *setClassCreatorAllowlistSuite) ExpectTheError(a string) { + require.EqualError(s.t, s.err, a) +} + +func (s *setClassCreatorAllowlistSuite) ExpectErrorContains(a string) { + require.ErrorContains(s.t, s.err, a) +} diff --git a/x/ecocredit/base/keeper/msg_toggle_class_allowlist_test.go b/x/ecocredit/base/keeper/msg_toggle_class_allowlist_test.go deleted file mode 100644 index bc3c5f1ff2..0000000000 --- a/x/ecocredit/base/keeper/msg_toggle_class_allowlist_test.go +++ /dev/null @@ -1,56 +0,0 @@ -package keeper - -import ( - "encoding/json" - "strconv" - "testing" - - "github.com/regen-network/gocuke" - "github.com/stretchr/testify/require" - - types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" -) - -type toggleClassCreatorAllowlist struct { - *baseSuite - err error -} - -func TestToggleClassCreatorAllowlist(t *testing.T) { - gocuke.NewRunner(t, &toggleClassCreatorAllowlist{}).Path("./features/msg_toggle_class_allowlist.feature").Run() -} - -func (s *toggleClassCreatorAllowlist) Before(t gocuke.TestingT) { - s.baseSuite = setupBase(t) -} - -func (s *toggleClassCreatorAllowlist) AliceAttemptsToToggleClassAllowlistWithProperties(a gocuke.DocString) { - var msg *types.MsgToggleCreditClassAllowlist - - err := json.Unmarshal([]byte(a.Content), &msg) - require.NoError(s.t, err) - - _, s.err = s.k.ToggleCreditClassAllowlist(s.ctx, msg) -} - -func (s *toggleClassCreatorAllowlist) ExpectClassAllowlistFlagToBe(a string) { - isAllowed, err := strconv.ParseBool(a) - require.NoError(s.t, err) - - res, err := s.stateStore.AllowListEnabledTable().Get(s.ctx) - require.NoError(s.t, err) - - require.Equal(s.t, isAllowed, res.Enabled) -} - -func (s *toggleClassCreatorAllowlist) ExpectNoError() { - require.NoError(s.t, s.err) -} - -func (s *toggleClassCreatorAllowlist) ExpectTheError(a string) { - require.EqualError(s.t, s.err, a) -} - -func (s *toggleClassCreatorAllowlist) ExpectErrorContains(a string) { - require.ErrorContains(s.t, s.err, a) -} diff --git a/x/ecocredit/base/keeper/query_allowlist_enabled.go b/x/ecocredit/base/keeper/query_allowlist_enabled.go deleted file mode 100644 index 3b3301e993..0000000000 --- a/x/ecocredit/base/keeper/query_allowlist_enabled.go +++ /dev/null @@ -1,19 +0,0 @@ -package keeper - -import ( - "context" - - types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" -) - -// AlloweClassCreators queries credit class allowlist setting. -func (k Keeper) CreditClassAllowlistEnabled(ctx context.Context, request *types.QueryCreditClassAllowlistEnabledRequest) (*types.QueryCreditClassAllowlistEnabledResponse, error) { - result, err := k.stateStore.AllowListEnabledTable().Get(ctx) - if err != nil { - return nil, err - } - - return &types.QueryCreditClassAllowlistEnabledResponse{ - AllowlistEnabled: result.Enabled, - }, nil -} diff --git a/x/ecocredit/base/keeper/query_allowlist_enabled_test.go b/x/ecocredit/base/keeper/query_allowlist_enabled_test.go deleted file mode 100644 index 96e33cfef6..0000000000 --- a/x/ecocredit/base/keeper/query_allowlist_enabled_test.go +++ /dev/null @@ -1,28 +0,0 @@ -package keeper - -import ( - "testing" - - "gotest.tools/v3/assert" - - api "github.com/regen-network/regen-ledger/api/regen/ecocredit/v1" - types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" -) - -func TestQuery_AllowlistEnabledTest(t *testing.T) { - t.Parallel() - s := setupBase(t) - - res, err := s.k.CreditClassAllowlistEnabled(s.ctx, &types.QueryCreditClassAllowlistEnabledRequest{}) - assert.NilError(t, err) - assert.Equal(t, res.AllowlistEnabled, false) - - err = s.stateStore.AllowListEnabledTable().Save(s.ctx, &api.AllowListEnabled{ - Enabled: true, - }) - assert.NilError(t, err) - - res, err = s.k.CreditClassAllowlistEnabled(s.ctx, &types.QueryCreditClassAllowlistEnabledRequest{}) - assert.NilError(t, err) - assert.Equal(t, res.AllowlistEnabled, true) -} diff --git a/x/ecocredit/base/keeper/query_class_creator_allowlist.go b/x/ecocredit/base/keeper/query_class_creator_allowlist.go new file mode 100644 index 0000000000..c8e24bf1bc --- /dev/null +++ b/x/ecocredit/base/keeper/query_class_creator_allowlist.go @@ -0,0 +1,19 @@ +package keeper + +import ( + "context" + + types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" +) + +// ClassCreatorAllowlist queries credit class allowlist setting. +func (k Keeper) ClassCreatorAllowlist(ctx context.Context, request *types.QueryClassCreatorAllowlistRequest) (*types.QueryClassCreatorAllowlistResponse, error) { + result, err := k.stateStore.ClassCreatorAllowlistTable().Get(ctx) + if err != nil { + return nil, err + } + + return &types.QueryClassCreatorAllowlistResponse{ + Enabled: result.Enabled, + }, nil +} diff --git a/x/ecocredit/base/keeper/query_class_creator_allowlist_test.go b/x/ecocredit/base/keeper/query_class_creator_allowlist_test.go new file mode 100644 index 0000000000..6b7d4c125b --- /dev/null +++ b/x/ecocredit/base/keeper/query_class_creator_allowlist_test.go @@ -0,0 +1,28 @@ +package keeper + +import ( + "testing" + + "gotest.tools/v3/assert" + + api "github.com/regen-network/regen-ledger/api/regen/ecocredit/v1" + types "github.com/regen-network/regen-ledger/x/ecocredit/base/types/v1" +) + +func TestQuery_ClassCreatorAllowlist(t *testing.T) { + t.Parallel() + s := setupBase(t) + + res, err := s.k.ClassCreatorAllowlist(s.ctx, &types.QueryClassCreatorAllowlistRequest{}) + assert.NilError(t, err) + assert.Equal(t, res.Enabled, false) + + err = s.stateStore.ClassCreatorAllowlistTable().Save(s.ctx, &api.ClassCreatorAllowlist{ + Enabled: true, + }) + assert.NilError(t, err) + + res, err = s.k.ClassCreatorAllowlist(s.ctx, &types.QueryClassCreatorAllowlistRequest{}) + assert.NilError(t, err) + assert.Equal(t, res.Enabled, true) +} diff --git a/x/ecocredit/base/keeper/query_params.go b/x/ecocredit/base/keeper/query_params.go index 6c110e6eff..659efec48c 100644 --- a/x/ecocredit/base/keeper/query_params.go +++ b/x/ecocredit/base/keeper/query_params.go @@ -17,7 +17,7 @@ import ( // Use individual param query instead. func (k Keeper) Params(ctx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) { - allowlistEnabled, err := k.stateStore.AllowListEnabledTable().Get(ctx) + allowlistEnabled, err := k.stateStore.ClassCreatorAllowlistTable().Get(ctx) if err != nil { return nil, err } diff --git a/x/ecocredit/base/keeper/query_params_test.go b/x/ecocredit/base/keeper/query_params_test.go index 66a366fc4f..43fcfa2728 100644 --- a/x/ecocredit/base/keeper/query_params_test.go +++ b/x/ecocredit/base/keeper/query_params_test.go @@ -23,7 +23,7 @@ func TestQuery_Params(t *testing.T) { }) assert.NilError(t, err) - err = s.stateStore.AllowListEnabledTable().Save(s.ctx, &api.AllowListEnabled{ + err = s.stateStore.ClassCreatorAllowlistTable().Save(s.ctx, &api.ClassCreatorAllowlist{ Enabled: true, }) assert.NilError(t, err) diff --git a/x/ecocredit/base/types/v1/features/msg_toggle_class_allowlist.feature b/x/ecocredit/base/types/v1/features/msg_set_class_creator_allowlist.feature similarity index 95% rename from x/ecocredit/base/types/v1/features/msg_toggle_class_allowlist.feature rename to x/ecocredit/base/types/v1/features/msg_set_class_creator_allowlist.feature index 0929ec723b..65e5a818e4 100644 --- a/x/ecocredit/base/types/v1/features/msg_toggle_class_allowlist.feature +++ b/x/ecocredit/base/types/v1/features/msg_set_class_creator_allowlist.feature @@ -1,4 +1,4 @@ -Feature: MsgToggleCreditClassAllowlist +Feature: MsgSetClassCreatorAllowlist Scenario: a valid message Given the message diff --git a/x/ecocredit/base/types/v1/msg_toggle_class_allowlist.go b/x/ecocredit/base/types/v1/msg_set_class_creator_allowlist.go similarity index 58% rename from x/ecocredit/base/types/v1/msg_toggle_class_allowlist.go rename to x/ecocredit/base/types/v1/msg_set_class_creator_allowlist.go index 21c80612d8..ca114df91e 100644 --- a/x/ecocredit/base/types/v1/msg_toggle_class_allowlist.go +++ b/x/ecocredit/base/types/v1/msg_set_class_creator_allowlist.go @@ -9,21 +9,21 @@ import ( "github.com/regen-network/regen-ledger/x/ecocredit" ) -var _ legacytx.LegacyMsg = &MsgToggleCreditClassAllowlist{} +var _ legacytx.LegacyMsg = &MsgSetClassCreatorAllowlist{} // Route implements the LegacyMsg interface. -func (m MsgToggleCreditClassAllowlist) Route() string { return sdk.MsgTypeURL(&m) } +func (m MsgSetClassCreatorAllowlist) Route() string { return sdk.MsgTypeURL(&m) } // Type implements the LegacyMsg interface. -func (m MsgToggleCreditClassAllowlist) Type() string { return sdk.MsgTypeURL(&m) } +func (m MsgSetClassCreatorAllowlist) Type() string { return sdk.MsgTypeURL(&m) } // GetSignBytes implements the LegacyMsg interface. -func (m MsgToggleCreditClassAllowlist) GetSignBytes() []byte { +func (m MsgSetClassCreatorAllowlist) GetSignBytes() []byte { return sdk.MustSortJSON(ecocredit.ModuleCdc.MustMarshalJSON(&m)) } // ValidateBasic does a sanity check on the provided data. -func (m *MsgToggleCreditClassAllowlist) ValidateBasic() error { +func (m *MsgSetClassCreatorAllowlist) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { return errors.Wrapf(err, "invalid authority address") } @@ -31,8 +31,8 @@ func (m *MsgToggleCreditClassAllowlist) ValidateBasic() error { return nil } -// GetSigners returns the expected signers for MsgToggleCreditClassAllowlist. -func (m *MsgToggleCreditClassAllowlist) GetSigners() []sdk.AccAddress { +// GetSigners returns the expected signers for MsgSetClassCreatorAllowlist. +func (m *MsgSetClassCreatorAllowlist) GetSigners() []sdk.AccAddress { addr, _ := sdk.AccAddressFromBech32(m.Authority) return []sdk.AccAddress{addr} } diff --git a/x/ecocredit/base/types/v1/msg_set_class_creator_allowlist_test.go b/x/ecocredit/base/types/v1/msg_set_class_creator_allowlist_test.go new file mode 100644 index 0000000000..5dccfe54a8 --- /dev/null +++ b/x/ecocredit/base/types/v1/msg_set_class_creator_allowlist_test.go @@ -0,0 +1,41 @@ +package v1 + +import ( + "testing" + + "github.com/gogo/protobuf/jsonpb" + "github.com/regen-network/gocuke" + "github.com/stretchr/testify/require" +) + +type msgSetClassCreatorAllowlist struct { + t gocuke.TestingT + msg *MsgSetClassCreatorAllowlist + err error +} + +func TestMsgSetClassCreatorAllowlist(t *testing.T) { + gocuke.NewRunner(t, &msgSetClassCreatorAllowlist{}).Path("./features/msg_set_class_creator_allowlist.feature").Run() +} + +func (s *msgSetClassCreatorAllowlist) Before(t gocuke.TestingT) { + s.t = t +} + +func (s *msgSetClassCreatorAllowlist) TheMessage(a gocuke.DocString) { + s.msg = &MsgSetClassCreatorAllowlist{} + err := jsonpb.UnmarshalString(a.Content, s.msg) + require.NoError(s.t, err) +} + +func (s *msgSetClassCreatorAllowlist) TheMessageIsValidated() { + s.err = s.msg.ValidateBasic() +} + +func (s *msgSetClassCreatorAllowlist) ExpectTheError(a string) { + require.EqualError(s.t, s.err, a) +} + +func (s *msgSetClassCreatorAllowlist) ExpectNoError() { + require.NoError(s.t, s.err) +} diff --git a/x/ecocredit/base/types/v1/msg_toggle_class_allowlist_test.go b/x/ecocredit/base/types/v1/msg_toggle_class_allowlist_test.go deleted file mode 100644 index dd2960179c..0000000000 --- a/x/ecocredit/base/types/v1/msg_toggle_class_allowlist_test.go +++ /dev/null @@ -1,41 +0,0 @@ -package v1 - -import ( - "testing" - - "github.com/gogo/protobuf/jsonpb" - "github.com/regen-network/gocuke" - "github.com/stretchr/testify/require" -) - -type msgToggleClassAllowlist struct { - t gocuke.TestingT - msg *MsgToggleCreditClassAllowlist - err error -} - -func TestMsgToggleClassAllowlist(t *testing.T) { - gocuke.NewRunner(t, &msgToggleClassAllowlist{}).Path("./features/msg_toggle_class_allowlist.feature").Run() -} - -func (s *msgToggleClassAllowlist) Before(t gocuke.TestingT) { - s.t = t -} - -func (s *msgToggleClassAllowlist) TheMessage(a gocuke.DocString) { - s.msg = &MsgToggleCreditClassAllowlist{} - err := jsonpb.UnmarshalString(a.Content, s.msg) - require.NoError(s.t, err) -} - -func (s *msgToggleClassAllowlist) TheMessageIsValidated() { - s.err = s.msg.ValidateBasic() -} - -func (s *msgToggleClassAllowlist) ExpectTheError(a string) { - require.EqualError(s.t, s.err, a) -} - -func (s *msgToggleClassAllowlist) ExpectNoError() { - require.NoError(s.t, s.err) -} diff --git a/x/ecocredit/base/types/v1/query.pb.go b/x/ecocredit/base/types/v1/query.pb.go index 4bbb7dbee9..6af1bf7df1 100644 --- a/x/ecocredit/base/types/v1/query.pb.go +++ b/x/ecocredit/base/types/v1/query.pb.go @@ -2744,6 +2744,96 @@ func (m *BatchBalanceInfo) GetEscrowedAmount() string { return "" } +// QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request +// type. +// +// Since Revision 1 +type QueryClassCreatorAllowlistRequest struct { +} + +func (m *QueryClassCreatorAllowlistRequest) Reset() { *m = QueryClassCreatorAllowlistRequest{} } +func (m *QueryClassCreatorAllowlistRequest) String() string { return proto.CompactTextString(m) } +func (*QueryClassCreatorAllowlistRequest) ProtoMessage() {} +func (*QueryClassCreatorAllowlistRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c85efa417eafb74b, []int{49} +} +func (m *QueryClassCreatorAllowlistRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryClassCreatorAllowlistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryClassCreatorAllowlistRequest.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 *QueryClassCreatorAllowlistRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryClassCreatorAllowlistRequest.Merge(m, src) +} +func (m *QueryClassCreatorAllowlistRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryClassCreatorAllowlistRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryClassCreatorAllowlistRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryClassCreatorAllowlistRequest proto.InternalMessageInfo + +// QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist +// response type. +// +// Since Revision 1 +type QueryClassCreatorAllowlistResponse struct { + // enabled determines whether or not the allowlist for creating credit classes + // is enabled. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` +} + +func (m *QueryClassCreatorAllowlistResponse) Reset() { *m = QueryClassCreatorAllowlistResponse{} } +func (m *QueryClassCreatorAllowlistResponse) String() string { return proto.CompactTextString(m) } +func (*QueryClassCreatorAllowlistResponse) ProtoMessage() {} +func (*QueryClassCreatorAllowlistResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_c85efa417eafb74b, []int{50} +} +func (m *QueryClassCreatorAllowlistResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryClassCreatorAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryClassCreatorAllowlistResponse.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 *QueryClassCreatorAllowlistResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryClassCreatorAllowlistResponse.Merge(m, src) +} +func (m *QueryClassCreatorAllowlistResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryClassCreatorAllowlistResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryClassCreatorAllowlistResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryClassCreatorAllowlistResponse proto.InternalMessageInfo + +func (m *QueryClassCreatorAllowlistResponse) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + // QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request // type. // @@ -2757,7 +2847,7 @@ func (m *QueryAllowedClassCreatorsRequest) Reset() { *m = QueryAllowedCl func (m *QueryAllowedClassCreatorsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllowedClassCreatorsRequest) ProtoMessage() {} func (*QueryAllowedClassCreatorsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{49} + return fileDescriptor_c85efa417eafb74b, []int{51} } func (m *QueryAllowedClassCreatorsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2808,7 +2898,7 @@ func (m *QueryAllowedClassCreatorsResponse) Reset() { *m = QueryAllowedC func (m *QueryAllowedClassCreatorsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllowedClassCreatorsResponse) ProtoMessage() {} func (*QueryAllowedClassCreatorsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{50} + return fileDescriptor_c85efa417eafb74b, []int{52} } func (m *QueryAllowedClassCreatorsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2861,7 +2951,7 @@ func (m *QueryCreditClassFeesRequest) Reset() { *m = QueryCreditClassFee func (m *QueryCreditClassFeesRequest) String() string { return proto.CompactTextString(m) } func (*QueryCreditClassFeesRequest) ProtoMessage() {} func (*QueryCreditClassFeesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{51} + return fileDescriptor_c85efa417eafb74b, []int{53} } func (m *QueryCreditClassFeesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2902,7 +2992,7 @@ func (m *QueryCreditClassFeesResponse) Reset() { *m = QueryCreditClassFe func (m *QueryCreditClassFeesResponse) String() string { return proto.CompactTextString(m) } func (*QueryCreditClassFeesResponse) ProtoMessage() {} func (*QueryCreditClassFeesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{52} + return fileDescriptor_c85efa417eafb74b, []int{54} } func (m *QueryCreditClassFeesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2938,100 +3028,6 @@ func (m *QueryCreditClassFeesResponse) GetFees() github_com_cosmos_cosmos_sdk_ty return nil } -// QueryCreditClassAllowlistEnabledRequest is the -// Query/CreditClassAllowlistEnabled request type. -// -// Since Revision 1 -type QueryCreditClassAllowlistEnabledRequest struct { -} - -func (m *QueryCreditClassAllowlistEnabledRequest) Reset() { - *m = QueryCreditClassAllowlistEnabledRequest{} -} -func (m *QueryCreditClassAllowlistEnabledRequest) String() string { return proto.CompactTextString(m) } -func (*QueryCreditClassAllowlistEnabledRequest) ProtoMessage() {} -func (*QueryCreditClassAllowlistEnabledRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{53} -} -func (m *QueryCreditClassAllowlistEnabledRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryCreditClassAllowlistEnabledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryCreditClassAllowlistEnabledRequest.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 *QueryCreditClassAllowlistEnabledRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryCreditClassAllowlistEnabledRequest.Merge(m, src) -} -func (m *QueryCreditClassAllowlistEnabledRequest) XXX_Size() int { - return m.Size() -} -func (m *QueryCreditClassAllowlistEnabledRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryCreditClassAllowlistEnabledRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryCreditClassAllowlistEnabledRequest proto.InternalMessageInfo - -// QueryCreditClassAllowlistEnabledResponse is the -// Query/CreditClassAllowlistEnabled response type. -// -// Since Revision 1 -type QueryCreditClassAllowlistEnabledResponse struct { - // allowlist_enabled determines whether or not the allowlist for creating - // credit classes is enabled. - AllowlistEnabled bool `protobuf:"varint,1,opt,name=allowlist_enabled,json=allowlistEnabled,proto3" json:"allowlist_enabled,omitempty"` -} - -func (m *QueryCreditClassAllowlistEnabledResponse) Reset() { - *m = QueryCreditClassAllowlistEnabledResponse{} -} -func (m *QueryCreditClassAllowlistEnabledResponse) String() string { return proto.CompactTextString(m) } -func (*QueryCreditClassAllowlistEnabledResponse) ProtoMessage() {} -func (*QueryCreditClassAllowlistEnabledResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c85efa417eafb74b, []int{54} -} -func (m *QueryCreditClassAllowlistEnabledResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryCreditClassAllowlistEnabledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryCreditClassAllowlistEnabledResponse.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 *QueryCreditClassAllowlistEnabledResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryCreditClassAllowlistEnabledResponse.Merge(m, src) -} -func (m *QueryCreditClassAllowlistEnabledResponse) XXX_Size() int { - return m.Size() -} -func (m *QueryCreditClassAllowlistEnabledResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryCreditClassAllowlistEnabledResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryCreditClassAllowlistEnabledResponse proto.InternalMessageInfo - -func (m *QueryCreditClassAllowlistEnabledResponse) GetAllowlistEnabled() bool { - if m != nil { - return m.AllowlistEnabled - } - return false -} - func init() { proto.RegisterType((*QueryClassesRequest)(nil), "regen.ecocredit.v1.QueryClassesRequest") proto.RegisterType((*QueryClassesResponse)(nil), "regen.ecocredit.v1.QueryClassesResponse") @@ -3082,174 +3078,173 @@ func init() { proto.RegisterType((*ProjectInfo)(nil), "regen.ecocredit.v1.ProjectInfo") proto.RegisterType((*BatchInfo)(nil), "regen.ecocredit.v1.BatchInfo") proto.RegisterType((*BatchBalanceInfo)(nil), "regen.ecocredit.v1.BatchBalanceInfo") + proto.RegisterType((*QueryClassCreatorAllowlistRequest)(nil), "regen.ecocredit.v1.QueryClassCreatorAllowlistRequest") + proto.RegisterType((*QueryClassCreatorAllowlistResponse)(nil), "regen.ecocredit.v1.QueryClassCreatorAllowlistResponse") proto.RegisterType((*QueryAllowedClassCreatorsRequest)(nil), "regen.ecocredit.v1.QueryAllowedClassCreatorsRequest") proto.RegisterType((*QueryAllowedClassCreatorsResponse)(nil), "regen.ecocredit.v1.QueryAllowedClassCreatorsResponse") proto.RegisterType((*QueryCreditClassFeesRequest)(nil), "regen.ecocredit.v1.QueryCreditClassFeesRequest") proto.RegisterType((*QueryCreditClassFeesResponse)(nil), "regen.ecocredit.v1.QueryCreditClassFeesResponse") - proto.RegisterType((*QueryCreditClassAllowlistEnabledRequest)(nil), "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledRequest") - proto.RegisterType((*QueryCreditClassAllowlistEnabledResponse)(nil), "regen.ecocredit.v1.QueryCreditClassAllowlistEnabledResponse") } func init() { proto.RegisterFile("regen/ecocredit/v1/query.proto", fileDescriptor_c85efa417eafb74b) } var fileDescriptor_c85efa417eafb74b = []byte{ - // 2487 bytes of a gzipped FileDescriptorProto + // 2475 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xdd, 0x6f, 0x1c, 0x57, - 0x15, 0xcf, 0xdd, 0xc4, 0xf6, 0xfa, 0xf8, 0x2b, 0xbd, 0xb8, 0xc5, 0xd9, 0x26, 0x9b, 0x74, 0x9a, - 0xc4, 0x9b, 0x8f, 0xdd, 0x89, 0x9d, 0x04, 0x68, 0x12, 0x08, 0x76, 0x4a, 0xc1, 0xe2, 0x25, 0x5d, - 0xaa, 0x54, 0x18, 0x52, 0x33, 0xbb, 0x73, 0xbd, 0x9d, 0x64, 0x3d, 0xb3, 0x99, 0x19, 0xa7, 0x31, - 0x96, 0x49, 0x41, 0x2a, 0xf0, 0x04, 0x15, 0x45, 0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- 0x1b, 0x4d, 0x8d, 0x9c, 0x3e, 0x0b, 0x65, 0x84, 0x27, 0x23, 0xa8, 0x18, 0xa9, 0x50, 0x6b, 0x78, - 0x91, 0xf4, 0xed, 0x28, 0xd6, 0xc5, 0xa7, 0x97, 0x77, 0x17, 0x54, 0x43, 0xb3, 0xd6, 0x2f, 0xa3, - 0x04, 0x95, 0x02, 0xb2, 0xf7, 0x8c, 0x66, 0xc0, 0xc7, 0x39, 0xd4, 0xa5, 0x6e, 0x37, 0x1d, 0x56, - 0xc3, 0xda, 0xed, 0x7f, 0x41, 0xf0, 0x84, 0x99, 0x98, 0x63, 0xef, 0x99, 0xe2, 0x22, 0xe6, 0x94, - 0x2f, 0x6d, 0xf6, 0x7a, 0xdd, 0xad, 0xc2, 0xa9, 0xe8, 0x75, 0x82, 0x09, 0x44, 0xea, 0x21, 0xb3, - 0x79, 0x98, 0xf1, 0x5d, 0xc3, 0x34, 0x5a, 0x5d, 0xb6, 0x66, 0x6c, 0x38, 0x9b, 0xb6, 0x8f, 0xca, - 0xd3, 0x72, 0x78, 0x89, 0x8f, 0xd2, 0x13, 0x30, 0xed, 0x32, 0xdf, 0x72, 0x99, 0x29, 0xe5, 0x44, - 0x4a, 0x99, 0xc2, 0x51, 0x14, 0x3b, 0x05, 0x07, 0xdb, 0x01, 0xe3, 0x6e, 0x37, 0x12, 0xdc, 0xcf, - 0x05, 0x67, 0xc2, 0x71, 0x21, 0xaa, 0x1d, 0x42, 0xa7, 0x5e, 0xe3, 0xf6, 0x7b, 0x61, 0xab, 0x17, - 0x3a, 0x55, 0xbb, 0x29, 0x4f, 0xfb, 0xf1, 0x57, 0x88, 0x78, 0x09, 0x26, 0x85, 0xc5, 0xd7, 0x78, - 0xcb, 0x0a, 0xfd, 0x51, 0xcd, 0xec, 0x22, 0x84, 0xea, 0xcd, 0x89, 0x76, 0xf4, 0x29, 0x6d, 0x16, - 0x6d, 0x78, 0xdd, 0x70, 0x8d, 0x8d, 0x70, 0x52, 0x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85, 0x5e, 0x52, 0xcc, - 0xea, 0x45, 0x92, 0x59, 0x76, 0xa4, 0xdf, 0x27, 0x50, 0x96, 0x9d, 0x52, 0x3a, 0x90, 0x72, 0x81, - 0xf2, 0x29, 0xdd, 0x76, 0xd5, 0x1a, 0xdc, 0x38, 0x39, 0x65, 0x6a, 0x3f, 0x4a, 0xfa, 0x6f, 0x9e, - 0x09, 0x13, 0xdd, 0x6c, 0x65, 0x26, 0xcc, 0x6a, 0xc0, 0x2b, 0x33, 0x61, 0x66, 0xa3, 0x5c, 0xbb, - 0xc3, 0x61, 0xde, 0x56, 0xba, 0x90, 0x2f, 0xa6, 0xac, 0x68, 0xbc, 0x40, 0x17, 0x77, 0xed, 0x42, - 0x8f, 0xbe, 0x4b, 0x60, 0x22, 0xd6, 0xa8, 0xa6, 0x67, 0x72, 0x41, 0xf7, 0xb7, 0xcc, 0x2b, 0x67, - 0x8b, 0x09, 0x23, 0xbb, 0x2f, 0x70, 0x76, 0xcb, 0xf4, 0x58, 0x16, 0x4c, 0xa3, 0xdb, 0xad, 0x4b, - 0x50, 0xab, 0x39, 0x75, 0x6e, 0x08, 0xfa, 0x0f, 0x04, 0x46, 0x45, 0xfb, 0x99, 0xe6, 0x2f, 0xee, - 0x44, 0x5f, 0xbb, 0x32, 0x3f, 0x50, 0x0e, 0x51, 0x9a, 0x1c, 0xe5, 0x4b, 0xd9, 0xfb, 0xbc, 0xc7, - 0x65, 0x53, 0x86, 0x1f, 0x90, 0xc4, 0x92, 0x86, 0x17, 0x5f, 0xa0, 0x3f, 0x20, 0x30, 0x11, 0xeb, - 0x49, 0x2b, 0xcc, 0xde, 0xdf, 0xd4, 0x56, 0x98, 0x3d, 0xa3, 0xcd, 0xad, 0xd5, 0x38, 0x21, 0x2d, - 0xdb, 0xec, 0xe2, 0x57, 0x9d, 0xb7, 0x10, 0xe8, 0xab, 0x04, 0x46, 0x45, 0x2b, 0x58, 0x61, 0xd6, - 0x44, 0xab, 0x5b, 0x61, 0xd6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, 0x84, 0x03, 0x65, 0xa9, 0x1f, 0x10, 0x78, 0x22, 0x05, 0xb3, 0xc1, 0x36, + 0x98, 0xcb, 0xec, 0x16, 0x5b, 0x31, 0xa5, 0xbd, 0x9e, 0x80, 0x71, 0x57, 0x8e, 0x46, 0x36, 0x1b, + 0x73, 0x23, 0xc9, 0x81, 0xd9, 0xed, 0x5d, 0x02, 0x9a, 0x0a, 0xd0, 0x81, 0xb2, 0xde, 0x6e, 0x4f, + 0x98, 0x7d, 0x8c, 0x1b, 0x40, 0x46, 0x84, 0x25, 0x77, 0x80, 0x83, 0x61, 0xa3, 0xab, 0x58, 0x1d, + 0xe0, 0x34, 0xd2, 0x36, 0x27, 0x01, 0x70, 0xae, 0x28, 0xa0, 0x46, 0x71, 0x64, 0xc5, 0xd4, 0x5e, + 0x48, 0x66, 0xb0, 0x90, 0xd3, 0x93, 0x30, 0x82, 0x42, 0x98, 0xbe, 0xfa, 0x52, 0x92, 0xf2, 0x61, + 0x99, 0xb2, 0x6c, 0xf8, 0xad, 0x97, 0x3f, 0xc2, 0x32, 0x25, 0xfc, 0x7e, 0xb4, 0x11, 0x37, 0xc5, + 0x90, 0x6a, 0x23, 0xe6, 0x5a, 0x02, 0x30, 0x4a, 0x0f, 0xce, 0x05, 0x7b, 0x18, 0xa6, 0x88, 0x6c, + 0x79, 0x47, 0x6c, 0x49, 0xd2, 0x02, 0x8f, 0xc1, 0xb0, 0xd8, 0x81, 0xd0, 0x0d, 0xf8, 0x34, 0xb0, + 0x40, 0xfd, 0xa9, 0x0c, 0xd4, 0x9e, 0xf9, 0x0f, 0x8c, 0x85, 0xee, 0x63, 0x21, 0x17, 0x22, 0xfc, + 0xb8, 0xb7, 0x8b, 0xd7, 0x7a, 0x6c, 0xb4, 0xaf, 0xf5, 0x32, 0x30, 0x1c, 0x3f, 0x23, 0x70, 0x32, + 0x07, 0xc7, 0x81, 0x71, 0x56, 0x58, 0xf9, 0xa6, 0xbd, 0x75, 0x60, 0x10, 0x5e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x30, 0x9d, 0xd5, 0xf7, 0xa2, 0x57, 0x55, 0x6b, 0x3f, 0xaf, 0x27, 0x57, 0xb9, 0xb6, 0x4f, + 0x2d, 0x84, 0xbe, 0xc8, 0xa1, 0xe7, 0x9c, 0x07, 0xf0, 0x42, 0xa1, 0x96, 0xa0, 0xe0, 0xd1, 0x5f, + 0x10, 0x98, 0x4a, 0x75, 0xbf, 0x14, 0x39, 0x3c, 0xbb, 0x8d, 0xa6, 0xc8, 0xe1, 0x39, 0x8d, 0x35, + 0xad, 0xc6, 0xa1, 0xce, 0xd2, 0x73, 0x8a, 0x38, 0x11, 0x48, 0x37, 0x18, 0xf3, 0x96, 0xbf, 0xfa, + 0xc1, 0xc3, 0x2a, 0x79, 0xf0, 0xb0, 0x4a, 0xfe, 0xf9, 0xb0, 0x4a, 0x5e, 0x7f, 0x54, 0x3d, 0xf4, + 0xe0, 0x51, 0xf5, 0xd0, 0x9f, 0x1f, 0x55, 0x0f, 0xad, 0x5d, 0x8f, 0x35, 0xdc, 0xf8, 0xa7, 0x6a, + 0x36, 0xf3, 0x5f, 0x71, 0xdc, 0x3b, 0xf8, 0xd4, 0x61, 0x66, 0x9b, 0xb9, 0xfa, 0xbd, 0xd8, 0x0c, + 0xfc, 0x9f, 0xbf, 0x45, 0x10, 0x6e, 0x2f, 0x34, 0x87, 0x79, 0x1f, 0xfa, 0xca, 0x7f, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xfd, 0xe2, 0xb4, 0x1c, 0x7b, 0x2e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3321,6 +3316,11 @@ type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(ctx context.Context, in *QueryCreditTypeRequest, opts ...grpc.CallOption) (*QueryCreditTypeResponse, error) + // ClassCreatorAllowlist queries the credit class creator allowlist + // enabled setting. + // + // Since Revision 1 + ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 1 @@ -3329,11 +3329,6 @@ type QueryClient interface { // // Since Revision 1 CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) - // CreditClassAllowlistEnabled queries the credit class creator allowlist - // flag. - // - // Since Revision 1 - CreditClassAllowlistEnabled(ctx context.Context, in *QueryCreditClassAllowlistEnabledRequest, opts ...grpc.CallOption) (*QueryCreditClassAllowlistEnabledResponse, error) } type queryClient struct { @@ -3543,27 +3538,27 @@ func (c *queryClient) CreditType(ctx context.Context, in *QueryCreditTypeRequest return out, nil } -func (c *queryClient) AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error) { - out := new(QueryAllowedClassCreatorsResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/AllowedClassCreators", in, out, opts...) +func (c *queryClient) ClassCreatorAllowlist(ctx context.Context, in *QueryClassCreatorAllowlistRequest, opts ...grpc.CallOption) (*QueryClassCreatorAllowlistResponse, error) { + out := new(QueryClassCreatorAllowlistResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/ClassCreatorAllowlist", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) { - out := new(QueryCreditClassFeesResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassFees", in, out, opts...) +func (c *queryClient) AllowedClassCreators(ctx context.Context, in *QueryAllowedClassCreatorsRequest, opts ...grpc.CallOption) (*QueryAllowedClassCreatorsResponse, error) { + out := new(QueryAllowedClassCreatorsResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/AllowedClassCreators", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) CreditClassAllowlistEnabled(ctx context.Context, in *QueryCreditClassAllowlistEnabledRequest, opts ...grpc.CallOption) (*QueryCreditClassAllowlistEnabledResponse, error) { - out := new(QueryCreditClassAllowlistEnabledResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassAllowlistEnabled", in, out, opts...) +func (c *queryClient) CreditClassFees(ctx context.Context, in *QueryCreditClassFeesRequest, opts ...grpc.CallOption) (*QueryCreditClassFeesResponse, error) { + out := new(QueryCreditClassFeesResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Query/CreditClassFees", in, out, opts...) if err != nil { return nil, err } @@ -3629,6 +3624,11 @@ type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // CreditType queries credit type information by abbreviation. CreditType(context.Context, *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error) + // ClassCreatorAllowlist queries the credit class creator allowlist + // enabled setting. + // + // Since Revision 1 + ClassCreatorAllowlist(context.Context, *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error) // AllowedClassCreators queries allowed credit class creators list. // // Since Revision 1 @@ -3637,11 +3637,6 @@ type QueryServer interface { // // Since Revision 1 CreditClassFees(context.Context, *QueryCreditClassFeesRequest) (*QueryCreditClassFeesResponse, error) - // CreditClassAllowlistEnabled queries the credit class creator allowlist - // flag. - // - // Since Revision 1 - CreditClassAllowlistEnabled(context.Context, *QueryCreditClassAllowlistEnabledRequest) (*QueryCreditClassAllowlistEnabledResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -3714,15 +3709,15 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq func (*UnimplementedQueryServer) CreditType(ctx context.Context, req *QueryCreditTypeRequest) (*QueryCreditTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreditType not implemented") } +func (*UnimplementedQueryServer) ClassCreatorAllowlist(ctx context.Context, req *QueryClassCreatorAllowlistRequest) (*QueryClassCreatorAllowlistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClassCreatorAllowlist not implemented") +} func (*UnimplementedQueryServer) AllowedClassCreators(ctx context.Context, req *QueryAllowedClassCreatorsRequest) (*QueryAllowedClassCreatorsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllowedClassCreators not implemented") } func (*UnimplementedQueryServer) CreditClassFees(ctx context.Context, req *QueryCreditClassFeesRequest) (*QueryCreditClassFeesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreditClassFees not implemented") } -func (*UnimplementedQueryServer) CreditClassAllowlistEnabled(ctx context.Context, req *QueryCreditClassAllowlistEnabledRequest) (*QueryCreditClassAllowlistEnabledResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreditClassAllowlistEnabled not implemented") -} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -4124,56 +4119,56 @@ func _Query_CreditType_Handler(srv interface{}, ctx context.Context, dec func(in return interceptor(ctx, in, info, handler) } -func _Query_AllowedClassCreators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllowedClassCreatorsRequest) +func _Query_ClassCreatorAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryClassCreatorAllowlistRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).AllowedClassCreators(ctx, in) + return srv.(QueryServer).ClassCreatorAllowlist(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/AllowedClassCreators", + FullMethod: "/regen.ecocredit.v1.Query/ClassCreatorAllowlist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AllowedClassCreators(ctx, req.(*QueryAllowedClassCreatorsRequest)) + return srv.(QueryServer).ClassCreatorAllowlist(ctx, req.(*QueryClassCreatorAllowlistRequest)) } return interceptor(ctx, in, info, handler) } -func _Query_CreditClassFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryCreditClassFeesRequest) +func _Query_AllowedClassCreators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllowedClassCreatorsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).CreditClassFees(ctx, in) + return srv.(QueryServer).AllowedClassCreators(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/CreditClassFees", + FullMethod: "/regen.ecocredit.v1.Query/AllowedClassCreators", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).CreditClassFees(ctx, req.(*QueryCreditClassFeesRequest)) + return srv.(QueryServer).AllowedClassCreators(ctx, req.(*QueryAllowedClassCreatorsRequest)) } return interceptor(ctx, in, info, handler) } -func _Query_CreditClassAllowlistEnabled_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryCreditClassAllowlistEnabledRequest) +func _Query_CreditClassFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryCreditClassFeesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).CreditClassAllowlistEnabled(ctx, in) + return srv.(QueryServer).CreditClassFees(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Query/CreditClassAllowlistEnabled", + FullMethod: "/regen.ecocredit.v1.Query/CreditClassFees", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).CreditClassAllowlistEnabled(ctx, req.(*QueryCreditClassAllowlistEnabledRequest)) + return srv.(QueryServer).CreditClassFees(ctx, req.(*QueryCreditClassFeesRequest)) } return interceptor(ctx, in, info, handler) } @@ -4270,6 +4265,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "CreditType", Handler: _Query_CreditType_Handler, }, + { + MethodName: "ClassCreatorAllowlist", + Handler: _Query_ClassCreatorAllowlist_Handler, + }, { MethodName: "AllowedClassCreators", Handler: _Query_AllowedClassCreators_Handler, @@ -4278,10 +4277,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "CreditClassFees", Handler: _Query_CreditClassFees_Handler, }, - { - MethodName: "CreditClassAllowlistEnabled", - Handler: _Query_CreditClassAllowlistEnabled_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/v1/query.proto", @@ -6379,6 +6374,62 @@ func (m *BatchBalanceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryClassCreatorAllowlistRequest) 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 *QueryClassCreatorAllowlistRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryClassCreatorAllowlistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryClassCreatorAllowlistResponse) 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 *QueryClassCreatorAllowlistResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryClassCreatorAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Enabled { + i-- + if m.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func (m *QueryAllowedClassCreatorsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -6518,62 +6569,6 @@ func (m *QueryCreditClassFeesResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *QueryCreditClassAllowlistEnabledRequest) 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 *QueryCreditClassAllowlistEnabledRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryCreditClassAllowlistEnabledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryCreditClassAllowlistEnabledResponse) 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 *QueryCreditClassAllowlistEnabledResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryCreditClassAllowlistEnabledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AllowlistEnabled { - i-- - if m.AllowlistEnabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -7440,6 +7435,27 @@ func (m *BatchBalanceInfo) Size() (n int) { return n } +func (m *QueryClassCreatorAllowlistRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryClassCreatorAllowlistResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Enabled { + n += 2 + } + return n +} + func (m *QueryAllowedClassCreatorsRequest) Size() (n int) { if m == nil { return 0 @@ -7496,27 +7512,6 @@ func (m *QueryCreditClassFeesResponse) Size() (n int) { return n } -func (m *QueryCreditClassAllowlistEnabledRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *QueryCreditClassAllowlistEnabledResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AllowlistEnabled { - n += 2 - } - return n -} - func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -13198,7 +13193,7 @@ func (m *BatchBalanceInfo) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllowedClassCreatorsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryClassCreatorAllowlistRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13221,48 +13216,12 @@ func (m *QueryAllowedClassCreatorsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryClassCreatorAllowlistRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryClassCreatorAllowlistRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -13284,7 +13243,7 @@ func (m *QueryAllowedClassCreatorsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryClassCreatorAllowlistResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13307,49 +13266,17 @@ func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryClassCreatorAllowlistResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryClassCreatorAllowlistResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClassCreators", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - 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 ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ClassCreators = append(m.ClassCreators, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13359,28 +13286,12 @@ func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -13402,7 +13313,7 @@ func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryCreditClassFeesRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllowedClassCreatorsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13425,12 +13336,48 @@ func (m *QueryCreditClassFeesRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryCreditClassFeesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryCreditClassFeesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllowedClassCreatorsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -13452,7 +13399,7 @@ func (m *QueryCreditClassFeesRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryCreditClassFeesResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllowedClassCreatorsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13475,15 +13422,47 @@ func (m *QueryCreditClassFeesResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryCreditClassFeesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryCreditClassFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllowedClassCreatorsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClassCreators", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + 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 ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClassCreators = append(m.ClassCreators, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13510,8 +13489,10 @@ func (m *QueryCreditClassFeesResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Fees = append(m.Fees, types1.Coin{}) - if err := m.Fees[len(m.Fees)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13536,7 +13517,7 @@ func (m *QueryCreditClassFeesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryCreditClassAllowlistEnabledRequest) Unmarshal(dAtA []byte) error { +func (m *QueryCreditClassFeesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13559,10 +13540,10 @@ func (m *QueryCreditClassAllowlistEnabledRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryCreditClassAllowlistEnabledRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryCreditClassFeesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryCreditClassAllowlistEnabledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryCreditClassFeesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13586,7 +13567,7 @@ func (m *QueryCreditClassAllowlistEnabledRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryCreditClassAllowlistEnabledResponse) Unmarshal(dAtA []byte) error { +func (m *QueryCreditClassFeesResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13609,17 +13590,17 @@ func (m *QueryCreditClassAllowlistEnabledResponse) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryCreditClassAllowlistEnabledResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryCreditClassFeesResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryCreditClassAllowlistEnabledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryCreditClassFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllowlistEnabled", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13629,12 +13610,26 @@ func (m *QueryCreditClassAllowlistEnabledResponse) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.AllowlistEnabled = bool(v != 0) + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Fees = append(m.Fees, types1.Coin{}) + if err := m.Fees[len(m.Fees)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/x/ecocredit/base/types/v1/query.pb.gw.go b/x/ecocredit/base/types/v1/query.pb.gw.go index 6a840da436..dd0d26704c 100644 --- a/x/ecocredit/base/types/v1/query.pb.gw.go +++ b/x/ecocredit/base/types/v1/query.pb.gw.go @@ -2457,6 +2457,24 @@ func local_request_Query_CreditType_1(ctx context.Context, marshaler runtime.Mar } +func request_Query_ClassCreatorAllowlist_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryClassCreatorAllowlistRequest + var metadata runtime.ServerMetadata + + msg, err := client.ClassCreatorAllowlist(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_ClassCreatorAllowlist_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryClassCreatorAllowlistRequest + var metadata runtime.ServerMetadata + + msg, err := server.ClassCreatorAllowlist(ctx, &protoReq) + return msg, metadata, err + +} + var ( filter_Query_AllowedClassCreators_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) @@ -2511,24 +2529,6 @@ func local_request_Query_CreditClassFees_0(ctx context.Context, marshaler runtim } -func request_Query_CreditClassAllowlistEnabled_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryCreditClassAllowlistEnabledRequest - var metadata runtime.ServerMetadata - - msg, err := client.CreditClassAllowlistEnabled(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_Query_CreditClassAllowlistEnabled_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryCreditClassAllowlistEnabledRequest - var metadata runtime.ServerMetadata - - msg, err := server.CreditClassAllowlistEnabled(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. @@ -3455,7 +3455,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_AllowedClassCreators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ClassCreatorAllowlist_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -3466,7 +3466,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_AllowedClassCreators_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ClassCreatorAllowlist_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 { @@ -3474,11 +3474,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_AllowedClassCreators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ClassCreatorAllowlist_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_CreditClassFees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_AllowedClassCreators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -3489,7 +3489,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_CreditClassFees_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_AllowedClassCreators_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 { @@ -3497,11 +3497,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_CreditClassFees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_AllowedClassCreators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_CreditClassAllowlistEnabled_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_CreditClassFees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -3512,7 +3512,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_CreditClassAllowlistEnabled_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_CreditClassFees_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 { @@ -3520,7 +3520,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_CreditClassAllowlistEnabled_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_CreditClassFees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -4365,7 +4365,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_AllowedClassCreators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ClassCreatorAllowlist_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -4374,18 +4374,18 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_AllowedClassCreators_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_ClassCreatorAllowlist_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_AllowedClassCreators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ClassCreatorAllowlist_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_CreditClassFees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_AllowedClassCreators_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -4394,18 +4394,18 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_CreditClassFees_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_AllowedClassCreators_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_CreditClassFees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_AllowedClassCreators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_CreditClassAllowlistEnabled_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_CreditClassFees_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -4414,14 +4414,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_CreditClassAllowlistEnabled_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_CreditClassFees_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_CreditClassAllowlistEnabled_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_CreditClassFees_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -4509,11 +4509,11 @@ var ( pattern_Query_CreditType_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"regen", "ecocredit", "v1", "credit-types", "abbreviation"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ClassCreatorAllowlist_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"regen", "ecocredit", "v1", "class-creator-allowlist"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllowedClassCreators_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"regen", "ecocredit", "v1", "allowed-class-creators"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_CreditClassFees_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"regen", "ecocredit", "v1", "credit-class-fees"}, "", runtime.AssumeColonVerbOpt(false))) - - pattern_Query_CreditClassAllowlistEnabled_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"regen", "ecocredit", "v1", "credit-class-allowlist-enabled"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -4597,9 +4597,9 @@ var ( forward_Query_CreditType_1 = runtime.ForwardResponseMessage + forward_Query_ClassCreatorAllowlist_0 = runtime.ForwardResponseMessage + forward_Query_AllowedClassCreators_0 = runtime.ForwardResponseMessage forward_Query_CreditClassFees_0 = runtime.ForwardResponseMessage - - forward_Query_CreditClassAllowlistEnabled_0 = runtime.ForwardResponseMessage ) diff --git a/x/ecocredit/base/types/v1/state.pb.go b/x/ecocredit/base/types/v1/state.pb.go index cad0089266..b6982da107 100644 --- a/x/ecocredit/base/types/v1/state.pb.go +++ b/x/ecocredit/base/types/v1/state.pb.go @@ -961,27 +961,29 @@ func (m *BatchContract) GetContract() string { return "" } -// AllowedClassCreator is an allowed credit class creator. This table is -// controlled via governance. +// ClassCreatorAllowlist determines if the credit class creator allowlist is +// enabled. When set to true, only the addresses in the AllowedClassCreator +// table may create credit classes. When set to false, any address may create +// credit classes. This table is controlled via governance. // // Since Revision 1 -type AllowedClassCreator struct { - // address is the address that is allowed to create credit classes - Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +type ClassCreatorAllowlist struct { + // enabled is whether or not the allow list is enabled. + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (m *AllowedClassCreator) Reset() { *m = AllowedClassCreator{} } -func (m *AllowedClassCreator) String() string { return proto.CompactTextString(m) } -func (*AllowedClassCreator) ProtoMessage() {} -func (*AllowedClassCreator) Descriptor() ([]byte, []int) { +func (m *ClassCreatorAllowlist) Reset() { *m = ClassCreatorAllowlist{} } +func (m *ClassCreatorAllowlist) String() string { return proto.CompactTextString(m) } +func (*ClassCreatorAllowlist) ProtoMessage() {} +func (*ClassCreatorAllowlist) Descriptor() ([]byte, []int) { return fileDescriptor_6cfdca0a4aaabb36, []int{12} } -func (m *AllowedClassCreator) XXX_Unmarshal(b []byte) error { +func (m *ClassCreatorAllowlist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AllowedClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ClassCreatorAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AllowedClassCreator.Marshal(b, m, deterministic) + return xxx_messageInfo_ClassCreatorAllowlist.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -991,48 +993,46 @@ func (m *AllowedClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *AllowedClassCreator) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllowedClassCreator.Merge(m, src) +func (m *ClassCreatorAllowlist) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClassCreatorAllowlist.Merge(m, src) } -func (m *AllowedClassCreator) XXX_Size() int { +func (m *ClassCreatorAllowlist) XXX_Size() int { return m.Size() } -func (m *AllowedClassCreator) XXX_DiscardUnknown() { - xxx_messageInfo_AllowedClassCreator.DiscardUnknown(m) +func (m *ClassCreatorAllowlist) XXX_DiscardUnknown() { + xxx_messageInfo_ClassCreatorAllowlist.DiscardUnknown(m) } -var xxx_messageInfo_AllowedClassCreator proto.InternalMessageInfo +var xxx_messageInfo_ClassCreatorAllowlist proto.InternalMessageInfo -func (m *AllowedClassCreator) GetAddress() []byte { +func (m *ClassCreatorAllowlist) GetEnabled() bool { if m != nil { - return m.Address + return m.Enabled } - return nil + return false } -// AllowListEnabled determines if the credit class creator allowlist is enabled. -// When set to true, only the addresses in the AllowedClassCreator table can -// create credit classes. When set to false, any address is free to create -// credit classes. This table is controlled via governance. +// AllowedClassCreator is an allowed credit class creator. This table is +// controlled via governance. // // Since Revision 1 -type AllowListEnabled struct { - // enabled is whether or not the allow list is enabled. - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` +type AllowedClassCreator struct { + // address is the address that is allowed to create credit classes + Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (m *AllowListEnabled) Reset() { *m = AllowListEnabled{} } -func (m *AllowListEnabled) String() string { return proto.CompactTextString(m) } -func (*AllowListEnabled) ProtoMessage() {} -func (*AllowListEnabled) Descriptor() ([]byte, []int) { +func (m *AllowedClassCreator) Reset() { *m = AllowedClassCreator{} } +func (m *AllowedClassCreator) String() string { return proto.CompactTextString(m) } +func (*AllowedClassCreator) ProtoMessage() {} +func (*AllowedClassCreator) Descriptor() ([]byte, []int) { return fileDescriptor_6cfdca0a4aaabb36, []int{13} } -func (m *AllowListEnabled) XXX_Unmarshal(b []byte) error { +func (m *AllowedClassCreator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AllowListEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *AllowedClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AllowListEnabled.Marshal(b, m, deterministic) + return xxx_messageInfo_AllowedClassCreator.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1042,23 +1042,23 @@ func (m *AllowListEnabled) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *AllowListEnabled) XXX_Merge(src proto.Message) { - xxx_messageInfo_AllowListEnabled.Merge(m, src) +func (m *AllowedClassCreator) XXX_Merge(src proto.Message) { + xxx_messageInfo_AllowedClassCreator.Merge(m, src) } -func (m *AllowListEnabled) XXX_Size() int { +func (m *AllowedClassCreator) XXX_Size() int { return m.Size() } -func (m *AllowListEnabled) XXX_DiscardUnknown() { - xxx_messageInfo_AllowListEnabled.DiscardUnknown(m) +func (m *AllowedClassCreator) XXX_DiscardUnknown() { + xxx_messageInfo_AllowedClassCreator.DiscardUnknown(m) } -var xxx_messageInfo_AllowListEnabled proto.InternalMessageInfo +var xxx_messageInfo_AllowedClassCreator proto.InternalMessageInfo -func (m *AllowListEnabled) GetEnabled() bool { +func (m *AllowedClassCreator) GetAddress() []byte { if m != nil { - return m.Enabled + return m.Address } - return false + return nil } // ClassFees is a list of coins that may be used as the fee for credit class @@ -1123,87 +1123,87 @@ func init() { proto.RegisterType((*BatchSupply)(nil), "regen.ecocredit.v1.BatchSupply") proto.RegisterType((*OriginTxIndex)(nil), "regen.ecocredit.v1.OriginTxIndex") proto.RegisterType((*BatchContract)(nil), "regen.ecocredit.v1.BatchContract") + proto.RegisterType((*ClassCreatorAllowlist)(nil), "regen.ecocredit.v1.ClassCreatorAllowlist") proto.RegisterType((*AllowedClassCreator)(nil), "regen.ecocredit.v1.AllowedClassCreator") - proto.RegisterType((*AllowListEnabled)(nil), "regen.ecocredit.v1.AllowListEnabled") proto.RegisterType((*ClassFees)(nil), "regen.ecocredit.v1.ClassFees") } func init() { proto.RegisterFile("regen/ecocredit/v1/state.proto", fileDescriptor_6cfdca0a4aaabb36) } var fileDescriptor_6cfdca0a4aaabb36 = []byte{ - // 1150 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x8e, 0x1b, 0xc5, - 0x13, 0xcf, 0xf8, 0x63, 0x6d, 0x97, 0xbf, 0x26, 0xbd, 0xc9, 0xfe, 0x27, 0xfe, 0x07, 0x27, 0x0c, - 0xa0, 0x6c, 0xa4, 0xcd, 0x8c, 0x1c, 0x3e, 0x04, 0x3e, 0x10, 0x25, 0x9b, 0x20, 0xad, 0x82, 0x04, - 0x32, 0x7b, 0x81, 0x8b, 0x69, 0xcf, 0xd4, 0x7a, 0x67, 0x63, 0xcf, 0x98, 0x9e, 0xf6, 0x66, 0xf7, - 0xca, 0x03, 0x20, 0x4e, 0x88, 0x03, 0xe2, 0x05, 0x78, 0x05, 0x1e, 0x00, 0x6e, 0x91, 0xb8, 0x70, - 0x44, 0xbb, 0x6f, 0x80, 0x38, 0x71, 0x42, 0x5d, 0xd3, 0x33, 0xf6, 0x18, 0x67, 0xb3, 0xe2, 0x36, - 0x55, 0x5d, 0x1f, 0xbf, 0xfa, 0x75, 0x55, 0x4f, 0x41, 0x57, 0xe0, 0x18, 0x43, 0x17, 0xbd, 0xc8, - 0x13, 0xe8, 0x07, 0xd2, 0x3d, 0xee, 0xb9, 0xb1, 0xe4, 0x12, 0x9d, 0x99, 0x88, 0x64, 0xc4, 0x18, - 0x9d, 0x3b, 0xd9, 0xb9, 0x73, 0xdc, 0xeb, 0x74, 0xbd, 0x28, 0x9e, 0x46, 0xb1, 0x3b, 0xe2, 0x31, - 0xba, 0xc7, 0xbd, 0x11, 0x4a, 0xde, 0x73, 0xbd, 0x28, 0x08, 0x13, 0x9f, 0xce, 0x6b, 0xfa, 0x3c, - 0x12, 0x53, 0xf7, 0xb8, 0xc7, 0x27, 0xb3, 0x43, 0xde, 0x53, 0x82, 0x3e, 0xbe, 0x35, 0x8e, 0xa2, - 0xf1, 0x04, 0x5d, 0x92, 0x46, 0xf3, 0x03, 0x57, 0x06, 0x53, 0x8c, 0x25, 0x9f, 0xce, 0x12, 0x03, - 0xfb, 0x07, 0x03, 0x60, 0x97, 0xb2, 0xed, 0x9f, 0xce, 0x90, 0xd9, 0xd0, 0xe0, 0xa3, 0x91, 0xc0, - 0xe3, 0x80, 0xcb, 0x20, 0x0a, 0x2d, 0xe3, 0xb6, 0xb1, 0x5d, 0x1b, 0xe4, 0x74, 0x8c, 0x41, 0x29, - 0xe4, 0x53, 0xb4, 0x0a, 0x74, 0x46, 0xdf, 0x4a, 0x37, 0x0f, 0x03, 0x69, 0x15, 0x13, 0x9d, 0xfa, - 0x66, 0x37, 0xa1, 0x36, 0x13, 0xe8, 0x05, 0xb1, 0x0a, 0x54, 0xba, 0x6d, 0x6c, 0x37, 0x07, 0x0b, - 0x45, 0xff, 0xcd, 0x3f, 0x7f, 0xfc, 0xed, 0x9b, 0x62, 0x17, 0x5a, 0xf9, 0x8c, 0x0c, 0x92, 0xe8, - 0xa6, 0x61, 0x19, 0x96, 0x61, 0xff, 0x6a, 0x40, 0x79, 0x77, 0xc2, 0xe3, 0x98, 0x99, 0x50, 0x7c, - 0x86, 0xa7, 0x04, 0xa8, 0x34, 0x50, 0x9f, 0xac, 0x05, 0x85, 0xc0, 0xd7, 0x28, 0x0a, 0x81, 0xcf, - 0xae, 0x41, 0x99, 0xfb, 0xd3, 0x20, 0x24, 0x10, 0x8d, 0x41, 0x22, 0xb0, 0x0e, 0x54, 0xa7, 0x28, - 0xb9, 0xcf, 0x25, 0x27, 0x10, 0xb5, 0x41, 0x26, 0xb3, 0x1d, 0x60, 0x09, 0xd3, 0x43, 0x79, 0x3a, - 0xc3, 0x61, 0x82, 0xc3, 0x2a, 0x93, 0x95, 0xe9, 0x65, 0xac, 0x3c, 0x24, 0x7d, 0xff, 0x43, 0x42, - 0xfc, 0x3e, 0x54, 0x08, 0x89, 0x69, 0xb0, 0xaa, 0x02, 0xa0, 0x80, 0xb2, 0x9a, 0x4e, 0x6d, 0x16, - 0xd8, 0xd6, 0xba, 0x98, 0x66, 0xd1, 0x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xa2, 0xa9, - 0x4b, 0x9b, 0xe1, 0xbd, 0x10, 0xe5, 0xf3, 0x48, 0x3c, 0xd3, 0xd2, 0x04, 0xfd, 0x31, 0x0a, 0xf7, - 0x64, 0x69, 0xa1, 0xa4, 0x2d, 0x51, 0xbd, 0x62, 0xb1, 0xda, 0x15, 0x37, 0xe8, 0x21, 0x7f, 0xfb, - 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xab, 0xcb, 0x4f, 0x3c, 0x78, 0x0a, 0x00, 0x00, + // 1148 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xcb, 0x8e, 0xe3, 0x54, + 0x13, 0x1e, 0xe7, 0xd2, 0x49, 0x2a, 0x37, 0xcf, 0xe9, 0xe9, 0xfe, 0x3d, 0xf9, 0x87, 0xcc, 0x60, + 0x40, 0xd3, 0x23, 0xf5, 0xd8, 0xca, 0x00, 0x12, 0x04, 0x89, 0x51, 0x5f, 0x40, 0x6a, 0xcd, 0x02, + 0x14, 0x7a, 0x03, 0x9b, 0x70, 0x62, 0x57, 0xa7, 0xdd, 0xe3, 0xd8, 0xe1, 0xf8, 0xa4, 0x2f, 0x5b, + 0x1e, 0x00, 0xb1, 0x42, 0x2c, 0x10, 0x2f, 0xc0, 0x2b, 0xf0, 0x00, 0xb0, 0x1b, 0x89, 0x0d, 0x4b, + 0xd4, 0xfd, 0x06, 0x88, 0x15, 0x2b, 0xe4, 0xf2, 0xb1, 0x13, 0x87, 0x4c, 0x4f, 0x8b, 0x9d, 0xab, + 0x4e, 0x5d, 0xbe, 0xfa, 0x4e, 0xd5, 0x71, 0x41, 0x57, 0xe0, 0x18, 0x03, 0x1b, 0x9d, 0xd0, 0x11, + 0xe8, 0x7a, 0xd2, 0x3e, 0xed, 0xd9, 0x91, 0xe4, 0x12, 0xad, 0xa9, 0x08, 0x65, 0xc8, 0x18, 0x9d, + 0x5b, 0x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, 0x48, 0xb9, 0xd3, 0x2d, 0x96, 0x06, 0x8d, 0x58, 0x99, 0x86, 0xec, 0x77, + 0x09, 0xb1, 0x01, 0x77, 0x56, 0x86, 0x5e, 0x33, 0x4f, 0xa0, 0xad, 0x86, 0x29, 0x43, 0x71, 0xed, + 0xcc, 0xde, 0x28, 0xe9, 0x06, 0x25, 0x6d, 0x43, 0x7d, 0x31, 0x52, 0xc5, 0x0c, 0xa0, 0x49, 0xad, + 0x98, 0x65, 0x5a, 0x6a, 0x34, 0xed, 0x5f, 0x8d, 0x76, 0xa3, 0x6c, 0xff, 0xa3, 0x6c, 0xb7, 0xa1, + 0x99, 0x8f, 0x56, 0x35, 0xff, 0xd2, 0xa0, 0x41, 0x09, 0x77, 0xb9, 0xcf, 0x55, 0x65, 0xa3, 0x58, + 0x5e, 0xac, 0x8c, 0x14, 0x71, 0x2e, 0x03, 0x2a, 0xdc, 0x75, 0x05, 0x46, 0x91, 0x1a, 0x87, 0x54, + 0x64, 0x0f, 0xa1, 0x2d, 0x05, 0x77, 0xf9, 0xc8, 0xc7, 0x21, 0x9f, 0x84, 0xb3, 0x20, 0xfd, 0x05, + 0xb4, 0x52, 0xf5, 0x0e, 0x69, 0xd9, 0x5b, 0xd0, 0x12, 0x28, 0x3d, 0x81, 0x6e, 0x6a, 0x97, 0x0c, + 0x48, 0x53, 0x69, 0x95, 0xd9, 0x43, 0x68, 0x63, 0xe4, 0x88, 0xf0, 0x6c, 0x6e, 0x97, 0xcc, 0x4b, + 0x2b, 0x55, 0x27, 0x86, 0xfd, 0x77, 0xa8, 0x32, 0x0b, 0xd6, 0xe1, 0xb6, 0xc2, 0xb2, 0x9d, 0xe1, + 0x67, 0x1b, 0x70, 0x3b, 0x13, 0xb6, 0xd5, 0xb1, 0xae, 0x19, 0x35, 0xf3, 0x67, 0x0d, 0xea, 0x09, + 0xcf, 0xb3, 0xe9, 0xd4, 0xbf, 0xb8, 0xbe, 0xea, 0x15, 0xb5, 0x15, 0x6e, 0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0x56, 0xfd, 0xc9, 0x5d, 0x2b, 0xd9, 0xcd, 0xac, 0x78, 0x77, 0xb3, 0xd4, 0xee, + 0x66, 0xed, 0x85, 0x5e, 0x30, 0x20, 0xb3, 0x0c, 0x4b, 0x7b, 0xf7, 0xf3, 0x5f, 0x2e, 0xbb, 0xda, + 0x8b, 0xcb, 0xae, 0xf6, 0xc7, 0x65, 0x57, 0xfb, 0xf6, 0xaa, 0x7b, 0xeb, 0xc5, 0x55, 0xf7, 0xd6, + 0xef, 0x57, 0xdd, 0x5b, 0x5f, 0x3c, 0x1d, 0x7b, 0xf2, 0x78, 0x36, 0xb2, 0x9c, 0x70, 0x62, 0xd3, + 0x7a, 0xf8, 0x38, 0x40, 0x79, 0x16, 0x8a, 0xe7, 0x4a, 0xf2, 0xd1, 0x1d, 0xa3, 0xb0, 0xcf, 0x17, + 0xb6, 0x4a, 0x5a, 0x15, 0xe3, 0xa7, 0x2c, 0x8a, 0x17, 0xc6, 0x35, 0x7a, 0xcd, 0xdf, 0xfe, 0x27, + 0x00, 0x00, 0xff, 0xff, 0x5f, 0xd0, 0xe5, 0x19, 0x7d, 0x0a, 0x00, 0x00, } func (m *CreditType) Marshal() (dAtA []byte, err error) { @@ -1802,7 +1802,7 @@ func (m *BatchContract) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *AllowedClassCreator) Marshal() (dAtA []byte, err error) { +func (m *ClassCreatorAllowlist) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1812,27 +1812,30 @@ func (m *AllowedClassCreator) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AllowedClassCreator) MarshalTo(dAtA []byte) (int, error) { +func (m *ClassCreatorAllowlist) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AllowedClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ClassCreatorAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintState(dAtA, i, uint64(len(m.Address))) + if m.Enabled { i-- - dAtA[i] = 0xa + if m.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *AllowListEnabled) Marshal() (dAtA []byte, err error) { +func (m *AllowedClassCreator) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1842,25 +1845,22 @@ func (m *AllowListEnabled) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AllowListEnabled) MarshalTo(dAtA []byte) (int, error) { +func (m *AllowedClassCreator) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AllowListEnabled) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AllowedClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintState(dAtA, i, uint64(len(m.Address))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } @@ -2195,27 +2195,27 @@ func (m *BatchContract) Size() (n int) { return n } -func (m *AllowedClassCreator) Size() (n int) { +func (m *ClassCreatorAllowlist) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovState(uint64(l)) + if m.Enabled { + n += 2 } return n } -func (m *AllowListEnabled) Size() (n int) { +func (m *AllowedClassCreator) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Enabled { - n += 2 + l = len(m.Address) + if l > 0 { + n += 1 + l + sovState(uint64(l)) } return n } @@ -4166,7 +4166,7 @@ func (m *BatchContract) Unmarshal(dAtA []byte) error { } return nil } -func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error { +func (m *ClassCreatorAllowlist) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4189,17 +4189,17 @@ func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AllowedClassCreator: wiretype end group for non-group") + return fmt.Errorf("proto: ClassCreatorAllowlist: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AllowedClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ClassCreatorAllowlist: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) } - var byteLen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowState @@ -4209,26 +4209,12 @@ func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthState - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthState - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...) - if m.Address == nil { - m.Address = []byte{} - } - iNdEx = postIndex + m.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := skipState(dAtA[iNdEx:]) @@ -4250,7 +4236,7 @@ func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error { } return nil } -func (m *AllowListEnabled) Unmarshal(dAtA []byte) error { +func (m *AllowedClassCreator) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4273,17 +4259,17 @@ func (m *AllowListEnabled) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AllowListEnabled: wiretype end group for non-group") + return fmt.Errorf("proto: AllowedClassCreator: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AllowListEnabled: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AllowedClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var v int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowState @@ -4293,12 +4279,26 @@ func (m *AllowListEnabled) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.Enabled = bool(v != 0) + if byteLen < 0 { + return ErrInvalidLengthState + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthState + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...) + if m.Address == nil { + m.Address = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipState(dAtA[iNdEx:]) diff --git a/x/ecocredit/base/types/v1/tx.pb.go b/x/ecocredit/base/types/v1/tx.pb.go index b0cf764c1a..44a959b874 100644 --- a/x/ecocredit/base/types/v1/tx.pb.go +++ b/x/ecocredit/base/types/v1/tx.pb.go @@ -2163,24 +2163,29 @@ func (m *MsgAddClassCreator) GetCreator() string { return "" } -// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. +// MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request +// type. // // Since Revision 1 -type MsgAddClassCreatorResponse struct { +type MsgSetClassCreatorAllowlist struct { + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // enabled defines the boolean value to set the allowlist on or off. + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` } -func (m *MsgAddClassCreatorResponse) Reset() { *m = MsgAddClassCreatorResponse{} } -func (m *MsgAddClassCreatorResponse) String() string { return proto.CompactTextString(m) } -func (*MsgAddClassCreatorResponse) ProtoMessage() {} -func (*MsgAddClassCreatorResponse) Descriptor() ([]byte, []int) { +func (m *MsgSetClassCreatorAllowlist) Reset() { *m = MsgSetClassCreatorAllowlist{} } +func (m *MsgSetClassCreatorAllowlist) String() string { return proto.CompactTextString(m) } +func (*MsgSetClassCreatorAllowlist) ProtoMessage() {} +func (*MsgSetClassCreatorAllowlist) Descriptor() ([]byte, []int) { return fileDescriptor_2b8ae49f50a3ddbd, []int{33} } -func (m *MsgAddClassCreatorResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgSetClassCreatorAllowlist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgAddClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgSetClassCreatorAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgAddClassCreatorResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgSetClassCreatorAllowlist.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2190,40 +2195,51 @@ func (m *MsgAddClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *MsgAddClassCreatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgAddClassCreatorResponse.Merge(m, src) +func (m *MsgSetClassCreatorAllowlist) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetClassCreatorAllowlist.Merge(m, src) } -func (m *MsgAddClassCreatorResponse) XXX_Size() int { +func (m *MsgSetClassCreatorAllowlist) XXX_Size() int { return m.Size() } -func (m *MsgAddClassCreatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgAddClassCreatorResponse.DiscardUnknown(m) +func (m *MsgSetClassCreatorAllowlist) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetClassCreatorAllowlist.DiscardUnknown(m) } -var xxx_messageInfo_MsgAddClassCreatorResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgSetClassCreatorAllowlist proto.InternalMessageInfo -// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. +func (m *MsgSetClassCreatorAllowlist) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgSetClassCreatorAllowlist) GetEnabled() bool { + if m != nil { + return m.Enabled + } + return false +} + +// MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist +// response type. // // Since Revision 1 -type MsgRemoveClassCreator struct { - // authority is the address of the governance account. - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // creator is the address to remove from the class creator list. - Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` +type MsgSetClassCreatorAllowlistResponse struct { } -func (m *MsgRemoveClassCreator) Reset() { *m = MsgRemoveClassCreator{} } -func (m *MsgRemoveClassCreator) String() string { return proto.CompactTextString(m) } -func (*MsgRemoveClassCreator) ProtoMessage() {} -func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int) { +func (m *MsgSetClassCreatorAllowlistResponse) Reset() { *m = MsgSetClassCreatorAllowlistResponse{} } +func (m *MsgSetClassCreatorAllowlistResponse) String() string { return proto.CompactTextString(m) } +func (*MsgSetClassCreatorAllowlistResponse) ProtoMessage() {} +func (*MsgSetClassCreatorAllowlistResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2b8ae49f50a3ddbd, []int{34} } -func (m *MsgRemoveClassCreator) XXX_Unmarshal(b []byte) error { +func (m *MsgSetClassCreatorAllowlistResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgRemoveClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgSetClassCreatorAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgRemoveClassCreator.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgSetClassCreatorAllowlistResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2233,50 +2249,36 @@ func (m *MsgRemoveClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *MsgRemoveClassCreator) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgRemoveClassCreator.Merge(m, src) +func (m *MsgSetClassCreatorAllowlistResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetClassCreatorAllowlistResponse.Merge(m, src) } -func (m *MsgRemoveClassCreator) XXX_Size() int { +func (m *MsgSetClassCreatorAllowlistResponse) XXX_Size() int { return m.Size() } -func (m *MsgRemoveClassCreator) XXX_DiscardUnknown() { - xxx_messageInfo_MsgRemoveClassCreator.DiscardUnknown(m) +func (m *MsgSetClassCreatorAllowlistResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetClassCreatorAllowlistResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgRemoveClassCreator proto.InternalMessageInfo +var xxx_messageInfo_MsgSetClassCreatorAllowlistResponse proto.InternalMessageInfo -func (m *MsgRemoveClassCreator) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgRemoveClassCreator) GetCreator() string { - if m != nil { - return m.Creator - } - return "" -} - -// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. +// MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. // // Since Revision 1 -type MsgRemoveClassCreatorResponse struct { +type MsgAddClassCreatorResponse struct { } -func (m *MsgRemoveClassCreatorResponse) Reset() { *m = MsgRemoveClassCreatorResponse{} } -func (m *MsgRemoveClassCreatorResponse) String() string { return proto.CompactTextString(m) } -func (*MsgRemoveClassCreatorResponse) ProtoMessage() {} -func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int) { +func (m *MsgAddClassCreatorResponse) Reset() { *m = MsgAddClassCreatorResponse{} } +func (m *MsgAddClassCreatorResponse) String() string { return proto.CompactTextString(m) } +func (*MsgAddClassCreatorResponse) ProtoMessage() {} +func (*MsgAddClassCreatorResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2b8ae49f50a3ddbd, []int{35} } -func (m *MsgRemoveClassCreatorResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgAddClassCreatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgRemoveClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgAddClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgRemoveClassCreatorResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgAddClassCreatorResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2286,41 +2288,40 @@ func (m *MsgRemoveClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *MsgRemoveClassCreatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgRemoveClassCreatorResponse.Merge(m, src) +func (m *MsgAddClassCreatorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAddClassCreatorResponse.Merge(m, src) } -func (m *MsgRemoveClassCreatorResponse) XXX_Size() int { +func (m *MsgAddClassCreatorResponse) XXX_Size() int { return m.Size() } -func (m *MsgRemoveClassCreatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgRemoveClassCreatorResponse.DiscardUnknown(m) +func (m *MsgAddClassCreatorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAddClassCreatorResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgRemoveClassCreatorResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgAddClassCreatorResponse proto.InternalMessageInfo -// MsgToggleCreditClassAllowlist is the Msg/ToggleCreditClassAllowlist request -// type. +// MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. // // Since Revision 1 -type MsgToggleCreditClassAllowlist struct { +type MsgRemoveClassCreator struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // enabled defines the boolean value to set the allowlist on or off. - Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + // creator is the address to remove from the class creator list. + Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (m *MsgToggleCreditClassAllowlist) Reset() { *m = MsgToggleCreditClassAllowlist{} } -func (m *MsgToggleCreditClassAllowlist) String() string { return proto.CompactTextString(m) } -func (*MsgToggleCreditClassAllowlist) ProtoMessage() {} -func (*MsgToggleCreditClassAllowlist) Descriptor() ([]byte, []int) { +func (m *MsgRemoveClassCreator) Reset() { *m = MsgRemoveClassCreator{} } +func (m *MsgRemoveClassCreator) String() string { return proto.CompactTextString(m) } +func (*MsgRemoveClassCreator) ProtoMessage() {} +func (*MsgRemoveClassCreator) Descriptor() ([]byte, []int) { return fileDescriptor_2b8ae49f50a3ddbd, []int{36} } -func (m *MsgToggleCreditClassAllowlist) XXX_Unmarshal(b []byte) error { +func (m *MsgRemoveClassCreator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgToggleCreditClassAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgRemoveClassCreator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgToggleCreditClassAllowlist.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgRemoveClassCreator.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2330,51 +2331,50 @@ func (m *MsgToggleCreditClassAllowlist) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *MsgToggleCreditClassAllowlist) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgToggleCreditClassAllowlist.Merge(m, src) +func (m *MsgRemoveClassCreator) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRemoveClassCreator.Merge(m, src) } -func (m *MsgToggleCreditClassAllowlist) XXX_Size() int { +func (m *MsgRemoveClassCreator) XXX_Size() int { return m.Size() } -func (m *MsgToggleCreditClassAllowlist) XXX_DiscardUnknown() { - xxx_messageInfo_MsgToggleCreditClassAllowlist.DiscardUnknown(m) +func (m *MsgRemoveClassCreator) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRemoveClassCreator.DiscardUnknown(m) } -var xxx_messageInfo_MsgToggleCreditClassAllowlist proto.InternalMessageInfo +var xxx_messageInfo_MsgRemoveClassCreator proto.InternalMessageInfo -func (m *MsgToggleCreditClassAllowlist) GetAuthority() string { +func (m *MsgRemoveClassCreator) GetAuthority() string { if m != nil { return m.Authority } return "" } -func (m *MsgToggleCreditClassAllowlist) GetEnabled() bool { +func (m *MsgRemoveClassCreator) GetCreator() string { if m != nil { - return m.Enabled + return m.Creator } - return false + return "" } -// MsgToggleCreditClassAllowlistResponse is the Msg/ToggleCreditClassAllowlist -// response type. +// MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. // // Since Revision 1 -type MsgToggleCreditClassAllowlistResponse struct { +type MsgRemoveClassCreatorResponse struct { } -func (m *MsgToggleCreditClassAllowlistResponse) Reset() { *m = MsgToggleCreditClassAllowlistResponse{} } -func (m *MsgToggleCreditClassAllowlistResponse) String() string { return proto.CompactTextString(m) } -func (*MsgToggleCreditClassAllowlistResponse) ProtoMessage() {} -func (*MsgToggleCreditClassAllowlistResponse) Descriptor() ([]byte, []int) { +func (m *MsgRemoveClassCreatorResponse) Reset() { *m = MsgRemoveClassCreatorResponse{} } +func (m *MsgRemoveClassCreatorResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRemoveClassCreatorResponse) ProtoMessage() {} +func (*MsgRemoveClassCreatorResponse) Descriptor() ([]byte, []int) { return fileDescriptor_2b8ae49f50a3ddbd, []int{37} } -func (m *MsgToggleCreditClassAllowlistResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgRemoveClassCreatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgToggleCreditClassAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgRemoveClassCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgToggleCreditClassAllowlistResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgRemoveClassCreatorResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2384,17 +2384,17 @@ func (m *MsgToggleCreditClassAllowlistResponse) XXX_Marshal(b []byte, determinis return b[:n], nil } } -func (m *MsgToggleCreditClassAllowlistResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgToggleCreditClassAllowlistResponse.Merge(m, src) +func (m *MsgRemoveClassCreatorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRemoveClassCreatorResponse.Merge(m, src) } -func (m *MsgToggleCreditClassAllowlistResponse) XXX_Size() int { +func (m *MsgRemoveClassCreatorResponse) XXX_Size() int { return m.Size() } -func (m *MsgToggleCreditClassAllowlistResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgToggleCreditClassAllowlistResponse.DiscardUnknown(m) +func (m *MsgRemoveClassCreatorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRemoveClassCreatorResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgToggleCreditClassAllowlistResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgRemoveClassCreatorResponse proto.InternalMessageInfo // MsgUpdateClassFees is the Msg/UpdateClassFees request type. // @@ -2530,11 +2530,11 @@ func init() { proto.RegisterType((*MsgBridgeReceive_Project)(nil), "regen.ecocredit.v1.MsgBridgeReceive.Project") proto.RegisterType((*MsgBridgeReceiveResponse)(nil), "regen.ecocredit.v1.MsgBridgeReceiveResponse") proto.RegisterType((*MsgAddClassCreator)(nil), "regen.ecocredit.v1.MsgAddClassCreator") + proto.RegisterType((*MsgSetClassCreatorAllowlist)(nil), "regen.ecocredit.v1.MsgSetClassCreatorAllowlist") + proto.RegisterType((*MsgSetClassCreatorAllowlistResponse)(nil), "regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse") proto.RegisterType((*MsgAddClassCreatorResponse)(nil), "regen.ecocredit.v1.MsgAddClassCreatorResponse") proto.RegisterType((*MsgRemoveClassCreator)(nil), "regen.ecocredit.v1.MsgRemoveClassCreator") proto.RegisterType((*MsgRemoveClassCreatorResponse)(nil), "regen.ecocredit.v1.MsgRemoveClassCreatorResponse") - proto.RegisterType((*MsgToggleCreditClassAllowlist)(nil), "regen.ecocredit.v1.MsgToggleCreditClassAllowlist") - proto.RegisterType((*MsgToggleCreditClassAllowlistResponse)(nil), "regen.ecocredit.v1.MsgToggleCreditClassAllowlistResponse") proto.RegisterType((*MsgUpdateClassFees)(nil), "regen.ecocredit.v1.MsgUpdateClassFees") proto.RegisterType((*MsgUpdateClassFeesResponse)(nil), "regen.ecocredit.v1.MsgUpdateClassFeesResponse") } @@ -2542,118 +2542,118 @@ func init() { func init() { proto.RegisterFile("regen/ecocredit/v1/tx.proto", fileDescriptor_2b8ae49f50a3ddbd) } var fileDescriptor_2b8ae49f50a3ddbd = []byte{ - // 1775 bytes of a gzipped FileDescriptorProto + // 1776 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0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x94, 0xef, 0x25, 0x98, 0x65, + 0x0d, 0x3e, 0x94, 0x0c, 0x29, 0x9a, 0x8c, 0x25, 0x98, 0x0b, 0x75, 0x38, 0x3e, 0x8a, 0x50, 0xc6, + 0xfc, 0x9b, 0x51, 0xc6, 0xc2, 0xb4, 0x94, 0x31, 0x48, 0x66, 0x67, 0xc3, 0x64, 0x56, 0xe9, 0x41, + 0xd1, 0x7f, 0x57, 0x44, 0x69, 0xbe, 0x34, 0x46, 0xf3, 0xc7, 0xda, 0x58, 0x2e, 0xe6, 0xb5, 0x90, + 0xf2, 0xda, 0x08, 0xb3, 0x9c, 0x87, 0xf4, 0xde, 0x86, 0x12, 0x36, 0x31, 0xdf, 0xcc, 0xb8, 0xc2, + 0x8d, 0xb7, 0x41, 0xe6, 0xef, 0x49, 0xef, 0x18, 0x52, 0x46, 0xeb, 0xb8, 0x19, 0x8f, 0xda, 0x2a, + 0xbd, 0x49, 0x1e, 0x50, 0x9c, 0x61, 0x36, 0x1c, 0x7b, 0xad, 0x22, 0xda, 0x84, 0x1e, 0x20, 0x12, + 0x94, 0xbe, 0xdd, 0xeb, 0x39, 0x47, 0x3d, 0x0b, 0x93, 0x6c, 0x35, 0xc8, 0xf6, 0x58, 0x0f, 0x33, + 0xbb, 0xd4, 0xf6, 0x87, 0x63, 0x6a, 0xae, 0xc0, 0xa5, 0x14, 0x35, 0xe2, 0xa6, 0x5e, 0x00, 0x65, + 0xdc, 0x57, 0xb1, 0xda, 0xa1, 0x55, 0xbb, 0x4d, 0x5b, 0xd2, 0x1f, 0x12, 0x0c, 0x56, 0x9f, 0xc7, + 0x15, 0x08, 0x0b, 0x3e, 0x97, 0x68, 0x32, 0x02, 0xad, 0xe5, 0x3e, 0x42, 0x38, 0x43, 0x7f, 0x07, + 0x0a, 0x07, 0x08, 0xf9, 0x2c, 0x26, 0xf9, 0xa1, 0xbd, 0xf3, 0xe7, 0xe7, 0x3f, 0xae, 0xce, 0x7c, + 0xf1, 0x72, 0x75, 0x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x11, 0x2a, 0xf3, 0x86, 0x8d, 0xc8, 0x91, 0xe3, 0x3e, 0xe1, 0xa3, 0x1e, 0x32, 0x4c, 0xe4, 0x36, + 0x8f, 0x03, 0x7f, 0x90, 0xa1, 0x7f, 0x29, 0xa2, 0x14, 0xa5, 0x79, 0xb8, 0xd9, 0x9d, 0xa3, 0x8c, + 0xfe, 0xe6, 0xaf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x20, 0x6f, 0x7a, 0x3f, 0x79, 0x1a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2752,6 +2752,13 @@ type MsgClient interface { // // Since Revision 1 AddCreditType(ctx context.Context, in *MsgAddCreditType, opts ...grpc.CallOption) (*MsgAddCreditTypeResponse, error) + // SetClassCreatorAllowlist is a governance method that updates the class + // creator allowlist enabled setting. When enabled, only addresses listed in + // the allowlist can create credit classes. When disabled, any address can + // create credit classes. + // + // Since Revision 1 + SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of new // address to the class creation allowlist. // @@ -2762,13 +2769,6 @@ type MsgClient interface { // // Since Revision 1 RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) - // ToggleCreditClassAllowlist is a governance method that toggles the network - // allowlist to on or off. when on, the class creator allowlist is used to - // enforce which addresses may create classes. when off, any address may - // create classes. - // - // Since Revision 1 - ToggleCreditClassAllowlist(ctx context.Context, in *MsgToggleCreditClassAllowlist, opts ...grpc.CallOption) (*MsgToggleCreditClassAllowlistResponse, error) // UpdateClassFees is a governance method that allows for the addition and // removal of fees to be used for the class creation fee. // @@ -2928,27 +2928,27 @@ func (c *msgClient) AddCreditType(ctx context.Context, in *MsgAddCreditType, opt return out, nil } -func (c *msgClient) AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error) { - out := new(MsgAddClassCreatorResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/AddClassCreator", in, out, opts...) +func (c *msgClient) SetClassCreatorAllowlist(ctx context.Context, in *MsgSetClassCreatorAllowlist, opts ...grpc.CallOption) (*MsgSetClassCreatorAllowlistResponse, error) { + out := new(MsgSetClassCreatorAllowlistResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/SetClassCreatorAllowlist", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) { - out := new(MsgRemoveClassCreatorResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/RemoveClassCreator", in, out, opts...) +func (c *msgClient) AddClassCreator(ctx context.Context, in *MsgAddClassCreator, opts ...grpc.CallOption) (*MsgAddClassCreatorResponse, error) { + out := new(MsgAddClassCreatorResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/AddClassCreator", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) ToggleCreditClassAllowlist(ctx context.Context, in *MsgToggleCreditClassAllowlist, opts ...grpc.CallOption) (*MsgToggleCreditClassAllowlistResponse, error) { - out := new(MsgToggleCreditClassAllowlistResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/ToggleCreditClassAllowlist", in, out, opts...) +func (c *msgClient) RemoveClassCreator(ctx context.Context, in *MsgRemoveClassCreator, opts ...grpc.CallOption) (*MsgRemoveClassCreatorResponse, error) { + out := new(MsgRemoveClassCreatorResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.v1.Msg/RemoveClassCreator", in, out, opts...) if err != nil { return nil, err } @@ -3050,6 +3050,13 @@ type MsgServer interface { // // Since Revision 1 AddCreditType(context.Context, *MsgAddCreditType) (*MsgAddCreditTypeResponse, error) + // SetClassCreatorAllowlist is a governance method that updates the class + // creator allowlist enabled setting. When enabled, only addresses listed in + // the allowlist can create credit classes. When disabled, any address can + // create credit classes. + // + // Since Revision 1 + SetClassCreatorAllowlist(context.Context, *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error) // AddClassCreator is a governance method that allows the addition of new // address to the class creation allowlist. // @@ -3060,13 +3067,6 @@ type MsgServer interface { // // Since Revision 1 RemoveClassCreator(context.Context, *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error) - // ToggleCreditClassAllowlist is a governance method that toggles the network - // allowlist to on or off. when on, the class creator allowlist is used to - // enforce which addresses may create classes. when off, any address may - // create classes. - // - // Since Revision 1 - ToggleCreditClassAllowlist(context.Context, *MsgToggleCreditClassAllowlist) (*MsgToggleCreditClassAllowlistResponse, error) // UpdateClassFees is a governance method that allows for the addition and // removal of fees to be used for the class creation fee. // @@ -3126,15 +3126,15 @@ func (*UnimplementedMsgServer) BridgeReceive(ctx context.Context, req *MsgBridge func (*UnimplementedMsgServer) AddCreditType(ctx context.Context, req *MsgAddCreditType) (*MsgAddCreditTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddCreditType not implemented") } +func (*UnimplementedMsgServer) SetClassCreatorAllowlist(ctx context.Context, req *MsgSetClassCreatorAllowlist) (*MsgSetClassCreatorAllowlistResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetClassCreatorAllowlist not implemented") +} func (*UnimplementedMsgServer) AddClassCreator(ctx context.Context, req *MsgAddClassCreator) (*MsgAddClassCreatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddClassCreator not implemented") } func (*UnimplementedMsgServer) RemoveClassCreator(ctx context.Context, req *MsgRemoveClassCreator) (*MsgRemoveClassCreatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveClassCreator not implemented") } -func (*UnimplementedMsgServer) ToggleCreditClassAllowlist(ctx context.Context, req *MsgToggleCreditClassAllowlist) (*MsgToggleCreditClassAllowlistResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ToggleCreditClassAllowlist not implemented") -} func (*UnimplementedMsgServer) UpdateClassFees(ctx context.Context, req *MsgUpdateClassFees) (*MsgUpdateClassFeesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateClassFees not implemented") } @@ -3431,56 +3431,56 @@ func _Msg_AddCreditType_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } -func _Msg_AddClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddClassCreator) +func _Msg_SetClassCreatorAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetClassCreatorAllowlist) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).AddClassCreator(ctx, in) + return srv.(MsgServer).SetClassCreatorAllowlist(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/AddClassCreator", + FullMethod: "/regen.ecocredit.v1.Msg/SetClassCreatorAllowlist", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddClassCreator(ctx, req.(*MsgAddClassCreator)) + return srv.(MsgServer).SetClassCreatorAllowlist(ctx, req.(*MsgSetClassCreatorAllowlist)) } return interceptor(ctx, in, info, handler) } -func _Msg_RemoveClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgRemoveClassCreator) +func _Msg_AddClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddClassCreator) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).RemoveClassCreator(ctx, in) + return srv.(MsgServer).AddClassCreator(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/RemoveClassCreator", + FullMethod: "/regen.ecocredit.v1.Msg/AddClassCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).RemoveClassCreator(ctx, req.(*MsgRemoveClassCreator)) + return srv.(MsgServer).AddClassCreator(ctx, req.(*MsgAddClassCreator)) } return interceptor(ctx, in, info, handler) } -func _Msg_ToggleCreditClassAllowlist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgToggleCreditClassAllowlist) +func _Msg_RemoveClassCreator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgRemoveClassCreator) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).ToggleCreditClassAllowlist(ctx, in) + return srv.(MsgServer).RemoveClassCreator(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.v1.Msg/ToggleCreditClassAllowlist", + FullMethod: "/regen.ecocredit.v1.Msg/RemoveClassCreator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).ToggleCreditClassAllowlist(ctx, req.(*MsgToggleCreditClassAllowlist)) + return srv.(MsgServer).RemoveClassCreator(ctx, req.(*MsgRemoveClassCreator)) } return interceptor(ctx, in, info, handler) } @@ -3571,6 +3571,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "AddCreditType", Handler: _Msg_AddCreditType_Handler, }, + { + MethodName: "SetClassCreatorAllowlist", + Handler: _Msg_SetClassCreatorAllowlist_Handler, + }, { MethodName: "AddClassCreator", Handler: _Msg_AddClassCreator_Handler, @@ -3579,10 +3583,6 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "RemoveClassCreator", Handler: _Msg_RemoveClassCreator_Handler, }, - { - MethodName: "ToggleCreditClassAllowlist", - Handler: _Msg_ToggleCreditClassAllowlist_Handler, - }, { MethodName: "UpdateClassFees", Handler: _Msg_UpdateClassFees_Handler, @@ -5071,7 +5071,7 @@ func (m *MsgAddClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgAddClassCreatorResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetClassCreatorAllowlist) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5081,20 +5081,37 @@ func (m *MsgAddClassCreatorResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgAddClassCreatorResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetClassCreatorAllowlist) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgAddClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetClassCreatorAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Enabled { + i-- + if m.Enabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *MsgRemoveClassCreator) Marshal() (dAtA []byte, err error) { +func (m *MsgSetClassCreatorAllowlistResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5104,34 +5121,20 @@ func (m *MsgRemoveClassCreator) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgRemoveClassCreator) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetClassCreatorAllowlistResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgRemoveClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetClassCreatorAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0x12 - } - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *MsgRemoveClassCreatorResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgAddClassCreatorResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5141,12 +5144,12 @@ func (m *MsgRemoveClassCreatorResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgRemoveClassCreatorResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgAddClassCreatorResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgRemoveClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgAddClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5154,7 +5157,7 @@ func (m *MsgRemoveClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgToggleCreditClassAllowlist) Marshal() (dAtA []byte, err error) { +func (m *MsgRemoveClassCreator) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5164,25 +5167,22 @@ func (m *MsgToggleCreditClassAllowlist) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgToggleCreditClassAllowlist) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgRemoveClassCreator) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgToggleCreditClassAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgRemoveClassCreator) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(m.Authority) > 0 { i -= len(m.Authority) @@ -5194,7 +5194,7 @@ func (m *MsgToggleCreditClassAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgToggleCreditClassAllowlistResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgRemoveClassCreatorResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5204,12 +5204,12 @@ func (m *MsgToggleCreditClassAllowlistResponse) Marshal() (dAtA []byte, err erro return dAtA[:n], nil } -func (m *MsgToggleCreditClassAllowlistResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgRemoveClassCreatorResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgToggleCreditClassAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgRemoveClassCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5952,33 +5952,32 @@ func (m *MsgAddClassCreator) Size() (n int) { return n } -func (m *MsgAddClassCreatorResponse) Size() (n int) { +func (m *MsgSetClassCreatorAllowlist) Size() (n int) { if m == nil { return 0 } var l int _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Enabled { + n += 2 + } return n } -func (m *MsgRemoveClassCreator) Size() (n int) { +func (m *MsgSetClassCreatorAllowlistResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Authority) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgRemoveClassCreatorResponse) Size() (n int) { +func (m *MsgAddClassCreatorResponse) Size() (n int) { if m == nil { return 0 } @@ -5987,7 +5986,7 @@ func (m *MsgRemoveClassCreatorResponse) Size() (n int) { return n } -func (m *MsgToggleCreditClassAllowlist) Size() (n int) { +func (m *MsgRemoveClassCreator) Size() (n int) { if m == nil { return 0 } @@ -5997,13 +5996,14 @@ func (m *MsgToggleCreditClassAllowlist) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Enabled { - n += 2 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgToggleCreditClassAllowlistResponse) Size() (n int) { +func (m *MsgRemoveClassCreatorResponse) Size() (n int) { if m == nil { return 0 } @@ -10418,7 +10418,7 @@ func (m *MsgAddClassCreator) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAddClassCreatorResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetClassCreatorAllowlist) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10441,60 +10441,10 @@ func (m *MsgAddClassCreatorResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAddClassCreatorResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetClassCreatorAllowlist: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAddClassCreatorResponse: 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 *MsgRemoveClassCreator) 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: MsgRemoveClassCreator: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgRemoveClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetClassCreatorAllowlist: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10530,10 +10480,10 @@ func (m *MsgRemoveClassCreator) Unmarshal(dAtA []byte) error { m.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10543,24 +10493,62 @@ func (m *MsgRemoveClassCreator) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx + m.Enabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSetClassCreatorAllowlistResponse) 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: MsgSetClassCreatorAllowlistResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetClassCreatorAllowlistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10582,7 +10570,7 @@ func (m *MsgRemoveClassCreator) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgRemoveClassCreatorResponse) Unmarshal(dAtA []byte) error { +func (m *MsgAddClassCreatorResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10605,10 +10593,10 @@ func (m *MsgRemoveClassCreatorResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgRemoveClassCreatorResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAddClassCreatorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgRemoveClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAddClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10632,7 +10620,7 @@ func (m *MsgRemoveClassCreatorResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgToggleCreditClassAllowlist) Unmarshal(dAtA []byte) error { +func (m *MsgRemoveClassCreator) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10655,10 +10643,10 @@ func (m *MsgToggleCreditClassAllowlist) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgToggleCreditClassAllowlist: wiretype end group for non-group") + return fmt.Errorf("proto: MsgRemoveClassCreator: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgToggleCreditClassAllowlist: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgRemoveClassCreator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10694,10 +10682,10 @@ func (m *MsgToggleCreditClassAllowlist) Unmarshal(dAtA []byte) error { m.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -10707,12 +10695,24 @@ func (m *MsgToggleCreditClassAllowlist) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.Enabled = bool(v != 0) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -10734,7 +10734,7 @@ func (m *MsgToggleCreditClassAllowlist) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgToggleCreditClassAllowlistResponse) Unmarshal(dAtA []byte) error { +func (m *MsgRemoveClassCreatorResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10757,10 +10757,10 @@ func (m *MsgToggleCreditClassAllowlistResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgToggleCreditClassAllowlistResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgRemoveClassCreatorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgToggleCreditClassAllowlistResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgRemoveClassCreatorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: diff --git a/x/ecocredit/client/query.go b/x/ecocredit/client/query.go index 6b736c2017..d3a5fc5ff9 100644 --- a/x/ecocredit/client/query.go +++ b/x/ecocredit/client/query.go @@ -39,8 +39,8 @@ func QueryCmd(name string) *cobra.Command { baseclient.QueryProjectCmd(), baseclient.QueryParamsCmd(), baseclient.QueryCreditTypeCmd(), + baseclient.QueryClassCreatorAllowlistCmd(), baseclient.QueryAllowedClassCreatorsCmd(), - baseclient.QueryCreditClassAllowlistEnabledCmd(), baseclient.QueryCreditClassFeesCmd(), baseclient.QueryAllBalances(), basketclient.QueryBasketCmd(), diff --git a/x/ecocredit/client/testsuite/grpc.go b/x/ecocredit/client/testsuite/grpc.go index 58c1483bf5..d1be5a513a 100644 --- a/x/ecocredit/client/testsuite/grpc.go +++ b/x/ecocredit/client/testsuite/grpc.go @@ -553,8 +553,21 @@ func (s *IntegrationTestSuite) TestCreditType() { var res types.QueryCreditTypeResponse err = s.val.ClientCtx.Codec.UnmarshalJSON(resp, &res) require.NoError(err) - require.Equal(res.CreditType.Abbreviation, "C") - require.Equal(res.CreditType.Precision, uint32(6)) + require.Equal("C", res.CreditType.Abbreviation) + require.Equal(uint32(6), res.CreditType.Precision) +} + +func (s *IntegrationTestSuite) TestClassCreatorAllowlist() { + require := s.Require() + + url := fmt.Sprintf("%s/%s/class-creator-allowlist", s.val.APIAddress, baseRoute) + resp, err := rest.GetRequest(url) + require.NoError(err) + + var res types.QueryClassCreatorAllowlistResponse + err = s.val.ClientCtx.Codec.UnmarshalJSON(resp, &res) + require.NoError(err) + require.Equal(false, res.Enabled) } func (s *IntegrationTestSuite) TestAllBalances() { diff --git a/x/ecocredit/client/testsuite/query.go b/x/ecocredit/client/testsuite/query.go index 3692b8f16b..e4236fe6b1 100644 --- a/x/ecocredit/client/testsuite/query.go +++ b/x/ecocredit/client/testsuite/query.go @@ -893,14 +893,14 @@ func (s *IntegrationTestSuite) TestQueryCreditClassAllowlistEnableCmd() { clientCtx := val.ClientCtx clientCtx.OutputFormat = outputFormat - cmd := client.QueryCreditClassAllowlistEnabledCmd() + cmd := client.QueryClassCreatorAllowlistCmd() out, err := cli.ExecTestCLICmd(clientCtx, cmd, []string{}) s.Require().NoError(err, out.String()) - var res types.QueryCreditClassAllowlistEnabledResponse + var res types.QueryClassCreatorAllowlistResponse s.Require().NoError(clientCtx.Codec.UnmarshalJSON(out.Bytes(), &res)) - s.Require().False(res.AllowlistEnabled) + s.Require().False(res.Enabled) } func (s *IntegrationTestSuite) TestQueryCreditClassFeesCmd() { diff --git a/x/ecocredit/client/testsuite/suite.go b/x/ecocredit/client/testsuite/suite.go index 3345f9e115..e8312a61df 100644 --- a/x/ecocredit/client/testsuite/suite.go +++ b/x/ecocredit/client/testsuite/suite.go @@ -244,7 +244,7 @@ func (s *IntegrationTestSuite) setupGenesis() { require.NoError(err) // set credit class allow list - err = baseStore.AllowListEnabledTable().Save(ctx, &baseapi.AllowListEnabled{ + err = baseStore.ClassCreatorAllowlistTable().Save(ctx, &baseapi.ClassCreatorAllowlist{ Enabled: false, }) require.NoError(err) diff --git a/x/ecocredit/migrations/v3/state.go b/x/ecocredit/migrations/v3/state.go index e1b8a76331..8e78bae754 100644 --- a/x/ecocredit/migrations/v3/state.go +++ b/x/ecocredit/migrations/v3/state.go @@ -29,7 +29,7 @@ func MigrateState(sdkCtx sdk.Context, baseStore baseapi.StateStore, basketStore } // migrate credit class allow list - if err := baseStore.AllowListEnabledTable().Save(sdkCtx, &baseapi.AllowListEnabled{ + if err := baseStore.ClassCreatorAllowlistTable().Save(sdkCtx, &baseapi.ClassCreatorAllowlist{ Enabled: params.AllowlistEnabled, }); err != nil { return err diff --git a/x/ecocredit/migrations/v3/state_test.go b/x/ecocredit/migrations/v3/state_test.go index 3f9716b72f..791d1d607a 100644 --- a/x/ecocredit/migrations/v3/state_test.go +++ b/x/ecocredit/migrations/v3/state_test.go @@ -86,7 +86,7 @@ func TestMigrations(t *testing.T) { assert.Equal(t, classFees.Fees[1].Denom, "uregen") assert.Equal(t, classFees.Fees[1].Amount, "2000000") - allowedListEnabled, err := baseStore.AllowListEnabledTable().Get(sdkCtx) + allowedListEnabled, err := baseStore.ClassCreatorAllowlistTable().Get(sdkCtx) assert.NilError(t, err) assert.Equal(t, allowedListEnabled.Enabled, true) diff --git a/x/ecocredit/simulation/genesis.go b/x/ecocredit/simulation/genesis.go index 51b6b85140..f9c40875ad 100644 --- a/x/ecocredit/simulation/genesis.go +++ b/x/ecocredit/simulation/genesis.go @@ -52,7 +52,7 @@ func genAllowedClassCreators(r *rand.Rand, accs []simtypes.Account) []sdk.AccAdd return creators } -func genAllowListEnabled(r *rand.Rand) bool { +func genClassCreatorAllowlist(r *rand.Rand) bool { return r.Int63n(101) <= 90 } @@ -195,8 +195,8 @@ func genGenesisState(ctx context.Context, simState *module.SimulationState, ss a metadata := simtypes.RandStringOfLength(r, simtypes.RandIntBetween(r, 5, 100)) // generate base params - if err := ss.AllowListEnabledTable().Save(ctx, &api.AllowListEnabled{ - Enabled: genAllowListEnabled(r), + if err := ss.ClassCreatorAllowlistTable().Save(ctx, &api.ClassCreatorAllowlist{ + Enabled: genClassCreatorAllowlist(r), }); err != nil { return err } diff --git a/x/ecocredit/simulation/genesis_test.go b/x/ecocredit/simulation/genesis_test.go index de1bc3636e..4827d4e829 100644 --- a/x/ecocredit/simulation/genesis_test.go +++ b/x/ecocredit/simulation/genesis_test.go @@ -69,7 +69,7 @@ func TestRandomizedGenState(t *testing.T) { err = ormdb.ImportJSON(ormCtx, jsonSource) require.NoError(t, err) - allowListEnabled, err := baseStore.AllowListEnabledTable().Get(ormCtx) + allowListEnabled, err := baseStore.ClassCreatorAllowlistTable().Get(ormCtx) require.NoError(t, err) require.True(t, allowListEnabled.Enabled)