|
|
|
@ -545,6 +545,86 @@ func (m *QueryGetLockedUsersResponse) GetLockedUsers() LockedUsers {
|
|
|
|
|
return LockedUsers{}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type QueryLockedFundsRequest struct {
|
|
|
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsRequest) Reset() { *m = QueryLockedFundsRequest{} }
|
|
|
|
|
func (m *QueryLockedFundsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryLockedFundsRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryLockedFundsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_7b40a5389bf6a896, []int{12}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryLockedFundsRequest.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 *QueryLockedFundsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryLockedFundsRequest.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsRequest) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsRequest) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryLockedFundsRequest.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryLockedFundsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsRequest) GetOwner() string {
|
|
|
|
|
if m != nil {
|
|
|
|
|
return m.Owner
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type QueryLockedFundsResponse struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsResponse) Reset() { *m = QueryLockedFundsResponse{} }
|
|
|
|
|
func (m *QueryLockedFundsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryLockedFundsResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryLockedFundsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_7b40a5389bf6a896, []int{13}
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryLockedFundsResponse.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 *QueryLockedFundsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryLockedFundsResponse.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsResponse) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsResponse) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryLockedFundsResponse.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryLockedFundsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*QueryParamsRequest)(nil), "colinear.colinearcore.QueryParamsRequest")
|
|
|
|
|
proto.RegisterType((*QueryParamsResponse)(nil), "colinear.colinearcore.QueryParamsResponse")
|
|
|
|
@ -558,55 +638,60 @@ func init() {
|
|
|
|
|
proto.RegisterType((*QueryAuctionBidsResponse)(nil), "colinear.colinearcore.QueryAuctionBidsResponse")
|
|
|
|
|
proto.RegisterType((*QueryGetLockedUsersRequest)(nil), "colinear.colinearcore.QueryGetLockedUsersRequest")
|
|
|
|
|
proto.RegisterType((*QueryGetLockedUsersResponse)(nil), "colinear.colinearcore.QueryGetLockedUsersResponse")
|
|
|
|
|
proto.RegisterType((*QueryLockedFundsRequest)(nil), "colinear.colinearcore.QueryLockedFundsRequest")
|
|
|
|
|
proto.RegisterType((*QueryLockedFundsResponse)(nil), "colinear.colinearcore.QueryLockedFundsResponse")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("colinearcore/query.proto", fileDescriptor_7b40a5389bf6a896) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_7b40a5389bf6a896 = []byte{
|
|
|
|
|
// 675 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x3d, 0x6f, 0xd3, 0x40,
|
|
|
|
|
0x1c, 0xc6, 0x73, 0xa5, 0x2f, 0xe2, 0xba, 0x1d, 0xa5, 0x14, 0xd3, 0xba, 0x70, 0x05, 0x4a, 0x03,
|
|
|
|
|
0xf8, 0x94, 0x30, 0x74, 0x40, 0x42, 0x6a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36, 0x89, 0x45, 0xde, 0x0a, 0xc7, 0xbe,
|
|
|
|
|
0x43, 0x9f, 0x01, 0x84, 0x72, 0xcf, 0x8e, 0xef, 0x97, 0x13, 0xe6, 0xae, 0x83, 0x72, 0xc2, 0x7c,
|
|
|
|
|
0xb4, 0x71, 0x5d, 0x10, 0xde, 0x44, 0xb8, 0x9a, 0x10, 0xfd, 0x00, 0x70, 0x51, 0x09, 0x12, 0x2a,
|
|
|
|
|
0xd7, 0xca, 0x45, 0xd4, 0x20, 0x53, 0xf7, 0x4b, 0xb8, 0x6d, 0x01, 0xd7, 0x40, 0xa4, 0x1a, 0xae,
|
|
|
|
|
0x3d, 0x8a, 0xe8, 0xf8, 0x1d, 0x7e, 0x05, 0x5a, 0xdc, 0x2a, 0xad, 0x98, 0xcf, 0x73, 0xa5, 0x15,
|
|
|
|
|
0x0b, 0x42, 0x8e, 0xef, 0x0a, 0xde, 0x5b, 0x68, 0x63, 0x8c, 0x48, 0x26, 0x7e, 0x56, 0x5b, 0xdb,
|
|
|
|
|
0xc7, 0x03, 0x13, 0x9c, 0x0c, 0x4c, 0xf0, 0x77, 0x60, 0x82, 0x8f, 0x43, 0xb3, 0x76, 0x32, 0x34,
|
|
|
|
|
0x6b, 0xbf, 0x87, 0x66, 0xed, 0xe5, 0xda, 0x78, 0xba, 0xaf, 0xcf, 0x27, 0x47, 0x21, 0x8b, 0x3b,
|
|
|
|
|
0xf3, 0xe2, 0x83, 0xfc, 0xe0, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0xf1, 0xb6, 0x7a, 0xb4,
|
|
|
|
|
0x08, 0x00, 0x00,
|
|
|
|
|
// 735 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xcf, 0x4f, 0xd4, 0x40,
|
|
|
|
|
0x14, 0xc7, 0x77, 0x90, 0x1f, 0x3a, 0xdc, 0x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e0, 0xcf, 0xb1, 0x0d, 0x3e, 0x9c, 0xd8, 0x95, 0xa3, 0x13, 0xbb, 0xf2, 0xeb, 0xc4, 0xae,
|
|
|
|
|
0xbc, 0x98, 0xe9, 0x57, 0xe9, 0x99, 0x75, 0xe2, 0xbd, 0x80, 0x45, 0xcd, 0x51, 0xf1, 0x1f, 0x64,
|
|
|
|
|
0xf9, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x24, 0x22, 0xec, 0xa7, 0x09, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@ -633,6 +718,8 @@ type QueryClient interface {
|
|
|
|
|
AuctionBids(ctx context.Context, in *QueryAuctionBidsRequest, opts ...grpc.CallOption) (*QueryAuctionBidsResponse, error)
|
|
|
|
|
// Queries a LockedUsers by index.
|
|
|
|
|
LockedUsers(ctx context.Context, in *QueryGetLockedUsersRequest, opts ...grpc.CallOption) (*QueryGetLockedUsersResponse, error)
|
|
|
|
|
// Queries a list of LockedFunds items.
|
|
|
|
|
LockedFunds(ctx context.Context, in *QueryLockedFundsRequest, opts ...grpc.CallOption) (*QueryLockedFundsResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type queryClient struct {
|
|
|
|
@ -697,6 +784,15 @@ func (c *queryClient) LockedUsers(ctx context.Context, in *QueryGetLockedUsersRe
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *queryClient) LockedFunds(ctx context.Context, in *QueryLockedFundsRequest, opts ...grpc.CallOption) (*QueryLockedFundsResponse, error) {
|
|
|
|
|
out := new(QueryLockedFundsResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/colinear.colinearcore.Query/LockedFunds", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QueryServer is the server API for Query service.
|
|
|
|
|
type QueryServer interface {
|
|
|
|
|
// Parameters queries the parameters of the module.
|
|
|
|
@ -711,6 +807,8 @@ type QueryServer interface {
|
|
|
|
|
AuctionBids(context.Context, *QueryAuctionBidsRequest) (*QueryAuctionBidsResponse, error)
|
|
|
|
|
// Queries a LockedUsers by index.
|
|
|
|
|
LockedUsers(context.Context, *QueryGetLockedUsersRequest) (*QueryGetLockedUsersResponse, error)
|
|
|
|
|
// Queries a list of LockedFunds items.
|
|
|
|
|
LockedFunds(context.Context, *QueryLockedFundsRequest) (*QueryLockedFundsResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
|
|
|
|
@ -735,6 +833,9 @@ func (*UnimplementedQueryServer) AuctionBids(ctx context.Context, req *QueryAuct
|
|
|
|
|
func (*UnimplementedQueryServer) LockedUsers(ctx context.Context, req *QueryGetLockedUsersRequest) (*QueryGetLockedUsersResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LockedUsers not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedQueryServer) LockedFunds(ctx context.Context, req *QueryLockedFundsRequest) (*QueryLockedFundsResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method LockedFunds not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
|
|
|
|
|
s.RegisterService(&_Query_serviceDesc, srv)
|
|
|
|
@ -848,6 +949,24 @@ func _Query_LockedUsers_Handler(srv interface{}, ctx context.Context, dec func(i
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Query_LockedFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(QueryLockedFundsRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(QueryServer).LockedFunds(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/colinear.colinearcore.Query/LockedFunds",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(QueryServer).LockedFunds(ctx, req.(*QueryLockedFundsRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "colinear.colinearcore.Query",
|
|
|
|
|
HandlerType: (*QueryServer)(nil),
|
|
|
|
@ -876,6 +995,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "LockedUsers",
|
|
|
|
|
Handler: _Query_LockedUsers_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "LockedFunds",
|
|
|
|
|
Handler: _Query_LockedFunds_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "colinearcore/query.proto",
|
|
|
|
@ -1263,6 +1386,59 @@ func (m *QueryGetLockedUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, er
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsRequest) 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 *QueryLockedFundsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
if len(m.Owner) > 0 {
|
|
|
|
|
i -= len(m.Owner)
|
|
|
|
|
copy(dAtA[i:], m.Owner)
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(len(m.Owner)))
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
}
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsResponse) 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 *QueryLockedFundsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
|
|
|
|
|
offset -= sovQuery(v)
|
|
|
|
|
base := offset
|
|
|
|
@ -1418,6 +1594,28 @@ func (m *QueryGetLockedUsersResponse) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsRequest) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
l = len(m.Owner)
|
|
|
|
|
if l > 0 {
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
}
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryLockedFundsResponse) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func sovQuery(x uint64) (n int) {
|
|
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
|
|
|
}
|
|
|
|
@ -2360,6 +2558,138 @@ func (m *QueryGetLockedUsersResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
func (m *QueryLockedFundsRequest) 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: QueryLockedFundsRequest: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryLockedFundsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = 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 (m *QueryLockedFundsResponse) 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: QueryLockedFundsResponse: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryLockedFundsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
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
|
|
|
|
|