From fa1208b881a0d9b334ee0e11b40415cf35f89218 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Tue, 30 Jan 2024 12:00:38 -0500 Subject: [PATCH 01/13] feat(x/ecocredit/marketplace): add marketplace fee API --- .../ecocredit/marketplace/v1/state.proto | 19 ++++++++++++ proto/regen/ecocredit/marketplace/v1/tx.proto | 30 +++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/proto/regen/ecocredit/marketplace/v1/state.proto b/proto/regen/ecocredit/marketplace/v1/state.proto index 39ed91e9cc..97a03fb148 100644 --- a/proto/regen/ecocredit/marketplace/v1/state.proto +++ b/proto/regen/ecocredit/marketplace/v1/state.proto @@ -127,3 +127,22 @@ message Market { // exchange for less precision at the lower end. uint32 precision_modifier = 4; } + +// FeeParams represents the marketplace fee parameters. +message FeeParams { + option (cosmos.orm.v1.singleton) = { + id : 4 + }; + + // buyer_percentage_fee is the decimal percentage fee charged to the buyer. + // The string 3.0 means a 3.0% fee. + // This fee will be added to the total price of a buy order and is denominated + // in the same denom as the buy order's bid denom. + string buyer_percentage_fee = 1; + + // seller_percentage_fee is the decimal percentage fee charged to the seller. + // The string 3.0 means a 3.0% fee. + // This fee will be subtracted from the total proceeds of a sell order distributed to the seller + // and is denominated in the same denom as the sell order's ask denom. + string seller_percentage_fee = 2; +} \ No newline at end of file diff --git a/proto/regen/ecocredit/marketplace/v1/tx.proto b/proto/regen/ecocredit/marketplace/v1/tx.proto index 7aa880426e..5549603da2 100644 --- a/proto/regen/ecocredit/marketplace/v1/tx.proto +++ b/proto/regen/ecocredit/marketplace/v1/tx.proto @@ -6,6 +6,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "cosmos/msg/v1/msg.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; +import "regen/ecocredit/marketplace/v1/state.proto"; option go_package = "github.com/regen-network/regen-ledger/x/ecocredit/marketplace/types/v1"; @@ -36,6 +37,12 @@ service Msg { // Since Revision 1 rpc RemoveAllowedDenom(MsgRemoveAllowedDenom) returns (MsgRemoveAllowedDenomResponse); + + // SetMarketplaceFees is a governance method that sets the marketplace fees. + // + // Since Revision 3 + rpc SetMarketplaceFees(MsgSetMarketplaceFees) + returns (MsgSetMarketplaceFeesResponse); } // MsgSell is the Msg/Sell request type. @@ -174,6 +181,15 @@ message MsgBuyDirect { // // Since Revision 1 string retirement_reason = 7; + + // max_fee_amount is the maximum amount of buyer side fees being paid to the marketplace. + // If the marketplace fees end up being greater than this amount, the transaction will fail. + // If this field is left empty, the marketplace fees will be calculated based on the bid price + // and quantity and automatically deducted from the buyer's account. + // Fees are always paid in the same denomination as the bid price. + // + // Since Revision 3 + string max_fee_amount = 8; } } @@ -223,3 +239,17 @@ message MsgRemoveAllowedDenom { // // Since Revision 1 message MsgRemoveAllowedDenomResponse {} + +// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. +message MsgSetMarketplaceFees { + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1; + + // fees are the marketplace fees being set. + FeeParams fees = 2; +} + +// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. +message MsgSetMarketplaceFeesResponse {} \ No newline at end of file From 3624c5dab9de0e64a1fea7f264e048a38c78abc8 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Tue, 30 Jan 2024 12:05:37 -0500 Subject: [PATCH 02/13] docs --- proto/regen/ecocredit/marketplace/v1/state.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proto/regen/ecocredit/marketplace/v1/state.proto b/proto/regen/ecocredit/marketplace/v1/state.proto index 97a03fb148..b89be29d94 100644 --- a/proto/regen/ecocredit/marketplace/v1/state.proto +++ b/proto/regen/ecocredit/marketplace/v1/state.proto @@ -128,7 +128,11 @@ message Market { uint32 precision_modifier = 4; } -// FeeParams represents the marketplace fee parameters. +// FeeParams represents the marketplace fee parameters. Fees will be charged in the +// same denom that the order is denominated in and deposited into the marketplace +// fee pool, except when the denom is regen, in which case the fees will be +// burned. Fees in the fee pool are expected to burned by governance in a manual +// process unless governance agrees to a different approach. message FeeParams { option (cosmos.orm.v1.singleton) = { id : 4 From 8e09e86973000dbc34f4461801b42f2a5d3bdb4c Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Tue, 30 Jan 2024 12:06:34 -0500 Subject: [PATCH 03/13] cleanup --- proto/regen/ecocredit/marketplace/v1/state.proto | 2 +- proto/regen/ecocredit/marketplace/v1/tx.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/regen/ecocredit/marketplace/v1/state.proto b/proto/regen/ecocredit/marketplace/v1/state.proto index b89be29d94..70cb638fc2 100644 --- a/proto/regen/ecocredit/marketplace/v1/state.proto +++ b/proto/regen/ecocredit/marketplace/v1/state.proto @@ -149,4 +149,4 @@ message FeeParams { // This fee will be subtracted from the total proceeds of a sell order distributed to the seller // and is denominated in the same denom as the sell order's ask denom. string seller_percentage_fee = 2; -} \ No newline at end of file +} diff --git a/proto/regen/ecocredit/marketplace/v1/tx.proto b/proto/regen/ecocredit/marketplace/v1/tx.proto index 5549603da2..497d79fd7e 100644 --- a/proto/regen/ecocredit/marketplace/v1/tx.proto +++ b/proto/regen/ecocredit/marketplace/v1/tx.proto @@ -252,4 +252,4 @@ message MsgSetMarketplaceFees { } // MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. -message MsgSetMarketplaceFeesResponse {} \ No newline at end of file +message MsgSetMarketplaceFeesResponse {} From d0bfd3e1b10566e606cb7d5237d63a1e056e8643 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Tue, 30 Jan 2024 12:11:20 -0500 Subject: [PATCH 04/13] proto-gen --- api/regen/data/v2/types.pulsar.go | 3 +- .../marketplace/v1/state.cosmos_orm.go | 42 + .../ecocredit/marketplace/v1/state.pulsar.go | 609 +++++- .../ecocredit/marketplace/v1/tx.pulsar.go | 1686 ++++++++++++++--- .../ecocredit/marketplace/v1/tx_grpc.pb.go | 43 + go.mod | 4 +- x/data/go.mod | 4 +- x/data/types.pb.go | 3 +- x/ecocredit/marketplace/types/v1/state.pb.go | 314 ++- x/ecocredit/marketplace/types/v1/tx.pb.go | 583 +++++- 10 files changed, 2849 insertions(+), 442 deletions(-) diff --git a/api/regen/data/v2/types.pulsar.go b/api/regen/data/v2/types.pulsar.go index 281d03823a..3c6a084a3e 100644 --- a/api/regen/data/v2/types.pulsar.go +++ b/api/regen/data/v2/types.pulsar.go @@ -2303,8 +2303,7 @@ type ContentHash struct { // which is preserved bit by bit. All other content encodings specify a // deterministic, canonical encoding allowing implementations to choose from a // variety of alternative formats for transport and encoding while maintaining - // the guarantee that the canonical hash will not change. The media type for - // "raw" data is defined by the MediaType enum. + // the guarantee that the canonical hash will not change. Raw *ContentHash_Raw `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // graph specifies graph data that conforms to the RDF data model. // The canonicalization algorithm used for an RDF graph is specified by diff --git a/api/regen/ecocredit/marketplace/v1/state.cosmos_orm.go b/api/regen/ecocredit/marketplace/v1/state.cosmos_orm.go index 437bf00cc2..78bc357bb1 100644 --- a/api/regen/ecocredit/marketplace/v1/state.cosmos_orm.go +++ b/api/regen/ecocredit/marketplace/v1/state.cosmos_orm.go @@ -480,10 +480,41 @@ func NewMarketTable(db ormtable.Schema) (MarketTable, error) { return marketTable{table.(ormtable.AutoIncrementTable)}, nil } +// singleton store +type FeeParamsTable interface { + Get(ctx context.Context) (*FeeParams, error) + Save(ctx context.Context, feeParams *FeeParams) error +} + +type feeParamsTable struct { + table ormtable.Table +} + +var _ FeeParamsTable = feeParamsTable{} + +func (x feeParamsTable) Get(ctx context.Context) (*FeeParams, error) { + feeParams := &FeeParams{} + _, err := x.table.Get(ctx, feeParams) + return feeParams, err +} + +func (x feeParamsTable) Save(ctx context.Context, feeParams *FeeParams) error { + return x.table.Save(ctx, feeParams) +} + +func NewFeeParamsTable(db ormtable.Schema) (FeeParamsTable, error) { + table := db.GetTable(&FeeParams{}) + if table == nil { + return nil, ormerrors.TableNotFound.Wrap(string((&FeeParams{}).ProtoReflect().Descriptor().FullName())) + } + return &feeParamsTable{table}, nil +} + type StateStore interface { SellOrderTable() SellOrderTable AllowedDenomTable() AllowedDenomTable MarketTable() MarketTable + FeeParamsTable() FeeParamsTable doNotImplement() } @@ -492,6 +523,7 @@ type stateStore struct { sellOrder SellOrderTable allowedDenom AllowedDenomTable market MarketTable + feeParams FeeParamsTable } func (x stateStore) SellOrderTable() SellOrderTable { @@ -506,6 +538,10 @@ func (x stateStore) MarketTable() MarketTable { return x.market } +func (x stateStore) FeeParamsTable() FeeParamsTable { + return x.feeParams +} + func (stateStore) doNotImplement() {} var _ StateStore = stateStore{} @@ -526,9 +562,15 @@ func NewStateStore(db ormtable.Schema) (StateStore, error) { return nil, err } + feeParamsTable, err := NewFeeParamsTable(db) + if err != nil { + return nil, err + } + return stateStore{ sellOrderTable, allowedDenomTable, marketTable, + feeParamsTable, }, nil } diff --git a/api/regen/ecocredit/marketplace/v1/state.pulsar.go b/api/regen/ecocredit/marketplace/v1/state.pulsar.go index b5e4d4f682..b79f2b019a 100644 --- a/api/regen/ecocredit/marketplace/v1/state.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/state.pulsar.go @@ -2007,6 +2007,490 @@ func (x *fastReflection_Market) ProtoMethods() *protoiface.Methods { } } +var ( + md_FeeParams protoreflect.MessageDescriptor + fd_FeeParams_buyer_percentage_fee protoreflect.FieldDescriptor + fd_FeeParams_seller_percentage_fee protoreflect.FieldDescriptor +) + +func init() { + file_regen_ecocredit_marketplace_v1_state_proto_init() + md_FeeParams = File_regen_ecocredit_marketplace_v1_state_proto.Messages().ByName("FeeParams") + fd_FeeParams_buyer_percentage_fee = md_FeeParams.Fields().ByName("buyer_percentage_fee") + fd_FeeParams_seller_percentage_fee = md_FeeParams.Fields().ByName("seller_percentage_fee") +} + +var _ protoreflect.Message = (*fastReflection_FeeParams)(nil) + +type fastReflection_FeeParams FeeParams + +func (x *FeeParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_FeeParams)(x) +} + +func (x *FeeParams) slowProtoReflect() protoreflect.Message { + mi := &file_regen_ecocredit_marketplace_v1_state_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_FeeParams_messageType fastReflection_FeeParams_messageType +var _ protoreflect.MessageType = fastReflection_FeeParams_messageType{} + +type fastReflection_FeeParams_messageType struct{} + +func (x fastReflection_FeeParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_FeeParams)(nil) +} +func (x fastReflection_FeeParams_messageType) New() protoreflect.Message { + return new(fastReflection_FeeParams) +} +func (x fastReflection_FeeParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_FeeParams +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_FeeParams) Descriptor() protoreflect.MessageDescriptor { + return md_FeeParams +} + +// 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_FeeParams) Type() protoreflect.MessageType { + return _fastReflection_FeeParams_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_FeeParams) New() protoreflect.Message { + return new(fastReflection_FeeParams) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_FeeParams) Interface() protoreflect.ProtoMessage { + return (*FeeParams)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_FeeParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BuyerPercentageFee != "" { + value := protoreflect.ValueOfString(x.BuyerPercentageFee) + if !f(fd_FeeParams_buyer_percentage_fee, value) { + return + } + } + if x.SellerPercentageFee != "" { + value := protoreflect.ValueOfString(x.SellerPercentageFee) + if !f(fd_FeeParams_seller_percentage_fee, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_FeeParams) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + return x.BuyerPercentageFee != "" + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + return x.SellerPercentageFee != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FeeParams) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + x.BuyerPercentageFee = "" + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + x.SellerPercentageFee = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_FeeParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + value := x.BuyerPercentageFee + return protoreflect.ValueOfString(value) + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + value := x.SellerPercentageFee + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FeeParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + x.BuyerPercentageFee = value.Interface().(string) + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + x.SellerPercentageFee = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FeeParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + panic(fmt.Errorf("field buyer_percentage_fee of message regen.ecocredit.marketplace.v1.FeeParams is not mutable")) + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + panic(fmt.Errorf("field seller_percentage_fee of message regen.ecocredit.marketplace.v1.FeeParams is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams 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_FeeParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.FeeParams.buyer_percentage_fee": + return protoreflect.ValueOfString("") + case "regen.ecocredit.marketplace.v1.FeeParams.seller_percentage_fee": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.FeeParams")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.FeeParams 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_FeeParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.FeeParams", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_FeeParams) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_FeeParams) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_FeeParams) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_FeeParams) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*FeeParams) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.BuyerPercentageFee) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SellerPercentageFee) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*FeeParams) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.SellerPercentageFee) > 0 { + i -= len(x.SellerPercentageFee) + copy(dAtA[i:], x.SellerPercentageFee) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SellerPercentageFee))) + i-- + dAtA[i] = 0x12 + } + if len(x.BuyerPercentageFee) > 0 { + i -= len(x.BuyerPercentageFee) + copy(dAtA[i:], x.BuyerPercentageFee) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BuyerPercentageFee))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*FeeParams) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FeeParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: FeeParams: 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 BuyerPercentageFee", 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.BuyerPercentageFee = 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 SellerPercentageFee", 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.SellerPercentageFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 @@ -2292,6 +2776,62 @@ func (x *Market) GetPrecisionModifier() uint32 { return 0 } +// FeeParams represents the marketplace fee parameters. Fees will be charged in the +// same denom that the order is denominated in and deposited into the marketplace +// fee pool, except when the denom is regen, in which case the fees will be +// burned. Fees in the fee pool are expected to burned by governance in a manual +// process unless governance agrees to a different approach. +type FeeParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // buyer_percentage_fee is the decimal percentage fee charged to the buyer. + // The string 3.0 means a 3.0% fee. + // This fee will be added to the total price of a buy order and is denominated + // in the same denom as the buy order's bid denom. + BuyerPercentageFee string `protobuf:"bytes,1,opt,name=buyer_percentage_fee,json=buyerPercentageFee,proto3" json:"buyer_percentage_fee,omitempty"` + // seller_percentage_fee is the decimal percentage fee charged to the seller. + // The string 3.0 means a 3.0% fee. + // This fee will be subtracted from the total proceeds of a sell order distributed to the seller + // and is denominated in the same denom as the sell order's ask denom. + SellerPercentageFee string `protobuf:"bytes,2,opt,name=seller_percentage_fee,json=sellerPercentageFee,proto3" json:"seller_percentage_fee,omitempty"` +} + +func (x *FeeParams) Reset() { + *x = FeeParams{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_state_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FeeParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FeeParams) ProtoMessage() {} + +// Deprecated: Use FeeParams.ProtoReflect.Descriptor instead. +func (*FeeParams) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_state_proto_rawDescGZIP(), []int{3} +} + +func (x *FeeParams) GetBuyerPercentageFee() string { + if x != nil { + return x.BuyerPercentageFee + } + return "" +} + +func (x *FeeParams) GetSellerPercentageFee() string { + if x != nil { + return x.SellerPercentageFee + } + return "" +} + var File_regen_ecocredit_marketplace_v1_state_proto protoreflect.FileDescriptor var file_regen_ecocredit_marketplace_v1_state_proto_rawDesc = []byte{ @@ -2348,26 +2888,34 @@ var file_regen_ecocredit_marketplace_v1_state_proto_rawDesc = []byte{ 0x69, 0x66, 0x69, 0x65, 0x72, 0x3a, 0x35, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x2f, 0x0a, 0x06, 0x0a, 0x02, 0x69, 0x64, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1d, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x61, 0x62, 0x62, 0x72, 0x65, 0x76, 0x2c, 0x62, 0x61, 0x6e, 0x6b, - 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x10, 0x01, 0x18, 0x01, 0x18, 0x04, 0x42, 0xa3, 0x02, 0x0a, - 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x56, 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, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x4d, 0xaa, - 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, - 0xca, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, - 0x31, 0xe2, 0x02, 0x2a, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x21, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x10, 0x01, 0x18, 0x01, 0x18, 0x04, 0x22, 0x7b, 0x0a, 0x09, + 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x75, 0x79, + 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x65, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x62, 0x75, 0x79, 0x65, 0x72, 0x50, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x73, + 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x5f, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x6c, 0x6c, + 0x65, 0x72, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x3a, + 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x04, 0x42, 0xa3, 0x02, 0x0a, 0x22, 0x63, 0x6f, + 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, + 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, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, + 0x6c, 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x4d, 0xaa, 0x02, 0x1e, 0x52, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, + 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x2a, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x52, 0x65, + 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2382,15 +2930,16 @@ func file_regen_ecocredit_marketplace_v1_state_proto_rawDescGZIP() []byte { return file_regen_ecocredit_marketplace_v1_state_proto_rawDescData } -var file_regen_ecocredit_marketplace_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_regen_ecocredit_marketplace_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_regen_ecocredit_marketplace_v1_state_proto_goTypes = []interface{}{ (*SellOrder)(nil), // 0: regen.ecocredit.marketplace.v1.SellOrder (*AllowedDenom)(nil), // 1: regen.ecocredit.marketplace.v1.AllowedDenom (*Market)(nil), // 2: regen.ecocredit.marketplace.v1.Market - (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp + (*FeeParams)(nil), // 3: regen.ecocredit.marketplace.v1.FeeParams + (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp } var file_regen_ecocredit_marketplace_v1_state_proto_depIdxs = []int32{ - 3, // 0: regen.ecocredit.marketplace.v1.SellOrder.expiration:type_name -> google.protobuf.Timestamp + 4, // 0: regen.ecocredit.marketplace.v1.SellOrder.expiration:type_name -> google.protobuf.Timestamp 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -2440,6 +2989,18 @@ func file_regen_ecocredit_marketplace_v1_state_proto_init() { return nil } } + file_regen_ecocredit_marketplace_v1_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FeeParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -2447,7 +3008,7 @@ func file_regen_ecocredit_marketplace_v1_state_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_regen_ecocredit_marketplace_v1_state_proto_rawDesc, NumEnums: 0, - NumMessages: 3, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go index 8890dfbcda..66005f8bec 100644 --- a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go @@ -602,7 +602,7 @@ func (x *MsgSell_Order) ProtoReflect() protoreflect.Message { } func (x *MsgSell_Order) slowProtoReflect() protoreflect.Message { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2392,7 +2392,7 @@ func (x *MsgUpdateSellOrders_Update) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateSellOrders_Update) slowProtoReflect() protoreflect.Message { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4790,6 +4790,7 @@ var ( fd_MsgBuyDirect_Order_disable_auto_retire protoreflect.FieldDescriptor fd_MsgBuyDirect_Order_retirement_jurisdiction protoreflect.FieldDescriptor fd_MsgBuyDirect_Order_retirement_reason protoreflect.FieldDescriptor + fd_MsgBuyDirect_Order_max_fee_amount protoreflect.FieldDescriptor ) func init() { @@ -4801,6 +4802,7 @@ func init() { fd_MsgBuyDirect_Order_disable_auto_retire = md_MsgBuyDirect_Order.Fields().ByName("disable_auto_retire") fd_MsgBuyDirect_Order_retirement_jurisdiction = md_MsgBuyDirect_Order.Fields().ByName("retirement_jurisdiction") fd_MsgBuyDirect_Order_retirement_reason = md_MsgBuyDirect_Order.Fields().ByName("retirement_reason") + fd_MsgBuyDirect_Order_max_fee_amount = md_MsgBuyDirect_Order.Fields().ByName("max_fee_amount") } var _ protoreflect.Message = (*fastReflection_MsgBuyDirect_Order)(nil) @@ -4812,7 +4814,7 @@ func (x *MsgBuyDirect_Order) ProtoReflect() protoreflect.Message { } func (x *MsgBuyDirect_Order) slowProtoReflect() protoreflect.Message { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[14] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4904,6 +4906,12 @@ func (x *fastReflection_MsgBuyDirect_Order) Range(f func(protoreflect.FieldDescr return } } + if x.MaxFeeAmount != "" { + value := protoreflect.ValueOfString(x.MaxFeeAmount) + if !f(fd_MsgBuyDirect_Order_max_fee_amount, value) { + return + } + } } // Has reports whether a field is populated. @@ -4931,6 +4939,8 @@ func (x *fastReflection_MsgBuyDirect_Order) Has(fd protoreflect.FieldDescriptor) return x.RetirementJurisdiction != "" case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": return x.RetirementReason != "" + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + return x.MaxFeeAmount != "" default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -4959,6 +4969,8 @@ func (x *fastReflection_MsgBuyDirect_Order) Clear(fd protoreflect.FieldDescripto x.RetirementJurisdiction = "" case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": x.RetirementReason = "" + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + x.MaxFeeAmount = "" default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -4993,6 +5005,9 @@ func (x *fastReflection_MsgBuyDirect_Order) Get(descriptor protoreflect.FieldDes case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": value := x.RetirementReason return protoreflect.ValueOfString(value) + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + value := x.MaxFeeAmount + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -5025,6 +5040,8 @@ func (x *fastReflection_MsgBuyDirect_Order) Set(fd protoreflect.FieldDescriptor, x.RetirementJurisdiction = value.Interface().(string) case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": x.RetirementReason = value.Interface().(string) + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + x.MaxFeeAmount = value.Interface().(string) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -5060,6 +5077,8 @@ func (x *fastReflection_MsgBuyDirect_Order) Mutable(fd protoreflect.FieldDescrip panic(fmt.Errorf("field retirement_jurisdiction of message regen.ecocredit.marketplace.v1.MsgBuyDirect.Order is not mutable")) case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": panic(fmt.Errorf("field retirement_reason of message regen.ecocredit.marketplace.v1.MsgBuyDirect.Order is not mutable")) + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + panic(fmt.Errorf("field max_fee_amount of message regen.ecocredit.marketplace.v1.MsgBuyDirect.Order is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -5086,6 +5105,8 @@ func (x *fastReflection_MsgBuyDirect_Order) NewField(fd protoreflect.FieldDescri return protoreflect.ValueOfString("") case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.retirement_reason": return protoreflect.ValueOfString("") + case "regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.max_fee_amount": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order")) @@ -5177,6 +5198,10 @@ func (x *fastReflection_MsgBuyDirect_Order) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.MaxFeeAmount) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -5206,6 +5231,13 @@ func (x *fastReflection_MsgBuyDirect_Order) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.MaxFeeAmount) > 0 { + i -= len(x.MaxFeeAmount) + copy(dAtA[i:], x.MaxFeeAmount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MaxFeeAmount))) + i-- + dAtA[i] = 0x42 + } if len(x.RetirementReason) > 0 { i -= len(x.RetirementReason) copy(dAtA[i:], x.RetirementReason) @@ -5476,6 +5508,38 @@ func (x *fastReflection_MsgBuyDirect_Order) ProtoMethods() *protoiface.Methods { } x.RetirementReason = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxFeeAmount", 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.MaxFeeAmount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -7659,153 +7723,1008 @@ func (x *fastReflection_MsgRemoveAllowedDenomResponse) ProtoMethods() *protoifac } } -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: regen/ecocredit/marketplace/v1/tx.proto - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +var ( + md_MsgSetMarketplaceFees protoreflect.MessageDescriptor + fd_MsgSetMarketplaceFees_authority protoreflect.FieldDescriptor + fd_MsgSetMarketplaceFees_fees protoreflect.FieldDescriptor ) -// MsgSell is the Msg/Sell request type. -type MsgSell struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func init() { + file_regen_ecocredit_marketplace_v1_tx_proto_init() + md_MsgSetMarketplaceFees = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetMarketplaceFees") + fd_MsgSetMarketplaceFees_authority = md_MsgSetMarketplaceFees.Fields().ByName("authority") + fd_MsgSetMarketplaceFees_fees = md_MsgSetMarketplaceFees.Fields().ByName("fees") +} - // seller is the address of the account that is selling credits. - Seller string `protobuf:"bytes,1,opt,name=seller,proto3" json:"seller,omitempty"` - // orders are the sell orders being created. - Orders []*MsgSell_Order `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` +var _ protoreflect.Message = (*fastReflection_MsgSetMarketplaceFees)(nil) + +type fastReflection_MsgSetMarketplaceFees MsgSetMarketplaceFees + +func (x *MsgSetMarketplaceFees) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMarketplaceFees)(x) } -func (x *MsgSell) Reset() { - *x = MsgSell{} - if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[0] +func (x *MsgSetMarketplaceFees) slowProtoReflect() protoreflect.Message { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } + return mi.MessageOf(x) } -func (x *MsgSell) String() string { - return protoimpl.X.MessageStringOf(x) -} +var _fastReflection_MsgSetMarketplaceFees_messageType fastReflection_MsgSetMarketplaceFees_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMarketplaceFees_messageType{} -func (*MsgSell) ProtoMessage() {} +type fastReflection_MsgSetMarketplaceFees_messageType struct{} -// Deprecated: Use MsgSell.ProtoReflect.Descriptor instead. -func (*MsgSell) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{0} +func (x fastReflection_MsgSetMarketplaceFees_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMarketplaceFees)(nil) } - -func (x *MsgSell) GetSeller() string { - if x != nil { - return x.Seller - } - return "" +func (x fastReflection_MsgSetMarketplaceFees_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMarketplaceFees) } - -func (x *MsgSell) GetOrders() []*MsgSell_Order { - if x != nil { - return x.Orders - } - return nil +func (x fastReflection_MsgSetMarketplaceFees_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMarketplaceFees } -// MsgSellResponse is the Msg/Sell response type. -type MsgSellResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // sell_order_ids are the sell order IDs of the newly created sell orders. - SellOrderIds []uint64 `protobuf:"varint,1,rep,packed,name=sell_order_ids,json=sellOrderIds,proto3" json:"sell_order_ids,omitempty"` +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMarketplaceFees) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMarketplaceFees } -func (x *MsgSellResponse) Reset() { - *x = MsgSellResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } +// 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_MsgSetMarketplaceFees) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMarketplaceFees_messageType } -func (x *MsgSellResponse) String() string { - return protoimpl.X.MessageStringOf(x) +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMarketplaceFees) New() protoreflect.Message { + return new(fastReflection_MsgSetMarketplaceFees) } -func (*MsgSellResponse) ProtoMessage() {} - -// Deprecated: Use MsgSellResponse.ProtoReflect.Descriptor instead. -func (*MsgSellResponse) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{1} +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMarketplaceFees) Interface() protoreflect.ProtoMessage { + return (*MsgSetMarketplaceFees)(x) } -func (x *MsgSellResponse) GetSellOrderIds() []uint64 { - if x != nil { - return x.SellOrderIds +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgSetMarketplaceFees) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgSetMarketplaceFees_authority, value) { + return + } + } + if x.Fees != nil { + value := protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) + if !f(fd_MsgSetMarketplaceFees_fees, value) { + return + } } - return nil -} - -// MsgUpdateSellOrders is the Msg/UpdateSellOrders request type. -type MsgUpdateSellOrders struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // seller is the address of the account that is selling credits. - Seller string `protobuf:"bytes,1,opt,name=seller,proto3" json:"seller,omitempty"` - // updates are updates to existing sell orders. - Updates []*MsgUpdateSellOrders_Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` } -func (x *MsgUpdateSellOrders) Reset() { - *x = MsgUpdateSellOrders{} - if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgSetMarketplaceFees) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + return x.Authority != "" + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + return x.Fees != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) } } -func (x *MsgUpdateSellOrders) String() string { - return protoimpl.X.MessageStringOf(x) +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFees) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + x.Authority = "" + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + x.Fees = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + } } -func (*MsgUpdateSellOrders) ProtoMessage() {} - -// Deprecated: Use MsgUpdateSellOrders.ProtoReflect.Descriptor instead. -func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int) { - return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{2} +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgSetMarketplaceFees) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + value := x.Fees + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", descriptor.FullName())) + } } -func (x *MsgUpdateSellOrders) GetSeller() string { - if x != nil { - return x.Seller +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFees) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + x.Authority = value.Interface().(string) + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + x.Fees = value.Message().Interface().(*FeeParams) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) } - return "" } -func (x *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update { - if x != nil { - return x.Updates +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFees) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + if x.Fees == nil { + x.Fees = new(FeeParams) + } + return protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + panic(fmt.Errorf("field authority of message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) } - return nil } -// MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. -type MsgUpdateSellOrdersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +// 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_MsgSetMarketplaceFees) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + return protoreflect.ValueOfString("") + case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + m := new(FeeParams) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees 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_MsgSetMarketplaceFees) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgSetMarketplaceFees) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFees) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgSetMarketplaceFees) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgSetMarketplaceFees) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMarketplaceFees) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Fees != nil { + l = options.Size(x.Fees) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMarketplaceFees) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Fees != nil { + encoded, err := options.Marshal(x.Fees) + 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.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 { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMarketplaceFees) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFees: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFees: 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 Fees", 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.Fees == nil { + x.Fees = &FeeParams{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fees); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgSetMarketplaceFeesResponse protoreflect.MessageDescriptor +) + +func init() { + file_regen_ecocredit_marketplace_v1_tx_proto_init() + md_MsgSetMarketplaceFeesResponse = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetMarketplaceFeesResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSetMarketplaceFeesResponse)(nil) + +type fastReflection_MsgSetMarketplaceFeesResponse MsgSetMarketplaceFeesResponse + +func (x *MsgSetMarketplaceFeesResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetMarketplaceFeesResponse)(x) +} + +func (x *MsgSetMarketplaceFeesResponse) slowProtoReflect() protoreflect.Message { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgSetMarketplaceFeesResponse_messageType fastReflection_MsgSetMarketplaceFeesResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetMarketplaceFeesResponse_messageType{} + +type fastReflection_MsgSetMarketplaceFeesResponse_messageType struct{} + +func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetMarketplaceFeesResponse)(nil) +} +func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetMarketplaceFeesResponse) +} +func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMarketplaceFeesResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetMarketplaceFeesResponse +} + +// 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_MsgSetMarketplaceFeesResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetMarketplaceFeesResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetMarketplaceFeesResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetMarketplaceFeesResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse 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_MsgSetMarketplaceFeesResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + } + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse 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_MsgSetMarketplaceFeesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgSetMarketplaceFeesResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: regen/ecocredit/marketplace/v1/tx.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgSell is the Msg/Sell request type. +type MsgSell struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // seller is the address of the account that is selling credits. + Seller string `protobuf:"bytes,1,opt,name=seller,proto3" json:"seller,omitempty"` + // orders are the sell orders being created. + Orders []*MsgSell_Order `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` +} + +func (x *MsgSell) Reset() { + *x = MsgSell{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSell) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSell) ProtoMessage() {} + +// Deprecated: Use MsgSell.ProtoReflect.Descriptor instead. +func (*MsgSell) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgSell) GetSeller() string { + if x != nil { + return x.Seller + } + return "" +} + +func (x *MsgSell) GetOrders() []*MsgSell_Order { + if x != nil { + return x.Orders + } + return nil +} + +// MsgSellResponse is the Msg/Sell response type. +type MsgSellResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // sell_order_ids are the sell order IDs of the newly created sell orders. + SellOrderIds []uint64 `protobuf:"varint,1,rep,packed,name=sell_order_ids,json=sellOrderIds,proto3" json:"sell_order_ids,omitempty"` +} + +func (x *MsgSellResponse) Reset() { + *x = MsgSellResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSellResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSellResponse) ProtoMessage() {} + +// Deprecated: Use MsgSellResponse.ProtoReflect.Descriptor instead. +func (*MsgSellResponse) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{1} +} + +func (x *MsgSellResponse) GetSellOrderIds() []uint64 { + if x != nil { + return x.SellOrderIds + } + return nil +} + +// MsgUpdateSellOrders is the Msg/UpdateSellOrders request type. +type MsgUpdateSellOrders struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // seller is the address of the account that is selling credits. + Seller string `protobuf:"bytes,1,opt,name=seller,proto3" json:"seller,omitempty"` + // updates are updates to existing sell orders. + Updates []*MsgUpdateSellOrders_Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` +} + +func (x *MsgUpdateSellOrders) Reset() { + *x = MsgUpdateSellOrders{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateSellOrders) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateSellOrders) ProtoMessage() {} + +// Deprecated: Use MsgUpdateSellOrders.ProtoReflect.Descriptor instead. +func (*MsgUpdateSellOrders) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *MsgUpdateSellOrders) GetSeller() string { + if x != nil { + return x.Seller + } + return "" +} + +func (x *MsgUpdateSellOrders) GetUpdates() []*MsgUpdateSellOrders_Update { + if x != nil { + return x.Updates + } + return nil +} + +// MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. +type MsgUpdateSellOrdersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } func (x *MsgUpdateSellOrdersResponse) Reset() { @@ -8150,6 +9069,79 @@ func (*MsgRemoveAllowedDenomResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{11} } +// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. +type MsgSetMarketplaceFees 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"` + // fees are the marketplace fees being set. + Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` +} + +func (x *MsgSetMarketplaceFees) Reset() { + *x = MsgSetMarketplaceFees{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMarketplaceFees) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMarketplaceFees) ProtoMessage() {} + +// Deprecated: Use MsgSetMarketplaceFees.ProtoReflect.Descriptor instead. +func (*MsgSetMarketplaceFees) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{12} +} + +func (x *MsgSetMarketplaceFees) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgSetMarketplaceFees) GetFees() *FeeParams { + if x != nil { + return x.Fees + } + return nil +} + +// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. +type MsgSetMarketplaceFeesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgSetMarketplaceFeesResponse) Reset() { + *x = MsgSetMarketplaceFeesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgSetMarketplaceFeesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSetMarketplaceFeesResponse) ProtoMessage() {} + +// Deprecated: Use MsgSetMarketplaceFeesResponse.ProtoReflect.Descriptor instead. +func (*MsgSetMarketplaceFeesResponse) Descriptor() ([]byte, []int) { + return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{13} +} + // Order is the content of a new sell order. type MsgSell_Order struct { state protoimpl.MessageState @@ -8180,7 +9172,7 @@ type MsgSell_Order struct { func (x *MsgSell_Order) Reset() { *x = MsgSell_Order{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8255,7 +9247,7 @@ type MsgUpdateSellOrders_Update struct { func (x *MsgUpdateSellOrders_Update) Reset() { *x = MsgUpdateSellOrders_Update{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8335,12 +9327,20 @@ type MsgBuyDirect_Order struct { // // Since Revision 1 RetirementReason string `protobuf:"bytes,7,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"` + // max_fee_amount is the maximum amount of buyer side fees being paid to the marketplace. + // If the marketplace fees end up being greater than this amount, the transaction will fail. + // If this field is left empty, the marketplace fees will be calculated based on the bid price + // and quantity and automatically deducted from the buyer's account. + // Fees are always paid in the same denomination as the bid price. + // + // Since Revision 3 + MaxFeeAmount string `protobuf:"bytes,8,opt,name=max_fee_amount,json=maxFeeAmount,proto3" json:"max_fee_amount,omitempty"` } func (x *MsgBuyDirect_Order) Reset() { *x = MsgBuyDirect_Order{} if protoimpl.UnsafeEnabled { - mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[14] + mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8399,6 +9399,13 @@ func (x *MsgBuyDirect_Order) GetRetirementReason() string { return "" } +func (x *MsgBuyDirect_Order) GetMaxFeeAmount() string { + if x != nil { + return x.MaxFeeAmount + } + return "" +} + var File_regen_ecocredit_marketplace_v1_tx_proto protoreflect.FileDescriptor var file_regen_ecocredit_marketplace_v1_tx_proto_rawDesc = []byte{ @@ -8413,181 +9420,205 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_rawDesc = []byte{ 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x02, 0x0a, 0x07, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x45, 0x0a, - 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x73, 0x1a, 0xee, 0x01, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1f, - 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, - 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x61, - 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 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, 0x08, 0x61, 0x73, 0x6b, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, - 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, - 0x69, 0x72, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x42, 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, - 0x65, 0x72, 0x22, 0x37, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x73, - 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x9a, 0x03, 0x0a, 0x13, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x07, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, - 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x73, 0x1a, 0x87, 0x02, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0d, - 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x51, 0x75, 0x61, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x73, 0x6b, 0x5f, 0x70, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x02, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, + 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x6c, 0x6c, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, + 0x1a, 0xee, 0x01, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, + 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 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, 0x0b, 0x6e, 0x65, 0x77, 0x41, 0x73, 0x6b, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, - 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, - 0x72, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0d, 0x6e, 0x65, - 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, - 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, - 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, - 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, - 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x94, 0x03, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x6f, - 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x72, 0x65, - 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, - 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x95, 0x02, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, + 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x08, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, + 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, + 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, + 0x40, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, + 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x37, + 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x65, 0x6c, 0x6c, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x9a, 0x03, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x87, 0x02, + 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, + 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x6e, 0x65, 0x77, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, + 0x3d, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, + 0x18, 0x03, 0x20, 0x01, 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, 0x0b, 0x6e, 0x65, 0x77, 0x41, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, + 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, + 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x47, + 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x42, 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x45, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, + 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, + 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, + 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x12, 0x36, 0x0a, 0x09, 0x62, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, - 0x20, 0x01, 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, - 0x08, 0x62, 0x69, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, - 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x37, 0x0a, 0x17, 0x72, 0x65, 0x74, - 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x74, 0x69, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, - 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x3a, - 0x0a, 0x82, 0xe7, 0xb0, 0x2a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x4d, - 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, - 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 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, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x6e, 0x6b, - 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, - 0x6e, 0x6b, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, - 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, - 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 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, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 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, 0x14, 0x0a, - 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, - 0x6e, 0x6f, 0x6d, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf4, 0x05, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, - 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, + 0x65, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, + 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xba, 0x03, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x73, 0x1a, 0xbb, 0x02, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, + 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, + 0x09, 0x62, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 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, 0x08, 0x62, 0x69, 0x64, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, + 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x37, 0x0a, 0x17, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x4a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, + 0x0a, 0x11, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x74, 0x69, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x6d, + 0x61, 0x78, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x3a, 0x0a, 0x82, 0xe7, 0xb0, 0x2a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x22, 0x16, 0x0a, + 0x14, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 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, 0x1d, 0x0a, 0x0a, 0x62, 0x61, + 0x6e, 0x6b, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x62, 0x61, 0x6e, 0x6b, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, + 0x0a, 0x08, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x08, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 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, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, + 0x6d, 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, + 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 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, 0x3d, + 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, + 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1f, 0x0a, + 0x1d, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x81, + 0x07, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x27, + 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, - 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, + 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, - 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, - 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, - 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, - 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, - 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, - 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, + 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, - 0x6f, 0x6d, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, - 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, - 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, + 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, + 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3a, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, + 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, + 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, + 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, - 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa0, 0x02, 0x0a, 0x22, - 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, - 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 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, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x4d, 0xaa, 0x02, 0x1e, 0x52, 0x65, - 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x52, - 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2a, - 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, 0x52, 0x65, 0x67, - 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, + 0x65, 0x65, 0x73, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0xa0, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 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, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, + 0x45, 0x4d, 0xaa, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2a, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x21, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -8602,7 +9633,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP() []byte { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescData } -var file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_regen_ecocredit_marketplace_v1_tx_proto_goTypes = []interface{}{ (*MsgSell)(nil), // 0: regen.ecocredit.marketplace.v1.MsgSell (*MsgSellResponse)(nil), // 1: regen.ecocredit.marketplace.v1.MsgSellResponse @@ -8616,38 +9647,44 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_goTypes = []interface{}{ (*MsgAddAllowedDenomResponse)(nil), // 9: regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse (*MsgRemoveAllowedDenom)(nil), // 10: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom (*MsgRemoveAllowedDenomResponse)(nil), // 11: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - (*MsgSell_Order)(nil), // 12: regen.ecocredit.marketplace.v1.MsgSell.Order - (*MsgUpdateSellOrders_Update)(nil), // 13: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update - (*MsgBuyDirect_Order)(nil), // 14: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order - (*v1beta1.Coin)(nil), // 15: cosmos.base.v1beta1.Coin - (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp + (*MsgSetMarketplaceFees)(nil), // 12: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees + (*MsgSetMarketplaceFeesResponse)(nil), // 13: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse + (*MsgSell_Order)(nil), // 14: regen.ecocredit.marketplace.v1.MsgSell.Order + (*MsgUpdateSellOrders_Update)(nil), // 15: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update + (*MsgBuyDirect_Order)(nil), // 16: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order + (*FeeParams)(nil), // 17: regen.ecocredit.marketplace.v1.FeeParams + (*v1beta1.Coin)(nil), // 18: cosmos.base.v1beta1.Coin + (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp } var file_regen_ecocredit_marketplace_v1_tx_proto_depIdxs = []int32{ - 12, // 0: regen.ecocredit.marketplace.v1.MsgSell.orders:type_name -> regen.ecocredit.marketplace.v1.MsgSell.Order - 13, // 1: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.updates:type_name -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update - 14, // 2: regen.ecocredit.marketplace.v1.MsgBuyDirect.orders:type_name -> regen.ecocredit.marketplace.v1.MsgBuyDirect.Order - 15, // 3: regen.ecocredit.marketplace.v1.MsgSell.Order.ask_price:type_name -> cosmos.base.v1beta1.Coin - 16, // 4: regen.ecocredit.marketplace.v1.MsgSell.Order.expiration:type_name -> google.protobuf.Timestamp - 15, // 5: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_ask_price:type_name -> cosmos.base.v1beta1.Coin - 16, // 6: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_expiration:type_name -> google.protobuf.Timestamp - 15, // 7: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.bid_price:type_name -> cosmos.base.v1beta1.Coin - 0, // 8: regen.ecocredit.marketplace.v1.Msg.Sell:input_type -> regen.ecocredit.marketplace.v1.MsgSell - 2, // 9: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:input_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders - 4, // 10: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:input_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrder - 6, // 11: regen.ecocredit.marketplace.v1.Msg.BuyDirect:input_type -> regen.ecocredit.marketplace.v1.MsgBuyDirect - 8, // 12: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenom - 10, // 13: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom - 1, // 14: regen.ecocredit.marketplace.v1.Msg.Sell:output_type -> regen.ecocredit.marketplace.v1.MsgSellResponse - 3, // 15: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:output_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse - 5, // 16: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:output_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse - 7, // 17: regen.ecocredit.marketplace.v1.Msg.BuyDirect:output_type -> regen.ecocredit.marketplace.v1.MsgBuyDirectResponse - 9, // 18: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse - 11, // 19: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - 14, // [14:20] is the sub-list for method output_type - 8, // [8:14] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 14, // 0: regen.ecocredit.marketplace.v1.MsgSell.orders:type_name -> regen.ecocredit.marketplace.v1.MsgSell.Order + 15, // 1: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.updates:type_name -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update + 16, // 2: regen.ecocredit.marketplace.v1.MsgBuyDirect.orders:type_name -> regen.ecocredit.marketplace.v1.MsgBuyDirect.Order + 17, // 3: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees:type_name -> regen.ecocredit.marketplace.v1.FeeParams + 18, // 4: regen.ecocredit.marketplace.v1.MsgSell.Order.ask_price:type_name -> cosmos.base.v1beta1.Coin + 19, // 5: regen.ecocredit.marketplace.v1.MsgSell.Order.expiration:type_name -> google.protobuf.Timestamp + 18, // 6: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_ask_price:type_name -> cosmos.base.v1beta1.Coin + 19, // 7: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_expiration:type_name -> google.protobuf.Timestamp + 18, // 8: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order.bid_price:type_name -> cosmos.base.v1beta1.Coin + 0, // 9: regen.ecocredit.marketplace.v1.Msg.Sell:input_type -> regen.ecocredit.marketplace.v1.MsgSell + 2, // 10: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:input_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders + 4, // 11: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:input_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrder + 6, // 12: regen.ecocredit.marketplace.v1.Msg.BuyDirect:input_type -> regen.ecocredit.marketplace.v1.MsgBuyDirect + 8, // 13: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenom + 10, // 14: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom + 12, // 15: regen.ecocredit.marketplace.v1.Msg.SetMarketplaceFees:input_type -> regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees + 1, // 16: regen.ecocredit.marketplace.v1.Msg.Sell:output_type -> regen.ecocredit.marketplace.v1.MsgSellResponse + 3, // 17: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:output_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse + 5, // 18: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:output_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse + 7, // 19: regen.ecocredit.marketplace.v1.Msg.BuyDirect:output_type -> regen.ecocredit.marketplace.v1.MsgBuyDirectResponse + 9, // 20: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse + 11, // 21: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse + 13, // 22: regen.ecocredit.marketplace.v1.Msg.SetMarketplaceFees:output_type -> regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse + 16, // [16:23] is the sub-list for method output_type + 9, // [9:16] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_regen_ecocredit_marketplace_v1_tx_proto_init() } @@ -8655,6 +9692,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { if File_regen_ecocredit_marketplace_v1_tx_proto != nil { return } + file_regen_ecocredit_marketplace_v1_state_proto_init() if !protoimpl.UnsafeEnabled { file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgSell); i { @@ -8801,7 +9839,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSell_Order); i { + switch v := v.(*MsgSetMarketplaceFees); i { case 0: return &v.state case 1: @@ -8813,7 +9851,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateSellOrders_Update); i { + switch v := v.(*MsgSetMarketplaceFeesResponse); i { case 0: return &v.state case 1: @@ -8825,6 +9863,30 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSell_Order); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateSellOrders_Update); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgBuyDirect_Order); i { case 0: return &v.state @@ -8843,7 +9905,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_regen_ecocredit_marketplace_v1_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 15, + NumMessages: 17, NumExtensions: 0, NumServices: 1, }, diff --git a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go index f64d05e557..4b32df93b6 100644 --- a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go +++ b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go @@ -25,6 +25,7 @@ const ( Msg_BuyDirect_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/BuyDirect" Msg_AddAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/AddAllowedDenom" Msg_RemoveAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/RemoveAllowedDenom" + Msg_SetMarketplaceFees_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees" ) // MsgClient is the client API for Msg service. @@ -48,6 +49,10 @@ type MsgClient interface { // // Since Revision 1 RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowedDenom, opts ...grpc.CallOption) (*MsgRemoveAllowedDenomResponse, error) + // SetMarketplaceFees is a governance method that sets the marketplace fees. + // + // Since Revision 3 + SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) } type msgClient struct { @@ -112,6 +117,15 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } +func (c *msgClient) SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) { + out := new(MsgSetMarketplaceFeesResponse) + err := c.cc.Invoke(ctx, Msg_SetMarketplaceFees_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. // All implementations must embed UnimplementedMsgServer // for forward compatibility @@ -133,6 +147,10 @@ type MsgServer interface { // // Since Revision 1 RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) + // SetMarketplaceFees is a governance method that sets the marketplace fees. + // + // Since Revision 3 + SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) mustEmbedUnimplementedMsgServer() } @@ -158,6 +176,9 @@ func (UnimplementedMsgServer) AddAllowedDenom(context.Context, *MsgAddAllowedDen func (UnimplementedMsgServer) RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } +func (UnimplementedMsgServer) SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetMarketplaceFees not implemented") +} func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} // UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. @@ -279,6 +300,24 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _Msg_SetMarketplaceFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetMarketplaceFees) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetMarketplaceFees(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_SetMarketplaceFees_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetMarketplaceFees(ctx, req.(*MsgSetMarketplaceFees)) + } + return interceptor(ctx, in, info, handler) +} + // Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -310,6 +349,10 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "RemoveAllowedDenom", Handler: _Msg_RemoveAllowedDenom_Handler, }, + { + MethodName: "SetMarketplaceFees", + Handler: _Msg_SetMarketplaceFees_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/marketplace/v1/tx.proto", diff --git a/go.mod b/go.mod index 3809689722..2ce0856769 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/regen-network/regen-ledger/v5 -go 1.19 +go 1.21 + +toolchain go1.21.4 require ( cosmossdk.io/math v1.1.2 diff --git a/x/data/go.mod b/x/data/go.mod index bc1c8bcda6..98406a57ff 100644 --- a/x/data/go.mod +++ b/x/data/go.mod @@ -1,6 +1,8 @@ module github.com/regen-network/regen-ledger/x/data/v3 -go 1.19 +go 1.21 + +toolchain go1.21.4 require ( cosmossdk.io/errors v1.0.0 diff --git a/x/data/types.pb.go b/x/data/types.pb.go index 0a48f7393a..16e16b6352 100644 --- a/x/data/types.pb.go +++ b/x/data/types.pb.go @@ -125,8 +125,7 @@ type ContentHash struct { // which is preserved bit by bit. All other content encodings specify a // deterministic, canonical encoding allowing implementations to choose from a // variety of alternative formats for transport and encoding while maintaining - // the guarantee that the canonical hash will not change. The media type for - // "raw" data is defined by the MediaType enum. + // the guarantee that the canonical hash will not change. Raw *ContentHash_Raw `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` // graph specifies graph data that conforms to the RDF data model. // The canonicalization algorithm used for an RDF graph is specified by diff --git a/x/ecocredit/marketplace/types/v1/state.pb.go b/x/ecocredit/marketplace/types/v1/state.pb.go index 97d6e22e05..4688b77457 100644 --- a/x/ecocredit/marketplace/types/v1/state.pb.go +++ b/x/ecocredit/marketplace/types/v1/state.pb.go @@ -323,10 +323,76 @@ func (m *Market) GetPrecisionModifier() uint32 { return 0 } +// FeeParams represents the marketplace fee parameters. Fees will be charged in the +// same denom that the order is denominated in and deposited into the marketplace +// fee pool, except when the denom is regen, in which case the fees will be +// burned. Fees in the fee pool are expected to burned by governance in a manual +// process unless governance agrees to a different approach. +type FeeParams struct { + // buyer_percentage_fee is the decimal percentage fee charged to the buyer. + // The string 3.0 means a 3.0% fee. + // This fee will be added to the total price of a buy order and is denominated + // in the same denom as the buy order's bid denom. + BuyerPercentageFee string `protobuf:"bytes,1,opt,name=buyer_percentage_fee,json=buyerPercentageFee,proto3" json:"buyer_percentage_fee,omitempty"` + // seller_percentage_fee is the decimal percentage fee charged to the seller. + // The string 3.0 means a 3.0% fee. + // This fee will be subtracted from the total proceeds of a sell order distributed to the seller + // and is denominated in the same denom as the sell order's ask denom. + SellerPercentageFee string `protobuf:"bytes,2,opt,name=seller_percentage_fee,json=sellerPercentageFee,proto3" json:"seller_percentage_fee,omitempty"` +} + +func (m *FeeParams) Reset() { *m = FeeParams{} } +func (m *FeeParams) String() string { return proto.CompactTextString(m) } +func (*FeeParams) ProtoMessage() {} +func (*FeeParams) Descriptor() ([]byte, []int) { + return fileDescriptor_718b9cb8f10a9f3c, []int{3} +} +func (m *FeeParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FeeParams.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 *FeeParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeeParams.Merge(m, src) +} +func (m *FeeParams) XXX_Size() int { + return m.Size() +} +func (m *FeeParams) XXX_DiscardUnknown() { + xxx_messageInfo_FeeParams.DiscardUnknown(m) +} + +var xxx_messageInfo_FeeParams proto.InternalMessageInfo + +func (m *FeeParams) GetBuyerPercentageFee() string { + if m != nil { + return m.BuyerPercentageFee + } + return "" +} + +func (m *FeeParams) GetSellerPercentageFee() string { + if m != nil { + return m.SellerPercentageFee + } + return "" +} + func init() { proto.RegisterType((*SellOrder)(nil), "regen.ecocredit.marketplace.v1.SellOrder") proto.RegisterType((*AllowedDenom)(nil), "regen.ecocredit.marketplace.v1.AllowedDenom") proto.RegisterType((*Market)(nil), "regen.ecocredit.marketplace.v1.Market") + proto.RegisterType((*FeeParams)(nil), "regen.ecocredit.marketplace.v1.FeeParams") } func init() { @@ -334,44 +400,48 @@ func init() { } var fileDescriptor_718b9cb8f10a9f3c = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0xcf, 0x6b, 0xd4, 0x4e, - 0x14, 0xef, 0xec, 0xb6, 0xfb, 0xdd, 0xcc, 0x77, 0xb7, 0x6c, 0xa7, 0xa2, 0xc3, 0x4a, 0xe3, 0xd2, - 0x22, 0x2c, 0xda, 0x26, 0x54, 0xe9, 0x65, 0x3d, 0xad, 0x88, 0x20, 0x52, 0x84, 0xd8, 0x93, 0x97, - 0x38, 0xc9, 0xbc, 0x6e, 0x87, 0xfc, 0x98, 0x38, 0x99, 0x6c, 0x9b, 0x7f, 0x42, 0xbc, 0x0b, 0xfe, - 0x3d, 0x82, 0x97, 0x82, 0x17, 0x8f, 0xd2, 0x1e, 0xbc, 0xfb, 0x17, 0x48, 0x26, 0xe9, 0xba, 0x6c, - 0xf1, 0xf8, 0xf9, 0xf1, 0xf2, 0xde, 0xfb, 0xe4, 0x0d, 0x7e, 0xa4, 0x60, 0x06, 0xa9, 0x0b, 0xa1, - 0x0c, 0x15, 0x70, 0xa1, 0xdd, 0x84, 0xa9, 0x08, 0x74, 0x16, 0xb3, 0x10, 0xdc, 0xf9, 0xa1, 0x9b, - 0x6b, 0xa6, 0xc1, 0xc9, 0x94, 0xd4, 0x92, 0xd8, 0xc6, 0xeb, 0x2c, 0xbc, 0xce, 0x92, 0xd7, 0x99, - 0x1f, 0x0e, 0xef, 0x85, 0x32, 0x4f, 0x64, 0xee, 0x4a, 0x95, 0x54, 0xa5, 0x52, 0x25, 0x75, 0xe1, - 0xf0, 0xc1, 0x4c, 0xca, 0x59, 0x0c, 0xae, 0x41, 0x41, 0x71, 0xea, 0x6a, 0x91, 0x40, 0xae, 0x59, - 0x92, 0xd5, 0x86, 0xdd, 0x5f, 0x2d, 0x6c, 0xbd, 0x85, 0x38, 0x7e, 0xa3, 0x38, 0x28, 0xb2, 0x89, - 0x5b, 0x82, 0x53, 0x34, 0x42, 0xe3, 0x75, 0xaf, 0x25, 0x38, 0xb9, 0x8b, 0x3b, 0x39, 0xc4, 0x31, - 0x28, 0xda, 0x1a, 0xa1, 0x71, 0xcf, 0x6b, 0x10, 0xb9, 0x8f, 0xad, 0x80, 0xe9, 0xf0, 0xcc, 0x8f, - 0xa0, 0xa4, 0x6d, 0x63, 0xef, 0x1a, 0xe2, 0x35, 0x94, 0x64, 0x88, 0xbb, 0x1f, 0x0a, 0x96, 0x6a, - 0xa1, 0x4b, 0xba, 0x3e, 0x42, 0x63, 0xcb, 0x5b, 0xe0, 0xaa, 0xb0, 0x1e, 0xdd, 0x17, 0x9c, 0x6e, - 0xd4, 0x85, 0x35, 0xf1, 0x8a, 0x93, 0x1d, 0x8c, 0x59, 0x1e, 0xf9, 0x2c, 0x91, 0x45, 0xaa, 0x69, - 0xc7, 0x94, 0x5a, 0x2c, 0x8f, 0xa6, 0x86, 0x20, 0x0e, 0xde, 0xe6, 0x22, 0x67, 0x41, 0x0c, 0x3e, - 0x2b, 0xb4, 0xf4, 0x15, 0x68, 0xa1, 0x80, 0xfe, 0x37, 0x42, 0xe3, 0xae, 0xb7, 0xd5, 0x48, 0xd3, - 0x42, 0x4b, 0xcf, 0x08, 0x64, 0x82, 0x31, 0x5c, 0x64, 0x42, 0x31, 0x2d, 0x64, 0x4a, 0xad, 0x11, - 0x1a, 0xff, 0xff, 0x64, 0xe8, 0xd4, 0x81, 0x38, 0x37, 0x81, 0x38, 0x27, 0x37, 0x81, 0x78, 0x4b, - 0x6e, 0x72, 0x07, 0x6f, 0x24, 0x2c, 0x02, 0x45, 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0xbf, 0x0d, - 0xcd, 0x36, 0xeb, 0xcf, 0xdf, 0x7f, 0xbd, 0xb2, 0xd1, 0xe5, 0x95, 0x8d, 0x7e, 0x5e, 0xd9, 0xe8, - 0xd3, 0xb5, 0xbd, 0x76, 0x79, 0x6d, 0xaf, 0xfd, 0xb8, 0xb6, 0xd7, 0xde, 0xbd, 0x9c, 0x09, 0x7d, - 0x56, 0x04, 0x4e, 0x28, 0x13, 0xd7, 0x3c, 0xaa, 0x83, 0x14, 0xf4, 0xb9, 0x54, 0x51, 0x83, 0x62, - 0xe0, 0x33, 0x50, 0xee, 0xc5, 0x3f, 0xde, 0x65, 0xd5, 0x35, 0x77, 0xe7, 0x87, 0x41, 0xc7, 0x1c, - 0xd0, 0xd3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x27, 0x53, 0x7e, 0x67, 0xc6, 0x03, 0x00, 0x00, + // 654 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x4d, 0x6f, 0xd3, 0x4a, + 0x14, 0xed, 0x24, 0x69, 0x5e, 0x3c, 0x2f, 0xa9, 0xd2, 0x69, 0xdf, 0x7b, 0x56, 0x9e, 0x1a, 0xa2, + 0x54, 0x48, 0x11, 0xb4, 0x36, 0x2d, 0xea, 0x26, 0xac, 0x82, 0x50, 0x25, 0x84, 0x2a, 0x2a, 0xd3, + 0x15, 0x1b, 0x33, 0xb6, 0x6f, 0xd3, 0x91, 0x3f, 0xc6, 0x8c, 0xc7, 0x69, 0x2d, 0xfe, 0x03, 0x62, + 0x8f, 0xc4, 0xef, 0x41, 0x62, 0x53, 0x89, 0x0d, 0x4b, 0xd4, 0x2e, 0xd8, 0xb3, 0x64, 0x85, 0x3c, + 0xe3, 0x86, 0x90, 0x8a, 0xe5, 0xbd, 0xe7, 0x9c, 0x99, 0x7b, 0xce, 0x5c, 0x1b, 0xdf, 0x13, 0x30, + 0x85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xff, 0x46, 0x40, 0xb0, 0x2e, 0x43, 0x04, 0x00, 0x00, } func (m *SellOrder) Marshal() (dAtA []byte, err error) { @@ -554,6 +624,43 @@ func (m *Market) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *FeeParams) 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 *FeeParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SellerPercentageFee) > 0 { + i -= len(m.SellerPercentageFee) + copy(dAtA[i:], m.SellerPercentageFee) + i = encodeVarintState(dAtA, i, uint64(len(m.SellerPercentageFee))) + i-- + dAtA[i] = 0x12 + } + if len(m.BuyerPercentageFee) > 0 { + i -= len(m.BuyerPercentageFee) + copy(dAtA[i:], m.BuyerPercentageFee) + i = encodeVarintState(dAtA, i, uint64(len(m.BuyerPercentageFee))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintState(dAtA []byte, offset int, v uint64) int { offset -= sovState(v) base := offset @@ -648,6 +755,23 @@ func (m *Market) Size() (n int) { return n } +func (m *FeeParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BuyerPercentageFee) + if l > 0 { + n += 1 + l + sovState(uint64(l)) + } + l = len(m.SellerPercentageFee) + if l > 0 { + n += 1 + l + sovState(uint64(l)) + } + return n +} + func sovState(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1220,6 +1344,120 @@ func (m *Market) Unmarshal(dAtA []byte) error { } return nil } +func (m *FeeParams) 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 ErrIntOverflowState + } + 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: FeeParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FeeParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BuyerPercentageFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowState + } + 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 ErrInvalidLengthState + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthState + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BuyerPercentageFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SellerPercentageFee", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowState + } + 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 ErrInvalidLengthState + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthState + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SellerPercentageFee = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipState(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthState + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipState(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/ecocredit/marketplace/types/v1/tx.pb.go b/x/ecocredit/marketplace/types/v1/tx.pb.go index b006b2cf1f..aebba73841 100644 --- a/x/ecocredit/marketplace/types/v1/tx.pb.go +++ b/x/ecocredit/marketplace/types/v1/tx.pb.go @@ -574,6 +574,14 @@ type MsgBuyDirect_Order struct { // // Since Revision 1 RetirementReason string `protobuf:"bytes,7,opt,name=retirement_reason,json=retirementReason,proto3" json:"retirement_reason,omitempty"` + // max_fee_amount is the maximum amount of buyer side fees being paid to the marketplace. + // If the marketplace fees end up being greater than this amount, the transaction will fail. + // If this field is left empty, the marketplace fees will be calculated based on the bid price + // and quantity and automatically deducted from the buyer's account. + // Fees are always paid in the same denomination as the bid price. + // + // Since Revision 3 + MaxFeeAmount string `protobuf:"bytes,8,opt,name=max_fee_amount,json=maxFeeAmount,proto3" json:"max_fee_amount,omitempty"` } func (m *MsgBuyDirect_Order) Reset() { *m = MsgBuyDirect_Order{} } @@ -651,6 +659,13 @@ func (m *MsgBuyDirect_Order) GetRetirementReason() string { return "" } +func (m *MsgBuyDirect_Order) GetMaxFeeAmount() string { + if m != nil { + return m.MaxFeeAmount + } + return "" +} + // MsgBuyDirectResponse is the Msg/BuyDirect response type. type MsgBuyDirectResponse struct { } @@ -901,6 +916,98 @@ func (m *MsgRemoveAllowedDenomResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRemoveAllowedDenomResponse proto.InternalMessageInfo +// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. +type MsgSetMarketplaceFees struct { + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // fees are the marketplace fees being set. + Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` +} + +func (m *MsgSetMarketplaceFees) Reset() { *m = MsgSetMarketplaceFees{} } +func (m *MsgSetMarketplaceFees) String() string { return proto.CompactTextString(m) } +func (*MsgSetMarketplaceFees) ProtoMessage() {} +func (*MsgSetMarketplaceFees) Descriptor() ([]byte, []int) { + return fileDescriptor_68c9b4e4b7fcb584, []int{12} +} +func (m *MsgSetMarketplaceFees) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetMarketplaceFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetMarketplaceFees.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 *MsgSetMarketplaceFees) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetMarketplaceFees.Merge(m, src) +} +func (m *MsgSetMarketplaceFees) XXX_Size() int { + return m.Size() +} +func (m *MsgSetMarketplaceFees) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetMarketplaceFees.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgSetMarketplaceFees proto.InternalMessageInfo + +func (m *MsgSetMarketplaceFees) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgSetMarketplaceFees) GetFees() *FeeParams { + if m != nil { + return m.Fees + } + return nil +} + +// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. +type MsgSetMarketplaceFeesResponse struct { +} + +func (m *MsgSetMarketplaceFeesResponse) Reset() { *m = MsgSetMarketplaceFeesResponse{} } +func (m *MsgSetMarketplaceFeesResponse) String() string { return proto.CompactTextString(m) } +func (*MsgSetMarketplaceFeesResponse) ProtoMessage() {} +func (*MsgSetMarketplaceFeesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_68c9b4e4b7fcb584, []int{13} +} +func (m *MsgSetMarketplaceFeesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetMarketplaceFeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetMarketplaceFeesResponse.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 *MsgSetMarketplaceFeesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetMarketplaceFeesResponse.Merge(m, src) +} +func (m *MsgSetMarketplaceFeesResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgSetMarketplaceFeesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetMarketplaceFeesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgSetMarketplaceFeesResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgSell)(nil), "regen.ecocredit.marketplace.v1.MsgSell") proto.RegisterType((*MsgSell_Order)(nil), "regen.ecocredit.marketplace.v1.MsgSell.Order") @@ -917,6 +1024,8 @@ func init() { proto.RegisterType((*MsgAddAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse") proto.RegisterType((*MsgRemoveAllowedDenom)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom") proto.RegisterType((*MsgRemoveAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse") + proto.RegisterType((*MsgSetMarketplaceFees)(nil), "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees") + proto.RegisterType((*MsgSetMarketplaceFeesResponse)(nil), "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse") } func init() { @@ -924,68 +1033,74 @@ func init() { } var fileDescriptor_68c9b4e4b7fcb584 = []byte{ - // 969 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x6f, 0x1b, 0xd5, - 0x17, 0xcf, 0xf8, 0x95, 0xf8, 0x38, 0x49, 0xdb, 0xdb, 0xfc, 0x53, 0xff, 0x87, 0xc6, 0x31, 0x06, - 0xa9, 0x16, 0xd0, 0x19, 0x25, 0x05, 0x2a, 0x19, 0x55, 0x22, 0x69, 0x0b, 0xa2, 0xc8, 0x02, 0xa6, - 0x65, 0x83, 0x84, 0xdc, 0x79, 0x1c, 0x26, 0x83, 0x67, 0xe6, 0x0e, 0x73, 0xef, 0x24, 0xf1, 0x12, - 0x84, 0x84, 0xc4, 0xaa, 0x0b, 0xd8, 0xb0, 0xe4, 0x13, 0xf0, 0x31, 0x58, 0x76, 0xc9, 0x0e, 0x94, - 0x48, 0xb0, 0x63, 0xc5, 0x07, 0x40, 0x73, 0xe7, 0x61, 0xc7, 0x8e, 0xcb, 0xd8, 0x3b, 0xdf, 0x73, - 0xce, 0xef, 0x3c, 0x7e, 0xe7, 0x31, 0x86, 0x5b, 0x21, 0xda, 0xe8, 0xab, 0x68, 0x52, 0x33, 0x44, - 0xcb, 0xe1, 0xaa, 0xa7, 0x87, 0x43, 0xe4, 0x81, 0xab, 0x9b, 0xa8, 0x1e, 0xef, 0xa9, 0xfc, 0x54, - 0x09, 0x42, 0xca, 0x29, 0x69, 0x09, 0x43, 0x25, 0x37, 0x54, 0x26, 0x0c, 0x95, 0xe3, 0x3d, 0xb9, - 0x65, 0x52, 0xe6, 0x51, 0xa6, 0x1a, 0x3a, 0x8b, 0x81, 0x06, 0x72, 0x7d, 0x4f, 0x35, 0xa9, 0xe3, - 0x27, 0x78, 0xf9, 0x46, 0xaa, 0xf7, 0x98, 0x1d, 0xfb, 0xf5, 0x98, 0x9d, 0x2a, 0xb6, 0x6c, 0x6a, - 0x53, 0xf1, 0x53, 0x8d, 0x7f, 0xa5, 0xd2, 0x5d, 0x9b, 0x52, 0xdb, 0x45, 0x55, 0xbc, 0x8c, 0xe8, - 0x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 0x8f, 0x22, 0x43, 0x31, 0xa9, 0xa7, 0x8a, 0x10, 0xb7, - 0x7d, 0xe4, 0x27, 0x34, 0x1c, 0xa6, 0x2f, 0x17, 0x2d, 0x1b, 0x43, 0xf5, 0x74, 0xce, 0xdf, 0x54, - 0x3e, 0x0a, 0x90, 0xc5, 0xff, 0x39, 0x6b, 0xe2, 0x53, 0x78, 0xe7, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x3a, 0x9a, 0x8c, 0xfd, 0xd5, 0x0a, 0x00, 0x00, + // 1060 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xdc, 0x44, + 0x14, 0x8f, 0x77, 0x37, 0xff, 0xde, 0x26, 0x69, 0xeb, 0x86, 0x74, 0x31, 0xcd, 0x26, 0x2c, 0x48, + 0x0d, 0x85, 0xda, 0x4a, 0x4a, 0xa9, 0x14, 0x14, 0x89, 0xa4, 0x6d, 0x10, 0x45, 0x2b, 0x8a, 0x53, + 0x2e, 0x48, 0x68, 0x3b, 0xb6, 0x5f, 0x1c, 0x13, 0xdb, 0x63, 0x3c, 0xe3, 0x64, 0x73, 0x2c, 0xaa, + 0x84, 0xc4, 0xa9, 0x67, 0x8e, 0x7c, 0x02, 0xce, 0xf0, 0x05, 0x38, 0xf6, 0xc8, 0x0d, 0x94, 0x48, + 0x70, 0xe3, 0x33, 0x54, 0x33, 0xf6, 0x7a, 0x37, 0xde, 0x6c, 0xe3, 0xe4, 0xe6, 0x79, 0xef, 0xfd, + 0xe6, 0xbd, 0xf9, 0xfd, 0xde, 0x9b, 0x31, 0xdc, 0x8a, 0xd1, 0xc5, 0xd0, 0x40, 0x9b, 0xda, 0x31, + 0x3a, 0x1e, 0x37, 0x02, 0x12, 0xef, 0x23, 0x8f, 0x7c, 0x62, 0xa3, 0x71, 0xb0, 0x6a, 0xf0, 0xae, + 0x1e, 0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x45, 0xc8, 0xc4, + 0xaf, 0xff, 0x84, 0xfc, 0xcb, 0xb8, 0xfb, 0x3a, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x93, 0x51, 0x6a, + 0x5c, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1017,6 +1132,10 @@ type MsgClient interface { // // Since Revision 1 RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowedDenom, opts ...grpc.CallOption) (*MsgRemoveAllowedDenomResponse, error) + // SetMarketplaceFees is a governance method that sets the marketplace fees. + // + // Since Revision 3 + SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) } type msgClient struct { @@ -1081,6 +1200,15 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } +func (c *msgClient) SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) { + out := new(MsgSetMarketplaceFeesResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { // Sell creates new sell orders. @@ -1100,6 +1228,10 @@ type MsgServer interface { // // Since Revision 1 RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) + // SetMarketplaceFees is a governance method that sets the marketplace fees. + // + // Since Revision 3 + SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1124,6 +1256,9 @@ func (*UnimplementedMsgServer) AddAllowedDenom(ctx context.Context, req *MsgAddA func (*UnimplementedMsgServer) RemoveAllowedDenom(ctx context.Context, req *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } +func (*UnimplementedMsgServer) SetMarketplaceFees(ctx context.Context, req *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetMarketplaceFees not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -1237,6 +1372,24 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _Msg_SetMarketplaceFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetMarketplaceFees) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SetMarketplaceFees(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SetMarketplaceFees(ctx, req.(*MsgSetMarketplaceFees)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "regen.ecocredit.marketplace.v1.Msg", HandlerType: (*MsgServer)(nil), @@ -1265,6 +1418,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "RemoveAllowedDenom", Handler: _Msg_RemoveAllowedDenom_Handler, }, + { + MethodName: "SetMarketplaceFees", + Handler: _Msg_SetMarketplaceFees_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/ecocredit/marketplace/v1/tx.proto", @@ -1680,6 +1837,13 @@ func (m *MsgBuyDirect_Order) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.MaxFeeAmount) > 0 { + i -= len(m.MaxFeeAmount) + copy(dAtA[i:], m.MaxFeeAmount) + i = encodeVarintTx(dAtA, i, uint64(len(m.MaxFeeAmount))) + i-- + dAtA[i] = 0x42 + } if len(m.RetirementReason) > 0 { i -= len(m.RetirementReason) copy(dAtA[i:], m.RetirementReason) @@ -1886,6 +2050,71 @@ func (m *MsgRemoveAllowedDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *MsgSetMarketplaceFees) 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 *MsgSetMarketplaceFees) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetMarketplaceFees) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Fees != nil { + { + size, err := m.Fees.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + 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 *MsgSetMarketplaceFeesResponse) 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 *MsgSetMarketplaceFeesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetMarketplaceFeesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -2087,6 +2316,10 @@ func (m *MsgBuyDirect_Order) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } + l = len(m.MaxFeeAmount) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } return n } @@ -2158,6 +2391,32 @@ func (m *MsgRemoveAllowedDenomResponse) Size() (n int) { return n } +func (m *MsgSetMarketplaceFees) 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.Fees != nil { + l = m.Fees.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgSetMarketplaceFeesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3438,6 +3697,38 @@ func (m *MsgBuyDirect_Order) Unmarshal(dAtA []byte) error { } m.RetirementReason = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxFeeAmount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MaxFeeAmount = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -3888,6 +4179,174 @@ func (m *MsgRemoveAllowedDenomResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgSetMarketplaceFees) 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: MsgSetMarketplaceFees: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetMarketplaceFees: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fees", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fees == nil { + m.Fees = &FeeParams{} + } + if err := m.Fees.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSetMarketplaceFeesResponse) 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: MsgSetMarketplaceFeesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 From 30108474478096c5a748e111cfdd01e9d8f99388 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Wed, 31 Jan 2024 15:20:17 -0500 Subject: [PATCH 05/13] rename --- .../ecocredit/marketplace/v1/tx.pulsar.go | 430 +++++++++--------- .../ecocredit/marketplace/v1/tx_grpc.pb.go | 34 +- proto/regen/ecocredit/marketplace/v1/tx.proto | 14 +- x/ecocredit/marketplace/types/v1/tx.pb.go | 262 +++++------ 4 files changed, 369 insertions(+), 371 deletions(-) diff --git a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go index 66005f8bec..fd6a361dbe 100644 --- a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go @@ -7724,27 +7724,27 @@ func (x *fastReflection_MsgRemoveAllowedDenomResponse) ProtoMethods() *protoifac } var ( - md_MsgSetMarketplaceFees protoreflect.MessageDescriptor - fd_MsgSetMarketplaceFees_authority protoreflect.FieldDescriptor - fd_MsgSetMarketplaceFees_fees protoreflect.FieldDescriptor + md_MsgSetFeeParams protoreflect.MessageDescriptor + fd_MsgSetFeeParams_authority protoreflect.FieldDescriptor + fd_MsgSetFeeParams_fees protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_marketplace_v1_tx_proto_init() - md_MsgSetMarketplaceFees = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetMarketplaceFees") - fd_MsgSetMarketplaceFees_authority = md_MsgSetMarketplaceFees.Fields().ByName("authority") - fd_MsgSetMarketplaceFees_fees = md_MsgSetMarketplaceFees.Fields().ByName("fees") + md_MsgSetFeeParams = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetFeeParams") + fd_MsgSetFeeParams_authority = md_MsgSetFeeParams.Fields().ByName("authority") + fd_MsgSetFeeParams_fees = md_MsgSetFeeParams.Fields().ByName("fees") } -var _ protoreflect.Message = (*fastReflection_MsgSetMarketplaceFees)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSetFeeParams)(nil) -type fastReflection_MsgSetMarketplaceFees MsgSetMarketplaceFees +type fastReflection_MsgSetFeeParams MsgSetFeeParams -func (x *MsgSetMarketplaceFees) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMarketplaceFees)(x) +func (x *MsgSetFeeParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetFeeParams)(x) } -func (x *MsgSetMarketplaceFees) slowProtoReflect() protoreflect.Message { +func (x *MsgSetFeeParams) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7756,43 +7756,43 @@ func (x *MsgSetMarketplaceFees) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSetMarketplaceFees_messageType fastReflection_MsgSetMarketplaceFees_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMarketplaceFees_messageType{} +var _fastReflection_MsgSetFeeParams_messageType fastReflection_MsgSetFeeParams_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetFeeParams_messageType{} -type fastReflection_MsgSetMarketplaceFees_messageType struct{} +type fastReflection_MsgSetFeeParams_messageType struct{} -func (x fastReflection_MsgSetMarketplaceFees_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMarketplaceFees)(nil) +func (x fastReflection_MsgSetFeeParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetFeeParams)(nil) } -func (x fastReflection_MsgSetMarketplaceFees_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMarketplaceFees) +func (x fastReflection_MsgSetFeeParams_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetFeeParams) } -func (x fastReflection_MsgSetMarketplaceFees_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMarketplaceFees +func (x fastReflection_MsgSetFeeParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetFeeParams } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSetMarketplaceFees) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMarketplaceFees +func (x *fastReflection_MsgSetFeeParams) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetFeeParams } // 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_MsgSetMarketplaceFees) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMarketplaceFees_messageType +func (x *fastReflection_MsgSetFeeParams) Type() protoreflect.MessageType { + return _fastReflection_MsgSetFeeParams_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMarketplaceFees) New() protoreflect.Message { - return new(fastReflection_MsgSetMarketplaceFees) +func (x *fastReflection_MsgSetFeeParams) New() protoreflect.Message { + return new(fastReflection_MsgSetFeeParams) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMarketplaceFees) Interface() protoreflect.ProtoMessage { - return (*MsgSetMarketplaceFees)(x) +func (x *fastReflection_MsgSetFeeParams) Interface() protoreflect.ProtoMessage { + return (*MsgSetFeeParams)(x) } // Range iterates over every populated field in an undefined order, @@ -7800,16 +7800,16 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSetFeeParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Authority != "" { value := protoreflect.ValueOfString(x.Authority) - if !f(fd_MsgSetMarketplaceFees_authority, value) { + if !f(fd_MsgSetFeeParams_authority, value) { return } } if x.Fees != nil { value := protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) - if !f(fd_MsgSetMarketplaceFees_fees, value) { + if !f(fd_MsgSetFeeParams_fees, value) { return } } @@ -7826,17 +7826,17 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSetFeeParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": return x.Authority != "" - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": return x.Fees != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7846,17 +7846,17 @@ func (x *fastReflection_MsgSetMarketplaceFees) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetMarketplaceFees) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSetFeeParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": x.Authority = "" - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": x.Fees = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7866,19 +7866,19 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": value := x.Fees return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", descriptor.FullName())) } } @@ -7892,17 +7892,17 @@ func (x *fastReflection_MsgSetMarketplaceFees) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetMarketplaceFees) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSetFeeParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": x.Authority = value.Interface().(string) - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": x.Fees = value.Message().Interface().(*FeeParams) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7916,48 +7916,48 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": if x.Fees == nil { x.Fees = new(FeeParams) } return protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": - panic(fmt.Errorf("field authority of message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees is not mutable")) + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + panic(fmt.Errorf("field authority of message regen.ecocredit.marketplace.v1.MsgSetFeeParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams 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_MsgSetMarketplaceFees) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.authority": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": return protoreflect.ValueOfString("") - case "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees": + case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": m := new(FeeParams) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams 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_MsgSetMarketplaceFees) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSetFeeParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetFeeParams", d.FullName())) } panic("unreachable") } @@ -7965,7 +7965,7 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSetFeeParams) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7976,7 +7976,7 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSetFeeParams) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7988,7 +7988,7 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) IsValid() bool { +func (x *fastReflection_MsgSetFeeParams) IsValid() bool { return x != nil } @@ -7998,9 +7998,9 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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_MsgSetMarketplaceFees) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSetFeeParams) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMarketplaceFees) + x := input.Message.Interface().(*MsgSetFeeParams) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8030,7 +8030,7 @@ func (x *fastReflection_MsgSetMarketplaceFees) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMarketplaceFees) + x := input.Message.Interface().(*MsgSetFeeParams) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8081,7 +8081,7 @@ func (x *fastReflection_MsgSetMarketplaceFees) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMarketplaceFees) + x := input.Message.Interface().(*MsgSetFeeParams) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8113,10 +8113,10 @@ func (x *fastReflection_MsgSetMarketplaceFees) 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: MsgSetMarketplaceFees: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParams: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFees: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -8223,23 +8223,23 @@ func (x *fastReflection_MsgSetMarketplaceFees) ProtoMethods() *protoiface.Method } var ( - md_MsgSetMarketplaceFeesResponse protoreflect.MessageDescriptor + md_MsgSetFeeParamsResponse protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_marketplace_v1_tx_proto_init() - md_MsgSetMarketplaceFeesResponse = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetMarketplaceFeesResponse") + md_MsgSetFeeParamsResponse = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetFeeParamsResponse") } -var _ protoreflect.Message = (*fastReflection_MsgSetMarketplaceFeesResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSetFeeParamsResponse)(nil) -type fastReflection_MsgSetMarketplaceFeesResponse MsgSetMarketplaceFeesResponse +type fastReflection_MsgSetFeeParamsResponse MsgSetFeeParamsResponse -func (x *MsgSetMarketplaceFeesResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetMarketplaceFeesResponse)(x) +func (x *MsgSetFeeParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSetFeeParamsResponse)(x) } -func (x *MsgSetMarketplaceFeesResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgSetFeeParamsResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8251,43 +8251,43 @@ func (x *MsgSetMarketplaceFeesResponse) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgSetMarketplaceFeesResponse_messageType fastReflection_MsgSetMarketplaceFeesResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetMarketplaceFeesResponse_messageType{} +var _fastReflection_MsgSetFeeParamsResponse_messageType fastReflection_MsgSetFeeParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSetFeeParamsResponse_messageType{} -type fastReflection_MsgSetMarketplaceFeesResponse_messageType struct{} +type fastReflection_MsgSetFeeParamsResponse_messageType struct{} -func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetMarketplaceFeesResponse)(nil) +func (x fastReflection_MsgSetFeeParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSetFeeParamsResponse)(nil) } -func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetMarketplaceFeesResponse) +func (x fastReflection_MsgSetFeeParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSetFeeParamsResponse) } -func (x fastReflection_MsgSetMarketplaceFeesResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMarketplaceFeesResponse +func (x fastReflection_MsgSetFeeParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetFeeParamsResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSetMarketplaceFeesResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetMarketplaceFeesResponse +func (x *fastReflection_MsgSetFeeParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSetFeeParamsResponse } // 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_MsgSetMarketplaceFeesResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSetMarketplaceFeesResponse_messageType +func (x *fastReflection_MsgSetFeeParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSetFeeParamsResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetMarketplaceFeesResponse) New() protoreflect.Message { - return new(fastReflection_MsgSetMarketplaceFeesResponse) +func (x *fastReflection_MsgSetFeeParamsResponse) New() protoreflect.Message { + return new(fastReflection_MsgSetFeeParamsResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetMarketplaceFeesResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSetMarketplaceFeesResponse)(x) +func (x *fastReflection_MsgSetFeeParamsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSetFeeParamsResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8295,7 +8295,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSetFeeParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -8309,13 +8309,13 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSetFeeParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8325,13 +8325,13 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetMarketplaceFeesResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSetFeeParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8341,13 +8341,13 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParamsResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -8361,13 +8361,13 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetMarketplaceFeesResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSetFeeParamsResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8381,36 +8381,36 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParamsResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse 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_MsgSetMarketplaceFeesResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSetFeeParamsResponse) 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.marketplace.v1.MsgSetMarketplaceFeesResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse 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_MsgSetMarketplaceFeesResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSetFeeParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse", d.FullName())) } panic("unreachable") } @@ -8418,7 +8418,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSetFeeParamsResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8429,7 +8429,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSetFeeParamsResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8441,7 +8441,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) IsValid() bool { +func (x *fastReflection_MsgSetFeeParamsResponse) IsValid() bool { return x != nil } @@ -8451,9 +8451,9 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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_MsgSetMarketplaceFeesResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSetFeeParamsResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + x := input.Message.Interface().(*MsgSetFeeParamsResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8475,7 +8475,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + x := input.Message.Interface().(*MsgSetFeeParamsResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8505,7 +8505,7 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSetMarketplaceFeesResponse) + x := input.Message.Interface().(*MsgSetFeeParamsResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8537,10 +8537,10 @@ func (x *fastReflection_MsgSetMarketplaceFeesResponse) 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: MsgSetMarketplaceFeesResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParamsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9069,8 +9069,8 @@ func (*MsgRemoveAllowedDenomResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{11} } -// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. -type MsgSetMarketplaceFees struct { +// MsgSetFeeParams is the Msg/SetFeeParams request type. +type MsgSetFeeParams struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9081,8 +9081,8 @@ type MsgSetMarketplaceFees struct { Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` } -func (x *MsgSetMarketplaceFees) Reset() { - *x = MsgSetMarketplaceFees{} +func (x *MsgSetFeeParams) Reset() { + *x = MsgSetFeeParams{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9090,40 +9090,40 @@ func (x *MsgSetMarketplaceFees) Reset() { } } -func (x *MsgSetMarketplaceFees) String() string { +func (x *MsgSetFeeParams) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetMarketplaceFees) ProtoMessage() {} +func (*MsgSetFeeParams) ProtoMessage() {} -// Deprecated: Use MsgSetMarketplaceFees.ProtoReflect.Descriptor instead. -func (*MsgSetMarketplaceFees) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgSetFeeParams.ProtoReflect.Descriptor instead. +func (*MsgSetFeeParams) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{12} } -func (x *MsgSetMarketplaceFees) GetAuthority() string { +func (x *MsgSetFeeParams) GetAuthority() string { if x != nil { return x.Authority } return "" } -func (x *MsgSetMarketplaceFees) GetFees() *FeeParams { +func (x *MsgSetFeeParams) GetFees() *FeeParams { if x != nil { return x.Fees } return nil } -// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. -type MsgSetMarketplaceFeesResponse struct { +// MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. +type MsgSetFeeParamsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetMarketplaceFeesResponse) Reset() { - *x = MsgSetMarketplaceFeesResponse{} +func (x *MsgSetFeeParamsResponse) Reset() { + *x = MsgSetFeeParamsResponse{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9131,14 +9131,14 @@ func (x *MsgSetMarketplaceFeesResponse) Reset() { } } -func (x *MsgSetMarketplaceFeesResponse) String() string { +func (x *MsgSetFeeParamsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetMarketplaceFeesResponse) ProtoMessage() {} +func (*MsgSetFeeParamsResponse) ProtoMessage() {} -// Deprecated: Use MsgSetMarketplaceFeesResponse.ProtoReflect.Descriptor instead. -func (*MsgSetMarketplaceFeesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgSetFeeParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgSetFeeParamsResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{13} } @@ -9533,73 +9533,71 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_rawDesc = []byte{ 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 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, 0x3d, - 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, - 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, - 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1f, 0x0a, - 0x1d, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x81, - 0x07, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x27, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x33, 0x2e, - 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, - 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, - 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, - 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, - 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, + 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x3d, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, + 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x32, 0xee, 0x06, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, 0x53, 0x65, 0x6c, + 0x6c, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, + 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x10, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, + 0x12, 0x33, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x1a, 0x34, - 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, - 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, - 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3a, 0x2e, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, - 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, - 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, + 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, - 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x12, 0x35, 0x2e, 0x72, - 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, - 0x65, 0x65, 0x73, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, + 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, 0x2e, 0x72, 0x65, + 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, + 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, + 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, + 0x6f, 0x6d, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46, + 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, + 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x37, 0x2e, 0x72, 0x65, 0x67, 0x65, + 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x74, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa0, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, @@ -9647,8 +9645,8 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_goTypes = []interface{}{ (*MsgAddAllowedDenomResponse)(nil), // 9: regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse (*MsgRemoveAllowedDenom)(nil), // 10: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom (*MsgRemoveAllowedDenomResponse)(nil), // 11: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - (*MsgSetMarketplaceFees)(nil), // 12: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees - (*MsgSetMarketplaceFeesResponse)(nil), // 13: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse + (*MsgSetFeeParams)(nil), // 12: regen.ecocredit.marketplace.v1.MsgSetFeeParams + (*MsgSetFeeParamsResponse)(nil), // 13: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse (*MsgSell_Order)(nil), // 14: regen.ecocredit.marketplace.v1.MsgSell.Order (*MsgUpdateSellOrders_Update)(nil), // 15: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update (*MsgBuyDirect_Order)(nil), // 16: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order @@ -9660,7 +9658,7 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_depIdxs = []int32{ 14, // 0: regen.ecocredit.marketplace.v1.MsgSell.orders:type_name -> regen.ecocredit.marketplace.v1.MsgSell.Order 15, // 1: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.updates:type_name -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update 16, // 2: regen.ecocredit.marketplace.v1.MsgBuyDirect.orders:type_name -> regen.ecocredit.marketplace.v1.MsgBuyDirect.Order - 17, // 3: regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees.fees:type_name -> regen.ecocredit.marketplace.v1.FeeParams + 17, // 3: regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees:type_name -> regen.ecocredit.marketplace.v1.FeeParams 18, // 4: regen.ecocredit.marketplace.v1.MsgSell.Order.ask_price:type_name -> cosmos.base.v1beta1.Coin 19, // 5: regen.ecocredit.marketplace.v1.MsgSell.Order.expiration:type_name -> google.protobuf.Timestamp 18, // 6: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_ask_price:type_name -> cosmos.base.v1beta1.Coin @@ -9672,14 +9670,14 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_depIdxs = []int32{ 6, // 12: regen.ecocredit.marketplace.v1.Msg.BuyDirect:input_type -> regen.ecocredit.marketplace.v1.MsgBuyDirect 8, // 13: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenom 10, // 14: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom - 12, // 15: regen.ecocredit.marketplace.v1.Msg.SetMarketplaceFees:input_type -> regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees + 12, // 15: regen.ecocredit.marketplace.v1.Msg.SetFeeParams:input_type -> regen.ecocredit.marketplace.v1.MsgSetFeeParams 1, // 16: regen.ecocredit.marketplace.v1.Msg.Sell:output_type -> regen.ecocredit.marketplace.v1.MsgSellResponse 3, // 17: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:output_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse 5, // 18: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:output_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse 7, // 19: regen.ecocredit.marketplace.v1.Msg.BuyDirect:output_type -> regen.ecocredit.marketplace.v1.MsgBuyDirectResponse 9, // 20: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse 11, // 21: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - 13, // 22: regen.ecocredit.marketplace.v1.Msg.SetMarketplaceFees:output_type -> regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse + 13, // 22: regen.ecocredit.marketplace.v1.Msg.SetFeeParams:output_type -> regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse 16, // [16:23] is the sub-list for method output_type 9, // [9:16] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name @@ -9839,7 +9837,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMarketplaceFees); i { + switch v := v.(*MsgSetFeeParams); i { case 0: return &v.state case 1: @@ -9851,7 +9849,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetMarketplaceFeesResponse); i { + switch v := v.(*MsgSetFeeParamsResponse); i { case 0: return &v.state case 1: diff --git a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go index 4b32df93b6..3f6edb855c 100644 --- a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go +++ b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go @@ -25,7 +25,7 @@ const ( Msg_BuyDirect_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/BuyDirect" Msg_AddAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/AddAllowedDenom" Msg_RemoveAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/RemoveAllowedDenom" - Msg_SetMarketplaceFees_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees" + Msg_SetFeeParams_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams" ) // MsgClient is the client API for Msg service. @@ -49,10 +49,10 @@ type MsgClient interface { // // Since Revision 1 RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowedDenom, opts ...grpc.CallOption) (*MsgRemoveAllowedDenomResponse, error) - // SetMarketplaceFees is a governance method that sets the marketplace fees. + // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) + SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) } type msgClient struct { @@ -117,9 +117,9 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } -func (c *msgClient) SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) { - out := new(MsgSetMarketplaceFeesResponse) - err := c.cc.Invoke(ctx, Msg_SetMarketplaceFees_FullMethodName, in, out, opts...) +func (c *msgClient) SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) { + out := new(MsgSetFeeParamsResponse) + err := c.cc.Invoke(ctx, Msg_SetFeeParams_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -147,10 +147,10 @@ type MsgServer interface { // // Since Revision 1 RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) - // SetMarketplaceFees is a governance method that sets the marketplace fees. + // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) + SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) mustEmbedUnimplementedMsgServer() } @@ -176,8 +176,8 @@ func (UnimplementedMsgServer) AddAllowedDenom(context.Context, *MsgAddAllowedDen func (UnimplementedMsgServer) RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } -func (UnimplementedMsgServer) SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMarketplaceFees not implemented") +func (UnimplementedMsgServer) SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetFeeParams not implemented") } func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} @@ -300,20 +300,20 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _Msg_SetMarketplaceFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetMarketplaceFees) +func _Msg_SetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetFeeParams) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).SetMarketplaceFees(ctx, in) + return srv.(MsgServer).SetFeeParams(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Msg_SetMarketplaceFees_FullMethodName, + FullMethod: Msg_SetFeeParams_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetMarketplaceFees(ctx, req.(*MsgSetMarketplaceFees)) + return srv.(MsgServer).SetFeeParams(ctx, req.(*MsgSetFeeParams)) } return interceptor(ctx, in, info, handler) } @@ -350,8 +350,8 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ Handler: _Msg_RemoveAllowedDenom_Handler, }, { - MethodName: "SetMarketplaceFees", - Handler: _Msg_SetMarketplaceFees_Handler, + MethodName: "SetFeeParams", + Handler: _Msg_SetFeeParams_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/regen/ecocredit/marketplace/v1/tx.proto b/proto/regen/ecocredit/marketplace/v1/tx.proto index 497d79fd7e..a644f4f965 100644 --- a/proto/regen/ecocredit/marketplace/v1/tx.proto +++ b/proto/regen/ecocredit/marketplace/v1/tx.proto @@ -38,11 +38,11 @@ service Msg { rpc RemoveAllowedDenom(MsgRemoveAllowedDenom) returns (MsgRemoveAllowedDenomResponse); - // SetMarketplaceFees is a governance method that sets the marketplace fees. + // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - rpc SetMarketplaceFees(MsgSetMarketplaceFees) - returns (MsgSetMarketplaceFeesResponse); + rpc SetFeeParams(MsgSetFeeParams) + returns (MsgSetFeeParamsResponse); } // MsgSell is the Msg/Sell request type. @@ -240,8 +240,8 @@ message MsgRemoveAllowedDenom { // Since Revision 1 message MsgRemoveAllowedDenomResponse {} -// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. -message MsgSetMarketplaceFees { +// MsgSetFeeParams is the Msg/SetFeeParams request type. +message MsgSetFeeParams { option (cosmos.msg.v1.signer) = "authority"; // authority is the address of the governance account. @@ -251,5 +251,5 @@ message MsgSetMarketplaceFees { FeeParams fees = 2; } -// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. -message MsgSetMarketplaceFeesResponse {} +// MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. +message MsgSetFeeParamsResponse {} diff --git a/x/ecocredit/marketplace/types/v1/tx.pb.go b/x/ecocredit/marketplace/types/v1/tx.pb.go index aebba73841..1537fc8899 100644 --- a/x/ecocredit/marketplace/types/v1/tx.pb.go +++ b/x/ecocredit/marketplace/types/v1/tx.pb.go @@ -916,26 +916,26 @@ func (m *MsgRemoveAllowedDenomResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRemoveAllowedDenomResponse proto.InternalMessageInfo -// MsgSetMarketplaceFees is the Msg/SetMarketplaceFees request type. -type MsgSetMarketplaceFees struct { +// MsgSetFeeParams is the Msg/SetFeeParams request type. +type MsgSetFeeParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // fees are the marketplace fees being set. Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` } -func (m *MsgSetMarketplaceFees) Reset() { *m = MsgSetMarketplaceFees{} } -func (m *MsgSetMarketplaceFees) String() string { return proto.CompactTextString(m) } -func (*MsgSetMarketplaceFees) ProtoMessage() {} -func (*MsgSetMarketplaceFees) Descriptor() ([]byte, []int) { +func (m *MsgSetFeeParams) Reset() { *m = MsgSetFeeParams{} } +func (m *MsgSetFeeParams) String() string { return proto.CompactTextString(m) } +func (*MsgSetFeeParams) ProtoMessage() {} +func (*MsgSetFeeParams) Descriptor() ([]byte, []int) { return fileDescriptor_68c9b4e4b7fcb584, []int{12} } -func (m *MsgSetMarketplaceFees) XXX_Unmarshal(b []byte) error { +func (m *MsgSetFeeParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgSetMarketplaceFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgSetFeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgSetMarketplaceFees.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgSetFeeParams.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -945,48 +945,48 @@ func (m *MsgSetMarketplaceFees) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *MsgSetMarketplaceFees) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetMarketplaceFees.Merge(m, src) +func (m *MsgSetFeeParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetFeeParams.Merge(m, src) } -func (m *MsgSetMarketplaceFees) XXX_Size() int { +func (m *MsgSetFeeParams) XXX_Size() int { return m.Size() } -func (m *MsgSetMarketplaceFees) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetMarketplaceFees.DiscardUnknown(m) +func (m *MsgSetFeeParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetFeeParams.DiscardUnknown(m) } -var xxx_messageInfo_MsgSetMarketplaceFees proto.InternalMessageInfo +var xxx_messageInfo_MsgSetFeeParams proto.InternalMessageInfo -func (m *MsgSetMarketplaceFees) GetAuthority() string { +func (m *MsgSetFeeParams) GetAuthority() string { if m != nil { return m.Authority } return "" } -func (m *MsgSetMarketplaceFees) GetFees() *FeeParams { +func (m *MsgSetFeeParams) GetFees() *FeeParams { if m != nil { return m.Fees } return nil } -// MsgSetMarketplaceFeesResponse is the Msg/SetMarketplaceFees response type. -type MsgSetMarketplaceFeesResponse struct { +// MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. +type MsgSetFeeParamsResponse struct { } -func (m *MsgSetMarketplaceFeesResponse) Reset() { *m = MsgSetMarketplaceFeesResponse{} } -func (m *MsgSetMarketplaceFeesResponse) String() string { return proto.CompactTextString(m) } -func (*MsgSetMarketplaceFeesResponse) ProtoMessage() {} -func (*MsgSetMarketplaceFeesResponse) Descriptor() ([]byte, []int) { +func (m *MsgSetFeeParamsResponse) Reset() { *m = MsgSetFeeParamsResponse{} } +func (m *MsgSetFeeParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgSetFeeParamsResponse) ProtoMessage() {} +func (*MsgSetFeeParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_68c9b4e4b7fcb584, []int{13} } -func (m *MsgSetMarketplaceFeesResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgSetFeeParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgSetMarketplaceFeesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgSetFeeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgSetMarketplaceFeesResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgSetFeeParamsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -996,17 +996,17 @@ func (m *MsgSetMarketplaceFeesResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *MsgSetMarketplaceFeesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetMarketplaceFeesResponse.Merge(m, src) +func (m *MsgSetFeeParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetFeeParamsResponse.Merge(m, src) } -func (m *MsgSetMarketplaceFeesResponse) XXX_Size() int { +func (m *MsgSetFeeParamsResponse) XXX_Size() int { return m.Size() } -func (m *MsgSetMarketplaceFeesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetMarketplaceFeesResponse.DiscardUnknown(m) +func (m *MsgSetFeeParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetFeeParamsResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgSetMarketplaceFeesResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgSetFeeParamsResponse proto.InternalMessageInfo func init() { proto.RegisterType((*MsgSell)(nil), "regen.ecocredit.marketplace.v1.MsgSell") @@ -1024,8 +1024,8 @@ func init() { proto.RegisterType((*MsgAddAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse") proto.RegisterType((*MsgRemoveAllowedDenom)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom") proto.RegisterType((*MsgRemoveAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse") - proto.RegisterType((*MsgSetMarketplaceFees)(nil), "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFees") - proto.RegisterType((*MsgSetMarketplaceFeesResponse)(nil), "regen.ecocredit.marketplace.v1.MsgSetMarketplaceFeesResponse") + proto.RegisterType((*MsgSetFeeParams)(nil), "regen.ecocredit.marketplace.v1.MsgSetFeeParams") + proto.RegisterType((*MsgSetFeeParamsResponse)(nil), "regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse") } func init() { @@ -1034,73 +1034,73 @@ func init() { var fileDescriptor_68c9b4e4b7fcb584 = []byte{ // 1060 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xdc, 0x44, - 0x14, 0x8f, 0x77, 0x37, 0xff, 0xde, 0x26, 0x69, 0xeb, 0x86, 0x74, 0x31, 0xcd, 0x26, 0x2c, 0x48, - 0x0d, 0x85, 0xda, 0x4a, 0x4a, 0xa9, 0x14, 0x14, 0x89, 0xa4, 0x6d, 0x10, 0x45, 0x2b, 0x8a, 0x53, - 0x2e, 0x48, 0x68, 0x3b, 0xb6, 0x5f, 0x1c, 0x13, 0xdb, 0x63, 0x3c, 0xe3, 0x64, 0x73, 0x2c, 0xaa, - 0x84, 0xc4, 0xa9, 0x67, 0x8e, 0x7c, 0x02, 0xce, 0xf0, 0x05, 0x38, 0xf6, 0xc8, 0x0d, 0x94, 0x48, - 0x70, 0xe3, 0x33, 0x54, 0x33, 0xf6, 0x7a, 0x37, 0xde, 0x6c, 0xe3, 0xe4, 0xe6, 0x79, 0xef, 0xfd, - 0xe6, 0xbd, 0xf9, 0xfd, 0xde, 0x9b, 0x31, 0xdc, 0x8a, 0xd1, 0xc5, 0xd0, 0x40, 0x9b, 0xda, 0x31, - 0x3a, 0x1e, 0x37, 0x02, 0x12, 0xef, 0x23,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 0x1f, 0x1d, 0x17, 0x63, 0xa3, 0x3b, 0xe2, 0xa7, 0x9b, 0x1f, 0x45, 0xc8, 0xc4, - 0xaf, 0xff, 0x84, 0xfc, 0xcb, 0xb8, 0xfb, 0x3a, 0x00, 0x00, 0xff, 0xff, 0xc7, 0x93, 0x51, 0x6a, - 0x5c, 0x0c, 0x00, 0x00, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0xdc, 0xd4, + 0x13, 0x8f, 0x77, 0x37, 0x9b, 0x64, 0x76, 0x93, 0xb6, 0x6e, 0xfe, 0xc9, 0xd6, 0xff, 0x66, 0x13, + 0x16, 0xa4, 0x86, 0x42, 0x6d, 0x25, 0x05, 0x22, 0x05, 0x45, 0x22, 0x69, 0x1b, 0x44, 0xd1, 0x8a, + 0xe2, 0x96, 0x0b, 0x12, 0xda, 0xbe, 0xb5, 0x27, 0x8e, 0x89, 0xed, 0xb7, 0xf8, 0x3d, 0x27, 0x9b, + 0x0b, 0x12, 0x08, 0x09, 0x89, 0x53, 0xcf, 0x1c, 0xf9, 0x04, 0x9c, 0xe1, 0x0b, 0x70, 0xec, 0x91, + 0x1b, 0x28, 0x91, 0xe0, 0xd6, 0xcf, 0x80, 0xde, 0xb3, 0xd7, 0xbb, 0xf1, 0x66, 0x1b, 0xef, 0xde, + 0xfc, 0x66, 0xe6, 0x37, 0x33, 0x6f, 0x7e, 0x33, 0xf3, 0x0c, 0x77, 0x42, 0x74, 0x30, 0x30, 0xd0, + 0xa2, 0x56, 0x88, 0xb6, 0xcb, 0x0d, 0x9f, 0x84, 0x47, 0xc8, 0x3b, 0x1e, 0xb1, 0xd0, 0x38, 0xde, + 0x30, 0x78, 0x57, 0xef, 0x84, 0x94, 0x53, 0xb5, 0x2e, 0x0d, 0xf5, 0xd4, 0x50, 0x1f, 0x30, 0xd4, + 0x8f, 0x37, 0xb4, 0xba, 0x45, 0x99, 0x4f, 0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 0x46, 0x4e, 0xc3, 0xf4, 0xa5, 0xf9, 0x41, 0x81, 0xeb, 0x43, 0x0f, 0xc8, 0xfd, 0x09, 0xde, + 0x05, 0xed, 0xc3, 0x09, 0x40, 0x69, 0x1a, 0xdf, 0x29, 0x70, 0x2d, 0xbb, 0x0c, 0xf3, 0xac, 0x9b, + 0x0c, 0x46, 0xdb, 0x1e, 0x1f, 0x93, 0xe6, 0x40, 0x61, 0xae, 0xbf, 0x11, 0xdf, 0x1d, 0x67, 0xd7, + 0x69, 0xef, 0x8d, 0x63, 0x7d, 0xe1, 0xd2, 0xd9, 0x71, 0xcd, 0x73, 0xe9, 0x0c, 0x26, 0xd7, 0xa5, + 0x47, 0x8c, 0x9c, 0xfa, 0x93, 0x02, 0xea, 0x25, 0x03, 0xf7, 0x7e, 0x0e, 0x97, 0xc3, 0x30, 0x6d, + 0x67, 0x22, 0x58, 0x9a, 0x4c, 0x17, 0xaa, 0x17, 0xc6, 0x31, 0x5f, 0x37, 0xf7, 0x01, 0xda, 0xd6, + 0x98, 0x80, 0x5e, 0xe4, 0xbd, 0xe7, 0x7f, 0x9c, 0xd5, 0x95, 0x97, 0x67, 0x75, 0xe5, 0xef, 0xb3, + 0xba, 0xf2, 0xe2, 0xbc, 0x3e, 0xf5, 0xf2, 0xbc, 0x3e, 0xf5, 0xe7, 0x79, 0x7d, 0xea, 0xcb, 0x7d, + 0xc7, 0xe5, 0x87, 0x51, 0x5b, 0xb7, 0xa8, 0x6f, 0x48, 0xe7, 0xf7, 0x02, 0xe4, 0x27, 0x34, 0x3c, + 0x4a, 0x4e, 0x1e, 0xda, 0x0e, 0x86, 0x46, 0x77, 0xc4, 0x4f, 0x35, 0x3f, 0xed, 0x20, 0x13, 0xbf, + 0xf6, 0x65, 0xf9, 0x17, 0x71, 0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x2b, 0x9c, 0x3c, + 0x3c, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1132,10 +1132,10 @@ type MsgClient interface { // // Since Revision 1 RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowedDenom, opts ...grpc.CallOption) (*MsgRemoveAllowedDenomResponse, error) - // SetMarketplaceFees is a governance method that sets the marketplace fees. + // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) + SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) } type msgClient struct { @@ -1200,9 +1200,9 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } -func (c *msgClient) SetMarketplaceFees(ctx context.Context, in *MsgSetMarketplaceFees, opts ...grpc.CallOption) (*MsgSetMarketplaceFeesResponse, error) { - out := new(MsgSetMarketplaceFeesResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees", in, out, opts...) +func (c *msgClient) SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) { + out := new(MsgSetFeeParamsResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams", in, out, opts...) if err != nil { return nil, err } @@ -1228,10 +1228,10 @@ type MsgServer interface { // // Since Revision 1 RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) - // SetMarketplaceFees is a governance method that sets the marketplace fees. + // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetMarketplaceFees(context.Context, *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) + SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1256,8 +1256,8 @@ func (*UnimplementedMsgServer) AddAllowedDenom(ctx context.Context, req *MsgAddA func (*UnimplementedMsgServer) RemoveAllowedDenom(ctx context.Context, req *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } -func (*UnimplementedMsgServer) SetMarketplaceFees(ctx context.Context, req *MsgSetMarketplaceFees) (*MsgSetMarketplaceFeesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMarketplaceFees not implemented") +func (*UnimplementedMsgServer) SetFeeParams(ctx context.Context, req *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetFeeParams not implemented") } func RegisterMsgServer(s grpc1.Server, srv MsgServer) { @@ -1372,20 +1372,20 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _Msg_SetMarketplaceFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetMarketplaceFees) +func _Msg_SetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSetFeeParams) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).SetMarketplaceFees(ctx, in) + return srv.(MsgServer).SetFeeParams(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.marketplace.v1.Msg/SetMarketplaceFees", + FullMethod: "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetMarketplaceFees(ctx, req.(*MsgSetMarketplaceFees)) + return srv.(MsgServer).SetFeeParams(ctx, req.(*MsgSetFeeParams)) } return interceptor(ctx, in, info, handler) } @@ -1419,8 +1419,8 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Handler: _Msg_RemoveAllowedDenom_Handler, }, { - MethodName: "SetMarketplaceFees", - Handler: _Msg_SetMarketplaceFees_Handler, + MethodName: "SetFeeParams", + Handler: _Msg_SetFeeParams_Handler, }, }, Streams: []grpc.StreamDesc{}, @@ -2050,7 +2050,7 @@ func (m *MsgRemoveAllowedDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgSetMarketplaceFees) Marshal() (dAtA []byte, err error) { +func (m *MsgSetFeeParams) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2060,12 +2060,12 @@ func (m *MsgSetMarketplaceFees) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetMarketplaceFees) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetFeeParams) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetMarketplaceFees) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetFeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2092,7 +2092,7 @@ func (m *MsgSetMarketplaceFees) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetMarketplaceFeesResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgSetFeeParamsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2102,12 +2102,12 @@ func (m *MsgSetMarketplaceFeesResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetMarketplaceFeesResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgSetFeeParamsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetMarketplaceFeesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgSetFeeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2391,7 +2391,7 @@ func (m *MsgRemoveAllowedDenomResponse) Size() (n int) { return n } -func (m *MsgSetMarketplaceFees) Size() (n int) { +func (m *MsgSetFeeParams) Size() (n int) { if m == nil { return 0 } @@ -2408,7 +2408,7 @@ func (m *MsgSetMarketplaceFees) Size() (n int) { return n } -func (m *MsgSetMarketplaceFeesResponse) Size() (n int) { +func (m *MsgSetFeeParamsResponse) Size() (n int) { if m == nil { return 0 } @@ -4179,7 +4179,7 @@ func (m *MsgRemoveAllowedDenomResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetMarketplaceFees) Unmarshal(dAtA []byte) error { +func (m *MsgSetFeeParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4202,10 +4202,10 @@ func (m *MsgSetMarketplaceFees) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetMarketplaceFees: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetFeeParams: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetMarketplaceFees: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4297,7 +4297,7 @@ func (m *MsgSetMarketplaceFees) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetMarketplaceFeesResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSetFeeParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4320,10 +4320,10 @@ func (m *MsgSetMarketplaceFeesResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSetFeeParamsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetMarketplaceFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: From 16eb163c06b58af87c10ffc17b937b1a5a77a020 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Wed, 31 Jan 2024 15:41:20 -0500 Subject: [PATCH 06/13] update docs --- proto/regen/ecocredit/marketplace/v1/state.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/regen/ecocredit/marketplace/v1/state.proto b/proto/regen/ecocredit/marketplace/v1/state.proto index 70cb638fc2..c6750ddc64 100644 --- a/proto/regen/ecocredit/marketplace/v1/state.proto +++ b/proto/regen/ecocredit/marketplace/v1/state.proto @@ -139,13 +139,13 @@ message FeeParams { }; // buyer_percentage_fee is the decimal percentage fee charged to the buyer. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be added to the total price of a buy order and is denominated // in the same denom as the buy order's bid denom. string buyer_percentage_fee = 1; // seller_percentage_fee is the decimal percentage fee charged to the seller. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be subtracted from the total proceeds of a sell order distributed to the seller // and is denominated in the same denom as the sell order's ask denom. string seller_percentage_fee = 2; From b4caa75eb75e7f3e747a120b88bff3e5c69fb791 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 10:27:42 -0500 Subject: [PATCH 07/13] address review comments --- .../ecocredit/marketplace/v1/state.pulsar.go | 4 +- .../ecocredit/marketplace/v1/tx.pulsar.go | 696 +++++++++--------- .../ecocredit/marketplace/v1/tx_grpc.pb.go | 30 +- proto/regen/ecocredit/marketplace/v1/tx.proto | 14 +- x/ecocredit/marketplace/types/v1/state.pb.go | 4 +- x/ecocredit/marketplace/types/v1/tx.pb.go | 261 +++---- 6 files changed, 510 insertions(+), 499 deletions(-) diff --git a/api/regen/ecocredit/marketplace/v1/state.pulsar.go b/api/regen/ecocredit/marketplace/v1/state.pulsar.go index b79f2b019a..90657e553a 100644 --- a/api/regen/ecocredit/marketplace/v1/state.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/state.pulsar.go @@ -2787,12 +2787,12 @@ type FeeParams struct { unknownFields protoimpl.UnknownFields // buyer_percentage_fee is the decimal percentage fee charged to the buyer. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be added to the total price of a buy order and is denominated // in the same denom as the buy order's bid denom. BuyerPercentageFee string `protobuf:"bytes,1,opt,name=buyer_percentage_fee,json=buyerPercentageFee,proto3" json:"buyer_percentage_fee,omitempty"` // seller_percentage_fee is the decimal percentage fee charged to the seller. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be subtracted from the total proceeds of a sell order distributed to the seller // and is denominated in the same denom as the sell order's ask denom. SellerPercentageFee string `protobuf:"bytes,2,opt,name=seller_percentage_fee,json=sellerPercentageFee,proto3" json:"seller_percentage_fee,omitempty"` diff --git a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go index fd6a361dbe..917f9c6339 100644 --- a/api/regen/ecocredit/marketplace/v1/tx.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/tx.pulsar.go @@ -3,6 +3,7 @@ package marketplacev1 import ( fmt "fmt" + _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" v1beta1 "github.com/cosmos/cosmos-sdk/api/cosmos/base/v1beta1" _ "github.com/cosmos/cosmos-sdk/api/cosmos/msg/v1" @@ -7724,27 +7725,27 @@ func (x *fastReflection_MsgRemoveAllowedDenomResponse) ProtoMethods() *protoifac } var ( - md_MsgSetFeeParams protoreflect.MessageDescriptor - fd_MsgSetFeeParams_authority protoreflect.FieldDescriptor - fd_MsgSetFeeParams_fees protoreflect.FieldDescriptor + md_MsgGovSetFeeParams protoreflect.MessageDescriptor + fd_MsgGovSetFeeParams_authority protoreflect.FieldDescriptor + fd_MsgGovSetFeeParams_fees protoreflect.FieldDescriptor ) func init() { file_regen_ecocredit_marketplace_v1_tx_proto_init() - md_MsgSetFeeParams = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetFeeParams") - fd_MsgSetFeeParams_authority = md_MsgSetFeeParams.Fields().ByName("authority") - fd_MsgSetFeeParams_fees = md_MsgSetFeeParams.Fields().ByName("fees") + md_MsgGovSetFeeParams = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgGovSetFeeParams") + fd_MsgGovSetFeeParams_authority = md_MsgGovSetFeeParams.Fields().ByName("authority") + fd_MsgGovSetFeeParams_fees = md_MsgGovSetFeeParams.Fields().ByName("fees") } -var _ protoreflect.Message = (*fastReflection_MsgSetFeeParams)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGovSetFeeParams)(nil) -type fastReflection_MsgSetFeeParams MsgSetFeeParams +type fastReflection_MsgGovSetFeeParams MsgGovSetFeeParams -func (x *MsgSetFeeParams) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetFeeParams)(x) +func (x *MsgGovSetFeeParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGovSetFeeParams)(x) } -func (x *MsgSetFeeParams) slowProtoReflect() protoreflect.Message { +func (x *MsgGovSetFeeParams) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7756,43 +7757,43 @@ func (x *MsgSetFeeParams) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSetFeeParams_messageType fastReflection_MsgSetFeeParams_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetFeeParams_messageType{} +var _fastReflection_MsgGovSetFeeParams_messageType fastReflection_MsgGovSetFeeParams_messageType +var _ protoreflect.MessageType = fastReflection_MsgGovSetFeeParams_messageType{} -type fastReflection_MsgSetFeeParams_messageType struct{} +type fastReflection_MsgGovSetFeeParams_messageType struct{} -func (x fastReflection_MsgSetFeeParams_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetFeeParams)(nil) +func (x fastReflection_MsgGovSetFeeParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGovSetFeeParams)(nil) } -func (x fastReflection_MsgSetFeeParams_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetFeeParams) +func (x fastReflection_MsgGovSetFeeParams_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGovSetFeeParams) } -func (x fastReflection_MsgSetFeeParams_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetFeeParams +func (x fastReflection_MsgGovSetFeeParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGovSetFeeParams } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSetFeeParams) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetFeeParams +func (x *fastReflection_MsgGovSetFeeParams) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGovSetFeeParams } // 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_MsgSetFeeParams) Type() protoreflect.MessageType { - return _fastReflection_MsgSetFeeParams_messageType +func (x *fastReflection_MsgGovSetFeeParams) Type() protoreflect.MessageType { + return _fastReflection_MsgGovSetFeeParams_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetFeeParams) New() protoreflect.Message { - return new(fastReflection_MsgSetFeeParams) +func (x *fastReflection_MsgGovSetFeeParams) New() protoreflect.Message { + return new(fastReflection_MsgGovSetFeeParams) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetFeeParams) Interface() protoreflect.ProtoMessage { - return (*MsgSetFeeParams)(x) +func (x *fastReflection_MsgGovSetFeeParams) Interface() protoreflect.ProtoMessage { + return (*MsgGovSetFeeParams)(x) } // Range iterates over every populated field in an undefined order, @@ -7800,16 +7801,16 @@ func (x *fastReflection_MsgSetFeeParams) 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_MsgSetFeeParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGovSetFeeParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Authority != "" { value := protoreflect.ValueOfString(x.Authority) - if !f(fd_MsgSetFeeParams_authority, value) { + if !f(fd_MsgGovSetFeeParams_authority, value) { return } } if x.Fees != nil { value := protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) - if !f(fd_MsgSetFeeParams_fees, value) { + if !f(fd_MsgGovSetFeeParams_fees, value) { return } } @@ -7826,17 +7827,17 @@ func (x *fastReflection_MsgSetFeeParams) Range(f func(protoreflect.FieldDescript // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgSetFeeParams) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGovSetFeeParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": return x.Authority != "" - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": return x.Fees != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7846,17 +7847,17 @@ func (x *fastReflection_MsgSetFeeParams) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParams) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGovSetFeeParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": x.Authority = "" - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": x.Fees = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7866,19 +7867,19 @@ func (x *fastReflection_MsgSetFeeParams) 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_MsgSetFeeParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": value := x.Fees return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams does not contain field %s", descriptor.FullName())) } } @@ -7892,17 +7893,17 @@ func (x *fastReflection_MsgSetFeeParams) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGovSetFeeParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": x.Authority = value.Interface().(string) - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": x.Fees = value.Message().Interface().(*FeeParams) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams does not contain field %s", fd.FullName())) } } @@ -7916,48 +7917,48 @@ func (x *fastReflection_MsgSetFeeParams) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": if x.Fees == nil { x.Fees = new(FeeParams) } return protoreflect.ValueOfMessage(x.Fees.ProtoReflect()) - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": - panic(fmt.Errorf("field authority of message regen.ecocredit.marketplace.v1.MsgSetFeeParams is not mutable")) + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": + panic(fmt.Errorf("field authority of message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams 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_MsgSetFeeParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.authority": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.authority": return protoreflect.ValueOfString("") - case "regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees": + case "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees": m := new(FeeParams) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParams 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_MsgSetFeeParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGovSetFeeParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetFeeParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgGovSetFeeParams", d.FullName())) } panic("unreachable") } @@ -7965,7 +7966,7 @@ func (x *fastReflection_MsgSetFeeParams) WhichOneof(d protoreflect.OneofDescript // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgSetFeeParams) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGovSetFeeParams) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7976,7 +7977,7 @@ func (x *fastReflection_MsgSetFeeParams) 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_MsgSetFeeParams) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGovSetFeeParams) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7988,7 +7989,7 @@ func (x *fastReflection_MsgSetFeeParams) SetUnknown(fields protoreflect.RawField // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgSetFeeParams) IsValid() bool { +func (x *fastReflection_MsgGovSetFeeParams) IsValid() bool { return x != nil } @@ -7998,9 +7999,9 @@ func (x *fastReflection_MsgSetFeeParams) 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_MsgSetFeeParams) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGovSetFeeParams) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetFeeParams) + x := input.Message.Interface().(*MsgGovSetFeeParams) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8030,7 +8031,7 @@ func (x *fastReflection_MsgSetFeeParams) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetFeeParams) + x := input.Message.Interface().(*MsgGovSetFeeParams) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8081,7 +8082,7 @@ func (x *fastReflection_MsgSetFeeParams) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSetFeeParams) + x := input.Message.Interface().(*MsgGovSetFeeParams) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8113,10 +8114,10 @@ func (x *fastReflection_MsgSetFeeParams) 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: MsgSetFeeParams: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGovSetFeeParams: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGovSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -8223,23 +8224,23 @@ func (x *fastReflection_MsgSetFeeParams) ProtoMethods() *protoiface.Methods { } var ( - md_MsgSetFeeParamsResponse protoreflect.MessageDescriptor + md_MsgGovSetFeeParamsResponse protoreflect.MessageDescriptor ) func init() { file_regen_ecocredit_marketplace_v1_tx_proto_init() - md_MsgSetFeeParamsResponse = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgSetFeeParamsResponse") + md_MsgGovSetFeeParamsResponse = File_regen_ecocredit_marketplace_v1_tx_proto.Messages().ByName("MsgGovSetFeeParamsResponse") } -var _ protoreflect.Message = (*fastReflection_MsgSetFeeParamsResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGovSetFeeParamsResponse)(nil) -type fastReflection_MsgSetFeeParamsResponse MsgSetFeeParamsResponse +type fastReflection_MsgGovSetFeeParamsResponse MsgGovSetFeeParamsResponse -func (x *MsgSetFeeParamsResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSetFeeParamsResponse)(x) +func (x *MsgGovSetFeeParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGovSetFeeParamsResponse)(x) } -func (x *MsgSetFeeParamsResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgGovSetFeeParamsResponse) slowProtoReflect() protoreflect.Message { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8251,43 +8252,43 @@ func (x *MsgSetFeeParamsResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSetFeeParamsResponse_messageType fastReflection_MsgSetFeeParamsResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSetFeeParamsResponse_messageType{} +var _fastReflection_MsgGovSetFeeParamsResponse_messageType fastReflection_MsgGovSetFeeParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGovSetFeeParamsResponse_messageType{} -type fastReflection_MsgSetFeeParamsResponse_messageType struct{} +type fastReflection_MsgGovSetFeeParamsResponse_messageType struct{} -func (x fastReflection_MsgSetFeeParamsResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSetFeeParamsResponse)(nil) +func (x fastReflection_MsgGovSetFeeParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGovSetFeeParamsResponse)(nil) } -func (x fastReflection_MsgSetFeeParamsResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSetFeeParamsResponse) +func (x fastReflection_MsgGovSetFeeParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGovSetFeeParamsResponse) } -func (x fastReflection_MsgSetFeeParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetFeeParamsResponse +func (x fastReflection_MsgGovSetFeeParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGovSetFeeParamsResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSetFeeParamsResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSetFeeParamsResponse +func (x *fastReflection_MsgGovSetFeeParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGovSetFeeParamsResponse } // 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_MsgSetFeeParamsResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSetFeeParamsResponse_messageType +func (x *fastReflection_MsgGovSetFeeParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGovSetFeeParamsResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSetFeeParamsResponse) New() protoreflect.Message { - return new(fastReflection_MsgSetFeeParamsResponse) +func (x *fastReflection_MsgGovSetFeeParamsResponse) New() protoreflect.Message { + return new(fastReflection_MsgGovSetFeeParamsResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSetFeeParamsResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSetFeeParamsResponse)(x) +func (x *fastReflection_MsgGovSetFeeParamsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGovSetFeeParamsResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8295,7 +8296,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSetFeeParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGovSetFeeParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -8309,13 +8310,13 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Range(f func(protoreflect.Field // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgSetFeeParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGovSetFeeParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8325,13 +8326,13 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParamsResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGovSetFeeParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8341,13 +8342,13 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Clear(fd protoreflect.FieldDesc // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgSetFeeParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParamsResponse) 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.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -8361,13 +8362,13 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGovSetFeeParamsResponse) 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.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse does not contain field %s", fd.FullName())) } } @@ -8381,36 +8382,36 @@ func (x *fastReflection_MsgSetFeeParamsResponse) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParamsResponse) 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.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse 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_MsgSetFeeParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGovSetFeeParamsResponse) 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.marketplace.v1.MsgSetFeeParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse")) } - panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse 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_MsgSetFeeParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGovSetFeeParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse", d.FullName())) } panic("unreachable") } @@ -8418,7 +8419,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) WhichOneof(d protoreflect.Oneof // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgSetFeeParamsResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGovSetFeeParamsResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8429,7 +8430,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSetFeeParamsResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGovSetFeeParamsResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8441,7 +8442,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) SetUnknown(fields protoreflect. // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgSetFeeParamsResponse) IsValid() bool { +func (x *fastReflection_MsgGovSetFeeParamsResponse) IsValid() bool { return x != nil } @@ -8451,9 +8452,9 @@ func (x *fastReflection_MsgSetFeeParamsResponse) 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_MsgSetFeeParamsResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGovSetFeeParamsResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSetFeeParamsResponse) + x := input.Message.Interface().(*MsgGovSetFeeParamsResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8475,7 +8476,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSetFeeParamsResponse) + x := input.Message.Interface().(*MsgGovSetFeeParamsResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8505,7 +8506,7 @@ func (x *fastReflection_MsgSetFeeParamsResponse) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSetFeeParamsResponse) + x := input.Message.Interface().(*MsgGovSetFeeParamsResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8537,10 +8538,10 @@ func (x *fastReflection_MsgSetFeeParamsResponse) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParamsResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGovSetFeeParamsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGovSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9070,7 +9071,7 @@ func (*MsgRemoveAllowedDenomResponse) Descriptor() ([]byte, []int) { } // MsgSetFeeParams is the Msg/SetFeeParams request type. -type MsgSetFeeParams struct { +type MsgGovSetFeeParams struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9081,8 +9082,8 @@ type MsgSetFeeParams struct { Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` } -func (x *MsgSetFeeParams) Reset() { - *x = MsgSetFeeParams{} +func (x *MsgGovSetFeeParams) Reset() { + *x = MsgGovSetFeeParams{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9090,25 +9091,25 @@ func (x *MsgSetFeeParams) Reset() { } } -func (x *MsgSetFeeParams) String() string { +func (x *MsgGovSetFeeParams) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetFeeParams) ProtoMessage() {} +func (*MsgGovSetFeeParams) ProtoMessage() {} -// Deprecated: Use MsgSetFeeParams.ProtoReflect.Descriptor instead. -func (*MsgSetFeeParams) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgGovSetFeeParams.ProtoReflect.Descriptor instead. +func (*MsgGovSetFeeParams) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{12} } -func (x *MsgSetFeeParams) GetAuthority() string { +func (x *MsgGovSetFeeParams) GetAuthority() string { if x != nil { return x.Authority } return "" } -func (x *MsgSetFeeParams) GetFees() *FeeParams { +func (x *MsgGovSetFeeParams) GetFees() *FeeParams { if x != nil { return x.Fees } @@ -9116,14 +9117,14 @@ func (x *MsgSetFeeParams) GetFees() *FeeParams { } // MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. -type MsgSetFeeParamsResponse struct { +type MsgGovSetFeeParamsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSetFeeParamsResponse) Reset() { - *x = MsgSetFeeParamsResponse{} +func (x *MsgGovSetFeeParamsResponse) Reset() { + *x = MsgGovSetFeeParamsResponse{} if protoimpl.UnsafeEnabled { mi := &file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9131,14 +9132,14 @@ func (x *MsgSetFeeParamsResponse) Reset() { } } -func (x *MsgSetFeeParamsResponse) String() string { +func (x *MsgGovSetFeeParamsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSetFeeParamsResponse) ProtoMessage() {} +func (*MsgGovSetFeeParamsResponse) ProtoMessage() {} -// Deprecated: Use MsgSetFeeParamsResponse.ProtoReflect.Descriptor instead. -func (*MsgSetFeeParamsResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgGovSetFeeParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgGovSetFeeParamsResponse) Descriptor() ([]byte, []int) { return file_regen_ecocredit_marketplace_v1_tx_proto_rawDescGZIP(), []int{13} } @@ -9331,7 +9332,8 @@ type MsgBuyDirect_Order struct { // If the marketplace fees end up being greater than this amount, the transaction will fail. // If this field is left empty, the marketplace fees will be calculated based on the bid price // and quantity and automatically deducted from the buyer's account. - // Fees are always paid in the same denomination as the bid price. + // Fees are always paid in the same denomination as the bid price and max fee amount should + // be an integer value of that denom. // // Since Revision 3 MaxFeeAmount string `protobuf:"bytes,8,opt,name=max_fee_amount,json=maxFeeAmount,proto3" json:"max_fee_amount,omitempty"` @@ -9413,210 +9415,214 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_rawDesc = []byte{ 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, - 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2f, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x02, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, - 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x6c, 0x6c, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, - 0x1a, 0xee, 0x01, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, - 0x74, 0x63, 0x68, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x71, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x73, 0x6b, 0x5f, 0x70, - 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 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, 0x08, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, - 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, - 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, - 0x40, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, - 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x37, - 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x65, 0x6c, 0x6c, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x9a, 0x03, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x87, 0x02, - 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, - 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, - 0x6e, 0x65, 0x77, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, - 0x3d, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x5f, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, - 0x18, 0x03, 0x20, 0x01, 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, 0x0b, 0x6e, 0x65, 0x77, 0x41, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, - 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, - 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x47, - 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x42, 0x04, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x45, 0x78, 0x70, - 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, - 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x5d, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, - 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, - 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, - 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, - 0x64, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, - 0x65, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, - 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xba, 0x03, 0x0a, 0x0c, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, - 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x73, 0x1a, 0xbb, 0x02, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, - 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, - 0x09, 0x62, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 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, 0x08, 0x62, 0x69, 0x64, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, - 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x37, 0x0a, 0x17, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x4a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, - 0x0a, 0x11, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x74, 0x69, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0e, 0x6d, - 0x61, 0x78, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, - 0x74, 0x3a, 0x0a, 0x82, 0xe7, 0xb0, 0x2a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x22, 0x16, 0x0a, - 0x14, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, + 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, + 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, + 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2f, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xe6, 0x02, 0x0a, 0x07, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, + 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x2e, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0xee, 0x01, 0x0a, 0x05, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, + 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, + 0x03, 0x20, 0x01, 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, 0x08, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x40, 0x0a, 0x0a, 0x65, 0x78, + 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0x90, 0xdf, 0x1f, 0x01, + 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, + 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x37, 0x0a, 0x0f, 0x4d, 0x73, 0x67, + 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x0e, + 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x73, 0x22, 0x9a, 0x03, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, + 0x65, 0x72, 0x12, 0x54, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, + 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x87, 0x02, 0x0a, 0x06, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x71, + 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, + 0x65, 0x77, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0d, 0x6e, 0x65, + 0x77, 0x5f, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 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, 0x0b, 0x6e, 0x65, + 0x77, 0x41, 0x73, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, + 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, 0x12, 0x47, 0x0a, 0x0e, 0x6e, 0x65, 0x77, + 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0x90, + 0xdf, 0x1f, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, + 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, + 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5d, + 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, + 0x73, 0x65, 0x6c, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x22, 0x1c, 0x0a, + 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xca, 0x03, 0x0a, 0x0c, + 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x62, 0x75, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x79, + 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0xcb, + 0x02, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x65, 0x6c, 0x6c, + 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x73, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x09, 0x62, 0x69, 0x64, 0x5f, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 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, 0x08, 0x62, 0x69, 0x64, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, + 0x5f, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x69, 0x72, 0x65, + 0x12, 0x37, 0x0a, 0x17, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6a, + 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x16, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4a, 0x75, 0x72, + 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x74, + 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x65, + 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, + 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0c, + 0x6d, 0x61, 0x78, 0x46, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x0a, 0x82, 0xe7, + 0xb0, 0x2a, 0x05, 0x62, 0x75, 0x79, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x42, + 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 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, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x6e, 0x6b, 0x5f, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x6e, 0x6b, 0x44, + 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, + 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x65, 0x78, 0x70, + 0x6f, 0x6e, 0x65, 0x6e, 0x74, 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, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 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, 0x1d, 0x0a, 0x0a, 0x62, 0x61, - 0x6e, 0x6b, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x62, 0x61, 0x6e, 0x6b, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, - 0x0a, 0x08, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x65, 0x78, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 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, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, - 0x6d, 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, - 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, - 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x7e, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x3d, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, - 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x32, 0xee, 0x06, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, 0x53, 0x65, 0x6c, - 0x6c, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, - 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x10, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, - 0x12, 0x33, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, - 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, + 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x81, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x47, 0x6f, 0x76, 0x53, 0x65, 0x74, 0x46, + 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x3d, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 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, 0x47, 0x6f, 0x76, 0x53, + 0x65, 0x74, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x32, 0xf8, 0x06, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x60, 0x0a, 0x04, 0x53, + 0x65, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x1a, 0x2f, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x53, 0x65, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, + 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, + 0x72, 0x73, 0x12, 0x33, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x6c, + 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3b, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, + 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, + 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, + 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, 0x72, + 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, - 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, - 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, - 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, - 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, - 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, - 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, - 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53, 0x65, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x09, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, + 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x1a, 0x34, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, 0x64, + 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, 0x2e, + 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, + 0x6d, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x79, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x41, - 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x32, 0x2e, 0x72, 0x65, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, + 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, + 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, - 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, - 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, - 0x6e, 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, - 0x6f, 0x6d, 0x12, 0x35, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, + 0x6f, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0f, 0x47, + 0x6f, 0x76, 0x53, 0x65, 0x74, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x32, + 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x47, 0x6f, 0x76, 0x53, 0x65, 0x74, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x1a, 0x3a, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, - 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x1a, 0x3d, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x46, - 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x74, - 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x37, 0x2e, 0x72, 0x65, 0x67, 0x65, - 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x65, - 0x74, 0x46, 0x65, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x42, 0xa0, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, - 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 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, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, - 0x45, 0x4d, 0xaa, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, - 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2a, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, - 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, - 0x63, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x21, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, - 0x65, 0x64, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, - 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x6f, 0x76, 0x53, 0x65, 0x74, 0x46, 0x65, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa0, + 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, + 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x56, 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, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x45, 0x4d, 0xaa, 0x02, + 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x1e, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, + 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x2a, 0x52, 0x65, 0x67, 0x65, 0x6e, 0x5c, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, + 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x21, + 0x52, 0x65, 0x67, 0x65, 0x6e, 0x3a, 0x3a, 0x45, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, + 0x3a, 0x3a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -9645,8 +9651,8 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_goTypes = []interface{}{ (*MsgAddAllowedDenomResponse)(nil), // 9: regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse (*MsgRemoveAllowedDenom)(nil), // 10: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom (*MsgRemoveAllowedDenomResponse)(nil), // 11: regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - (*MsgSetFeeParams)(nil), // 12: regen.ecocredit.marketplace.v1.MsgSetFeeParams - (*MsgSetFeeParamsResponse)(nil), // 13: regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse + (*MsgGovSetFeeParams)(nil), // 12: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams + (*MsgGovSetFeeParamsResponse)(nil), // 13: regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse (*MsgSell_Order)(nil), // 14: regen.ecocredit.marketplace.v1.MsgSell.Order (*MsgUpdateSellOrders_Update)(nil), // 15: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update (*MsgBuyDirect_Order)(nil), // 16: regen.ecocredit.marketplace.v1.MsgBuyDirect.Order @@ -9658,7 +9664,7 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_depIdxs = []int32{ 14, // 0: regen.ecocredit.marketplace.v1.MsgSell.orders:type_name -> regen.ecocredit.marketplace.v1.MsgSell.Order 15, // 1: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.updates:type_name -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update 16, // 2: regen.ecocredit.marketplace.v1.MsgBuyDirect.orders:type_name -> regen.ecocredit.marketplace.v1.MsgBuyDirect.Order - 17, // 3: regen.ecocredit.marketplace.v1.MsgSetFeeParams.fees:type_name -> regen.ecocredit.marketplace.v1.FeeParams + 17, // 3: regen.ecocredit.marketplace.v1.MsgGovSetFeeParams.fees:type_name -> regen.ecocredit.marketplace.v1.FeeParams 18, // 4: regen.ecocredit.marketplace.v1.MsgSell.Order.ask_price:type_name -> cosmos.base.v1beta1.Coin 19, // 5: regen.ecocredit.marketplace.v1.MsgSell.Order.expiration:type_name -> google.protobuf.Timestamp 18, // 6: regen.ecocredit.marketplace.v1.MsgUpdateSellOrders.Update.new_ask_price:type_name -> cosmos.base.v1beta1.Coin @@ -9670,14 +9676,14 @@ var file_regen_ecocredit_marketplace_v1_tx_proto_depIdxs = []int32{ 6, // 12: regen.ecocredit.marketplace.v1.Msg.BuyDirect:input_type -> regen.ecocredit.marketplace.v1.MsgBuyDirect 8, // 13: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenom 10, // 14: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:input_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom - 12, // 15: regen.ecocredit.marketplace.v1.Msg.SetFeeParams:input_type -> regen.ecocredit.marketplace.v1.MsgSetFeeParams + 12, // 15: regen.ecocredit.marketplace.v1.Msg.GovSetFeeParams:input_type -> regen.ecocredit.marketplace.v1.MsgGovSetFeeParams 1, // 16: regen.ecocredit.marketplace.v1.Msg.Sell:output_type -> regen.ecocredit.marketplace.v1.MsgSellResponse 3, // 17: regen.ecocredit.marketplace.v1.Msg.UpdateSellOrders:output_type -> regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse 5, // 18: regen.ecocredit.marketplace.v1.Msg.CancelSellOrder:output_type -> regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse 7, // 19: regen.ecocredit.marketplace.v1.Msg.BuyDirect:output_type -> regen.ecocredit.marketplace.v1.MsgBuyDirectResponse 9, // 20: regen.ecocredit.marketplace.v1.Msg.AddAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse 11, // 21: regen.ecocredit.marketplace.v1.Msg.RemoveAllowedDenom:output_type -> regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse - 13, // 22: regen.ecocredit.marketplace.v1.Msg.SetFeeParams:output_type -> regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse + 13, // 22: regen.ecocredit.marketplace.v1.Msg.GovSetFeeParams:output_type -> regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse 16, // [16:23] is the sub-list for method output_type 9, // [9:16] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name @@ -9837,7 +9843,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetFeeParams); i { + switch v := v.(*MsgGovSetFeeParams); i { case 0: return &v.state case 1: @@ -9849,7 +9855,7 @@ func file_regen_ecocredit_marketplace_v1_tx_proto_init() { } } file_regen_ecocredit_marketplace_v1_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSetFeeParamsResponse); i { + switch v := v.(*MsgGovSetFeeParamsResponse); i { case 0: return &v.state case 1: diff --git a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go index 3f6edb855c..627959b2c0 100644 --- a/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go +++ b/api/regen/ecocredit/marketplace/v1/tx_grpc.pb.go @@ -25,7 +25,7 @@ const ( Msg_BuyDirect_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/BuyDirect" Msg_AddAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/AddAllowedDenom" Msg_RemoveAllowedDenom_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/RemoveAllowedDenom" - Msg_SetFeeParams_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams" + Msg_GovSetFeeParams_FullMethodName = "/regen.ecocredit.marketplace.v1.Msg/GovSetFeeParams" ) // MsgClient is the client API for Msg service. @@ -52,7 +52,7 @@ type MsgClient interface { // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) + GovSetFeeParams(ctx context.Context, in *MsgGovSetFeeParams, opts ...grpc.CallOption) (*MsgGovSetFeeParamsResponse, error) } type msgClient struct { @@ -117,9 +117,9 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } -func (c *msgClient) SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) { - out := new(MsgSetFeeParamsResponse) - err := c.cc.Invoke(ctx, Msg_SetFeeParams_FullMethodName, in, out, opts...) +func (c *msgClient) GovSetFeeParams(ctx context.Context, in *MsgGovSetFeeParams, opts ...grpc.CallOption) (*MsgGovSetFeeParamsResponse, error) { + out := new(MsgGovSetFeeParamsResponse) + err := c.cc.Invoke(ctx, Msg_GovSetFeeParams_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -150,7 +150,7 @@ type MsgServer interface { // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) + GovSetFeeParams(context.Context, *MsgGovSetFeeParams) (*MsgGovSetFeeParamsResponse, error) mustEmbedUnimplementedMsgServer() } @@ -176,8 +176,8 @@ func (UnimplementedMsgServer) AddAllowedDenom(context.Context, *MsgAddAllowedDen func (UnimplementedMsgServer) RemoveAllowedDenom(context.Context, *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } -func (UnimplementedMsgServer) SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFeeParams not implemented") +func (UnimplementedMsgServer) GovSetFeeParams(context.Context, *MsgGovSetFeeParams) (*MsgGovSetFeeParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GovSetFeeParams not implemented") } func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} @@ -300,20 +300,20 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _Msg_SetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetFeeParams) +func _Msg_GovSetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGovSetFeeParams) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).SetFeeParams(ctx, in) + return srv.(MsgServer).GovSetFeeParams(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Msg_SetFeeParams_FullMethodName, + FullMethod: Msg_GovSetFeeParams_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetFeeParams(ctx, req.(*MsgSetFeeParams)) + return srv.(MsgServer).GovSetFeeParams(ctx, req.(*MsgGovSetFeeParams)) } return interceptor(ctx, in, info, handler) } @@ -350,8 +350,8 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ Handler: _Msg_RemoveAllowedDenom_Handler, }, { - MethodName: "SetFeeParams", - Handler: _Msg_SetFeeParams_Handler, + MethodName: "GovSetFeeParams", + Handler: _Msg_GovSetFeeParams_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/regen/ecocredit/marketplace/v1/tx.proto b/proto/regen/ecocredit/marketplace/v1/tx.proto index a644f4f965..2c3e64f403 100644 --- a/proto/regen/ecocredit/marketplace/v1/tx.proto +++ b/proto/regen/ecocredit/marketplace/v1/tx.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package regen.ecocredit.marketplace.v1; +import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/msg/v1/msg.proto"; import "gogoproto/gogo.proto"; @@ -41,8 +42,8 @@ service Msg { // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - rpc SetFeeParams(MsgSetFeeParams) - returns (MsgSetFeeParamsResponse); + rpc GovSetFeeParams(MsgGovSetFeeParams) + returns (MsgGovSetFeeParamsResponse); } // MsgSell is the Msg/Sell request type. @@ -186,10 +187,11 @@ message MsgBuyDirect { // If the marketplace fees end up being greater than this amount, the transaction will fail. // If this field is left empty, the marketplace fees will be calculated based on the bid price // and quantity and automatically deducted from the buyer's account. - // Fees are always paid in the same denomination as the bid price. + // Fees are always paid in the same denomination as the bid price and max fee amount should + // be an integer value of that denom. // // Since Revision 3 - string max_fee_amount = 8; + string max_fee_amount = 8 [(cosmos_proto.scalar) = "cosmos.Int"]; } } @@ -241,7 +243,7 @@ message MsgRemoveAllowedDenom { message MsgRemoveAllowedDenomResponse {} // MsgSetFeeParams is the Msg/SetFeeParams request type. -message MsgSetFeeParams { +message MsgGovSetFeeParams { option (cosmos.msg.v1.signer) = "authority"; // authority is the address of the governance account. @@ -252,4 +254,4 @@ message MsgSetFeeParams { } // MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. -message MsgSetFeeParamsResponse {} +message MsgGovSetFeeParamsResponse {} diff --git a/x/ecocredit/marketplace/types/v1/state.pb.go b/x/ecocredit/marketplace/types/v1/state.pb.go index 4688b77457..8deb601481 100644 --- a/x/ecocredit/marketplace/types/v1/state.pb.go +++ b/x/ecocredit/marketplace/types/v1/state.pb.go @@ -330,12 +330,12 @@ func (m *Market) GetPrecisionModifier() uint32 { // process unless governance agrees to a different approach. type FeeParams struct { // buyer_percentage_fee is the decimal percentage fee charged to the buyer. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be added to the total price of a buy order and is denominated // in the same denom as the buy order's bid denom. BuyerPercentageFee string `protobuf:"bytes,1,opt,name=buyer_percentage_fee,json=buyerPercentageFee,proto3" json:"buyer_percentage_fee,omitempty"` // seller_percentage_fee is the decimal percentage fee charged to the seller. - // The string 3.0 means a 3.0% fee. + // The string 0.03 means a 3.0% fee. // This fee will be subtracted from the total proceeds of a sell order distributed to the seller // and is denominated in the same denom as the sell order's ask denom. SellerPercentageFee string `protobuf:"bytes,2,opt,name=seller_percentage_fee,json=sellerPercentageFee,proto3" json:"seller_percentage_fee,omitempty"` diff --git a/x/ecocredit/marketplace/types/v1/tx.pb.go b/x/ecocredit/marketplace/types/v1/tx.pb.go index 1537fc8899..b8e3824edf 100644 --- a/x/ecocredit/marketplace/types/v1/tx.pb.go +++ b/x/ecocredit/marketplace/types/v1/tx.pb.go @@ -6,6 +6,7 @@ package v1 import ( context "context" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" @@ -578,7 +579,8 @@ type MsgBuyDirect_Order struct { // If the marketplace fees end up being greater than this amount, the transaction will fail. // If this field is left empty, the marketplace fees will be calculated based on the bid price // and quantity and automatically deducted from the buyer's account. - // Fees are always paid in the same denomination as the bid price. + // Fees are always paid in the same denomination as the bid price and max fee amount should + // be an integer value of that denom. // // Since Revision 3 MaxFeeAmount string `protobuf:"bytes,8,opt,name=max_fee_amount,json=maxFeeAmount,proto3" json:"max_fee_amount,omitempty"` @@ -917,25 +919,25 @@ func (m *MsgRemoveAllowedDenomResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRemoveAllowedDenomResponse proto.InternalMessageInfo // MsgSetFeeParams is the Msg/SetFeeParams request type. -type MsgSetFeeParams struct { +type MsgGovSetFeeParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // fees are the marketplace fees being set. Fees *FeeParams `protobuf:"bytes,2,opt,name=fees,proto3" json:"fees,omitempty"` } -func (m *MsgSetFeeParams) Reset() { *m = MsgSetFeeParams{} } -func (m *MsgSetFeeParams) String() string { return proto.CompactTextString(m) } -func (*MsgSetFeeParams) ProtoMessage() {} -func (*MsgSetFeeParams) Descriptor() ([]byte, []int) { +func (m *MsgGovSetFeeParams) Reset() { *m = MsgGovSetFeeParams{} } +func (m *MsgGovSetFeeParams) String() string { return proto.CompactTextString(m) } +func (*MsgGovSetFeeParams) ProtoMessage() {} +func (*MsgGovSetFeeParams) Descriptor() ([]byte, []int) { return fileDescriptor_68c9b4e4b7fcb584, []int{12} } -func (m *MsgSetFeeParams) XXX_Unmarshal(b []byte) error { +func (m *MsgGovSetFeeParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgSetFeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgGovSetFeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgSetFeeParams.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgGovSetFeeParams.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -945,26 +947,26 @@ func (m *MsgSetFeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *MsgSetFeeParams) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetFeeParams.Merge(m, src) +func (m *MsgGovSetFeeParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGovSetFeeParams.Merge(m, src) } -func (m *MsgSetFeeParams) XXX_Size() int { +func (m *MsgGovSetFeeParams) XXX_Size() int { return m.Size() } -func (m *MsgSetFeeParams) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetFeeParams.DiscardUnknown(m) +func (m *MsgGovSetFeeParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGovSetFeeParams.DiscardUnknown(m) } -var xxx_messageInfo_MsgSetFeeParams proto.InternalMessageInfo +var xxx_messageInfo_MsgGovSetFeeParams proto.InternalMessageInfo -func (m *MsgSetFeeParams) GetAuthority() string { +func (m *MsgGovSetFeeParams) GetAuthority() string { if m != nil { return m.Authority } return "" } -func (m *MsgSetFeeParams) GetFees() *FeeParams { +func (m *MsgGovSetFeeParams) GetFees() *FeeParams { if m != nil { return m.Fees } @@ -972,21 +974,21 @@ func (m *MsgSetFeeParams) GetFees() *FeeParams { } // MsgSetFeeParamsResponse is the Msg/SetFeeParams response type. -type MsgSetFeeParamsResponse struct { +type MsgGovSetFeeParamsResponse struct { } -func (m *MsgSetFeeParamsResponse) Reset() { *m = MsgSetFeeParamsResponse{} } -func (m *MsgSetFeeParamsResponse) String() string { return proto.CompactTextString(m) } -func (*MsgSetFeeParamsResponse) ProtoMessage() {} -func (*MsgSetFeeParamsResponse) Descriptor() ([]byte, []int) { +func (m *MsgGovSetFeeParamsResponse) Reset() { *m = MsgGovSetFeeParamsResponse{} } +func (m *MsgGovSetFeeParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgGovSetFeeParamsResponse) ProtoMessage() {} +func (*MsgGovSetFeeParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_68c9b4e4b7fcb584, []int{13} } -func (m *MsgSetFeeParamsResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgGovSetFeeParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgSetFeeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgGovSetFeeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgSetFeeParamsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgGovSetFeeParamsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -996,17 +998,17 @@ func (m *MsgSetFeeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *MsgSetFeeParamsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgSetFeeParamsResponse.Merge(m, src) +func (m *MsgGovSetFeeParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGovSetFeeParamsResponse.Merge(m, src) } -func (m *MsgSetFeeParamsResponse) XXX_Size() int { +func (m *MsgGovSetFeeParamsResponse) XXX_Size() int { return m.Size() } -func (m *MsgSetFeeParamsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgSetFeeParamsResponse.DiscardUnknown(m) +func (m *MsgGovSetFeeParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGovSetFeeParamsResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgSetFeeParamsResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgGovSetFeeParamsResponse proto.InternalMessageInfo func init() { proto.RegisterType((*MsgSell)(nil), "regen.ecocredit.marketplace.v1.MsgSell") @@ -1024,8 +1026,8 @@ func init() { proto.RegisterType((*MsgAddAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse") proto.RegisterType((*MsgRemoveAllowedDenom)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom") proto.RegisterType((*MsgRemoveAllowedDenomResponse)(nil), "regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse") - proto.RegisterType((*MsgSetFeeParams)(nil), "regen.ecocredit.marketplace.v1.MsgSetFeeParams") - proto.RegisterType((*MsgSetFeeParamsResponse)(nil), "regen.ecocredit.marketplace.v1.MsgSetFeeParamsResponse") + proto.RegisterType((*MsgGovSetFeeParams)(nil), "regen.ecocredit.marketplace.v1.MsgGovSetFeeParams") + proto.RegisterType((*MsgGovSetFeeParamsResponse)(nil), "regen.ecocredit.marketplace.v1.MsgGovSetFeeParamsResponse") } func init() { @@ -1033,74 +1035,75 @@ func init() { } var fileDescriptor_68c9b4e4b7fcb584 = []byte{ - // 1060 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x41, 0x6f, 0xdc, 0xd4, - 0x13, 0x8f, 0x77, 0x37, 0x9b, 0x64, 0x76, 0x93, 0xb6, 0x6e, 0xfe, 0xc9, 0xd6, 0xff, 0x66, 0x13, - 0x16, 0xa4, 0x86, 0x42, 0x6d, 0x25, 0x05, 0x22, 0x05, 0x45, 0x22, 0x69, 0x1b, 0x44, 0xd1, 0x8a, - 0xe2, 0x96, 0x0b, 0x12, 0xda, 0xbe, 0xb5, 0x27, 0x8e, 0x89, 0xed, 0xb7, 0xf8, 0x3d, 0x27, 0x9b, - 0x0b, 0x12, 0x08, 0x09, 0x89, 0x53, 0xcf, 0x1c, 0xf9, 0x04, 0x9c, 0xe1, 0x0b, 0x70, 0xec, 0x91, - 0x1b, 0x28, 0x91, 0xe0, 0xd6, 0xcf, 0x80, 0xde, 0xb3, 0xd7, 0xbb, 0xf1, 0x66, 0x1b, 0xef, 0xde, - 0xfc, 0x66, 0xe6, 0x37, 0x33, 0x6f, 0x7e, 0x33, 0xf3, 0x0c, 0x77, 0x42, 0x74, 0x30, 0x30, 0xd0, - 0xa2, 0x56, 0x88, 0xb6, 0xcb, 0x0d, 0x9f, 0x84, 0x47, 0xc8, 0x3b, 0x1e, 0xb1, 0xd0, 0x38, 0xde, - 0x30, 0x78, 0x57, 0xef, 0x84, 0x94, 0x53, 0xb5, 0x2e, 0x0d, 0xf5, 0xd4, 0x50, 0x1f, 0x30, 0xd4, - 0x8f, 0x37, 0xb4, 0xba, 0x45, 0x99, 0x4f, 0x99, 0xd1, 0x26, 0x4c, 0x00, 0xdb, 0xc8, 0xc9, 0x86, - 0x61, 0x51, 0x37, 0x88, 0xf1, 0xda, 0x72, 0xa2, 0xf7, 0x99, 0x23, 0xfc, 0xfa, 0xcc, 0x49, 0x14, - 0x8b, 0x0e, 0x75, 0xa8, 0xfc, 0x34, 0xc4, 0x57, 0x22, 0x5d, 0x75, 0x28, 0x75, 0x3c, 0x34, 0xe4, - 0xa9, 0x1d, 0x1d, 0x18, 0xdc, 0xf5, 0x91, 0x71, 0xe2, 0x77, 0x12, 0x83, 0xbb, 0x57, 0x24, 0xce, - 0x38, 0xe1, 0x18, 0xdb, 0x36, 0xfe, 0x29, 0xc0, 0x4c, 0x93, 0x39, 0x4f, 0xd1, 0xf3, 0xd4, 0x25, - 0x28, 0x33, 0xf4, 0x3c, 0x0c, 0x6b, 0xca, 0x9a, 0xb2, 0x3e, 0x67, 0x26, 0x27, 0xf5, 0x11, 0x94, - 0x69, 0x68, 0x63, 0xc8, 0x6a, 0x85, 0xb5, 0xe2, 0x7a, 0x65, 0xf3, 0x9e, 0xfe, 0xfa, 0x0b, 0xeb, - 0x89, 0x43, 0xfd, 0x33, 0x81, 0x32, 0x13, 0xb0, 0xf6, 0x4a, 0x81, 0x69, 0x29, 0x51, 0x57, 0xa1, - 0xd2, 0x26, 0xdc, 0x3a, 0x6c, 0xd9, 0x18, 0x50, 0x3f, 0x89, 0x06, 0x52, 0xf4, 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, 0xb7, 0xa8, 0x6f, 0x48, 0xe7, 0xf7, 0x02, 0xe4, 0x27, 0x34, 0x3c, - 0x4a, 0x4e, 0x1e, 0xda, 0x0e, 0x86, 0x46, 0x77, 0xc4, 0x4f, 0x35, 0x3f, 0xed, 0x20, 0x13, 0xbf, - 0xf6, 0x65, 0xf9, 0x17, 0x71, 0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9e, 0x2b, 0x9c, 0x3c, - 0x3c, 0x0c, 0x00, 0x00, + // 1076 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0xdc, 0x44, + 0x14, 0xaf, 0x77, 0x37, 0x9b, 0xe4, 0x6d, 0x92, 0xb6, 0x6e, 0x48, 0xb7, 0xa6, 0xd9, 0x84, 0x05, + 0xa9, 0xa1, 0x10, 0x5b, 0x49, 0x0b, 0x95, 0x82, 0x22, 0x91, 0xb4, 0x4d, 0xd5, 0xa2, 0x15, 0xc5, + 0x29, 0x17, 0x24, 0xe4, 0xce, 0xda, 0x2f, 0x8e, 0x89, 0xed, 0x59, 0x3c, 0xe3, 0x64, 0x73, 0x2c, + 0x42, 0x42, 0xe2, 0xd4, 0x33, 0x47, 0x3e, 0x01, 0x07, 0x3e, 0x04, 0x82, 0x4b, 0xc5, 0x89, 0x1b, + 0x28, 0x91, 0xe0, 0xc6, 0x99, 0x23, 0xf2, 0x78, 0xd6, 0xd9, 0x78, 0xb3, 0x8d, 0xb3, 0x37, 0xbf, + 0xff, 0x6f, 0x7e, 0xbf, 0x79, 0x6f, 0x0c, 0xb7, 0x22, 0x74, 0x31, 0x34, 0xd0, 0xa6, 0x76, 0x84, + 0x8e, 0xc7, 0x8d, 0x80, 0x44, 0x7b, 0xc8, 0x3b, 0x3e, 0xb1, 0xd1, 0xd8, 0x5f, 0x31, 0x78, 0x57, + 0xef, 0x44, 0x94, 0x53, 0x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c, 0x8c, 0x8c, 0xee, 0x90, 0xbf, 0x6e, 0x7e, 0xd8, 0x41, 0x96, 0xfc, + 0xfb, 0x57, 0xc5, 0x6f, 0xc6, 0x9d, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x79, 0x80, 0xf5, 0x16, + 0x78, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1135,7 +1138,7 @@ type MsgClient interface { // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) + GovSetFeeParams(ctx context.Context, in *MsgGovSetFeeParams, opts ...grpc.CallOption) (*MsgGovSetFeeParamsResponse, error) } type msgClient struct { @@ -1200,9 +1203,9 @@ func (c *msgClient) RemoveAllowedDenom(ctx context.Context, in *MsgRemoveAllowed return out, nil } -func (c *msgClient) SetFeeParams(ctx context.Context, in *MsgSetFeeParams, opts ...grpc.CallOption) (*MsgSetFeeParamsResponse, error) { - out := new(MsgSetFeeParamsResponse) - err := c.cc.Invoke(ctx, "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams", in, out, opts...) +func (c *msgClient) GovSetFeeParams(ctx context.Context, in *MsgGovSetFeeParams, opts ...grpc.CallOption) (*MsgGovSetFeeParamsResponse, error) { + out := new(MsgGovSetFeeParamsResponse) + err := c.cc.Invoke(ctx, "/regen.ecocredit.marketplace.v1.Msg/GovSetFeeParams", in, out, opts...) if err != nil { return nil, err } @@ -1231,7 +1234,7 @@ type MsgServer interface { // SetFeeParams is a governance method that sets the marketplace fees. // // Since Revision 3 - SetFeeParams(context.Context, *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) + GovSetFeeParams(context.Context, *MsgGovSetFeeParams) (*MsgGovSetFeeParamsResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1256,8 +1259,8 @@ func (*UnimplementedMsgServer) AddAllowedDenom(ctx context.Context, req *MsgAddA func (*UnimplementedMsgServer) RemoveAllowedDenom(ctx context.Context, req *MsgRemoveAllowedDenom) (*MsgRemoveAllowedDenomResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveAllowedDenom not implemented") } -func (*UnimplementedMsgServer) SetFeeParams(ctx context.Context, req *MsgSetFeeParams) (*MsgSetFeeParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFeeParams not implemented") +func (*UnimplementedMsgServer) GovSetFeeParams(ctx context.Context, req *MsgGovSetFeeParams) (*MsgGovSetFeeParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GovSetFeeParams not implemented") } func RegisterMsgServer(s grpc1.Server, srv MsgServer) { @@ -1372,20 +1375,20 @@ func _Msg_RemoveAllowedDenom_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } -func _Msg_SetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSetFeeParams) +func _Msg_GovSetFeeParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGovSetFeeParams) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).SetFeeParams(ctx, in) + return srv.(MsgServer).GovSetFeeParams(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/regen.ecocredit.marketplace.v1.Msg/SetFeeParams", + FullMethod: "/regen.ecocredit.marketplace.v1.Msg/GovSetFeeParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SetFeeParams(ctx, req.(*MsgSetFeeParams)) + return srv.(MsgServer).GovSetFeeParams(ctx, req.(*MsgGovSetFeeParams)) } return interceptor(ctx, in, info, handler) } @@ -1419,8 +1422,8 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Handler: _Msg_RemoveAllowedDenom_Handler, }, { - MethodName: "SetFeeParams", - Handler: _Msg_SetFeeParams_Handler, + MethodName: "GovSetFeeParams", + Handler: _Msg_GovSetFeeParams_Handler, }, }, Streams: []grpc.StreamDesc{}, @@ -2050,7 +2053,7 @@ func (m *MsgRemoveAllowedDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *MsgSetFeeParams) Marshal() (dAtA []byte, err error) { +func (m *MsgGovSetFeeParams) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2060,12 +2063,12 @@ func (m *MsgSetFeeParams) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetFeeParams) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgGovSetFeeParams) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetFeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgGovSetFeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2092,7 +2095,7 @@ func (m *MsgSetFeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgSetFeeParamsResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgGovSetFeeParamsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2102,12 +2105,12 @@ func (m *MsgSetFeeParamsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgSetFeeParamsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgGovSetFeeParamsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgSetFeeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgGovSetFeeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2391,7 +2394,7 @@ func (m *MsgRemoveAllowedDenomResponse) Size() (n int) { return n } -func (m *MsgSetFeeParams) Size() (n int) { +func (m *MsgGovSetFeeParams) Size() (n int) { if m == nil { return 0 } @@ -2408,7 +2411,7 @@ func (m *MsgSetFeeParams) Size() (n int) { return n } -func (m *MsgSetFeeParamsResponse) Size() (n int) { +func (m *MsgGovSetFeeParamsResponse) Size() (n int) { if m == nil { return 0 } @@ -4179,7 +4182,7 @@ func (m *MsgRemoveAllowedDenomResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetFeeParams) Unmarshal(dAtA []byte) error { +func (m *MsgGovSetFeeParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4202,10 +4205,10 @@ func (m *MsgSetFeeParams) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetFeeParams: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGovSetFeeParams: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGovSetFeeParams: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4297,7 +4300,7 @@ func (m *MsgSetFeeParams) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSetFeeParamsResponse) Unmarshal(dAtA []byte) error { +func (m *MsgGovSetFeeParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4320,10 +4323,10 @@ func (m *MsgSetFeeParamsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSetFeeParamsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGovSetFeeParamsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGovSetFeeParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: From 2798b9e49744441f45d516f318ca7119ad9d3fe9 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 10:52:39 -0500 Subject: [PATCH 08/13] fix build errors --- .../marketplace/keeper/msg_gov_set_fee_params.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go diff --git a/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go b/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go new file mode 100644 index 0000000000..72c5afe7a4 --- /dev/null +++ b/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go @@ -0,0 +1,12 @@ +package keeper + +import ( + "context" + + types "github.com/regen-network/regen-ledger/x/ecocredit/v3/marketplace/types/v1" +) + +func (k Keeper) GovSetFeeParams(context.Context, *types.MsgGovSetFeeParams) (*types.MsgGovSetFeeParamsResponse, error) { + //TODO implement me + panic("implement me") +} From e431fe2d269003795228ecfd4b9d3889e4c19a12 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 10:57:02 -0500 Subject: [PATCH 09/13] fix test errors --- .../types/v1/msg_gov_set_fee_params.go | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go diff --git a/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go b/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go new file mode 100644 index 0000000000..5912bb12a5 --- /dev/null +++ b/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go @@ -0,0 +1,33 @@ +package v1 + +import ( + "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" +) + +var _ legacytx.LegacyMsg = &MsgGovSetFeeParams{} + +func (m *MsgGovSetFeeParams) ValidateBasic() error { + //TODO implement me + panic("implement me") +} + +func (m *MsgGovSetFeeParams) GetSigners() []types.AccAddress { + //TODO implement me + panic("implement me") +} + +func (m *MsgGovSetFeeParams) GetSignBytes() []byte { + //TODO implement me + panic("implement me") +} + +func (m *MsgGovSetFeeParams) Route() string { + //TODO implement me + panic("implement me") +} + +func (m *MsgGovSetFeeParams) Type() string { + //TODO implement me + panic("implement me") +} From df14349f77fe591506cb6c20483ae42586a0c4b9 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 10:57:59 -0500 Subject: [PATCH 10/13] fix state --- proto/regen/ecocredit/marketplace/v1/state.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/regen/ecocredit/marketplace/v1/state.proto b/proto/regen/ecocredit/marketplace/v1/state.proto index c6750ddc64..2654282ee8 100644 --- a/proto/regen/ecocredit/marketplace/v1/state.proto +++ b/proto/regen/ecocredit/marketplace/v1/state.proto @@ -135,7 +135,7 @@ message Market { // process unless governance agrees to a different approach. message FeeParams { option (cosmos.orm.v1.singleton) = { - id : 4 + id : 5 }; // buyer_percentage_fee is the decimal percentage fee charged to the buyer. From 905b4a3ae9003580fd2a6b571a825136c5a882fd Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 11:02:30 -0500 Subject: [PATCH 11/13] proto-gen --- .../ecocredit/marketplace/v1/state.pulsar.go | 2 +- x/ecocredit/marketplace/types/v1/state.pb.go | 84 +++++++++---------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/api/regen/ecocredit/marketplace/v1/state.pulsar.go b/api/regen/ecocredit/marketplace/v1/state.pulsar.go index 90657e553a..8e1c5a4c61 100644 --- a/api/regen/ecocredit/marketplace/v1/state.pulsar.go +++ b/api/regen/ecocredit/marketplace/v1/state.pulsar.go @@ -2896,7 +2896,7 @@ var file_regen_ecocredit_marketplace_v1_state_proto_rawDesc = []byte{ 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x3a, - 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x04, 0x42, 0xa3, 0x02, 0x0a, 0x22, 0x63, 0x6f, + 0x08, 0xfa, 0x9e, 0xd3, 0x8e, 0x03, 0x02, 0x08, 0x05, 0x42, 0xa3, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x67, 0x65, 0x6e, 0x2e, 0x65, 0x63, 0x6f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, diff --git a/x/ecocredit/marketplace/types/v1/state.pb.go b/x/ecocredit/marketplace/types/v1/state.pb.go index 8deb601481..1c295bb352 100644 --- a/x/ecocredit/marketplace/types/v1/state.pb.go +++ b/x/ecocredit/marketplace/types/v1/state.pb.go @@ -400,48 +400,48 @@ func init() { } var fileDescriptor_718b9cb8f10a9f3c = []byte{ - // 654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x4d, 0x6f, 0xd3, 0x4a, - 0x14, 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0, 0x6f, 0x9a, 0x71, 0xeb, 0x47, 0x39, 0x69, 0xad, 0xd5, - 0x78, 0xfc, 0xea, 0xe3, 0x55, 0x1f, 0x5d, 0x5e, 0xf5, 0xd1, 0xd7, 0xab, 0x3e, 0x7a, 0x77, 0xdd, - 0x5f, 0xb9, 0xbc, 0xee, 0xaf, 0x7c, 0xb9, 0xee, 0xaf, 0xbc, 0x3c, 0x9c, 0x32, 0x79, 0x96, 0x7b, - 0x96, 0xcf, 0x63, 0x5b, 0x7d, 0xd1, 0xbb, 0x09, 0xc8, 0x73, 0x2e, 0xc2, 0xaa, 0x8a, 0x20, 0x98, - 0x82, 0xb0, 0x2f, 0xfe, 0xf0, 0x53, 0x28, 0x2d, 0x67, 0xf6, 0x6c, 0xcf, 0x6b, 0xaa, 0xed, 0x7d, - 0xf8, 0x33, 0x00, 0x00, 0xff, 0xff, 0x46, 0x40, 0xb0, 0x2e, 0x43, 0x04, 0x00, 0x00, + // 653 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0x4f, 0x6f, 0xd3, 0x4e, + 0x10, 0xed, 0x26, 0x6d, 0x7e, 0xf1, 0xfe, 0x92, 0x2a, 0xdd, 0x16, 0xb0, 0x82, 0x1a, 0xa2, 0x54, + 0x48, 0x11, 0xb4, 0x36, 0x2d, 0xea, 0x25, 0x9c, 0x82, 0x50, 0x25, 0x84, 0x2a, 0x2a, 0xd3, 0x13, + 0x17, 0xb3, 0xb6, 0xa7, 0xe9, 0xca, 0x7f, 0xd6, 0xac, 0xd7, 0x69, 0x2d, 0xbe, 0x03, 0xe2, 0x8e, + 0xc4, 0xe7, 0x41, 0xe2, 0x52, 0x89, 0x0b, 0x47, 0xd4, 0x1e, 0xb8, 0x73, 0xe4, 0x84, 0xbc, 0xeb, + 0x86, 0x90, 0x8a, 0xe3, 0xcc, 0x7b, 0x6f, 0x77, 0xde, 0xdb, 0xb1, 0xf1, 0x03, 0x01, 0x13, 0x48, + 0x6c, 0xf0, 0xb9, 0x2f, 0x20, 0x60, 0xd2, 0x8e, 0xa9, 0x08, 0x41, 0xa6, 0x11, 0xf5, 0xc1, 0x9e, + 0xee, 0xda, 0x99, 0xa4, 0x12, 0xac, 0x54, 0x70, 0xc9, 0x49, 0x4f, 0x71, 0xad, 0x19, 0xd7, 0x9a, + 0xe3, 0x5a, 0xd3, 0xdd, 0xee, 0x1d, 0x9f, 0x67, 0x31, 0xcf, 0x6c, 0x2e, 0xe2, 0x52, 0xca, 0x45, + 0xac, 0x85, 0xdd, 0x7b, 0x13, 0xce, 0x27, 0x11, 0xd8, 0xaa, 0xf2, 0xf2, 0x13, 0x5b, 0xb2, 0x18, + 0x32, 0x49, 0xe3, 0x54, 0x13, 0x06, 0x3f, 0x6a, 0xd8, 0x78, 0x05, 0x51, 0xf4, 0x52, 0x04, 0x20, + 0xc8, 0x2a, 0xae, 0xb1, 0xc0, 0x44, 0x7d, 0x34, 0x5c, 0x76, 0x6a, 0x2c, 0x20, 0xb7, 0x71, 0x23, + 0x83, 0x28, 0x02, 0x61, 0xd6, 0xfa, 0x68, 0xd8, 0x72, 0xaa, 0x8a, 0xdc, 0xc5, 0x86, 0x47, 0xa5, + 0x7f, 0xea, 0x86, 0x50, 0x98, 0x75, 0x45, 0x6f, 0xaa, 0xc6, 0x0b, 0x28, 0x48, 0x17, 0x37, 0xdf, + 0xe6, 0x34, 0x91, 0x4c, 0x16, 0xe6, 0x72, 0x1f, 0x0d, 0x0d, 0x67, 0x56, 0x97, 0x42, 0x3d, 0xba, + 0xcb, 0x02, 0x73, 0x45, 0x0b, 0x75, 0xe3, 0x79, 0x40, 0x36, 0x31, 0xa6, 0x59, 0xe8, 0xd2, 0x98, + 0xe7, 0x89, 0x34, 0x1b, 0x4a, 0x6a, 0xd0, 0x2c, 0x1c, 0xab, 0x06, 0xb1, 0xf0, 0x7a, 0xc0, 0x32, + 0xea, 0x45, 0xe0, 0xd2, 0x5c, 0x72, 0x57, 0x80, 0x64, 0x02, 0xcc, 0xff, 0xfa, 0x68, 0xd8, 0x74, + 0xd6, 0x2a, 0x68, 0x9c, 0x4b, 0xee, 0x28, 0x80, 0x8c, 0x30, 0x86, 0xf3, 0x94, 0x09, 0x2a, 0x19, + 0x4f, 0x4c, 0xa3, 0x8f, 0x86, 0xff, 0xef, 0x75, 0x2d, 0x1d, 0x88, 0x75, 0x1d, 0x88, 0x75, 0x7c, + 0x1d, 0x88, 0x33, 0xc7, 0x26, 0x1b, 0x78, 0x25, 0xa6, 0x21, 0x08, 0x13, 0xab, 0xd3, 0x75, 0x31, + 0x7a, 0xf2, 0xf3, 0xd3, 0xd7, 0xf7, 0xf5, 0x7d, 0xdc, 0x28, 0x63, 0xea, 0x20, 0xd2, 0x9e, 0x8b, + 0xa1, 0x83, 0x08, 0xbe, 0x4e, 0xab, 0x53, 0x23, 0xab, 0xf3, 0x97, 0x77, 0xea, 0x26, 0x1a, 0x7c, + 0x44, 0xb8, 0x35, 0x8e, 0x22, 0x7e, 0x06, 0xc1, 0x33, 0x48, 0x78, 0x5c, 0xda, 0xf5, 0x68, 0x12, + 0xba, 0x41, 0x59, 0xa9, 0xd0, 0x0d, 0xc7, 0x28, 0x3b, 0x1a, 0xde, 0xc2, 0xed, 0x80, 0x65, 0x69, + 0x44, 0x8b, 0x8a, 0x51, 0x53, 0x8c, 0x56, 0xd5, 0xd4, 0xa4, 0x2e, 0x6e, 0xc2, 0x79, 0xca, 0x13, + 0x48, 0xa4, 0x7a, 0x87, 0xb6, 0x33, 0xab, 0x47, 0x0f, 0xd5, 0xb4, 0xf7, 0x71, 0x6b, 0xfe, 0x1e, + 0xb2, 0xbe, 0x70, 0x6c, 0x07, 0x99, 0xc8, 0xac, 0x0f, 0xbe, 0x20, 0xdc, 0x38, 0x54, 0x0f, 0x71, + 0x63, 0x09, 0xb6, 0x31, 0xd1, 0x5b, 0xe7, 0xca, 0x22, 0x05, 0x97, 0x7a, 0x9e, 0x80, 0x69, 0x35, + 0x4d, 0x47, 0x23, 0xc7, 0x45, 0x0a, 0x63, 0xd5, 0x5f, 0x70, 0x55, 0x5f, 0x74, 0xb5, 0x83, 0x49, + 0x2a, 0xc0, 0x67, 0x19, 0xe3, 0x89, 0x1b, 0xf3, 0x80, 0x9d, 0x30, 0x10, 0x6a, 0x4d, 0xda, 0xce, + 0xda, 0x0c, 0x39, 0xac, 0x80, 0xd1, 0xbe, 0xf2, 0x60, 0xcf, 0x12, 0xdf, 0xc2, 0x9b, 0x37, 0x67, + 0xd9, 0xfe, 0x73, 0xa1, 0x72, 0xb3, 0x3c, 0x78, 0x87, 0x8d, 0x03, 0x80, 0x23, 0x2a, 0x68, 0x9c, + 0x91, 0x47, 0x78, 0xc3, 0xcb, 0x0b, 0x10, 0x6e, 0x0a, 0xc2, 0x87, 0x44, 0xd2, 0x09, 0xb8, 0x27, + 0x00, 0x55, 0xe2, 0x44, 0x61, 0x47, 0x33, 0xe8, 0x00, 0x80, 0xec, 0xe1, 0x5b, 0xfa, 0x21, 0x17, + 0x25, 0xda, 0xf4, 0xba, 0x06, 0xff, 0xd2, 0x8c, 0x9a, 0xbf, 0xca, 0x49, 0x6b, 0xcd, 0x95, 0xa7, + 0x6f, 0x3e, 0x5f, 0xf6, 0xd0, 0xc5, 0x65, 0x0f, 0x7d, 0xbf, 0xec, 0xa1, 0x0f, 0x57, 0xbd, 0xa5, + 0x8b, 0xab, 0xde, 0xd2, 0xb7, 0xab, 0xde, 0xd2, 0xeb, 0x83, 0x09, 0x93, 0xa7, 0xb9, 0x67, 0xf9, + 0x3c, 0xb6, 0xd5, 0x17, 0xbd, 0x93, 0x80, 0x3c, 0xe3, 0x22, 0xac, 0xaa, 0x08, 0x82, 0x09, 0x08, + 0xfb, 0xfc, 0x1f, 0x3f, 0x85, 0xd2, 0x72, 0x66, 0x4f, 0x77, 0xbd, 0x86, 0xda, 0xde, 0xc7, 0xbf, + 0x03, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x4a, 0xa9, 0x68, 0x43, 0x04, 0x00, 0x00, } func (m *SellOrder) Marshal() (dAtA []byte, err error) { From c9622e37777fca566fff4b3a20573ca23f255077 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 11:07:19 -0500 Subject: [PATCH 12/13] lint --- .../marketplace/keeper/msg_gov_set_fee_params.go | 2 +- .../marketplace/types/v1/msg_gov_set_fee_params.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go b/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go index 72c5afe7a4..593fbb7696 100644 --- a/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go +++ b/x/ecocredit/marketplace/keeper/msg_gov_set_fee_params.go @@ -7,6 +7,6 @@ import ( ) func (k Keeper) GovSetFeeParams(context.Context, *types.MsgGovSetFeeParams) (*types.MsgGovSetFeeParamsResponse, error) { - //TODO implement me + // TODO implement me panic("implement me") } diff --git a/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go b/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go index 5912bb12a5..c8439ade2f 100644 --- a/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go +++ b/x/ecocredit/marketplace/types/v1/msg_gov_set_fee_params.go @@ -8,26 +8,26 @@ import ( var _ legacytx.LegacyMsg = &MsgGovSetFeeParams{} func (m *MsgGovSetFeeParams) ValidateBasic() error { - //TODO implement me + // TODO implement me panic("implement me") } func (m *MsgGovSetFeeParams) GetSigners() []types.AccAddress { - //TODO implement me + // TODO implement me panic("implement me") } func (m *MsgGovSetFeeParams) GetSignBytes() []byte { - //TODO implement me + // TODO implement me panic("implement me") } func (m *MsgGovSetFeeParams) Route() string { - //TODO implement me + // TODO implement me panic("implement me") } func (m *MsgGovSetFeeParams) Type() string { - //TODO implement me + // TODO implement me panic("implement me") } From e416771d749748341b98c9ed550910e1dad92b32 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Mon, 5 Feb 2024 11:19:45 -0500 Subject: [PATCH 13/13] lint --- proto/regen/ecocredit/marketplace/v1/tx.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/regen/ecocredit/marketplace/v1/tx.proto b/proto/regen/ecocredit/marketplace/v1/tx.proto index 2c3e64f403..62a1f1c657 100644 --- a/proto/regen/ecocredit/marketplace/v1/tx.proto +++ b/proto/regen/ecocredit/marketplace/v1/tx.proto @@ -2,9 +2,9 @@ syntax = "proto3"; package regen.ecocredit.marketplace.v1; -import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; import "regen/ecocredit/marketplace/v1/state.proto";