From 4596ca682981c64ef36e5dae40811d0ae504ea47 Mon Sep 17 00:00:00 2001 From: TimmyExogenous Date: Wed, 20 Mar 2024 11:11:55 +0800 Subject: [PATCH] remove the unnecessary code related to operator from the delegation proto file --- proto/exocore/delegation/v1/query.proto | 7 - proto/exocore/delegation/v1/tx.proto | 43 - x/delegation/types/query.pb.go | 257 +---- x/delegation/types/tx.pb.go | 1364 +++-------------------- 4 files changed, 183 insertions(+), 1488 deletions(-) diff --git a/proto/exocore/delegation/v1/query.proto b/proto/exocore/delegation/v1/query.proto index 4f671a764..3a4632128 100644 --- a/proto/exocore/delegation/v1/query.proto +++ b/proto/exocore/delegation/v1/query.proto @@ -66,13 +66,6 @@ message SingleDelegationInfoReq { string asset_id = 3 [(gogoproto.customname) = "AssetID"]; } -// QueryOperatorInfoReq is the request to obtain the operator information. -message QueryOperatorInfoReq { - // operator_addr is the operator address. - string operator_addr = 1 - [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - // Query is the service API for the delegation module. service Query { // DelegationInfo queries the delegation information for {stakerID, assetID}. diff --git a/proto/exocore/delegation/v1/tx.proto b/proto/exocore/delegation/v1/tx.proto index b4cdb98c9..53bee0531 100644 --- a/proto/exocore/delegation/v1/tx.proto +++ b/proto/exocore/delegation/v1/tx.proto @@ -35,46 +35,6 @@ message DelegatedSingleAssetInfo { map per_operator_amounts = 3; } -// ClientChainEarningAddrList is the list of client chain earning addresses. -message ClientChainEarningAddrList { - // earning_info_list is the contents of ClientChainEarningAddrList. - repeated ClientChainEarningAddrInfo earning_info_list = 1; -} - -// ClientChainEarningAddrInfo is the client chain earning address info. -message ClientChainEarningAddrInfo { - // lz_client_chain_id is the layer0 client chain id. - uint64 lz_client_chain_id = 1 [(gogoproto.customname) = "LzClientChainID"]; - // client_chain_earning_addr is the client chain earning address. - string client_chain_earning_addr = 2; -} - -// OperatorInfo is the operator info. -message OperatorInfo { - // earnings_addr is the earnings address. - string earnings_addr = 1; - // approve_addr is the approve address. - string approve_addr = 2; - // operator_meta_info is the operator meta info. - string operator_meta_info = 3; - // client_chain_earning_addr_list is the client chain earning address list. - ClientChainEarningAddrList client_chain_earnings_addr = 4; -} - -// RegisterOperatorReq is the request to register a new operator. -message RegisterOperatorReq { - option (cosmos.msg.v1.signer) = "FromAddress"; - option (amino.name) = "cosmos-sdk/OperatorInfo"; - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // from_address is the address of the operator (sdk.AccAddress). - string from_address = 1 - [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // info is the operator info. - OperatorInfo info = 2; -} - // DelegationApproveInfo is the delegation approve info. message DelegationApproveInfo { // signature of the delegation approve info. @@ -83,9 +43,6 @@ message DelegationApproveInfo { string salt = 2; } -// RegisterOperatorResponse is the response to a register operator request. -message RegisterOperatorResponse {} - // DelegationIncOrDecInfo is the delegation increase or decrease info. message DelegationIncOrDecInfo { option (cosmos.msg.v1.signer) = "fromAddress"; diff --git a/x/delegation/types/query.pb.go b/x/delegation/types/query.pb.go index cd6a93b26..41d4982f9 100644 --- a/x/delegation/types/query.pb.go +++ b/x/delegation/types/query.pb.go @@ -244,107 +244,59 @@ func (m *SingleDelegationInfoReq) GetAssetID() string { return "" } -// QueryOperatorInfoReq is the request to obtain the operator information. -type QueryOperatorInfoReq struct { - // operator_addr is the operator address. - OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` -} - -func (m *QueryOperatorInfoReq) Reset() { *m = QueryOperatorInfoReq{} } -func (m *QueryOperatorInfoReq) String() string { return proto.CompactTextString(m) } -func (*QueryOperatorInfoReq) ProtoMessage() {} -func (*QueryOperatorInfoReq) Descriptor() ([]byte, []int) { - return fileDescriptor_aab345e1cf20490c, []int{4} -} -func (m *QueryOperatorInfoReq) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *QueryOperatorInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_QueryOperatorInfoReq.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 *QueryOperatorInfoReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryOperatorInfoReq.Merge(m, src) -} -func (m *QueryOperatorInfoReq) XXX_Size() int { - return m.Size() -} -func (m *QueryOperatorInfoReq) XXX_DiscardUnknown() { - xxx_messageInfo_QueryOperatorInfoReq.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryOperatorInfoReq proto.InternalMessageInfo - -func (m *QueryOperatorInfoReq) GetOperatorAddr() string { - if m != nil { - return m.OperatorAddr - } - return "" -} - func init() { proto.RegisterType((*DelegationInfoReq)(nil), "exocore.delegation.v1.DelegationInfoReq") proto.RegisterType((*DelegationAmounts)(nil), "exocore.delegation.v1.DelegationAmounts") proto.RegisterType((*QueryDelegationInfoResponse)(nil), "exocore.delegation.v1.QueryDelegationInfoResponse") proto.RegisterMapType((map[string]*DelegationAmounts)(nil), "exocore.delegation.v1.QueryDelegationInfoResponse.DelegationInfosEntry") proto.RegisterType((*SingleDelegationInfoReq)(nil), "exocore.delegation.v1.SingleDelegationInfoReq") - proto.RegisterType((*QueryOperatorInfoReq)(nil), "exocore.delegation.v1.QueryOperatorInfoReq") } func init() { proto.RegisterFile("exocore/delegation/v1/query.proto", fileDescriptor_aab345e1cf20490c) } var fileDescriptor_aab345e1cf20490c = []byte{ - // 667 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4d, 0x4f, 0x13, 0x4f, - 0x1c, 0xee, 0x6e, 0xc3, 0x1f, 0x18, 0xf8, 0x47, 0x1c, 0x2a, 0x94, 0x62, 0x5a, 0xdc, 0x03, 0xa9, - 0x24, 0xec, 0x4a, 0xd5, 0xc4, 0x18, 0x31, 0x81, 0x94, 0x90, 0xbd, 0x60, 0xdc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, 0x29, 0xb7, 0x00, 0x1f, 0x0c, 0x90, 0x3b, 0x50, 0xd8, 0xfa, 0xd6, 0x49, 0x2b, 0xab, - 0x9d, 0xb6, 0xb2, 0xda, 0xd7, 0x56, 0x56, 0x7b, 0x7b, 0x9e, 0x4d, 0x9c, 0x9e, 0x67, 0x13, 0x9f, - 0xcf, 0xb3, 0x89, 0x57, 0x8f, 0x3a, 0x4e, 0x77, 0x23, 0x46, 0xdd, 0xc2, 0xe2, 0x90, 0xb2, 0xca, - 0x05, 0xc9, 0x51, 0x27, 0x8d, 0x3c, 0xe6, 0x9d, 0xff, 0xe4, 0x07, 0xe2, 0xe1, 0xef, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xa3, 0xe7, 0x09, 0xae, 0xc8, 0x06, 0x00, 0x00, + // 652 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xee, 0x6e, 0x83, 0xc0, 0x80, 0x11, 0x87, 0x0a, 0xa5, 0x98, 0x2d, 0xee, 0x81, 0x54, 0x12, + 0x76, 0xa5, 0x6a, 0x62, 0x8c, 0x98, 0x40, 0x4a, 0xc8, 0x5e, 0x48, 0xdc, 0xc6, 0x8b, 0x97, 0xcd, + 0xc0, 0x4e, 0x97, 0x4d, 0x97, 0x99, 0x32, 0x33, 0x2d, 0xf4, 0xea, 0xc9, 0xa3, 0x89, 0xff, 0x85, + 0x5e, 0x3c, 0xf0, 0x47, 0x70, 0x24, 0x78, 0x31, 0x1e, 0x1a, 0x53, 0x4c, 0x3c, 0x78, 0x34, 0xf1, + 0x6c, 0x76, 0x76, 0x80, 0xb6, 0x76, 0xfd, 0x11, 0x39, 0xed, 0xee, 0xfb, 0xf1, 0x7d, 0xef, 0x7d, + 0xef, 0xbd, 0x05, 0x77, 0xf0, 0x21, 0xdd, 0xa1, 0x0c, 0xdb, 0x3e, 0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reference imports to suppress errors if they are not otherwise used. @@ -662,36 +614,6 @@ func (m *SingleDelegationInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryOperatorInfoReq) 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 *QueryOperatorInfoReq) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryOperatorInfoReq) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.OperatorAddr) > 0 { - i -= len(m.OperatorAddr) - copy(dAtA[i:], m.OperatorAddr) - i = encodeVarintQuery(dAtA, i, uint64(len(m.OperatorAddr))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -780,19 +702,6 @@ func (m *SingleDelegationInfoReq) Size() (n int) { return n } -func (m *QueryOperatorInfoReq) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.OperatorAddr) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -1424,88 +1333,6 @@ func (m *SingleDelegationInfoReq) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryOperatorInfoReq) 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 ErrIntOverflowQuery - } - 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: QueryOperatorInfoReq: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryOperatorInfoReq: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OperatorAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/delegation/types/tx.pb.go b/x/delegation/types/tx.pb.go index 030d187a4..d9d9b36a2 100644 --- a/x/delegation/types/tx.pb.go +++ b/x/delegation/types/tx.pb.go @@ -128,221 +128,6 @@ func (m *DelegatedSingleAssetInfo) GetPerOperatorAmounts() map[string]*ValueFiel return nil } -// ClientChainEarningAddrList is the list of client chain earning addresses. -type ClientChainEarningAddrList struct { - // earning_info_list is the contents of ClientChainEarningAddrList. - EarningInfoList []*ClientChainEarningAddrInfo `protobuf:"bytes,1,rep,name=earning_info_list,json=earningInfoList,proto3" json:"earning_info_list,omitempty"` -} - -func (m *ClientChainEarningAddrList) Reset() { *m = ClientChainEarningAddrList{} } -func (m *ClientChainEarningAddrList) String() string { return proto.CompactTextString(m) } -func (*ClientChainEarningAddrList) ProtoMessage() {} -func (*ClientChainEarningAddrList) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{2} -} -func (m *ClientChainEarningAddrList) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ClientChainEarningAddrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ClientChainEarningAddrList.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 *ClientChainEarningAddrList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientChainEarningAddrList.Merge(m, src) -} -func (m *ClientChainEarningAddrList) XXX_Size() int { - return m.Size() -} -func (m *ClientChainEarningAddrList) XXX_DiscardUnknown() { - xxx_messageInfo_ClientChainEarningAddrList.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientChainEarningAddrList proto.InternalMessageInfo - -func (m *ClientChainEarningAddrList) GetEarningInfoList() []*ClientChainEarningAddrInfo { - if m != nil { - return m.EarningInfoList - } - return nil -} - -// ClientChainEarningAddrInfo is the client chain earning address info. -type ClientChainEarningAddrInfo struct { - // lz_client_chain_id is the layer0 client chain id. - LzClientChainID uint64 `protobuf:"varint,1,opt,name=lz_client_chain_id,json=lzClientChainId,proto3" json:"lz_client_chain_id,omitempty"` - // client_chain_earning_addr is the client chain earning address. - ClientChainEarningAddr string `protobuf:"bytes,2,opt,name=client_chain_earning_addr,json=clientChainEarningAddr,proto3" json:"client_chain_earning_addr,omitempty"` -} - -func (m *ClientChainEarningAddrInfo) Reset() { *m = ClientChainEarningAddrInfo{} } -func (m *ClientChainEarningAddrInfo) String() string { return proto.CompactTextString(m) } -func (*ClientChainEarningAddrInfo) ProtoMessage() {} -func (*ClientChainEarningAddrInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{3} -} -func (m *ClientChainEarningAddrInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ClientChainEarningAddrInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ClientChainEarningAddrInfo.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 *ClientChainEarningAddrInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClientChainEarningAddrInfo.Merge(m, src) -} -func (m *ClientChainEarningAddrInfo) XXX_Size() int { - return m.Size() -} -func (m *ClientChainEarningAddrInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ClientChainEarningAddrInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ClientChainEarningAddrInfo proto.InternalMessageInfo - -func (m *ClientChainEarningAddrInfo) GetLzClientChainID() uint64 { - if m != nil { - return m.LzClientChainID - } - return 0 -} - -func (m *ClientChainEarningAddrInfo) GetClientChainEarningAddr() string { - if m != nil { - return m.ClientChainEarningAddr - } - return "" -} - -// OperatorInfo is the operator info. -type OperatorInfo struct { - // earnings_addr is the earnings address. - EarningsAddr string `protobuf:"bytes,1,opt,name=earnings_addr,json=earningsAddr,proto3" json:"earnings_addr,omitempty"` - // approve_addr is the approve address. - ApproveAddr string `protobuf:"bytes,2,opt,name=approve_addr,json=approveAddr,proto3" json:"approve_addr,omitempty"` - // operator_meta_info is the operator meta info. - OperatorMetaInfo string `protobuf:"bytes,3,opt,name=operator_meta_info,json=operatorMetaInfo,proto3" json:"operator_meta_info,omitempty"` - // client_chain_earning_addr_list is the client chain earning address list. - ClientChainEarningsAddr *ClientChainEarningAddrList `protobuf:"bytes,4,opt,name=client_chain_earnings_addr,json=clientChainEarningsAddr,proto3" json:"client_chain_earnings_addr,omitempty"` -} - -func (m *OperatorInfo) Reset() { *m = OperatorInfo{} } -func (m *OperatorInfo) String() string { return proto.CompactTextString(m) } -func (*OperatorInfo) ProtoMessage() {} -func (*OperatorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{4} -} -func (m *OperatorInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *OperatorInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_OperatorInfo.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 *OperatorInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorInfo.Merge(m, src) -} -func (m *OperatorInfo) XXX_Size() int { - return m.Size() -} -func (m *OperatorInfo) XXX_DiscardUnknown() { - xxx_messageInfo_OperatorInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_OperatorInfo proto.InternalMessageInfo - -func (m *OperatorInfo) GetEarningsAddr() string { - if m != nil { - return m.EarningsAddr - } - return "" -} - -func (m *OperatorInfo) GetApproveAddr() string { - if m != nil { - return m.ApproveAddr - } - return "" -} - -func (m *OperatorInfo) GetOperatorMetaInfo() string { - if m != nil { - return m.OperatorMetaInfo - } - return "" -} - -func (m *OperatorInfo) GetClientChainEarningsAddr() *ClientChainEarningAddrList { - if m != nil { - return m.ClientChainEarningsAddr - } - return nil -} - -// RegisterOperatorReq is the request to register a new operator. -type RegisterOperatorReq struct { - // from_address is the address of the operator (sdk.AccAddress). - FromAddress string `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` - // info is the operator info. - Info *OperatorInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` -} - -func (m *RegisterOperatorReq) Reset() { *m = RegisterOperatorReq{} } -func (m *RegisterOperatorReq) String() string { return proto.CompactTextString(m) } -func (*RegisterOperatorReq) ProtoMessage() {} -func (*RegisterOperatorReq) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{5} -} -func (m *RegisterOperatorReq) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RegisterOperatorReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RegisterOperatorReq.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 *RegisterOperatorReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterOperatorReq.Merge(m, src) -} -func (m *RegisterOperatorReq) XXX_Size() int { - return m.Size() -} -func (m *RegisterOperatorReq) XXX_DiscardUnknown() { - xxx_messageInfo_RegisterOperatorReq.DiscardUnknown(m) -} - -var xxx_messageInfo_RegisterOperatorReq proto.InternalMessageInfo - // DelegationApproveInfo is the delegation approve info. type DelegationApproveInfo struct { // signature of the delegation approve info. @@ -355,7 +140,7 @@ func (m *DelegationApproveInfo) Reset() { *m = DelegationApproveInfo{} } func (m *DelegationApproveInfo) String() string { return proto.CompactTextString(m) } func (*DelegationApproveInfo) ProtoMessage() {} func (*DelegationApproveInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{6} + return fileDescriptor_16596a15a828f109, []int{2} } func (m *DelegationApproveInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -398,43 +183,6 @@ func (m *DelegationApproveInfo) GetSalt() string { return "" } -// RegisterOperatorResponse is the response to a register operator request. -type RegisterOperatorResponse struct { -} - -func (m *RegisterOperatorResponse) Reset() { *m = RegisterOperatorResponse{} } -func (m *RegisterOperatorResponse) String() string { return proto.CompactTextString(m) } -func (*RegisterOperatorResponse) ProtoMessage() {} -func (*RegisterOperatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{7} -} -func (m *RegisterOperatorResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RegisterOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RegisterOperatorResponse.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 *RegisterOperatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegisterOperatorResponse.Merge(m, src) -} -func (m *RegisterOperatorResponse) XXX_Size() int { - return m.Size() -} -func (m *RegisterOperatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RegisterOperatorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RegisterOperatorResponse proto.InternalMessageInfo - // DelegationIncOrDecInfo is the delegation increase or decrease info. type DelegationIncOrDecInfo struct { // from_address is the staker address @@ -447,7 +195,7 @@ func (m *DelegationIncOrDecInfo) Reset() { *m = DelegationIncOrDecInfo{} func (m *DelegationIncOrDecInfo) String() string { return proto.CompactTextString(m) } func (*DelegationIncOrDecInfo) ProtoMessage() {} func (*DelegationIncOrDecInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{8} + return fileDescriptor_16596a15a828f109, []int{3} } func (m *DelegationIncOrDecInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -488,7 +236,7 @@ func (m *MsgDelegation) Reset() { *m = MsgDelegation{} } func (m *MsgDelegation) String() string { return proto.CompactTextString(m) } func (*MsgDelegation) ProtoMessage() {} func (*MsgDelegation) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{9} + return fileDescriptor_16596a15a828f109, []int{4} } func (m *MsgDelegation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -561,7 +309,7 @@ func (m *UndelegationRecord) Reset() { *m = UndelegationRecord{} } func (m *UndelegationRecord) String() string { return proto.CompactTextString(m) } func (*UndelegationRecord) ProtoMessage() {} func (*UndelegationRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{10} + return fileDescriptor_16596a15a828f109, []int{5} } func (m *UndelegationRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -656,7 +404,7 @@ func (m *UndelegationRecordKeyList) Reset() { *m = UndelegationRecordKey func (m *UndelegationRecordKeyList) String() string { return proto.CompactTextString(m) } func (*UndelegationRecordKeyList) ProtoMessage() {} func (*UndelegationRecordKeyList) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{11} + return fileDescriptor_16596a15a828f109, []int{6} } func (m *UndelegationRecordKeyList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -700,7 +448,7 @@ func (m *DelegationResponse) Reset() { *m = DelegationResponse{} } func (m *DelegationResponse) String() string { return proto.CompactTextString(m) } func (*DelegationResponse) ProtoMessage() {} func (*DelegationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{12} + return fileDescriptor_16596a15a828f109, []int{7} } func (m *DelegationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -739,7 +487,7 @@ func (m *MsgUndelegation) Reset() { *m = MsgUndelegation{} } func (m *MsgUndelegation) String() string { return proto.CompactTextString(m) } func (*MsgUndelegation) ProtoMessage() {} func (*MsgUndelegation) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{13} + return fileDescriptor_16596a15a828f109, []int{8} } func (m *MsgUndelegation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -783,7 +531,7 @@ func (m *UndelegationResponse) Reset() { *m = UndelegationResponse{} } func (m *UndelegationResponse) String() string { return proto.CompactTextString(m) } func (*UndelegationResponse) ProtoMessage() {} func (*UndelegationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_16596a15a828f109, []int{14} + return fileDescriptor_16596a15a828f109, []int{9} } func (m *UndelegationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -816,12 +564,7 @@ func init() { proto.RegisterType((*ValueField)(nil), "exocore.delegation.v1.ValueField") proto.RegisterType((*DelegatedSingleAssetInfo)(nil), "exocore.delegation.v1.DelegatedSingleAssetInfo") proto.RegisterMapType((map[string]*ValueField)(nil), "exocore.delegation.v1.DelegatedSingleAssetInfo.PerOperatorAmountsEntry") - proto.RegisterType((*ClientChainEarningAddrList)(nil), "exocore.delegation.v1.ClientChainEarningAddrList") - proto.RegisterType((*ClientChainEarningAddrInfo)(nil), "exocore.delegation.v1.ClientChainEarningAddrInfo") - proto.RegisterType((*OperatorInfo)(nil), "exocore.delegation.v1.OperatorInfo") - proto.RegisterType((*RegisterOperatorReq)(nil), "exocore.delegation.v1.RegisterOperatorReq") proto.RegisterType((*DelegationApproveInfo)(nil), "exocore.delegation.v1.DelegationApproveInfo") - proto.RegisterType((*RegisterOperatorResponse)(nil), "exocore.delegation.v1.RegisterOperatorResponse") proto.RegisterType((*DelegationIncOrDecInfo)(nil), "exocore.delegation.v1.DelegationIncOrDecInfo") proto.RegisterMapType((map[string]*ValueField)(nil), "exocore.delegation.v1.DelegationIncOrDecInfo.PerOperatorAmountsEntry") proto.RegisterType((*MsgDelegation)(nil), "exocore.delegation.v1.MsgDelegation") @@ -835,82 +578,67 @@ func init() { func init() { proto.RegisterFile("exocore/delegation/v1/tx.proto", fileDescriptor_16596a15a828f109) } var fileDescriptor_16596a15a828f109 = []byte{ - // 1187 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0xf7, 0xc6, 0x69, 0x62, 0x3f, 0x3b, 0x4a, 0x3b, 0x75, 0x62, 0xc7, 0x80, 0xdd, 0x6e, 0xa1, - 0x6a, 0x4b, 0x63, 0xab, 0xa1, 0xa2, 0x50, 0x40, 0x22, 0x89, 0x53, 0x30, 0x34, 0x69, 0xd9, 0x04, - 0x0e, 0x48, 0xd5, 0x6a, 0xbd, 0x3b, 0x59, 0x2f, 0x5e, 0xcf, 0x98, 0x9d, 0x71, 0x6a, 0x87,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0xdd, 0xc0, 0xfc, 0x21, 0xf5, 0x5a, 0xd5, 0xf0, 0xc7, 0x40, 0x2f, 0xfe, 0x73, 0x40, 0x34, 0x4b, - 0x63, 0x4a, 0xbc, 0xcd, 0xdf, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x48, 0x50, 0x09, 0xb1, 0x31, - 0x0c, 0x00, 0x00, + // 959 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x41, 0x6f, 0xe3, 0x44, + 0x14, 0x8e, 0x9b, 0xb6, 0x49, 0x5e, 0x52, 0x01, 0x43, 0xda, 0xa4, 0x01, 0x92, 0xae, 0x05, 0x55, + 0xb6, 0xd0, 0x44, 0x1b, 0x10, 0xa0, 0x05, 0x0e, 0x29, 0xe9, 0x42, 0x80, 0x76, 0x17, 0xb7, 0x70, + 0x40, 0x42, 0x96, 0x63, 0x4f, 0x1d, 0x13, 0xdb, 0x63, 0xcd, 0x4c, 0xba, 0xc9, 0x9e, 0x10, 0x27, + 0xc4, 0x89, 0x3b, 0x97, 0xe5, 0x0f, 0xa0, 0x1e, 0xf6, 0x47, 0xec, 0x71, 0xb5, 0x27, 0xc4, 0xa1, + 0x42, 0xe9, 0xa1, 0x1c, 0xf8, 0x09, 0x1c, 0x90, 0x67, 0xec, 0xc4, 0x65, 0x37, 0x5b, 0x21, 0xf5, + 0xb0, 0x97, 0xc4, 0xf3, 0xde, 0x9b, 0xef, 0x7b, 0x6f, 0xbe, 0xe7, 0xe7, 0x81, 0x2a, 0x1e, 0x11, + 0x93, 0x50, 0xdc, 0xb4, 0xb0, 0x8b, 0x6d, 0x83, 0x3b, 0xc4, 0x6f, 0x1e, 0xdf, 0x68, 0xf2, 0x51, + 0x23, 0xa0, 0x84, 0x13, 0xb4, 0x1a, 0xf9, 0x1b, 0x33, 0x7f, 0xe3, 0xf8, 0x46, 0xe5, 0x25, 0xc3, + 0x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0xf3, 0xf9, 0x92, 0x25, 0x54, 0xde, + 0x9c, 0x13, 0xf7, 0xb4, 0x3a, 0x2b, 0x4b, 0xdf, 0x9f, 0x9f, 0x6c, 0x29, 0x3b, 0xfb, 0x0f, 0x27, + 0x55, 0xe5, 0xd1, 0xa4, 0xaa, 0xfc, 0x39, 0xa9, 0x2a, 0x3f, 0x9f, 0x55, 0x53, 0x8f, 0xce, 0xaa, + 0xa9, 0xdf, 0xcf, 0xaa, 0xa9, 0x6f, 0xde, 0x49, 0xb4, 0xc6, 0xae, 0xc4, 0xdd, 0xc7, 0xfc, 0x2e, + 0xa1, 0x83, 0x66, 0x7c, 0x39, 0x1a, 0x25, 0xaf, 0x47, 0xa2, 0x59, 0x7a, 0xcb, 0xe2, 0xae, 0xf2, + 0xf6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xd3, 0x67, 0x2f, 0x41, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1132,7 +860,7 @@ func (m *DelegatedSingleAssetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *ClientChainEarningAddrList) Marshal() (dAtA []byte, err error) { +func (m *DelegationApproveInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1142,34 +870,34 @@ func (m *ClientChainEarningAddrList) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ClientChainEarningAddrList) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegationApproveInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ClientChainEarningAddrList) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegationApproveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EarningInfoList) > 0 { - for iNdEx := len(m.EarningInfoList) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.EarningInfoList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.Salt) > 0 { + i -= len(m.Salt) + copy(dAtA[i:], m.Salt) + i = encodeVarintTx(dAtA, i, uint64(len(m.Salt))) + i-- + dAtA[i] = 0x12 + } + if len(m.Signature) > 0 { + i -= len(m.Signature) + copy(dAtA[i:], m.Signature) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signature))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ClientChainEarningAddrInfo) Marshal() (dAtA []byte, err error) { +func (m *DelegationIncOrDecInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1179,32 +907,53 @@ func (m *ClientChainEarningAddrInfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ClientChainEarningAddrInfo) MarshalTo(dAtA []byte) (int, error) { +func (m *DelegationIncOrDecInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ClientChainEarningAddrInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DelegationIncOrDecInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ClientChainEarningAddr) > 0 { - i -= len(m.ClientChainEarningAddr) - copy(dAtA[i:], m.ClientChainEarningAddr) - i = encodeVarintTx(dAtA, i, uint64(len(m.ClientChainEarningAddr))) - i-- - dAtA[i] = 0x12 + if len(m.PerOperatorAmounts) > 0 { + for k := range m.PerOperatorAmounts { + v := m.PerOperatorAmounts[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintTx(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintTx(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } } - if m.LzClientChainID != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.LzClientChainID)) + if len(m.FromAddress) > 0 { + i -= len(m.FromAddress) + copy(dAtA[i:], m.FromAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.FromAddress))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *OperatorInfo) Marshal() (dAtA []byte, err error) { +func (m *MsgDelegation) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1214,19 +963,19 @@ func (m *OperatorInfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *OperatorInfo) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgDelegation) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *OperatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ClientChainEarningsAddr != nil { + if m.ApprovedInfo != nil { { - size, err := m.ClientChainEarningsAddr.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ApprovedInfo.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1234,33 +983,24 @@ func (m *OperatorInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintTx(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 - } - if len(m.OperatorMetaInfo) > 0 { - i -= len(m.OperatorMetaInfo) - copy(dAtA[i:], m.OperatorMetaInfo) - i = encodeVarintTx(dAtA, i, uint64(len(m.OperatorMetaInfo))) - i-- - dAtA[i] = 0x1a - } - if len(m.ApproveAddr) > 0 { - i -= len(m.ApproveAddr) - copy(dAtA[i:], m.ApproveAddr) - i = encodeVarintTx(dAtA, i, uint64(len(m.ApproveAddr))) - i-- dAtA[i] = 0x12 } - if len(m.EarningsAddr) > 0 { - i -= len(m.EarningsAddr) - copy(dAtA[i:], m.EarningsAddr) - i = encodeVarintTx(dAtA, i, uint64(len(m.EarningsAddr))) + if m.BaseInfo != nil { + { + size, err := m.BaseInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RegisterOperatorReq) Marshal() (dAtA []byte, err error) { +func (m *UndelegationRecord) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1270,228 +1010,23 @@ func (m *RegisterOperatorReq) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RegisterOperatorReq) MarshalTo(dAtA []byte) (int, error) { +func (m *UndelegationRecord) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RegisterOperatorReq) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UndelegationRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Info != nil { - { - size, err := m.Info.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) + { + size := m.ActualCompletedAmount.Size() + i -= size + if _, err := m.ActualCompletedAmount.MarshalTo(dAtA[i:]); err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 - } - if len(m.FromAddress) > 0 { - i -= len(m.FromAddress) - copy(dAtA[i:], m.FromAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.FromAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DelegationApproveInfo) 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 *DelegationApproveInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DelegationApproveInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Salt) > 0 { - i -= len(m.Salt) - copy(dAtA[i:], m.Salt) - i = encodeVarintTx(dAtA, i, uint64(len(m.Salt))) - i-- - dAtA[i] = 0x12 - } - if len(m.Signature) > 0 { - i -= len(m.Signature) - copy(dAtA[i:], m.Signature) - i = encodeVarintTx(dAtA, i, uint64(len(m.Signature))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *RegisterOperatorResponse) 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 *RegisterOperatorResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RegisterOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *DelegationIncOrDecInfo) 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 *DelegationIncOrDecInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DelegationIncOrDecInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PerOperatorAmounts) > 0 { - for k := range m.PerOperatorAmounts { - v := m.PerOperatorAmounts[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintTx(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintTx(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - } - } - if len(m.FromAddress) > 0 { - i -= len(m.FromAddress) - copy(dAtA[i:], m.FromAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.FromAddress))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgDelegation) 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 *MsgDelegation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.ApprovedInfo != nil { - { - size, err := m.ApprovedInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.BaseInfo != nil { - { - size, err := m.BaseInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *UndelegationRecord) 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 *UndelegationRecord) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *UndelegationRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size := m.ActualCompletedAmount.Size() - i -= size - if _, err := m.ActualCompletedAmount.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) + i = encodeVarintTx(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x52 @@ -1724,79 +1259,6 @@ func (m *DelegatedSingleAssetInfo) Size() (n int) { return n } -func (m *ClientChainEarningAddrList) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.EarningInfoList) > 0 { - for _, e := range m.EarningInfoList { - l = e.Size() - n += 1 + l + sovTx(uint64(l)) - } - } - return n -} - -func (m *ClientChainEarningAddrInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.LzClientChainID != 0 { - n += 1 + sovTx(uint64(m.LzClientChainID)) - } - l = len(m.ClientChainEarningAddr) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *OperatorInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EarningsAddr) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.ApproveAddr) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.OperatorMetaInfo) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.ClientChainEarningsAddr != nil { - l = m.ClientChainEarningsAddr.Size() - n += 1 + l + sovTx(uint64(l)) - } - return n -} - -func (m *RegisterOperatorReq) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FromAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.Info != nil { - l = m.Info.Size() - n += 1 + l + sovTx(uint64(l)) - } - return n -} - func (m *DelegationApproveInfo) Size() (n int) { if m == nil { return 0 @@ -1814,15 +1276,6 @@ func (m *DelegationApproveInfo) Size() (n int) { return n } -func (m *RegisterOperatorResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - func (m *DelegationIncOrDecInfo) Size() (n int) { if m == nil { return 0 @@ -2288,491 +1741,6 @@ func (m *DelegatedSingleAssetInfo) Unmarshal(dAtA []byte) error { } return nil } -func (m *ClientChainEarningAddrList) 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: ClientChainEarningAddrList: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ClientChainEarningAddrList: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EarningInfoList", 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.EarningInfoList = append(m.EarningInfoList, &ClientChainEarningAddrInfo{}) - if err := m.EarningInfoList[len(m.EarningInfoList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ClientChainEarningAddrInfo) 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: ClientChainEarningAddrInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ClientChainEarningAddrInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LzClientChainID", wireType) - } - m.LzClientChainID = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LzClientChainID |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClientChainEarningAddr", 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.ClientChainEarningAddr = 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 *OperatorInfo) 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: OperatorInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: OperatorInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EarningsAddr", 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.EarningsAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproveAddr", 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.ApproveAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatorMetaInfo", 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.OperatorMetaInfo = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClientChainEarningsAddr", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ClientChainEarningsAddr == nil { - m.ClientChainEarningsAddr = &ClientChainEarningAddrList{} - } - if err := m.ClientChainEarningsAddr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RegisterOperatorReq) 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: RegisterOperatorReq: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RegisterOperatorReq: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FromAddress", 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.FromAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = &OperatorInfo{} - } - if err := m.Info.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *DelegationApproveInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2887,56 +1855,6 @@ func (m *DelegationApproveInfo) Unmarshal(dAtA []byte) error { } return nil } -func (m *RegisterOperatorResponse) 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: RegisterOperatorResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RegisterOperatorResponse: 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 *DelegationIncOrDecInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0