From 3bf764ddee3476360f8dd1c96ccff20e3166da3e Mon Sep 17 00:00:00 2001 From: satawatnack <satawat@bandprotocol.com> Date: Thu, 12 Dec 2024 16:46:41 +0700 Subject: [PATCH 1/8] add withdraw fee payer funds --- api/band/tunnel/v1beta1/tx.pulsar.go | 1585 ++++++++++++++++--- api/band/tunnel/v1beta1/tx_grpc.pb.go | 39 + proto/band/tunnel/v1beta1/tx.proto | 23 + x/tunnel/client/cli/tx.go | 32 + x/tunnel/keeper/msg_server.go | 29 + x/tunnel/testutil/expected_keepers_mocks.go | 22 +- x/tunnel/types/expected_keepers.go | 2 +- x/tunnel/types/msgs.go | 30 +- x/tunnel/types/tx.pb.go | 593 ++++++- 9 files changed, 2021 insertions(+), 334 deletions(-) diff --git a/api/band/tunnel/v1beta1/tx.pulsar.go b/api/band/tunnel/v1beta1/tx.pulsar.go index 5055b84a9..92f36d9a9 100644 --- a/api/band/tunnel/v1beta1/tx.pulsar.go +++ b/api/band/tunnel/v1beta1/tx.pulsar.go @@ -3158,6 +3158,968 @@ func (x *fastReflection_MsgUpdateSignalsAndIntervalResponse) ProtoMethods() *pro } } +var _ protoreflect.List = (*_MsgWithdrawFeePayerFunds_2_list)(nil) + +type _MsgWithdrawFeePayerFunds_2_list struct { + list *[]*v1beta1.Coin +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v1beta1.Coin) + (*x.list)[i] = concreteValue +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*v1beta1.Coin) + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) AppendMutable() protoreflect.Value { + v := new(v1beta1.Coin) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) NewElement() protoreflect.Value { + v := new(v1beta1.Coin) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_MsgWithdrawFeePayerFunds_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgWithdrawFeePayerFunds protoreflect.MessageDescriptor + fd_MsgWithdrawFeePayerFunds_tunnel_id protoreflect.FieldDescriptor + fd_MsgWithdrawFeePayerFunds_amount protoreflect.FieldDescriptor + fd_MsgWithdrawFeePayerFunds_creator protoreflect.FieldDescriptor +) + +func init() { + file_band_tunnel_v1beta1_tx_proto_init() + md_MsgWithdrawFeePayerFunds = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgWithdrawFeePayerFunds") + fd_MsgWithdrawFeePayerFunds_tunnel_id = md_MsgWithdrawFeePayerFunds.Fields().ByName("tunnel_id") + fd_MsgWithdrawFeePayerFunds_amount = md_MsgWithdrawFeePayerFunds.Fields().ByName("amount") + fd_MsgWithdrawFeePayerFunds_creator = md_MsgWithdrawFeePayerFunds.Fields().ByName("creator") +} + +var _ protoreflect.Message = (*fastReflection_MsgWithdrawFeePayerFunds)(nil) + +type fastReflection_MsgWithdrawFeePayerFunds MsgWithdrawFeePayerFunds + +func (x *MsgWithdrawFeePayerFunds) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgWithdrawFeePayerFunds)(x) +} + +func (x *MsgWithdrawFeePayerFunds) slowProtoReflect() protoreflect.Message { + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgWithdrawFeePayerFunds_messageType fastReflection_MsgWithdrawFeePayerFunds_messageType +var _ protoreflect.MessageType = fastReflection_MsgWithdrawFeePayerFunds_messageType{} + +type fastReflection_MsgWithdrawFeePayerFunds_messageType struct{} + +func (x fastReflection_MsgWithdrawFeePayerFunds_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgWithdrawFeePayerFunds)(nil) +} +func (x fastReflection_MsgWithdrawFeePayerFunds_messageType) New() protoreflect.Message { + return new(fastReflection_MsgWithdrawFeePayerFunds) +} +func (x fastReflection_MsgWithdrawFeePayerFunds_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgWithdrawFeePayerFunds +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgWithdrawFeePayerFunds) Descriptor() protoreflect.MessageDescriptor { + return md_MsgWithdrawFeePayerFunds +} + +// 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_MsgWithdrawFeePayerFunds) Type() protoreflect.MessageType { + return _fastReflection_MsgWithdrawFeePayerFunds_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgWithdrawFeePayerFunds) New() protoreflect.Message { + return new(fastReflection_MsgWithdrawFeePayerFunds) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgWithdrawFeePayerFunds) Interface() protoreflect.ProtoMessage { + return (*MsgWithdrawFeePayerFunds)(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_MsgWithdrawFeePayerFunds) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.TunnelId != uint64(0) { + value := protoreflect.ValueOfUint64(x.TunnelId) + if !f(fd_MsgWithdrawFeePayerFunds_tunnel_id, value) { + return + } + } + if len(x.Amount) != 0 { + value := protoreflect.ValueOfList(&_MsgWithdrawFeePayerFunds_2_list{list: &x.Amount}) + if !f(fd_MsgWithdrawFeePayerFunds_amount, value) { + return + } + } + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgWithdrawFeePayerFunds_creator, 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_MsgWithdrawFeePayerFunds) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + return x.TunnelId != uint64(0) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + return len(x.Amount) != 0 + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + return x.Creator != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + x.TunnelId = uint64(0) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + x.Amount = nil + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + x.Creator = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + value := x.TunnelId + return protoreflect.ValueOfUint64(value) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + if len(x.Amount) == 0 { + return protoreflect.ValueOfList(&_MsgWithdrawFeePayerFunds_2_list{}) + } + listValue := &_MsgWithdrawFeePayerFunds_2_list{list: &x.Amount} + return protoreflect.ValueOfList(listValue) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + x.TunnelId = value.Uint() + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + lv := value.List() + clv := lv.(*_MsgWithdrawFeePayerFunds_2_list) + x.Amount = *clv.list + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + x.Creator = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + if x.Amount == nil { + x.Amount = []*v1beta1.Coin{} + } + value := &_MsgWithdrawFeePayerFunds_2_list{list: &x.Amount} + return protoreflect.ValueOfList(value) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + panic(fmt.Errorf("field tunnel_id of message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds is not mutable")) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + panic(fmt.Errorf("field creator of message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.tunnel_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount": + list := []*v1beta1.Coin{} + return protoreflect.ValueOfList(&_MsgWithdrawFeePayerFunds_2_list{list: &list}) + case "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.creator": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFunds 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_MsgWithdrawFeePayerFunds) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgWithdrawFeePayerFunds", 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_MsgWithdrawFeePayerFunds) 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_MsgWithdrawFeePayerFunds) 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_MsgWithdrawFeePayerFunds) 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_MsgWithdrawFeePayerFunds) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgWithdrawFeePayerFunds) + 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.TunnelId != 0 { + n += 1 + runtime.Sov(uint64(x.TunnelId)) + } + if len(x.Amount) > 0 { + for _, e := range x.Amount { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgWithdrawFeePayerFunds) + 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.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0x1a + } + if len(x.Amount) > 0 { + for iNdEx := len(x.Amount) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Amount[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if x.TunnelId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TunnelId)) + i-- + dAtA[i] = 0x8 + } + 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().(*MsgWithdrawFeePayerFunds) + 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: MsgWithdrawFeePayerFunds: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgWithdrawFeePayerFunds: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TunnelId", wireType) + } + x.TunnelId = 0 + 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++ + x.TunnelId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", 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 + } + x.Amount = append(x.Amount, &v1beta1.Coin{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Amount[len(x.Amount)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + 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_MsgWithdrawFeePayerFundsResponse protoreflect.MessageDescriptor +) + +func init() { + file_band_tunnel_v1beta1_tx_proto_init() + md_MsgWithdrawFeePayerFundsResponse = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgWithdrawFeePayerFundsResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgWithdrawFeePayerFundsResponse)(nil) + +type fastReflection_MsgWithdrawFeePayerFundsResponse MsgWithdrawFeePayerFundsResponse + +func (x *MsgWithdrawFeePayerFundsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgWithdrawFeePayerFundsResponse)(x) +} + +func (x *MsgWithdrawFeePayerFundsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgWithdrawFeePayerFundsResponse_messageType fastReflection_MsgWithdrawFeePayerFundsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgWithdrawFeePayerFundsResponse_messageType{} + +type fastReflection_MsgWithdrawFeePayerFundsResponse_messageType struct{} + +func (x fastReflection_MsgWithdrawFeePayerFundsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgWithdrawFeePayerFundsResponse)(nil) +} +func (x fastReflection_MsgWithdrawFeePayerFundsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgWithdrawFeePayerFundsResponse) +} +func (x fastReflection_MsgWithdrawFeePayerFundsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgWithdrawFeePayerFundsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgWithdrawFeePayerFundsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgWithdrawFeePayerFundsResponse +} + +// 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_MsgWithdrawFeePayerFundsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgWithdrawFeePayerFundsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgWithdrawFeePayerFundsResponse) New() protoreflect.Message { + return new(fastReflection_MsgWithdrawFeePayerFundsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgWithdrawFeePayerFundsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgWithdrawFeePayerFundsResponse)(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_MsgWithdrawFeePayerFundsResponse) 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_MsgWithdrawFeePayerFundsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse")) + } + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse 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_MsgWithdrawFeePayerFundsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse", 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_MsgWithdrawFeePayerFundsResponse) 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_MsgWithdrawFeePayerFundsResponse) 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_MsgWithdrawFeePayerFundsResponse) 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_MsgWithdrawFeePayerFundsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgWithdrawFeePayerFundsResponse) + 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().(*MsgWithdrawFeePayerFundsResponse) + 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().(*MsgWithdrawFeePayerFundsResponse) + 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: MsgWithdrawFeePayerFundsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgWithdrawFeePayerFundsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + var ( md_MsgActivate protoreflect.MessageDescriptor fd_MsgActivate_tunnel_id protoreflect.FieldDescriptor @@ -3180,7 +4142,7 @@ func (x *MsgActivate) ProtoReflect() protoreflect.Message { } func (x *MsgActivate) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[6] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3644,7 +4606,7 @@ func (x *MsgActivateResponse) ProtoReflect() protoreflect.Message { } func (x *MsgActivateResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[7] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4004,7 +4966,7 @@ func (x *MsgDeactivate) ProtoReflect() protoreflect.Message { } func (x *MsgDeactivate) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4468,7 +5430,7 @@ func (x *MsgDeactivateResponse) ProtoReflect() protoreflect.Message { } func (x *MsgDeactivateResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4828,7 +5790,7 @@ func (x *MsgTriggerTunnel) ProtoReflect() protoreflect.Message { } func (x *MsgTriggerTunnel) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5292,7 +6254,7 @@ func (x *MsgTriggerTunnelResponse) ProtoReflect() protoreflect.Message { } func (x *MsgTriggerTunnelResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5705,7 +6667,7 @@ func (x *MsgDepositToTunnel) ProtoReflect() protoreflect.Message { } func (x *MsgDepositToTunnel) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[12] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6254,7 +7216,7 @@ func (x *MsgDepositToTunnelResponse) ProtoReflect() protoreflect.Message { } func (x *MsgDepositToTunnelResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[13] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6667,7 +7629,7 @@ func (x *MsgWithdrawFromTunnel) ProtoReflect() protoreflect.Message { } func (x *MsgWithdrawFromTunnel) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[14] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7216,7 +8178,7 @@ func (x *MsgWithdrawFromTunnelResponse) ProtoReflect() protoreflect.Message { } func (x *MsgWithdrawFromTunnelResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[15] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7576,7 +8538,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[16] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8071,7 +9033,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[17] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8704,6 +9666,88 @@ func (*MsgUpdateSignalsAndIntervalResponse) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{5} } +// MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. +type MsgWithdrawFeePayerFunds struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // tunnel_id is the ID of the tunnel to withdraw fee payer coins. + TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` + // coins is the coins to withdraw. + Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"` + // creator is the address of the creator. + Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` +} + +func (x *MsgWithdrawFeePayerFunds) Reset() { + *x = MsgWithdrawFeePayerFunds{} + if protoimpl.UnsafeEnabled { + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgWithdrawFeePayerFunds) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgWithdrawFeePayerFunds) ProtoMessage() {} + +// Deprecated: Use MsgWithdrawFeePayerFunds.ProtoReflect.Descriptor instead. +func (*MsgWithdrawFeePayerFunds) Descriptor() ([]byte, []int) { + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{6} +} + +func (x *MsgWithdrawFeePayerFunds) GetTunnelId() uint64 { + if x != nil { + return x.TunnelId + } + return 0 +} + +func (x *MsgWithdrawFeePayerFunds) GetAmount() []*v1beta1.Coin { + if x != nil { + return x.Amount + } + return nil +} + +func (x *MsgWithdrawFeePayerFunds) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +// MsgWithdrawFeePayerFundsResponse is the response type for the Msg/WithdrawFeePayerFunds RPC method. +type MsgWithdrawFeePayerFundsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgWithdrawFeePayerFundsResponse) Reset() { + *x = MsgWithdrawFeePayerFundsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgWithdrawFeePayerFundsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgWithdrawFeePayerFundsResponse) ProtoMessage() {} + +// Deprecated: Use MsgWithdrawFeePayerFundsResponse.ProtoReflect.Descriptor instead. +func (*MsgWithdrawFeePayerFundsResponse) Descriptor() ([]byte, []int) { + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{7} +} + // Activate is the transaction message to activate a tunnel. type MsgActivate struct { state protoimpl.MessageState @@ -8719,7 +9763,7 @@ type MsgActivate struct { func (x *MsgActivate) Reset() { *x = MsgActivate{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[6] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8733,7 +9777,7 @@ func (*MsgActivate) ProtoMessage() {} // Deprecated: Use MsgActivate.ProtoReflect.Descriptor instead. func (*MsgActivate) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{6} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{8} } func (x *MsgActivate) GetTunnelId() uint64 { @@ -8760,7 +9804,7 @@ type MsgActivateResponse struct { func (x *MsgActivateResponse) Reset() { *x = MsgActivateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[7] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8774,7 +9818,7 @@ func (*MsgActivateResponse) ProtoMessage() {} // Deprecated: Use MsgActivateResponse.ProtoReflect.Descriptor instead. func (*MsgActivateResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{7} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{9} } // MsgDeactivate is the transaction message to deactivate a tunnel. @@ -8792,7 +9836,7 @@ type MsgDeactivate struct { func (x *MsgDeactivate) Reset() { *x = MsgDeactivate{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8806,7 +9850,7 @@ func (*MsgDeactivate) ProtoMessage() {} // Deprecated: Use MsgDeactivate.ProtoReflect.Descriptor instead. func (*MsgDeactivate) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{8} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{10} } func (x *MsgDeactivate) GetTunnelId() uint64 { @@ -8833,7 +9877,7 @@ type MsgDeactivateResponse struct { func (x *MsgDeactivateResponse) Reset() { *x = MsgDeactivateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8847,7 +9891,7 @@ func (*MsgDeactivateResponse) ProtoMessage() {} // Deprecated: Use MsgDeactivateResponse.ProtoReflect.Descriptor instead. func (*MsgDeactivateResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{9} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{11} } // MsgTriggerTunnel is the transaction message to manually trigger a tunnel. @@ -8865,7 +9909,7 @@ type MsgTriggerTunnel struct { func (x *MsgTriggerTunnel) Reset() { *x = MsgTriggerTunnel{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8879,7 +9923,7 @@ func (*MsgTriggerTunnel) ProtoMessage() {} // Deprecated: Use MsgTriggerTunnel.ProtoReflect.Descriptor instead. func (*MsgTriggerTunnel) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{10} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{12} } func (x *MsgTriggerTunnel) GetTunnelId() uint64 { @@ -8906,7 +9950,7 @@ type MsgTriggerTunnelResponse struct { func (x *MsgTriggerTunnelResponse) Reset() { *x = MsgTriggerTunnelResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8920,7 +9964,7 @@ func (*MsgTriggerTunnelResponse) ProtoMessage() {} // Deprecated: Use MsgTriggerTunnelResponse.ProtoReflect.Descriptor instead. func (*MsgTriggerTunnelResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{11} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{13} } // MsgDepositToTunnel defines a message to deposit to an existing tunnel. @@ -8940,7 +9984,7 @@ type MsgDepositToTunnel struct { func (x *MsgDepositToTunnel) Reset() { *x = MsgDepositToTunnel{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[12] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8954,7 +9998,7 @@ func (*MsgDepositToTunnel) ProtoMessage() {} // Deprecated: Use MsgDepositToTunnel.ProtoReflect.Descriptor instead. func (*MsgDepositToTunnel) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{12} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{14} } func (x *MsgDepositToTunnel) GetTunnelId() uint64 { @@ -8988,7 +10032,7 @@ type MsgDepositToTunnelResponse struct { func (x *MsgDepositToTunnelResponse) Reset() { *x = MsgDepositToTunnelResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[13] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9002,7 +10046,7 @@ func (*MsgDepositToTunnelResponse) ProtoMessage() {} // Deprecated: Use MsgDepositToTunnelResponse.ProtoReflect.Descriptor instead. func (*MsgDepositToTunnelResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{13} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{15} } // MsgWithdrawFromTunnel is the transaction message to withdraw a deposit from an existing tunnel. @@ -9022,7 +10066,7 @@ type MsgWithdrawFromTunnel struct { func (x *MsgWithdrawFromTunnel) Reset() { *x = MsgWithdrawFromTunnel{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[14] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9036,7 +10080,7 @@ func (*MsgWithdrawFromTunnel) ProtoMessage() {} // Deprecated: Use MsgWithdrawFromTunnel.ProtoReflect.Descriptor instead. func (*MsgWithdrawFromTunnel) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{14} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{16} } func (x *MsgWithdrawFromTunnel) GetTunnelId() uint64 { @@ -9070,7 +10114,7 @@ type MsgWithdrawFromTunnelResponse struct { func (x *MsgWithdrawFromTunnelResponse) Reset() { *x = MsgWithdrawFromTunnelResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[15] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9084,7 +10128,7 @@ func (*MsgWithdrawFromTunnelResponse) ProtoMessage() {} // Deprecated: Use MsgWithdrawFromTunnelResponse.ProtoReflect.Descriptor instead. func (*MsgWithdrawFromTunnelResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{15} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{17} } // MsgUpdateParams is the transaction message to update parameters. @@ -9102,7 +10146,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[16] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9116,7 +10160,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{16} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{18} } func (x *MsgUpdateParams) GetAuthority() string { @@ -9143,7 +10187,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[17] + mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9157,7 +10201,7 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{17} + return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{19} } var File_band_tunnel_v1beta1_tx_proto protoreflect.FileDescriptor @@ -9245,42 +10289,9 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x25, 0x0a, 0x23, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, - 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, - 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, - 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x23, 0x82, 0xe7, 0xb0, 0x2a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x15, - 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, - 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x14, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, - 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, - 0x15, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, - 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, - 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x8f, 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, - 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x18, 0x4d, + 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, + 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, @@ -9289,122 +10300,183 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, - 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, - 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, - 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x98, 0x02, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, - 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, - 0x42, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, - 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, - 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, - 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, - 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, - 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, - 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x07, 0x0a, 0x03, 0x4d, 0x73, - 0x67, 0x12, 0x62, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x12, 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, + 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x3a, 0x32, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x65, 0x72, + 0x8a, 0xe7, 0xb0, 0x2a, 0x1f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x43, + 0x6f, 0x69, 0x6e, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x73, 0x67, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, + 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x23, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, + 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, + 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x14, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, + 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, + 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, + 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, + 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, + 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, 0x1f, + 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, + 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, + 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, + 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, + 0x02, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, + 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, + 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, + 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x77, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, + 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x4d, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, + 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, + 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbd, 0x08, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, + 0x62, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, + 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, + 0x74, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x75, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, - 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, + 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x76, 0x61, 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, - 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x56, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x61, - 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, - 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, - 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, - 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, + 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, + 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2d, 0x2e, - 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, - 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, - 0x27, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, + 0x46, 0x75, 0x6e, 0x64, 0x73, 0x1a, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, + 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, - 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, 0x2e, 0x62, 0x61, - 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, - 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x62, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, - 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, - 0x6e, 0x64, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, - 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x54, 0x58, 0xaa, - 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x42, 0x61, - 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, - 0x42, 0x61, 0x6e, 0x64, 0x3a, 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x62, 0x61, 0x6e, + 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2d, 0x2e, 0x62, 0x61, 0x6e, + 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x44, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x27, 0x2e, 0x62, + 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2a, 0x2e, 0x62, + 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, + 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x62, + 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, + 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x42, + 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x42, 0x61, 0x6e, 0x64, 0x5c, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x42, 0x61, 0x6e, + 0x64, 0x3a, 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -9419,7 +10491,7 @@ func file_band_tunnel_v1beta1_tx_proto_rawDescGZIP() []byte { return file_band_tunnel_v1beta1_tx_proto_rawDescData } -var file_band_tunnel_v1beta1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_band_tunnel_v1beta1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 20) var file_band_tunnel_v1beta1_tx_proto_goTypes = []interface{}{ (*MsgCreateTunnel)(nil), // 0: band.tunnel.v1beta1.MsgCreateTunnel (*MsgCreateTunnelResponse)(nil), // 1: band.tunnel.v1beta1.MsgCreateTunnelResponse @@ -9427,55 +10499,60 @@ var file_band_tunnel_v1beta1_tx_proto_goTypes = []interface{}{ (*MsgUpdateRouteResponse)(nil), // 3: band.tunnel.v1beta1.MsgUpdateRouteResponse (*MsgUpdateSignalsAndInterval)(nil), // 4: band.tunnel.v1beta1.MsgUpdateSignalsAndInterval (*MsgUpdateSignalsAndIntervalResponse)(nil), // 5: band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse - (*MsgActivate)(nil), // 6: band.tunnel.v1beta1.MsgActivate - (*MsgActivateResponse)(nil), // 7: band.tunnel.v1beta1.MsgActivateResponse - (*MsgDeactivate)(nil), // 8: band.tunnel.v1beta1.MsgDeactivate - (*MsgDeactivateResponse)(nil), // 9: band.tunnel.v1beta1.MsgDeactivateResponse - (*MsgTriggerTunnel)(nil), // 10: band.tunnel.v1beta1.MsgTriggerTunnel - (*MsgTriggerTunnelResponse)(nil), // 11: band.tunnel.v1beta1.MsgTriggerTunnelResponse - (*MsgDepositToTunnel)(nil), // 12: band.tunnel.v1beta1.MsgDepositToTunnel - (*MsgDepositToTunnelResponse)(nil), // 13: band.tunnel.v1beta1.MsgDepositToTunnelResponse - (*MsgWithdrawFromTunnel)(nil), // 14: band.tunnel.v1beta1.MsgWithdrawFromTunnel - (*MsgWithdrawFromTunnelResponse)(nil), // 15: band.tunnel.v1beta1.MsgWithdrawFromTunnelResponse - (*MsgUpdateParams)(nil), // 16: band.tunnel.v1beta1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 17: band.tunnel.v1beta1.MsgUpdateParamsResponse - (*SignalDeviation)(nil), // 18: band.tunnel.v1beta1.SignalDeviation - (*anypb.Any)(nil), // 19: google.protobuf.Any - (*v1beta1.Coin)(nil), // 20: cosmos.base.v1beta1.Coin - (*Params)(nil), // 21: band.tunnel.v1beta1.Params + (*MsgWithdrawFeePayerFunds)(nil), // 6: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds + (*MsgWithdrawFeePayerFundsResponse)(nil), // 7: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse + (*MsgActivate)(nil), // 8: band.tunnel.v1beta1.MsgActivate + (*MsgActivateResponse)(nil), // 9: band.tunnel.v1beta1.MsgActivateResponse + (*MsgDeactivate)(nil), // 10: band.tunnel.v1beta1.MsgDeactivate + (*MsgDeactivateResponse)(nil), // 11: band.tunnel.v1beta1.MsgDeactivateResponse + (*MsgTriggerTunnel)(nil), // 12: band.tunnel.v1beta1.MsgTriggerTunnel + (*MsgTriggerTunnelResponse)(nil), // 13: band.tunnel.v1beta1.MsgTriggerTunnelResponse + (*MsgDepositToTunnel)(nil), // 14: band.tunnel.v1beta1.MsgDepositToTunnel + (*MsgDepositToTunnelResponse)(nil), // 15: band.tunnel.v1beta1.MsgDepositToTunnelResponse + (*MsgWithdrawFromTunnel)(nil), // 16: band.tunnel.v1beta1.MsgWithdrawFromTunnel + (*MsgWithdrawFromTunnelResponse)(nil), // 17: band.tunnel.v1beta1.MsgWithdrawFromTunnelResponse + (*MsgUpdateParams)(nil), // 18: band.tunnel.v1beta1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 19: band.tunnel.v1beta1.MsgUpdateParamsResponse + (*SignalDeviation)(nil), // 20: band.tunnel.v1beta1.SignalDeviation + (*anypb.Any)(nil), // 21: google.protobuf.Any + (*v1beta1.Coin)(nil), // 22: cosmos.base.v1beta1.Coin + (*Params)(nil), // 23: band.tunnel.v1beta1.Params } var file_band_tunnel_v1beta1_tx_proto_depIdxs = []int32{ - 18, // 0: band.tunnel.v1beta1.MsgCreateTunnel.signal_deviations:type_name -> band.tunnel.v1beta1.SignalDeviation - 19, // 1: band.tunnel.v1beta1.MsgCreateTunnel.route:type_name -> google.protobuf.Any - 20, // 2: band.tunnel.v1beta1.MsgCreateTunnel.initial_deposit:type_name -> cosmos.base.v1beta1.Coin - 19, // 3: band.tunnel.v1beta1.MsgUpdateRoute.route:type_name -> google.protobuf.Any - 18, // 4: band.tunnel.v1beta1.MsgUpdateSignalsAndInterval.signal_deviations:type_name -> band.tunnel.v1beta1.SignalDeviation - 20, // 5: band.tunnel.v1beta1.MsgDepositToTunnel.amount:type_name -> cosmos.base.v1beta1.Coin - 20, // 6: band.tunnel.v1beta1.MsgWithdrawFromTunnel.amount:type_name -> cosmos.base.v1beta1.Coin - 21, // 7: band.tunnel.v1beta1.MsgUpdateParams.params:type_name -> band.tunnel.v1beta1.Params - 0, // 8: band.tunnel.v1beta1.Msg.CreateTunnel:input_type -> band.tunnel.v1beta1.MsgCreateTunnel - 2, // 9: band.tunnel.v1beta1.Msg.UpdateRoute:input_type -> band.tunnel.v1beta1.MsgUpdateRoute - 4, // 10: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:input_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndInterval - 6, // 11: band.tunnel.v1beta1.Msg.Activate:input_type -> band.tunnel.v1beta1.MsgActivate - 8, // 12: band.tunnel.v1beta1.Msg.Deactivate:input_type -> band.tunnel.v1beta1.MsgDeactivate - 10, // 13: band.tunnel.v1beta1.Msg.TriggerTunnel:input_type -> band.tunnel.v1beta1.MsgTriggerTunnel - 12, // 14: band.tunnel.v1beta1.Msg.DepositToTunnel:input_type -> band.tunnel.v1beta1.MsgDepositToTunnel - 14, // 15: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:input_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnel - 16, // 16: band.tunnel.v1beta1.Msg.UpdateParams:input_type -> band.tunnel.v1beta1.MsgUpdateParams - 1, // 17: band.tunnel.v1beta1.Msg.CreateTunnel:output_type -> band.tunnel.v1beta1.MsgCreateTunnelResponse - 3, // 18: band.tunnel.v1beta1.Msg.UpdateRoute:output_type -> band.tunnel.v1beta1.MsgUpdateRouteResponse - 5, // 19: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:output_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse - 7, // 20: band.tunnel.v1beta1.Msg.Activate:output_type -> band.tunnel.v1beta1.MsgActivateResponse - 9, // 21: band.tunnel.v1beta1.Msg.Deactivate:output_type -> band.tunnel.v1beta1.MsgDeactivateResponse - 11, // 22: band.tunnel.v1beta1.Msg.TriggerTunnel:output_type -> band.tunnel.v1beta1.MsgTriggerTunnelResponse - 13, // 23: band.tunnel.v1beta1.Msg.DepositToTunnel:output_type -> band.tunnel.v1beta1.MsgDepositToTunnelResponse - 15, // 24: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:output_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnelResponse - 17, // 25: band.tunnel.v1beta1.Msg.UpdateParams:output_type -> band.tunnel.v1beta1.MsgUpdateParamsResponse - 17, // [17:26] is the sub-list for method output_type - 8, // [8:17] 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 + 20, // 0: band.tunnel.v1beta1.MsgCreateTunnel.signal_deviations:type_name -> band.tunnel.v1beta1.SignalDeviation + 21, // 1: band.tunnel.v1beta1.MsgCreateTunnel.route:type_name -> google.protobuf.Any + 22, // 2: band.tunnel.v1beta1.MsgCreateTunnel.initial_deposit:type_name -> cosmos.base.v1beta1.Coin + 21, // 3: band.tunnel.v1beta1.MsgUpdateRoute.route:type_name -> google.protobuf.Any + 20, // 4: band.tunnel.v1beta1.MsgUpdateSignalsAndInterval.signal_deviations:type_name -> band.tunnel.v1beta1.SignalDeviation + 22, // 5: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds.amount:type_name -> cosmos.base.v1beta1.Coin + 22, // 6: band.tunnel.v1beta1.MsgDepositToTunnel.amount:type_name -> cosmos.base.v1beta1.Coin + 22, // 7: band.tunnel.v1beta1.MsgWithdrawFromTunnel.amount:type_name -> cosmos.base.v1beta1.Coin + 23, // 8: band.tunnel.v1beta1.MsgUpdateParams.params:type_name -> band.tunnel.v1beta1.Params + 0, // 9: band.tunnel.v1beta1.Msg.CreateTunnel:input_type -> band.tunnel.v1beta1.MsgCreateTunnel + 2, // 10: band.tunnel.v1beta1.Msg.UpdateRoute:input_type -> band.tunnel.v1beta1.MsgUpdateRoute + 4, // 11: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:input_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndInterval + 6, // 12: band.tunnel.v1beta1.Msg.WithdrawFeePayerFunds:input_type -> band.tunnel.v1beta1.MsgWithdrawFeePayerFunds + 8, // 13: band.tunnel.v1beta1.Msg.Activate:input_type -> band.tunnel.v1beta1.MsgActivate + 10, // 14: band.tunnel.v1beta1.Msg.Deactivate:input_type -> band.tunnel.v1beta1.MsgDeactivate + 12, // 15: band.tunnel.v1beta1.Msg.TriggerTunnel:input_type -> band.tunnel.v1beta1.MsgTriggerTunnel + 14, // 16: band.tunnel.v1beta1.Msg.DepositToTunnel:input_type -> band.tunnel.v1beta1.MsgDepositToTunnel + 16, // 17: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:input_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnel + 18, // 18: band.tunnel.v1beta1.Msg.UpdateParams:input_type -> band.tunnel.v1beta1.MsgUpdateParams + 1, // 19: band.tunnel.v1beta1.Msg.CreateTunnel:output_type -> band.tunnel.v1beta1.MsgCreateTunnelResponse + 3, // 20: band.tunnel.v1beta1.Msg.UpdateRoute:output_type -> band.tunnel.v1beta1.MsgUpdateRouteResponse + 5, // 21: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:output_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse + 7, // 22: band.tunnel.v1beta1.Msg.WithdrawFeePayerFunds:output_type -> band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse + 9, // 23: band.tunnel.v1beta1.Msg.Activate:output_type -> band.tunnel.v1beta1.MsgActivateResponse + 11, // 24: band.tunnel.v1beta1.Msg.Deactivate:output_type -> band.tunnel.v1beta1.MsgDeactivateResponse + 13, // 25: band.tunnel.v1beta1.Msg.TriggerTunnel:output_type -> band.tunnel.v1beta1.MsgTriggerTunnelResponse + 15, // 26: band.tunnel.v1beta1.Msg.DepositToTunnel:output_type -> band.tunnel.v1beta1.MsgDepositToTunnelResponse + 17, // 27: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:output_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnelResponse + 19, // 28: band.tunnel.v1beta1.Msg.UpdateParams:output_type -> band.tunnel.v1beta1.MsgUpdateParamsResponse + 19, // [19:29] is the sub-list for method output_type + 9, // [9:19] 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_band_tunnel_v1beta1_tx_proto_init() } @@ -9559,7 +10636,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgActivate); i { + switch v := v.(*MsgWithdrawFeePayerFunds); i { case 0: return &v.state case 1: @@ -9571,7 +10648,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgActivateResponse); i { + switch v := v.(*MsgWithdrawFeePayerFundsResponse); i { case 0: return &v.state case 1: @@ -9583,7 +10660,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeactivate); i { + switch v := v.(*MsgActivate); i { case 0: return &v.state case 1: @@ -9595,7 +10672,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeactivateResponse); i { + switch v := v.(*MsgActivateResponse); i { case 0: return &v.state case 1: @@ -9607,7 +10684,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgTriggerTunnel); i { + switch v := v.(*MsgDeactivate); i { case 0: return &v.state case 1: @@ -9619,7 +10696,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgTriggerTunnelResponse); i { + switch v := v.(*MsgDeactivateResponse); i { case 0: return &v.state case 1: @@ -9631,7 +10708,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDepositToTunnel); i { + switch v := v.(*MsgTriggerTunnel); i { case 0: return &v.state case 1: @@ -9643,7 +10720,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDepositToTunnelResponse); i { + switch v := v.(*MsgTriggerTunnelResponse); i { case 0: return &v.state case 1: @@ -9655,7 +10732,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgWithdrawFromTunnel); i { + switch v := v.(*MsgDepositToTunnel); i { case 0: return &v.state case 1: @@ -9667,7 +10744,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgWithdrawFromTunnelResponse); i { + switch v := v.(*MsgDepositToTunnelResponse); i { case 0: return &v.state case 1: @@ -9679,7 +10756,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgUpdateParams); i { + switch v := v.(*MsgWithdrawFromTunnel); i { case 0: return &v.state case 1: @@ -9691,6 +10768,30 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgWithdrawFromTunnelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_band_tunnel_v1beta1_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_band_tunnel_v1beta1_tx_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state @@ -9709,7 +10810,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_band_tunnel_v1beta1_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 18, + NumMessages: 20, NumExtensions: 0, NumServices: 1, }, diff --git a/api/band/tunnel/v1beta1/tx_grpc.pb.go b/api/band/tunnel/v1beta1/tx_grpc.pb.go index c7fe80dca..57342c9e8 100644 --- a/api/band/tunnel/v1beta1/tx_grpc.pb.go +++ b/api/band/tunnel/v1beta1/tx_grpc.pb.go @@ -22,6 +22,7 @@ const ( Msg_CreateTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/CreateTunnel" Msg_UpdateRoute_FullMethodName = "/band.tunnel.v1beta1.Msg/UpdateRoute" Msg_UpdateSignalsAndInterval_FullMethodName = "/band.tunnel.v1beta1.Msg/UpdateSignalsAndInterval" + Msg_WithdrawFeePayerFunds_FullMethodName = "/band.tunnel.v1beta1.Msg/WithdrawFeePayerFunds" Msg_Activate_FullMethodName = "/band.tunnel.v1beta1.Msg/Activate" Msg_Deactivate_FullMethodName = "/band.tunnel.v1beta1.Msg/Deactivate" Msg_TriggerTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/TriggerTunnel" @@ -40,6 +41,8 @@ type MsgClient interface { UpdateRoute(ctx context.Context, in *MsgUpdateRoute, opts ...grpc.CallOption) (*MsgUpdateRouteResponse, error) // UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel. UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateSignalsAndInterval, opts ...grpc.CallOption) (*MsgUpdateSignalsAndIntervalResponse, error) + // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. + WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) // Activate is a RPC method to activate a tunnel. Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) // Deactivate is a RPC method to deactivate a tunnel. @@ -89,6 +92,15 @@ func (c *msgClient) UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateS return out, nil } +func (c *msgClient) WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) { + out := new(MsgWithdrawFeePayerFundsResponse) + err := c.cc.Invoke(ctx, Msg_WithdrawFeePayerFunds_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) { out := new(MsgActivateResponse) err := c.cc.Invoke(ctx, Msg_Activate_FullMethodName, in, out, opts...) @@ -153,6 +165,8 @@ type MsgServer interface { UpdateRoute(context.Context, *MsgUpdateRoute) (*MsgUpdateRouteResponse, error) // UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel. UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) + // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. + WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) // Activate is a RPC method to activate a tunnel. Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) // Deactivate is a RPC method to deactivate a tunnel. @@ -181,6 +195,9 @@ func (UnimplementedMsgServer) UpdateRoute(context.Context, *MsgUpdateRoute) (*Ms func (UnimplementedMsgServer) UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSignalsAndInterval not implemented") } +func (UnimplementedMsgServer) WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawFeePayerFunds not implemented") +} func (UnimplementedMsgServer) Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented") } @@ -266,6 +283,24 @@ func _Msg_UpdateSignalsAndInterval_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Msg_WithdrawFeePayerFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgWithdrawFeePayerFunds) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).WithdrawFeePayerFunds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_WithdrawFeePayerFunds_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).WithdrawFeePayerFunds(ctx, req.(*MsgWithdrawFeePayerFunds)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgActivate) if err := dec(in); err != nil { @@ -393,6 +428,10 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "UpdateSignalsAndInterval", Handler: _Msg_UpdateSignalsAndInterval_Handler, }, + { + MethodName: "WithdrawFeePayerFunds", + Handler: _Msg_WithdrawFeePayerFunds_Handler, + }, { MethodName: "Activate", Handler: _Msg_Activate_Handler, diff --git a/proto/band/tunnel/v1beta1/tx.proto b/proto/band/tunnel/v1beta1/tx.proto index 0987bf27e..696215bcc 100644 --- a/proto/band/tunnel/v1beta1/tx.proto +++ b/proto/band/tunnel/v1beta1/tx.proto @@ -26,6 +26,9 @@ service Msg { // UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel. rpc UpdateSignalsAndInterval(MsgUpdateSignalsAndInterval) returns (MsgUpdateSignalsAndIntervalResponse); + // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. + rpc WithdrawFeePayerFunds(MsgWithdrawFeePayerFunds) returns (MsgWithdrawFeePayerFundsResponse); + // Activate is a RPC method to activate a tunnel. rpc Activate(MsgActivate) returns (MsgActivateResponse); @@ -105,6 +108,26 @@ message MsgUpdateSignalsAndInterval { // MsgUpdateSignalsAndIntervalResponse is the response type for the Msg/UpdateSignalsAndInterval RPC method. message MsgUpdateSignalsAndIntervalResponse {} +// MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. +message MsgWithdrawFeePayerFunds { + option (cosmos.msg.v1.signer) = "fee_payer"; + option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; + + // tunnel_id is the ID of the tunnel to withdraw fee payer coins. + uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; + // coins is the coins to withdraw. + repeated cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (amino.dont_omitempty) = true + ]; + // creator is the address of the creator. + string creator = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} + +// MsgWithdrawFeePayerFundsResponse is the response type for the Msg/WithdrawFeePayerFunds RPC method. +message MsgWithdrawFeePayerFundsResponse {} + // Activate is the transaction message to activate a tunnel. message MsgActivate { option (cosmos.msg.v1.signer) = "creator"; diff --git a/x/tunnel/client/cli/tx.go b/x/tunnel/client/cli/tx.go index 54f5b1720..920a45799 100644 --- a/x/tunnel/client/cli/tx.go +++ b/x/tunnel/client/cli/tx.go @@ -28,6 +28,7 @@ func GetTxCmd() *cobra.Command { GetTxCmdCreateTunnel(), GetTxCmdUpdateRoute(), GetTxCmdUpdateSignalsAndInterval(), + GetTxCmdWithdrawFeePayerFunds(), GetTxCmdActivate(), GetTxCmdDeactivate(), GetTxCmdTriggerTunnel(), @@ -246,6 +247,37 @@ func GetTxCmdUpdateSignalsAndInterval() *cobra.Command { return cmd } +func GetTxCmdWithdrawFeePayerFunds() *cobra.Command { + cmd := &cobra.Command{ + Use: "withdraw-fee-payer-funds [tunnel-id] [amount]", + Short: "Withdraw fee payer funds from a tunnel to the creator", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + id, err := strconv.ParseUint(args[0], 10, 64) + if err != nil { + return err + } + + amount, err := sdk.ParseCoinsNormalized(args[1]) + if err != nil { + return err + } + + msg := types.NewMsgWithdrawFeePayerFunds(id, amount, clientCtx.GetFromAddress().String()) + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) + }, + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} + func GetTxCmdActivate() *cobra.Command { cmd := &cobra.Command{ Use: "activate [tunnel-id]", diff --git a/x/tunnel/keeper/msg_server.go b/x/tunnel/keeper/msg_server.go index b7dc77d54..2fe2c8231 100644 --- a/x/tunnel/keeper/msg_server.go +++ b/x/tunnel/keeper/msg_server.go @@ -170,6 +170,35 @@ func (k msgServer) UpdateSignalsAndInterval( return &types.MsgUpdateSignalsAndIntervalResponse{}, nil } +// WithdrawFeePayerFunds withdraws the fee payer's funds from the tunnel to the creator. +func (k msgServer) WithdrawFeePayerFunds( + goCtx context.Context, + msg *types.MsgWithdrawFeePayerFunds, +) (*types.MsgWithdrawFeePayerFundsResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + tunnel, err := k.Keeper.GetTunnel(ctx, msg.TunnelID) + if err != nil { + return nil, err + } + + if msg.Creator != tunnel.Creator { + return nil, types.ErrInvalidTunnelCreator.Wrapf("creator %s, tunnelID %d", msg.Creator, msg.TunnelID) + } + + // send coins from the fee payer to the creator + if err := k.Keeper.bankKeeper.SendCoins( + ctx, + sdk.AccAddress(tunnel.FeePayer), + sdk.AccAddress(tunnel.Creator), + msg.Amount, + ); err != nil { + return nil, err + } + + return &types.MsgWithdrawFeePayerFundsResponse{}, nil +} + // Activate activates a tunnel. func (k msgServer) Activate( goCtx context.Context, diff --git a/x/tunnel/testutil/expected_keepers_mocks.go b/x/tunnel/testutil/expected_keepers_mocks.go index 40a98373c..6965a25c1 100644 --- a/x/tunnel/testutil/expected_keepers_mocks.go +++ b/x/tunnel/testutil/expected_keepers_mocks.go @@ -27,7 +27,6 @@ import ( type MockAccountKeeper struct { ctrl *gomock.Controller recorder *MockAccountKeeperMockRecorder - isgomock struct{} } // MockAccountKeeperMockRecorder is the mock recorder for MockAccountKeeper. @@ -131,7 +130,6 @@ func (mr *MockAccountKeeperMockRecorder) SetModuleAccount(ctx, moduleAccount any type MockBankKeeper struct { ctrl *gomock.Controller recorder *MockBankKeeperMockRecorder - isgomock struct{} } // MockBankKeeperMockRecorder is the mock recorder for MockBankKeeper. @@ -165,6 +163,20 @@ func (mr *MockBankKeeperMockRecorder) GetAllBalances(ctx, addr any) *gomock.Call return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllBalances", reflect.TypeOf((*MockBankKeeper)(nil).GetAllBalances), ctx, addr) } +// SendCoins mocks base method. +func (m *MockBankKeeper) SendCoins(ctx context.Context, fromAddr, toAddr types2.AccAddress, amt types2.Coins) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SendCoins", ctx, fromAddr, toAddr, amt) + ret0, _ := ret[0].(error) + return ret0 +} + +// SendCoins indicates an expected call of SendCoins. +func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt any) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendCoins", reflect.TypeOf((*MockBankKeeper)(nil).SendCoins), ctx, fromAddr, toAddr, amt) +} + // SendCoinsFromAccountToModule mocks base method. func (m *MockBankKeeper) SendCoinsFromAccountToModule(ctx context.Context, senderAddr types2.AccAddress, recipientModule string, amt types2.Coins) error { m.ctrl.T.Helper() @@ -211,7 +223,6 @@ func (mr *MockBankKeeperMockRecorder) SpendableCoins(ctx, addr any) *gomock.Call type MockICS4Wrapper struct { ctrl *gomock.Controller recorder *MockICS4WrapperMockRecorder - isgomock struct{} } // MockICS4WrapperMockRecorder is the mock recorder for MockICS4Wrapper. @@ -250,7 +261,6 @@ func (mr *MockICS4WrapperMockRecorder) SendPacket(ctx, chanCap, sourcePort, sour type MockChannelKeeper struct { ctrl *gomock.Controller recorder *MockChannelKeeperMockRecorder - isgomock struct{} } // MockChannelKeeperMockRecorder is the mock recorder for MockChannelKeeper. @@ -289,7 +299,6 @@ func (mr *MockChannelKeeperMockRecorder) GetChannel(ctx, srcPort, srcChan any) * type MockPortKeeper struct { ctrl *gomock.Controller recorder *MockPortKeeperMockRecorder - isgomock struct{} } // MockPortKeeperMockRecorder is the mock recorder for MockPortKeeper. @@ -327,7 +336,6 @@ func (mr *MockPortKeeperMockRecorder) BindPort(ctx, portID any) *gomock.Call { type MockScopedKeeper struct { ctrl *gomock.Controller recorder *MockScopedKeeperMockRecorder - isgomock struct{} } // MockScopedKeeperMockRecorder is the mock recorder for MockScopedKeeper. @@ -394,7 +402,6 @@ func (mr *MockScopedKeeperMockRecorder) GetCapability(ctx, name any) *gomock.Cal type MockFeedsKeeper struct { ctrl *gomock.Controller recorder *MockFeedsKeeperMockRecorder - isgomock struct{} } // MockFeedsKeeperMockRecorder is the mock recorder for MockFeedsKeeper. @@ -446,7 +453,6 @@ func (mr *MockFeedsKeeperMockRecorder) GetPrices(ctx, signalIDs any) *gomock.Cal type MockBandtssKeeper struct { ctrl *gomock.Controller recorder *MockBandtssKeeperMockRecorder - isgomock struct{} } // MockBandtssKeeperMockRecorder is the mock recorder for MockBandtssKeeper. diff --git a/x/tunnel/types/expected_keepers.go b/x/tunnel/types/expected_keepers.go index 8a57667c6..5452e7267 100644 --- a/x/tunnel/types/expected_keepers.go +++ b/x/tunnel/types/expected_keepers.go @@ -26,9 +26,9 @@ type AccountKeeper interface { } type BankKeeper interface { + SendCoins(ctx context.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error GetAllBalances(ctx context.Context, addr sdk.AccAddress) sdk.Coins SpendableCoins(ctx context.Context, addr sdk.AccAddress) sdk.Coins - SendCoinsFromModuleToAccount( ctx context.Context, senderModule string, diff --git a/x/tunnel/types/msgs.go b/x/tunnel/types/msgs.go index e9873dc03..8c4ae715f 100644 --- a/x/tunnel/types/msgs.go +++ b/x/tunnel/types/msgs.go @@ -11,9 +11,9 @@ import ( ) var ( - _, _, _, _, _, _, _, _, _ sdk.Msg = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} - _, _, _, _, _, _, _, _, _ sdk.HasValidateBasic = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} - _, _ types.UnpackInterfacesMessage = &MsgCreateTunnel{}, &MsgUpdateRoute{} + _, _, _, _, _, _, _, _, _, _ sdk.Msg = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgWithdrawFeePayerFunds{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} + _, _, _, _, _, _, _, _, _ sdk.HasValidateBasic = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} + _, _ types.UnpackInterfacesMessage = &MsgCreateTunnel{}, &MsgUpdateRoute{} ) // NewMsgCreateTunnel creates a new MsgCreateTunnel instance. @@ -228,6 +228,30 @@ func (m MsgUpdateSignalsAndInterval) ValidateBasic() error { return nil } +// NewMsgWithdrawFeePayerFunds creates a new MsgWithdrawFeePayerFunds instance. +func NewMsgWithdrawFeePayerFunds(tunnelID uint64, amount sdk.Coins, creator string) *MsgWithdrawFeePayerFunds { + return &MsgWithdrawFeePayerFunds{ + TunnelID: tunnelID, + Amount: amount, + Creator: creator, + } +} + +// ValidateBasic does a sanity check on the provided data +func (m MsgWithdrawFeePayerFunds) ValidateBasic() error { + // creator address must be valid + if _, err := sdk.AccAddressFromBech32(m.Creator); err != nil { + return sdkerrors.ErrInvalidAddress.Wrapf("invalid address: %s", err) + } + + // amount must be valid + if !m.Amount.IsValid() { + return sdkerrors.ErrInvalidCoins.Wrapf("invalid funds: %s", m.Amount) + } + + return nil +} + // NewMsgActivate creates a new MsgActivate instance. func NewMsgActivate( tunnelID uint64, diff --git a/x/tunnel/types/tx.pb.go b/x/tunnel/types/tx.pb.go index b5a6c638a..a3fb0cf94 100644 --- a/x/tunnel/types/tx.pb.go +++ b/x/tunnel/types/tx.pb.go @@ -372,6 +372,107 @@ func (m *MsgUpdateSignalsAndIntervalResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateSignalsAndIntervalResponse proto.InternalMessageInfo +// MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. +type MsgWithdrawFeePayerFunds struct { + // tunnel_id is the ID of the tunnel to withdraw fee payer coins. + TunnelID uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` + // coins is the coins to withdraw. + Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` + // creator is the address of the creator. + Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` +} + +func (m *MsgWithdrawFeePayerFunds) Reset() { *m = MsgWithdrawFeePayerFunds{} } +func (m *MsgWithdrawFeePayerFunds) String() string { return proto.CompactTextString(m) } +func (*MsgWithdrawFeePayerFunds) ProtoMessage() {} +func (*MsgWithdrawFeePayerFunds) Descriptor() ([]byte, []int) { + return fileDescriptor_d18351d83b4705d0, []int{6} +} +func (m *MsgWithdrawFeePayerFunds) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWithdrawFeePayerFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWithdrawFeePayerFunds.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 *MsgWithdrawFeePayerFunds) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWithdrawFeePayerFunds.Merge(m, src) +} +func (m *MsgWithdrawFeePayerFunds) XXX_Size() int { + return m.Size() +} +func (m *MsgWithdrawFeePayerFunds) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWithdrawFeePayerFunds.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWithdrawFeePayerFunds proto.InternalMessageInfo + +func (m *MsgWithdrawFeePayerFunds) GetTunnelID() uint64 { + if m != nil { + return m.TunnelID + } + return 0 +} + +func (m *MsgWithdrawFeePayerFunds) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins { + if m != nil { + return m.Amount + } + return nil +} + +func (m *MsgWithdrawFeePayerFunds) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +// MsgWithdrawFeePayerFundsResponse is the response type for the Msg/WithdrawFeePayerFunds RPC method. +type MsgWithdrawFeePayerFundsResponse struct { +} + +func (m *MsgWithdrawFeePayerFundsResponse) Reset() { *m = MsgWithdrawFeePayerFundsResponse{} } +func (m *MsgWithdrawFeePayerFundsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgWithdrawFeePayerFundsResponse) ProtoMessage() {} +func (*MsgWithdrawFeePayerFundsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d18351d83b4705d0, []int{7} +} +func (m *MsgWithdrawFeePayerFundsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgWithdrawFeePayerFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgWithdrawFeePayerFundsResponse.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 *MsgWithdrawFeePayerFundsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgWithdrawFeePayerFundsResponse.Merge(m, src) +} +func (m *MsgWithdrawFeePayerFundsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgWithdrawFeePayerFundsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgWithdrawFeePayerFundsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgWithdrawFeePayerFundsResponse proto.InternalMessageInfo + // Activate is the transaction message to activate a tunnel. type MsgActivate struct { // tunnel_id is the ID of the tunnel to activate. @@ -384,7 +485,7 @@ func (m *MsgActivate) Reset() { *m = MsgActivate{} } func (m *MsgActivate) String() string { return proto.CompactTextString(m) } func (*MsgActivate) ProtoMessage() {} func (*MsgActivate) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{6} + return fileDescriptor_d18351d83b4705d0, []int{8} } func (m *MsgActivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -435,7 +536,7 @@ func (m *MsgActivateResponse) Reset() { *m = MsgActivateResponse{} } func (m *MsgActivateResponse) String() string { return proto.CompactTextString(m) } func (*MsgActivateResponse) ProtoMessage() {} func (*MsgActivateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{7} + return fileDescriptor_d18351d83b4705d0, []int{9} } func (m *MsgActivateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -476,7 +577,7 @@ func (m *MsgDeactivate) Reset() { *m = MsgDeactivate{} } func (m *MsgDeactivate) String() string { return proto.CompactTextString(m) } func (*MsgDeactivate) ProtoMessage() {} func (*MsgDeactivate) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{8} + return fileDescriptor_d18351d83b4705d0, []int{10} } func (m *MsgDeactivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -527,7 +628,7 @@ func (m *MsgDeactivateResponse) Reset() { *m = MsgDeactivateResponse{} } func (m *MsgDeactivateResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeactivateResponse) ProtoMessage() {} func (*MsgDeactivateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{9} + return fileDescriptor_d18351d83b4705d0, []int{11} } func (m *MsgDeactivateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -568,7 +669,7 @@ func (m *MsgTriggerTunnel) Reset() { *m = MsgTriggerTunnel{} } func (m *MsgTriggerTunnel) String() string { return proto.CompactTextString(m) } func (*MsgTriggerTunnel) ProtoMessage() {} func (*MsgTriggerTunnel) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{10} + return fileDescriptor_d18351d83b4705d0, []int{12} } func (m *MsgTriggerTunnel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -619,7 +720,7 @@ func (m *MsgTriggerTunnelResponse) Reset() { *m = MsgTriggerTunnelRespon func (m *MsgTriggerTunnelResponse) String() string { return proto.CompactTextString(m) } func (*MsgTriggerTunnelResponse) ProtoMessage() {} func (*MsgTriggerTunnelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{11} + return fileDescriptor_d18351d83b4705d0, []int{13} } func (m *MsgTriggerTunnelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -662,7 +763,7 @@ func (m *MsgDepositToTunnel) Reset() { *m = MsgDepositToTunnel{} } func (m *MsgDepositToTunnel) String() string { return proto.CompactTextString(m) } func (*MsgDepositToTunnel) ProtoMessage() {} func (*MsgDepositToTunnel) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{12} + return fileDescriptor_d18351d83b4705d0, []int{14} } func (m *MsgDepositToTunnel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -720,7 +821,7 @@ func (m *MsgDepositToTunnelResponse) Reset() { *m = MsgDepositToTunnelRe func (m *MsgDepositToTunnelResponse) String() string { return proto.CompactTextString(m) } func (*MsgDepositToTunnelResponse) ProtoMessage() {} func (*MsgDepositToTunnelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{13} + return fileDescriptor_d18351d83b4705d0, []int{15} } func (m *MsgDepositToTunnelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -763,7 +864,7 @@ func (m *MsgWithdrawFromTunnel) Reset() { *m = MsgWithdrawFromTunnel{} } func (m *MsgWithdrawFromTunnel) String() string { return proto.CompactTextString(m) } func (*MsgWithdrawFromTunnel) ProtoMessage() {} func (*MsgWithdrawFromTunnel) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{14} + return fileDescriptor_d18351d83b4705d0, []int{16} } func (m *MsgWithdrawFromTunnel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +922,7 @@ func (m *MsgWithdrawFromTunnelResponse) Reset() { *m = MsgWithdrawFromTu func (m *MsgWithdrawFromTunnelResponse) String() string { return proto.CompactTextString(m) } func (*MsgWithdrawFromTunnelResponse) ProtoMessage() {} func (*MsgWithdrawFromTunnelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{15} + return fileDescriptor_d18351d83b4705d0, []int{17} } func (m *MsgWithdrawFromTunnelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -862,7 +963,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{16} + return fileDescriptor_d18351d83b4705d0, []int{18} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -913,7 +1014,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d18351d83b4705d0, []int{17} + return fileDescriptor_d18351d83b4705d0, []int{19} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -949,6 +1050,8 @@ func init() { proto.RegisterType((*MsgUpdateRouteResponse)(nil), "band.tunnel.v1beta1.MsgUpdateRouteResponse") proto.RegisterType((*MsgUpdateSignalsAndInterval)(nil), "band.tunnel.v1beta1.MsgUpdateSignalsAndInterval") proto.RegisterType((*MsgUpdateSignalsAndIntervalResponse)(nil), "band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse") + proto.RegisterType((*MsgWithdrawFeePayerFunds)(nil), "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds") + proto.RegisterType((*MsgWithdrawFeePayerFundsResponse)(nil), "band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse") proto.RegisterType((*MsgActivate)(nil), "band.tunnel.v1beta1.MsgActivate") proto.RegisterType((*MsgActivateResponse)(nil), "band.tunnel.v1beta1.MsgActivateResponse") proto.RegisterType((*MsgDeactivate)(nil), "band.tunnel.v1beta1.MsgDeactivate") @@ -966,74 +1069,78 @@ func init() { func init() { proto.RegisterFile("band/tunnel/v1beta1/tx.proto", fileDescriptor_d18351d83b4705d0) } var fileDescriptor_d18351d83b4705d0 = []byte{ - // 1058 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xda, 0x69, 0x9a, 0xbc, 0xa4, 0x4d, 0xbb, 0x4d, 0x9a, 0xcd, 0x36, 0x38, 0xd6, 0xa6, - 0xa1, 0x6e, 0x68, 0x76, 0x1b, 0x47, 0x54, 0x25, 0xb7, 0xb8, 0x16, 0x92, 0x0f, 0x96, 0x90, 0x1b, - 0xa8, 0x84, 0x90, 0xa2, 0xb5, 0x77, 0x59, 0x8f, 0x6a, 0xef, 0x58, 0x3b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 0x2e, 0x6d, 0x62, 0x0f, 0xd1, 0x3e, 0x53, 0x6d, 0xec, 0x9e, 0x0a, 0xa8, 0xfc, 0x1e, 0xcc, - 0x05, 0x4f, 0x23, 0xde, 0xcc, 0x6e, 0x0d, 0xad, 0xe3, 0x41, 0x10, 0x5e, 0xbe, 0xf9, 0x84, 0x83, - 0xbb, 0xec, 0x38, 0x88, 0xa5, 0x52, 0x5d, 0x3b, 0xce, 0x4e, 0x5b, 0x67, 0x5d, 0x3b, 0x6e, 0x0a, - 0x93, 0x29, 0xfe, 0x7a, 0x19, 0xb2, 0x55, 0xe2, 0xc8, 0x75, 0x58, 0x4a, 0xbc, 0xb6, 0x86, 0x37, - 0x94, 0x54, 0xef, 0x57, 0xef, 0x4d, 0x82, 0x12, 0x2f, 0x84, 0x63, 0x58, 0x8c, 0xb7, 0xfc, 0xad, - 0x51, 0x93, 0x63, 0x20, 0xf5, 0x9d, 0x09, 0x40, 0x22, 0xc0, 0x17, 0x12, 0x28, 0x23, 0x1b, 0xed, - 0xfd, 0xf1, 0x2b, 0x0d, 0xce, 0x50, 0x1f, 0x4e, 0x3b, 0x43, 0x10, 0xf9, 0x08, 0xe6, 0x45, 0x83, - 0xca, 0x8f, 0x5a, 0x25, 0x44, 0xa8, 0x85, 0x8b, 0x10, 0x62, 0xdd, 0x4f, 0x00, 0x62, 0xdd, 0x44, - 0x1b, 0x35, 0x2f, 0xc2, 0xa8, 0x3b, 0x17, 0x63, 0xc4, 0xea, 0x36, 0x5c, 0x49, 0x96, 0xfe, 0xed, - 0x51, 0x93, 0x13, 0x30, 0x75, 0x77, 0x22, 0x98, 0x08, 0xf3, 0x14, 0x96, 0xd3, 0x75, 0xfa, 0xce, - 0x68, 0x96, 0x09, 0xa0, 0x6a, 0x4c, 0x08, 0x14, 0xc1, 0x28, 0xc8, 0x43, 0x8a, 0xdc, 0x48, 0x55, - 0x06, 0xb1, 0x6a, 0x71, 0x72, 0xac, 0x88, 0x5a, 0x87, 0xa5, 0x44, 0x79, 0xb8, 0x3d, 0xfe, 0x24, - 0x05, 0xa8, 0xd1, 0xb7, 0x69, 0xd8, 0xcd, 0x55, 0x2f, 0x7d, 0xe6, 0x97, 0xc8, 0x52, 0xe5, 0xe5, - 0x69, 0x4e, 0x7a, 0x75, 0x9a, 0x93, 0xfe, 0x3e, 0xcd, 0x49, 0x5f, 0x9f, 0xe5, 0x66, 0x5e, 0x9d, - 0xe5, 0x66, 0xfe, 0x3c, 0xcb, 0xcd, 0x7c, 0x6c, 0xc4, 0x6a, 0xad, 0xbf, 0x30, 0x7b, 0x1f, 0x37, - 0x70, 0xcb, 0x68, 0x34, 0x4d, 0xe4, 0x1a, 0xbd, 0x7d, 0xe3, 0x79, 0xf8, 0x4f, 0x18, 0x2b, 0xbc, - 0xf5, 0x39, 0x86, 0xd8, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0x25, 0x2d, 0x57, 0x8e, 0x8d, 0x0e, - 0x00, 0x00, + // 1134 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xbf, 0x6f, 0xdb, 0xc6, + 0x17, 0x37, 0x25, 0xdb, 0x5f, 0xfb, 0xd9, 0x89, 0x13, 0xc6, 0x8e, 0x69, 0xc6, 0x5f, 0x59, 0xa0, + 0xe3, 0x46, 0x71, 0x63, 0x32, 0x96, 0x91, 0x20, 0xf5, 0x66, 0xc5, 0x08, 0xe0, 0x41, 0x40, 0xa0, + 0xb8, 0x0d, 0x50, 0x14, 0x10, 0x28, 0xf1, 0x42, 0x11, 0x91, 0x78, 0x02, 0xef, 0xa4, 0x44, 0x43, + 0x81, 0xa2, 0x43, 0x87, 0x2e, 0x6d, 0x87, 0xfe, 0x00, 0xba, 0x17, 0x45, 0x97, 0x7a, 0xc8, 0xda, + 0x3d, 0xe8, 0xd2, 0xa0, 0x53, 0xa7, 0xb4, 0xb0, 0x07, 0xff, 0x1b, 0x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0xe5, 0xd9, 0x18, 0xb4, 0x38, 0x06, 0x53, 0xb7, 0x46, + 0x82, 0x09, 0x37, 0x4f, 0x61, 0x21, 0x59, 0x26, 0x6e, 0x0c, 0x66, 0x19, 0x03, 0xaa, 0xc6, 0x88, + 0x40, 0xe1, 0x8c, 0x82, 0x9c, 0xf2, 0xc6, 0x6e, 0x9e, 0x7b, 0xac, 0x02, 0xab, 0x16, 0x47, 0xc7, + 0x0a, 0xaf, 0x35, 0x98, 0x8f, 0xbd, 0x4e, 0xd7, 0x87, 0x5f, 0xe4, 0x00, 0x35, 0x38, 0x99, 0xd3, + 0x1e, 0x0e, 0x75, 0xea, 0x13, 0xff, 0x85, 0x2e, 0x1d, 0xbc, 0x3c, 0xce, 0x49, 0xaf, 0x8e, 0x73, + 0xd2, 0x5f, 0xc7, 0x39, 0xe9, 0xcb, 0x93, 0xdc, 0xc4, 0xab, 0x93, 0xdc, 0xc4, 0x1f, 0x27, 0xb9, + 0x89, 0x0f, 0x8d, 0xc8, 0x53, 0xef, 0x6f, 0xcc, 0xfe, 0xdc, 0xd4, 0x71, 0xd3, 0xa8, 0x37, 0x4c, + 0xc7, 0x35, 0xba, 0x3b, 0xc6, 0xf3, 0xf0, 0x1f, 0x34, 0x7b, 0xf7, 0x6b, 0xd3, 0x0c, 0xb1, 0xf3, + 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0x56, 0x96, 0x43, 0x4a, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1054,6 +1161,8 @@ type MsgClient interface { UpdateRoute(ctx context.Context, in *MsgUpdateRoute, opts ...grpc.CallOption) (*MsgUpdateRouteResponse, error) // UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel. UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateSignalsAndInterval, opts ...grpc.CallOption) (*MsgUpdateSignalsAndIntervalResponse, error) + // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. + WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) // Activate is a RPC method to activate a tunnel. Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) // Deactivate is a RPC method to deactivate a tunnel. @@ -1103,6 +1212,15 @@ func (c *msgClient) UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateS return out, nil } +func (c *msgClient) WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) { + out := new(MsgWithdrawFeePayerFundsResponse) + err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/WithdrawFeePayerFunds", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) { out := new(MsgActivateResponse) err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/Activate", in, out, opts...) @@ -1165,6 +1283,8 @@ type MsgServer interface { UpdateRoute(context.Context, *MsgUpdateRoute) (*MsgUpdateRouteResponse, error) // UpdateSignalsAndInterval is a RPC method to update a signals and interval of the tunnel. UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) + // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. + WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) // Activate is a RPC method to activate a tunnel. Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) // Deactivate is a RPC method to deactivate a tunnel. @@ -1192,6 +1312,9 @@ func (*UnimplementedMsgServer) UpdateRoute(ctx context.Context, req *MsgUpdateRo func (*UnimplementedMsgServer) UpdateSignalsAndInterval(ctx context.Context, req *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSignalsAndInterval not implemented") } +func (*UnimplementedMsgServer) WithdrawFeePayerFunds(ctx context.Context, req *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WithdrawFeePayerFunds not implemented") +} func (*UnimplementedMsgServer) Activate(ctx context.Context, req *MsgActivate) (*MsgActivateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented") } @@ -1269,6 +1392,24 @@ func _Msg_UpdateSignalsAndInterval_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Msg_WithdrawFeePayerFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgWithdrawFeePayerFunds) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).WithdrawFeePayerFunds(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/band.tunnel.v1beta1.Msg/WithdrawFeePayerFunds", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).WithdrawFeePayerFunds(ctx, req.(*MsgWithdrawFeePayerFunds)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgActivate) if err := dec(in); err != nil { @@ -1393,6 +1534,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateSignalsAndInterval", Handler: _Msg_UpdateSignalsAndInterval_Handler, }, + { + MethodName: "WithdrawFeePayerFunds", + Handler: _Msg_WithdrawFeePayerFunds_Handler, + }, { MethodName: "Activate", Handler: _Msg_Activate_Handler, @@ -1672,6 +1817,78 @@ func (m *MsgUpdateSignalsAndIntervalResponse) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } +func (m *MsgWithdrawFeePayerFunds) 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 *MsgWithdrawFeePayerFunds) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgWithdrawFeePayerFunds) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0x1a + } + if len(m.Amount) > 0 { + for iNdEx := len(m.Amount) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Amount[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.TunnelID != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.TunnelID)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MsgWithdrawFeePayerFundsResponse) 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 *MsgWithdrawFeePayerFundsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgWithdrawFeePayerFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func (m *MsgActivate) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2171,6 +2388,37 @@ func (m *MsgUpdateSignalsAndIntervalResponse) Size() (n int) { return n } +func (m *MsgWithdrawFeePayerFunds) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TunnelID != 0 { + n += 1 + sovTx(uint64(m.TunnelID)) + } + if len(m.Amount) > 0 { + for _, e := range m.Amount { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgWithdrawFeePayerFundsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func (m *MsgActivate) Size() (n int) { if m == nil { return 0 @@ -3003,6 +3251,191 @@ func (m *MsgUpdateSignalsAndIntervalResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgWithdrawFeePayerFunds) 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: MsgWithdrawFeePayerFunds: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWithdrawFeePayerFunds: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TunnelID", wireType) + } + m.TunnelID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TunnelID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", 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 + } + m.Amount = append(m.Amount, types1.Coin{}) + if err := m.Amount[len(m.Amount)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", 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.Creator = string(dAtA[iNdEx:postIndex]) + 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 *MsgWithdrawFeePayerFundsResponse) 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: MsgWithdrawFeePayerFundsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgWithdrawFeePayerFundsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *MsgActivate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 From f994150da8dfeecb2c3b89aa92e7463033141ba9 Mon Sep 17 00:00:00 2001 From: satawatnack <satawat@bandprotocol.com> Date: Thu, 12 Dec 2024 17:20:53 +0700 Subject: [PATCH 2/8] add test --- x/tunnel/keeper/keeper_test.go | 4 +- x/tunnel/keeper/msg_server_test.go | 87 ++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+), 1 deletion(-) diff --git a/x/tunnel/keeper/keeper_test.go b/x/tunnel/keeper/keeper_test.go index c74c0c378..fc6e2bbab 100644 --- a/x/tunnel/keeper/keeper_test.go +++ b/x/tunnel/keeper/keeper_test.go @@ -106,7 +106,7 @@ func (s *KeeperTestSuite) reset() { s.Require().NoError(err) } -func (s *KeeperTestSuite) AddSampleTunnel(isActive bool) { +func (s *KeeperTestSuite) AddSampleTunnel(isActive bool) *types.Tunnel { ctx, k := s.ctx, s.keeper s.accountKeeper.EXPECT(). @@ -148,6 +148,8 @@ func (s *KeeperTestSuite) AddSampleTunnel(isActive bool) { err = k.ActivateTunnel(ctx, tunnel.ID) s.Require().NoError(err) } + + return tunnel } func (s *KeeperTestSuite) AddSampleIBCTunnel(isActive bool) { diff --git a/x/tunnel/keeper/msg_server_test.go b/x/tunnel/keeper/msg_server_test.go index 27547cce2..67d3d1777 100644 --- a/x/tunnel/keeper/msg_server_test.go +++ b/x/tunnel/keeper/msg_server_test.go @@ -432,6 +432,93 @@ func (s *KeeperTestSuite) TestMsgUpdateSignalsAndInterval() { } } +func (s *KeeperTestSuite) TestWithdrawFeePayerFunds() { + creator := sdk.AccAddress([]byte("creator_address")).String() + + cases := map[string]struct { + preRun func() *types.MsgWithdrawFeePayerFunds + expErr bool + expErrMsg string + }{ + "tunnel not found": { + preRun: func() *types.MsgWithdrawFeePayerFunds { + return &types.MsgWithdrawFeePayerFunds{ + Creator: creator, + TunnelID: 1, + Amount: sdk.NewCoins(sdk.NewInt64Coin("uband", 500)), + } + }, + expErr: true, + expErrMsg: "tunnel not found", + }, + "invalid creator": { + preRun: func() *types.MsgWithdrawFeePayerFunds { + s.AddSampleTunnel(false) + + return &types.MsgWithdrawFeePayerFunds{ + Creator: "invalid_creator", + TunnelID: 1, + Amount: sdk.NewCoins(sdk.NewInt64Coin("uband", 500)), + } + }, + expErr: true, + expErrMsg: "creator invalid_creator, tunnelID 1", + }, + "insufficient funds": { + preRun: func() *types.MsgWithdrawFeePayerFunds { + tunnel := s.AddSampleTunnel(false) + + amount := sdk.NewCoins(sdk.NewInt64Coin("uband", 9999999999)) + + s.bankKeeper.EXPECT(). + SendCoins(s.ctx, sdk.AccAddress(tunnel.FeePayer), sdk.AccAddress(creator), amount). + Return(sdkerrors.ErrInsufficientFunds).Times(1) + + return &types.MsgWithdrawFeePayerFunds{ + Creator: creator, + TunnelID: tunnel.ID, + Amount: amount, + } + }, + expErr: true, + expErrMsg: "insufficient funds", + }, + "all good": { + preRun: func() *types.MsgWithdrawFeePayerFunds { + tunnel := s.AddSampleTunnel(false) + + amount := sdk.NewCoins(sdk.NewInt64Coin("uband", 500)) + + s.bankKeeper.EXPECT(). + SendCoins(s.ctx, sdk.AccAddress(tunnel.FeePayer), sdk.AccAddress(creator), amount). + Return(nil).Times(1) + + return &types.MsgWithdrawFeePayerFunds{ + Creator: creator, + TunnelID: 1, + Amount: amount, + } + }, + expErr: false, + }, + } + + for name, tc := range cases { + s.Run(name, func() { + s.reset() + msg := tc.preRun() + + _, err := s.msgServer.WithdrawFeePayerFunds(s.ctx, msg) + if tc.expErr { + s.Require().Error(err) + s.Require().Contains(err.Error(), tc.expErrMsg) + } else { + s.Require().NoError(err) + } + }) + } +} + func (s *KeeperTestSuite) TestMsgActivate() { cases := map[string]struct { preRun func() *types.MsgActivate From e06c58fbb713dce52cb439da4886f8a1e782f648 Mon Sep 17 00:00:00 2001 From: satawatnack <satawat@bandprotocol.com> Date: Thu, 12 Dec 2024 18:14:45 +0700 Subject: [PATCH 3/8] add MsgWithdrawFeePayerFunds --- x/tunnel/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/x/tunnel/README.md b/x/tunnel/README.md index 54bdaf404..108bce32b 100644 --- a/x/tunnel/README.md +++ b/x/tunnel/README.md @@ -29,6 +29,7 @@ The Tunnel module is designed to decentralize the creation of push-based price d - [MsgCreateTunnel](#msgcreatetunnel) - [MsgUpdateRoute](#msgupdateroute) - [MsgUpdateSignalsAndInterval](#msgupdatesignalsandinterval) + - [MsgWithdrawFeePayerFunds](#msgwithdrawfeepayerfunds) - [MsgActivate](#msgactivate) - [MsgDeactivate](#msgdeactivate) - [MsgTriggerTunnel](#msgtriggertunnel) @@ -289,6 +290,8 @@ message MsgUpdateRoute { ### MsgUpdateSignalsAndInterval +Allows the creator of a tunnel to update the list of signal deviations and the interval for the tunnel. + ```protobuf // MsgUpdateSignalsAndInterval is the transaction message to update signals and interval of the tunnel. message MsgUpdateSignalsAndInterval { @@ -306,6 +309,29 @@ message MsgUpdateSignalsAndInterval { } ``` +### MsgWithdrawFeePayerFunds + +Allows the creator of a tunnel to withdraw funds from the fee payer to the creator. + +```protobuf +// MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. +message MsgWithdrawFeePayerFunds { + option (cosmos.msg.v1.signer) = "fee_payer"; + option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; + + // tunnel_id is the ID of the tunnel to withdraw fee payer coins. + uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; + // coins is the coins to withdraw. + repeated cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (amino.dont_omitempty) = true + ]; + // creator is the address of the creator. + string creator = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; +} +``` + ### MsgActivate To activate the tunnel for processing at the EndBlock, the following conditions must be met: From 406d1c288eaf8c50f42b3e3d2fbb546eab5ee536 Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul <kitipong.sirir@gmail.com> Date: Mon, 16 Dec 2024 15:26:44 +0700 Subject: [PATCH 4/8] fix comment --- app/upgrades/v3/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/upgrades/v3/constants.go b/app/upgrades/v3/constants.go index 416683972..3fc0a08a3 100644 --- a/app/upgrades/v3/constants.go +++ b/app/upgrades/v3/constants.go @@ -28,7 +28,7 @@ import ( tunneltypes "github.com/bandprotocol/chain/v3/x/tunnel/types" ) -// UpgradeName defines the on-chain upgrade name for the Osmosis v26 upgrade. +// UpgradeName defines the on-chain upgrade name. const ( UpgradeName = "v3" From e2b701297b1eaf701f4effb9e58051d29b9224f6 Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul <kitipong.sirir@gmail.com> Date: Mon, 16 Dec 2024 16:50:52 +0700 Subject: [PATCH 5/8] fix bug --- api/band/tunnel/v1beta1/tx.pulsar.go | 332 +++++++++++++-------------- proto/band/tunnel/v1beta1/tx.proto | 2 +- x/tunnel/README.md | 2 +- x/tunnel/keeper/msg_server.go | 14 +- x/tunnel/types/tx.pb.go | 143 ++++++------ 5 files changed, 251 insertions(+), 242 deletions(-) diff --git a/api/band/tunnel/v1beta1/tx.pulsar.go b/api/band/tunnel/v1beta1/tx.pulsar.go index 92f36d9a9..d10b9f00b 100644 --- a/api/band/tunnel/v1beta1/tx.pulsar.go +++ b/api/band/tunnel/v1beta1/tx.pulsar.go @@ -10289,7 +10289,7 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x25, 0x0a, 0x23, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, - 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x18, 0x4d, + 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x95, 0x02, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, @@ -10304,179 +10304,179 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x3a, 0x32, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x65, 0x72, - 0x8a, 0xe7, 0xb0, 0x2a, 0x1f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x43, - 0x6f, 0x69, 0x6e, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x73, 0x67, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, - 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x23, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, - 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, - 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x14, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, - 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, - 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, - 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, - 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, - 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, 0x1f, - 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, - 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, - 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, - 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, - 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, - 0x02, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, - 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, - 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, - 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, - 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, - 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x77, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, - 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x4d, - 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, - 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbd, 0x08, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, - 0x62, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, - 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, - 0x74, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, + 0xb0, 0x2a, 0x1f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, + 0x6e, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, + 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x23, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, + 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x73, + 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, + 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x8a, 0xe7, 0xb0, 0x2a, 0x14, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x44, + 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, + 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, + 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x02, 0x0a, + 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x68, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, + 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, + 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x44, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1c, + 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x02, 0x0a, + 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, + 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, + 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, + 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, + 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x77, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x77, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, + 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, + 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, + 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, + 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbd, 0x08, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x62, 0x0a, + 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x24, 0x2e, + 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, + 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, + 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, - 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, + 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, - 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, - 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, - 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, - 0x46, 0x75, 0x6e, 0x64, 0x73, 0x1a, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, + 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, - 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, + 0x6e, 0x64, 0x73, 0x1a, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, + 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x62, 0x61, 0x6e, + 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x12, 0x22, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x27, 0x2e, 0x62, 0x61, 0x6e, + 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x12, 0x22, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2d, 0x2e, 0x62, 0x61, 0x6e, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x44, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x27, 0x2e, 0x62, - 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2a, 0x2e, 0x62, - 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, - 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, - 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x62, - 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, - 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x42, - 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x42, 0x61, 0x6e, 0x64, 0x5c, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x42, 0x61, 0x6e, - 0x64, 0x3a, 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, + 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, + 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x42, 0x61, 0x6e, + 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x42, 0x61, 0x6e, 0x64, 0x3a, + 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/band/tunnel/v1beta1/tx.proto b/proto/band/tunnel/v1beta1/tx.proto index 696215bcc..2a7380068 100644 --- a/proto/band/tunnel/v1beta1/tx.proto +++ b/proto/band/tunnel/v1beta1/tx.proto @@ -110,7 +110,7 @@ message MsgUpdateSignalsAndIntervalResponse {} // MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. message MsgWithdrawFeePayerFunds { - option (cosmos.msg.v1.signer) = "fee_payer"; + option (cosmos.msg.v1.signer) = "creator"; option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; // tunnel_id is the ID of the tunnel to withdraw fee payer coins. diff --git a/x/tunnel/README.md b/x/tunnel/README.md index 108bce32b..f5457b383 100644 --- a/x/tunnel/README.md +++ b/x/tunnel/README.md @@ -316,7 +316,7 @@ Allows the creator of a tunnel to withdraw funds from the fee payer to the creat ```protobuf // MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. message MsgWithdrawFeePayerFunds { - option (cosmos.msg.v1.signer) = "fee_payer"; + option (cosmos.msg.v1.signer) = "creator"; option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; // tunnel_id is the ID of the tunnel to withdraw fee payer coins. diff --git a/x/tunnel/keeper/msg_server.go b/x/tunnel/keeper/msg_server.go index 2fe2c8231..72e5203e3 100644 --- a/x/tunnel/keeper/msg_server.go +++ b/x/tunnel/keeper/msg_server.go @@ -186,11 +186,21 @@ func (k msgServer) WithdrawFeePayerFunds( return nil, types.ErrInvalidTunnelCreator.Wrapf("creator %s, tunnelID %d", msg.Creator, msg.TunnelID) } + feePayer, err := sdk.AccAddressFromBech32(tunnel.FeePayer) + if err != nil { + return nil, err + } + + creator, err := sdk.AccAddressFromBech32(msg.Creator) + if err != nil { + return nil, err + } + // send coins from the fee payer to the creator if err := k.Keeper.bankKeeper.SendCoins( ctx, - sdk.AccAddress(tunnel.FeePayer), - sdk.AccAddress(tunnel.Creator), + feePayer, + creator, msg.Amount, ); err != nil { return nil, err diff --git a/x/tunnel/types/tx.pb.go b/x/tunnel/types/tx.pb.go index a3fb0cf94..61e5045d0 100644 --- a/x/tunnel/types/tx.pb.go +++ b/x/tunnel/types/tx.pb.go @@ -1069,78 +1069,77 @@ func init() { func init() { proto.RegisterFile("band/tunnel/v1beta1/tx.proto", fileDescriptor_d18351d83b4705d0) } var fileDescriptor_d18351d83b4705d0 = []byte{ - // 1134 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xbf, 0x6f, 0xdb, 0xc6, - 0x17, 0x37, 0x25, 0xdb, 0x5f, 0xfb, 0xd9, 0x89, 0x13, 0xc6, 0x8e, 0x69, 0xc6, 0x5f, 0x59, 0xa0, - 0xe3, 0x46, 0x71, 0x63, 0x32, 0x96, 0x91, 0x20, 0xf5, 0x66, 0xc5, 0x08, 0xe0, 0x41, 0x40, 0xa0, - 0xb8, 0x0d, 0x50, 0x14, 0x10, 0x28, 0xf1, 0x42, 0x11, 0x91, 0x78, 0x02, 0xef, 0xa4, 0x44, 0x43, - 0x81, 0xa2, 0x43, 0x87, 0x2e, 0x6d, 0x87, 0xfe, 0x00, 0xba, 0x17, 0x45, 0x97, 0x7a, 0xc8, 0xda, - 0x3d, 0xe8, 0xd2, 0xa0, 0x53, 0xa7, 0xb4, 0xb0,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d, 0xc1, 0x85, 0x78, 0xe5, 0xd9, 0x18, 0xb4, 0x38, 0x06, 0x53, 0xb7, 0x46, - 0x82, 0x09, 0x37, 0x4f, 0x61, 0x21, 0x59, 0x26, 0x6e, 0x0c, 0x66, 0x19, 0x03, 0xaa, 0xc6, 0x88, - 0x40, 0xe1, 0x8c, 0x82, 0x9c, 0xf2, 0xc6, 0x6e, 0x9e, 0x7b, 0xac, 0x02, 0xab, 0x16, 0x47, 0xc7, - 0x0a, 0xaf, 0x35, 0x98, 0x8f, 0xbd, 0x4e, 0xd7, 0x87, 0x5f, 0xe4, 0x00, 0x35, 0x38, 0x99, 0xd3, - 0x1e, 0x0e, 0x75, 0xea, 0x13, 0xff, 0x85, 0x2e, 0x1d, 0xbc, 0x3c, 0xce, 0x49, 0xaf, 0x8e, 0x73, - 0xd2, 0x5f, 0xc7, 0x39, 0xe9, 0xcb, 0x93, 0xdc, 0xc4, 0xab, 0x93, 0xdc, 0xc4, 0x1f, 0x27, 0xb9, - 0x89, 0x0f, 0x8d, 0xc8, 0x53, 0xef, 0x6f, 0xcc, 0xfe, 0xdc, 0xd4, 0x71, 0xd3, 0xa8, 0x37, 0x4c, - 0xc7, 0x35, 0xba, 0x3b, 0xc6, 0xf3, 0xf0, 0x1f, 0x34, 0x7b, 0xf7, 0x6b, 0xd3, 0x0c, 0xb1, 0xf3, - 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x30, 0x56, 0x96, 0x43, 0x4a, 0x10, 0x00, 0x00, + // 1120 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0xda, 0x49, 0x48, 0x5e, 0xd2, 0xa6, 0xdd, 0x26, 0xcd, 0x66, 0x1b, 0x1c, 0x6b, 0xd3, + 0x50, 0x37, 0x34, 0xbb, 0x4d, 0xa2, 0x56, 0x25, 0xb7, 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85, 0xd8, 0x8f, 0x1d, 0xda, 0xb0, 0x3c, 0xf3, + 0xe9, 0x03, 0x84, 0x1e, 0x9a, 0x3d, 0xe4, 0x3d, 0xe8, 0xb8, 0x16, 0x19, 0x45, 0xcc, 0x06, 0x4c, + 0x9a, 0x2d, 0xdc, 0x71, 0x29, 0x57, 0xf0, 0xf5, 0x27, 0x26, 0xdf, 0xff, 0x3f, 0xdd, 0xbb, 0xdb, + 0x69, 0x05, 0x57, 0x22, 0x05, 0xd3, 0xa1, 0x33, 0x97, 0x9a, 0x06, 0xc5, 0x7e, 0xb2, 0x08, 0xed, + 0xbe, 0x95, 0x60, 0xa6, 0x42, 0xec, 0xdd, 0x3a, 0x75, 0xba, 0xe6, 0x68, 0x49, 0x17, 0x0b, 0x22, + 0x37, 0x6c, 0x10, 0xab, 0xe9, 0x20, 0xe4, 0x28, 0x88, 0x90, 0x83, 0xb6, 0x00, 0x57, 0x62, 0xc3, + 0xe8, 0x98, 0x25, 0xb8, 0x50, 0x21, 0xf6, 0x1e, 0x32, 0xdf, 0x10, 0xd9, 0xb5, 0x34, 0xd9, 0xf9, + 0x88, 0x6c, 0xc4, 0x42, 0x5b, 0x84, 0x85, 0xc4, 0x84, 0x20, 0xfc, 0xa3, 0x04, 0x97, 0x2a, 0xc4, + 0x3e, 0xf0, 0x1c, 0xdb, 0x46, 0x1e, 0xaf, 0x59, 0xff, 0x33, 0xe7, 0x52, 0x9a, 0xf3, 0x62, 0xc4, + 0x39, 0x41, 0x44, 0x53, 0x59, 0xd2, 0x24, 0xe6, 0x04, 0xf3, 0xaf, 0x73, 0x20, 0xb3, 0x98, 0x58, + 0xfd, 0x38, 0xc0, 0xa3, 0x73, 0x7f, 0x73, 0xb9, 0x74, 0x17, 0xa6, 0x79, 0x3d, 0x1d, 0x22, 0x9b, + 0x22, 0xe8, 0xce, 0x2d, 0x5f, 0xa9, 0x68, 0xec, 0x6b, 0xb5, 0x14, 0x3f, 0xdf, 0x44, 0xe8, 0xda, + 0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 0xfe, 0x23, 0x98, 0x12, 0xf5, 0xb1, 0xd8, 0x6f, 0x8b, + 0x10, 0xa1, 0x96, 0xce, 0x43, 0x88, 0x7d, 0x3f, 0x01, 0x88, 0x15, 0x33, 0xad, 0xdf, 0xba, 0x08, + 0xa3, 0xae, 0x9f, 0x8f, 0x11, 0xbb, 0x23, 0xb8, 0x90, 0xac, 0x3c, 0x6b, 0xfd, 0x16, 0x27, 0x60, + 0xea, 0xc6, 0x50, 0x30, 0xe1, 0xe6, 0x09, 0xcc, 0xa5, 0xcb, 0xc4, 0x8d, 0xfe, 0x2c, 0x13, 0x40, + 0xd5, 0x18, 0x12, 0x28, 0x9c, 0x51, 0x90, 0x33, 0xde, 0xd8, 0xf5, 0x73, 0x8f, 0x55, 0x60, 0xd5, + 0xad, 0xe1, 0xb1, 0xc2, 0x6b, 0x0d, 0x66, 0x13, 0xaf, 0xd3, 0xf5, 0xc1, 0x17, 0x39, 0x40, 0xf5, + 0x4f, 0xe6, 0xac, 0x87, 0x43, 0x9d, 0xf8, 0xdc, 0x7f, 0xa1, 0xcb, 0xfb, 0x2f, 0x8e, 0x0b, 0xd2, + 0xcb, 0xe3, 0x82, 0xf4, 0xcf, 0x71, 0x41, 0xfa, 0xe6, 0xa4, 0x30, 0xf6, 0xf2, 0xa4, 0x30, 0xf6, + 0xd7, 0x49, 0x61, 0xec, 0x63, 0x23, 0xf6, 0xd4, 0xfb, 0x1b, 0xb3, 0xbf, 0x36, 0x75, 0xdc, 0x34, + 0xea, 0x0d, 0xd3, 0x71, 0x8d, 0xee, 0xb6, 0xf1, 0x2c, 0xfc, 0xff, 0xcc, 0xde, 0xfd, 0xda, 0x24, + 0x43, 0x6c, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x82, 0xb2, 0xb1, 0x48, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From 1e02510073607fb77ec8c2d80d0e963bf6ae52f5 Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul <kitipong.sirir@gmail.com> Date: Mon, 16 Dec 2024 16:54:06 +0700 Subject: [PATCH 6/8] fix typo --- api/band/tunnel/v1beta1/tx.pulsar.go | 6 +- proto/band/tunnel/v1beta1/tx.proto | 4 +- x/tunnel/README.md | 4 +- x/tunnel/types/tx.pb.go | 124 +++++++++++++-------------- 4 files changed, 69 insertions(+), 69 deletions(-) diff --git a/api/band/tunnel/v1beta1/tx.pulsar.go b/api/band/tunnel/v1beta1/tx.pulsar.go index d10b9f00b..470badaba 100644 --- a/api/band/tunnel/v1beta1/tx.pulsar.go +++ b/api/band/tunnel/v1beta1/tx.pulsar.go @@ -9674,7 +9674,7 @@ type MsgWithdrawFeePayerFunds struct { // tunnel_id is the ID of the tunnel to withdraw fee payer coins. TunnelId uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` - // coins is the coins to withdraw. + // amount is the coins to withdraw. Amount []*v1beta1.Coin `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"` // creator is the address of the creator. Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` @@ -10306,8 +10306,8 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x69, - 0x6e, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, + 0x64, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, diff --git a/proto/band/tunnel/v1beta1/tx.proto b/proto/band/tunnel/v1beta1/tx.proto index 2a7380068..fb80dc13d 100644 --- a/proto/band/tunnel/v1beta1/tx.proto +++ b/proto/band/tunnel/v1beta1/tx.proto @@ -111,11 +111,11 @@ message MsgUpdateSignalsAndIntervalResponse {} // MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. message MsgWithdrawFeePayerFunds { option (cosmos.msg.v1.signer) = "creator"; - option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; + option (amino.name) = "tunnel/MsgWithdrawFeePayerFunds"; // tunnel_id is the ID of the tunnel to withdraw fee payer coins. uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; - // coins is the coins to withdraw. + // amount is the coins to withdraw. repeated cosmos.base.v1beta1.Coin amount = 2 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", diff --git a/x/tunnel/README.md b/x/tunnel/README.md index f5457b383..156c90641 100644 --- a/x/tunnel/README.md +++ b/x/tunnel/README.md @@ -317,11 +317,11 @@ Allows the creator of a tunnel to withdraw funds from the fee payer to the creat // MsgWithdrawFeePayerFunds is the transaction message to withdraw fee payer funds to creator. message MsgWithdrawFeePayerFunds { option (cosmos.msg.v1.signer) = "creator"; - option (amino.name) = "tunnel/MsgWithdrawFeePayerCoins"; + option (amino.name) = "tunnel/MsgWithdrawFeePayerFunds"; // tunnel_id is the ID of the tunnel to withdraw fee payer coins. uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; - // coins is the coins to withdraw. + // amount is the coins to withdraw. repeated cosmos.base.v1beta1.Coin amount = 2 [ (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", diff --git a/x/tunnel/types/tx.pb.go b/x/tunnel/types/tx.pb.go index 61e5045d0..3a7d1d380 100644 --- a/x/tunnel/types/tx.pb.go +++ b/x/tunnel/types/tx.pb.go @@ -376,7 +376,7 @@ var xxx_messageInfo_MsgUpdateSignalsAndIntervalResponse proto.InternalMessageInf type MsgWithdrawFeePayerFunds struct { // tunnel_id is the ID of the tunnel to withdraw fee payer coins. TunnelID uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` - // coins is the coins to withdraw. + // amount is the coins to withdraw. Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // creator is the address of the creator. Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` @@ -1069,77 +1069,77 @@ func init() { func init() { proto.RegisterFile("band/tunnel/v1beta1/tx.proto", fileDescriptor_d18351d83b4705d0) } var fileDescriptor_d18351d83b4705d0 = []byte{ - // 1120 bytes of a gzipped FileDescriptorProto + // 1118 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, 0x14, 0xce, 0x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 0x87, 0x15, 0xe6, 0xbd, 0xb4, 0x30, 0x0b, 0x91, 0x30, 0x31, 0xfa, 0x9a, 0x02, 0x57, + 0x93, 0x33, 0xa1, 0x2c, 0xda, 0x4f, 0x39, 0xb8, 0x26, 0x4c, 0xc1, 0x95, 0x24, 0xbb, 0xae, 0xb5, + 0x1f, 0xde, 0xb0, 0x11, 0x1c, 0xcf, 0xcc, 0x80, 0xdc, 0x6b, 0xce, 0x80, 0x7c, 0x2a, 0x03, 0x62, + 0xaa, 0x8d, 0x0f, 0xab, 0xda, 0x76, 0x5a, 0x35, 0x2d, 0xad, 0xda, 0x59, 0x21, 0xb4, 0x35, 0x58, + 0x1d, 0x60, 0x16, 0x7a, 0x7e, 0x97, 0x03, 0xa5, 0x42, 0xec, 0xc7, 0x0e, 0x6d, 0x58, 0x9e, 0xf9, + 0xf4, 0x01, 0x42, 0x0f, 0xcd, 0x1e, 0xf2, 0x1e, 0x74, 0x5c, 0x8b, 0x8c, 0x22, 0x66, 0x03, 0x26, + 0xcd, 0x16, 0xee, 0xb8, 0x94, 0x2b, 0xf8, 0xfa, 0x13, 0x93, 0xef, 0xff, 0x9f, 0xee, 0xdd, 0xed, + 0xb4, 0x82, 0x2b, 0x91, 0x82, 0x99, 0xae, 0x6b, 0x1a, 0x14, 0xfb, 0xd9, 0x84, 0x76, 0xdf, 0x4a, + 0x30, 0x53, 0x21, 0xf6, 0x6e, 0x9d, 0x3a, 0x5d, 0x73, 0xb4, 0xa4, 0x8b, 0x39, 0x91, 0x1b, 0xd6, + 0x89, 0xd5, 0xb4, 0x13, 0x72, 0xe4, 0x44, 0xc8, 0x41, 0x5b, 0x80, 0x2b, 0xb1, 0x61, 0x14, 0x66, + 0x09, 0x2e, 0x54, 0x88, 0xbd, 0x87, 0xcc, 0x37, 0x44, 0x76, 0x2d, 0x4d, 0x76, 0x3e, 0x22, 0x1b, + 0xb1, 0xd0, 0x16, 0x61, 0x21, 0x31, 0x21, 0x08, 0xff, 0x28, 0xc1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a, 0xe6, 0xa4, 0x30, 0xf6, 0xf2, 0xa4, 0x30, 0xf6, 0xd7, 0x49, + 0x61, 0xec, 0x63, 0x23, 0xf6, 0xd4, 0xfb, 0x1b, 0xb3, 0xbf, 0x36, 0x75, 0xdc, 0x34, 0xea, 0x0d, + 0xd3, 0x71, 0x8d, 0xee, 0xb6, 0xf1, 0x2c, 0xfc, 0xff, 0xcc, 0xde, 0xfd, 0xda, 0x24, 0x43, 0x6c, + 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x6b, 0xc5, 0x2f, 0x48, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. From fbda4eb8ab9068b7feb941303b242cfc87f291f8 Mon Sep 17 00:00:00 2001 From: Kitipong Sirirueangsakul <kitipong.sirir@gmail.com> Date: Mon, 16 Dec 2024 17:04:37 +0700 Subject: [PATCH 7/8] fix test and add codec --- x/tunnel/keeper/msg_server_test.go | 4 ++-- x/tunnel/types/codec.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/x/tunnel/keeper/msg_server_test.go b/x/tunnel/keeper/msg_server_test.go index 67d3d1777..842a293b9 100644 --- a/x/tunnel/keeper/msg_server_test.go +++ b/x/tunnel/keeper/msg_server_test.go @@ -471,7 +471,7 @@ func (s *KeeperTestSuite) TestWithdrawFeePayerFunds() { amount := sdk.NewCoins(sdk.NewInt64Coin("uband", 9999999999)) s.bankKeeper.EXPECT(). - SendCoins(s.ctx, sdk.AccAddress(tunnel.FeePayer), sdk.AccAddress(creator), amount). + SendCoins(s.ctx, sdk.MustAccAddressFromBech32(tunnel.FeePayer), sdk.MustAccAddressFromBech32(creator), amount). Return(sdkerrors.ErrInsufficientFunds).Times(1) return &types.MsgWithdrawFeePayerFunds{ @@ -490,7 +490,7 @@ func (s *KeeperTestSuite) TestWithdrawFeePayerFunds() { amount := sdk.NewCoins(sdk.NewInt64Coin("uband", 500)) s.bankKeeper.EXPECT(). - SendCoins(s.ctx, sdk.AccAddress(tunnel.FeePayer), sdk.AccAddress(creator), amount). + SendCoins(s.ctx, sdk.MustAccAddressFromBech32(tunnel.FeePayer), sdk.MustAccAddressFromBech32(creator), amount). Return(nil).Times(1) return &types.MsgWithdrawFeePayerFunds{ diff --git a/x/tunnel/types/codec.go b/x/tunnel/types/codec.go index df63d4b6e..a5e445c97 100644 --- a/x/tunnel/types/codec.go +++ b/x/tunnel/types/codec.go @@ -21,6 +21,7 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { legacy.RegisterAminoMsg(cdc, &MsgCreateTunnel{}, "tunnel/MsgCreateTunnel") legacy.RegisterAminoMsg(cdc, &MsgUpdateRoute{}, "tunnel/MsgUpdateRoute") legacy.RegisterAminoMsg(cdc, &MsgUpdateSignalsAndInterval{}, "tunnel/MsgUpdateSignalsAndInterval") + legacy.RegisterAminoMsg(cdc, &MsgWithdrawFeePayerFunds{}, "tunnel/MsgWithdrawFeePayerFunds") legacy.RegisterAminoMsg(cdc, &MsgActivate{}, "tunnel/MsgActivate") legacy.RegisterAminoMsg(cdc, &MsgDeactivate{}, "tunnel/MsgDeactivate") legacy.RegisterAminoMsg(cdc, &MsgTriggerTunnel{}, "tunnel/MsgTriggerTunnel") @@ -46,6 +47,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, + &MsgWithdrawFeePayerFunds{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, From 65c86cee92608b97b231fe0794e1601fd0c18d0b Mon Sep 17 00:00:00 2001 From: satawatnack <satawat@bandprotocol.com> Date: Tue, 17 Dec 2024 16:15:07 +0700 Subject: [PATCH 8/8] add scripts --- scripts/tunnel/withdraw_fee_payer_funds.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/tunnel/withdraw_fee_payer_funds.sh diff --git a/scripts/tunnel/withdraw_fee_payer_funds.sh b/scripts/tunnel/withdraw_fee_payer_funds.sh new file mode 100644 index 000000000..41e2ef0b2 --- /dev/null +++ b/scripts/tunnel/withdraw_fee_payer_funds.sh @@ -0,0 +1 @@ +bandd tx tunnel withdraw-fee-payer-funds 1 1000000uband --from requester --keyring-backend test --gas-prices 0.0025uband -y --chain-id bandchain