github.com/InjectiveLabs/sdk-go@v1.53.0/chain/peggy/types/query.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: injective/peggy/v1/query.proto 3 4 package types 5 6 import ( 7 context "context" 8 fmt "fmt" 9 _ "github.com/cosmos/gogoproto/gogoproto" 10 grpc1 "github.com/cosmos/gogoproto/grpc" 11 proto "github.com/cosmos/gogoproto/proto" 12 _ "google.golang.org/genproto/googleapis/api/annotations" 13 grpc "google.golang.org/grpc" 14 codes "google.golang.org/grpc/codes" 15 status "google.golang.org/grpc/status" 16 io "io" 17 math "math" 18 math_bits "math/bits" 19 ) 20 21 // Reference imports to suppress errors if they are not otherwise used. 22 var _ = proto.Marshal 23 var _ = fmt.Errorf 24 var _ = math.Inf 25 26 // This is a compile-time assertion to ensure that this generated file 27 // is compatible with the proto package it is being compiled against. 28 // A compilation error at this line likely means your copy of the 29 // proto package needs to be updated. 30 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 31 32 type QueryParamsRequest struct { 33 } 34 35 func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } 36 func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } 37 func (*QueryParamsRequest) ProtoMessage() {} 38 func (*QueryParamsRequest) Descriptor() ([]byte, []int) { 39 return fileDescriptor_702b8e5c1503495b, []int{0} 40 } 41 func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { 42 return m.Unmarshal(b) 43 } 44 func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 45 if deterministic { 46 return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) 47 } else { 48 b = b[:cap(b)] 49 n, err := m.MarshalToSizedBuffer(b) 50 if err != nil { 51 return nil, err 52 } 53 return b[:n], nil 54 } 55 } 56 func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { 57 xxx_messageInfo_QueryParamsRequest.Merge(m, src) 58 } 59 func (m *QueryParamsRequest) XXX_Size() int { 60 return m.Size() 61 } 62 func (m *QueryParamsRequest) XXX_DiscardUnknown() { 63 xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) 64 } 65 66 var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo 67 68 type QueryParamsResponse struct { 69 Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` 70 } 71 72 func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } 73 func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } 74 func (*QueryParamsResponse) ProtoMessage() {} 75 func (*QueryParamsResponse) Descriptor() ([]byte, []int) { 76 return fileDescriptor_702b8e5c1503495b, []int{1} 77 } 78 func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { 79 return m.Unmarshal(b) 80 } 81 func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 82 if deterministic { 83 return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) 84 } else { 85 b = b[:cap(b)] 86 n, err := m.MarshalToSizedBuffer(b) 87 if err != nil { 88 return nil, err 89 } 90 return b[:n], nil 91 } 92 } 93 func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { 94 xxx_messageInfo_QueryParamsResponse.Merge(m, src) 95 } 96 func (m *QueryParamsResponse) XXX_Size() int { 97 return m.Size() 98 } 99 func (m *QueryParamsResponse) XXX_DiscardUnknown() { 100 xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) 101 } 102 103 var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo 104 105 func (m *QueryParamsResponse) GetParams() Params { 106 if m != nil { 107 return m.Params 108 } 109 return Params{} 110 } 111 112 type QueryCurrentValsetRequest struct { 113 } 114 115 func (m *QueryCurrentValsetRequest) Reset() { *m = QueryCurrentValsetRequest{} } 116 func (m *QueryCurrentValsetRequest) String() string { return proto.CompactTextString(m) } 117 func (*QueryCurrentValsetRequest) ProtoMessage() {} 118 func (*QueryCurrentValsetRequest) Descriptor() ([]byte, []int) { 119 return fileDescriptor_702b8e5c1503495b, []int{2} 120 } 121 func (m *QueryCurrentValsetRequest) XXX_Unmarshal(b []byte) error { 122 return m.Unmarshal(b) 123 } 124 func (m *QueryCurrentValsetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 125 if deterministic { 126 return xxx_messageInfo_QueryCurrentValsetRequest.Marshal(b, m, deterministic) 127 } else { 128 b = b[:cap(b)] 129 n, err := m.MarshalToSizedBuffer(b) 130 if err != nil { 131 return nil, err 132 } 133 return b[:n], nil 134 } 135 } 136 func (m *QueryCurrentValsetRequest) XXX_Merge(src proto.Message) { 137 xxx_messageInfo_QueryCurrentValsetRequest.Merge(m, src) 138 } 139 func (m *QueryCurrentValsetRequest) XXX_Size() int { 140 return m.Size() 141 } 142 func (m *QueryCurrentValsetRequest) XXX_DiscardUnknown() { 143 xxx_messageInfo_QueryCurrentValsetRequest.DiscardUnknown(m) 144 } 145 146 var xxx_messageInfo_QueryCurrentValsetRequest proto.InternalMessageInfo 147 148 type QueryCurrentValsetResponse struct { 149 Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"` 150 } 151 152 func (m *QueryCurrentValsetResponse) Reset() { *m = QueryCurrentValsetResponse{} } 153 func (m *QueryCurrentValsetResponse) String() string { return proto.CompactTextString(m) } 154 func (*QueryCurrentValsetResponse) ProtoMessage() {} 155 func (*QueryCurrentValsetResponse) Descriptor() ([]byte, []int) { 156 return fileDescriptor_702b8e5c1503495b, []int{3} 157 } 158 func (m *QueryCurrentValsetResponse) XXX_Unmarshal(b []byte) error { 159 return m.Unmarshal(b) 160 } 161 func (m *QueryCurrentValsetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 162 if deterministic { 163 return xxx_messageInfo_QueryCurrentValsetResponse.Marshal(b, m, deterministic) 164 } else { 165 b = b[:cap(b)] 166 n, err := m.MarshalToSizedBuffer(b) 167 if err != nil { 168 return nil, err 169 } 170 return b[:n], nil 171 } 172 } 173 func (m *QueryCurrentValsetResponse) XXX_Merge(src proto.Message) { 174 xxx_messageInfo_QueryCurrentValsetResponse.Merge(m, src) 175 } 176 func (m *QueryCurrentValsetResponse) XXX_Size() int { 177 return m.Size() 178 } 179 func (m *QueryCurrentValsetResponse) XXX_DiscardUnknown() { 180 xxx_messageInfo_QueryCurrentValsetResponse.DiscardUnknown(m) 181 } 182 183 var xxx_messageInfo_QueryCurrentValsetResponse proto.InternalMessageInfo 184 185 func (m *QueryCurrentValsetResponse) GetValset() *Valset { 186 if m != nil { 187 return m.Valset 188 } 189 return nil 190 } 191 192 type QueryValsetRequestRequest struct { 193 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 194 } 195 196 func (m *QueryValsetRequestRequest) Reset() { *m = QueryValsetRequestRequest{} } 197 func (m *QueryValsetRequestRequest) String() string { return proto.CompactTextString(m) } 198 func (*QueryValsetRequestRequest) ProtoMessage() {} 199 func (*QueryValsetRequestRequest) Descriptor() ([]byte, []int) { 200 return fileDescriptor_702b8e5c1503495b, []int{4} 201 } 202 func (m *QueryValsetRequestRequest) XXX_Unmarshal(b []byte) error { 203 return m.Unmarshal(b) 204 } 205 func (m *QueryValsetRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 206 if deterministic { 207 return xxx_messageInfo_QueryValsetRequestRequest.Marshal(b, m, deterministic) 208 } else { 209 b = b[:cap(b)] 210 n, err := m.MarshalToSizedBuffer(b) 211 if err != nil { 212 return nil, err 213 } 214 return b[:n], nil 215 } 216 } 217 func (m *QueryValsetRequestRequest) XXX_Merge(src proto.Message) { 218 xxx_messageInfo_QueryValsetRequestRequest.Merge(m, src) 219 } 220 func (m *QueryValsetRequestRequest) XXX_Size() int { 221 return m.Size() 222 } 223 func (m *QueryValsetRequestRequest) XXX_DiscardUnknown() { 224 xxx_messageInfo_QueryValsetRequestRequest.DiscardUnknown(m) 225 } 226 227 var xxx_messageInfo_QueryValsetRequestRequest proto.InternalMessageInfo 228 229 func (m *QueryValsetRequestRequest) GetNonce() uint64 { 230 if m != nil { 231 return m.Nonce 232 } 233 return 0 234 } 235 236 type QueryValsetRequestResponse struct { 237 Valset *Valset `protobuf:"bytes,1,opt,name=valset,proto3" json:"valset,omitempty"` 238 } 239 240 func (m *QueryValsetRequestResponse) Reset() { *m = QueryValsetRequestResponse{} } 241 func (m *QueryValsetRequestResponse) String() string { return proto.CompactTextString(m) } 242 func (*QueryValsetRequestResponse) ProtoMessage() {} 243 func (*QueryValsetRequestResponse) Descriptor() ([]byte, []int) { 244 return fileDescriptor_702b8e5c1503495b, []int{5} 245 } 246 func (m *QueryValsetRequestResponse) XXX_Unmarshal(b []byte) error { 247 return m.Unmarshal(b) 248 } 249 func (m *QueryValsetRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 250 if deterministic { 251 return xxx_messageInfo_QueryValsetRequestResponse.Marshal(b, m, deterministic) 252 } else { 253 b = b[:cap(b)] 254 n, err := m.MarshalToSizedBuffer(b) 255 if err != nil { 256 return nil, err 257 } 258 return b[:n], nil 259 } 260 } 261 func (m *QueryValsetRequestResponse) XXX_Merge(src proto.Message) { 262 xxx_messageInfo_QueryValsetRequestResponse.Merge(m, src) 263 } 264 func (m *QueryValsetRequestResponse) XXX_Size() int { 265 return m.Size() 266 } 267 func (m *QueryValsetRequestResponse) XXX_DiscardUnknown() { 268 xxx_messageInfo_QueryValsetRequestResponse.DiscardUnknown(m) 269 } 270 271 var xxx_messageInfo_QueryValsetRequestResponse proto.InternalMessageInfo 272 273 func (m *QueryValsetRequestResponse) GetValset() *Valset { 274 if m != nil { 275 return m.Valset 276 } 277 return nil 278 } 279 280 type QueryValsetConfirmRequest struct { 281 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 282 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` 283 } 284 285 func (m *QueryValsetConfirmRequest) Reset() { *m = QueryValsetConfirmRequest{} } 286 func (m *QueryValsetConfirmRequest) String() string { return proto.CompactTextString(m) } 287 func (*QueryValsetConfirmRequest) ProtoMessage() {} 288 func (*QueryValsetConfirmRequest) Descriptor() ([]byte, []int) { 289 return fileDescriptor_702b8e5c1503495b, []int{6} 290 } 291 func (m *QueryValsetConfirmRequest) XXX_Unmarshal(b []byte) error { 292 return m.Unmarshal(b) 293 } 294 func (m *QueryValsetConfirmRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 295 if deterministic { 296 return xxx_messageInfo_QueryValsetConfirmRequest.Marshal(b, m, deterministic) 297 } else { 298 b = b[:cap(b)] 299 n, err := m.MarshalToSizedBuffer(b) 300 if err != nil { 301 return nil, err 302 } 303 return b[:n], nil 304 } 305 } 306 func (m *QueryValsetConfirmRequest) XXX_Merge(src proto.Message) { 307 xxx_messageInfo_QueryValsetConfirmRequest.Merge(m, src) 308 } 309 func (m *QueryValsetConfirmRequest) XXX_Size() int { 310 return m.Size() 311 } 312 func (m *QueryValsetConfirmRequest) XXX_DiscardUnknown() { 313 xxx_messageInfo_QueryValsetConfirmRequest.DiscardUnknown(m) 314 } 315 316 var xxx_messageInfo_QueryValsetConfirmRequest proto.InternalMessageInfo 317 318 func (m *QueryValsetConfirmRequest) GetNonce() uint64 { 319 if m != nil { 320 return m.Nonce 321 } 322 return 0 323 } 324 325 func (m *QueryValsetConfirmRequest) GetAddress() string { 326 if m != nil { 327 return m.Address 328 } 329 return "" 330 } 331 332 type QueryValsetConfirmResponse struct { 333 Confirm *MsgValsetConfirm `protobuf:"bytes,1,opt,name=confirm,proto3" json:"confirm,omitempty"` 334 } 335 336 func (m *QueryValsetConfirmResponse) Reset() { *m = QueryValsetConfirmResponse{} } 337 func (m *QueryValsetConfirmResponse) String() string { return proto.CompactTextString(m) } 338 func (*QueryValsetConfirmResponse) ProtoMessage() {} 339 func (*QueryValsetConfirmResponse) Descriptor() ([]byte, []int) { 340 return fileDescriptor_702b8e5c1503495b, []int{7} 341 } 342 func (m *QueryValsetConfirmResponse) XXX_Unmarshal(b []byte) error { 343 return m.Unmarshal(b) 344 } 345 func (m *QueryValsetConfirmResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 346 if deterministic { 347 return xxx_messageInfo_QueryValsetConfirmResponse.Marshal(b, m, deterministic) 348 } else { 349 b = b[:cap(b)] 350 n, err := m.MarshalToSizedBuffer(b) 351 if err != nil { 352 return nil, err 353 } 354 return b[:n], nil 355 } 356 } 357 func (m *QueryValsetConfirmResponse) XXX_Merge(src proto.Message) { 358 xxx_messageInfo_QueryValsetConfirmResponse.Merge(m, src) 359 } 360 func (m *QueryValsetConfirmResponse) XXX_Size() int { 361 return m.Size() 362 } 363 func (m *QueryValsetConfirmResponse) XXX_DiscardUnknown() { 364 xxx_messageInfo_QueryValsetConfirmResponse.DiscardUnknown(m) 365 } 366 367 var xxx_messageInfo_QueryValsetConfirmResponse proto.InternalMessageInfo 368 369 func (m *QueryValsetConfirmResponse) GetConfirm() *MsgValsetConfirm { 370 if m != nil { 371 return m.Confirm 372 } 373 return nil 374 } 375 376 type QueryValsetConfirmsByNonceRequest struct { 377 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 378 } 379 380 func (m *QueryValsetConfirmsByNonceRequest) Reset() { *m = QueryValsetConfirmsByNonceRequest{} } 381 func (m *QueryValsetConfirmsByNonceRequest) String() string { return proto.CompactTextString(m) } 382 func (*QueryValsetConfirmsByNonceRequest) ProtoMessage() {} 383 func (*QueryValsetConfirmsByNonceRequest) Descriptor() ([]byte, []int) { 384 return fileDescriptor_702b8e5c1503495b, []int{8} 385 } 386 func (m *QueryValsetConfirmsByNonceRequest) XXX_Unmarshal(b []byte) error { 387 return m.Unmarshal(b) 388 } 389 func (m *QueryValsetConfirmsByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 390 if deterministic { 391 return xxx_messageInfo_QueryValsetConfirmsByNonceRequest.Marshal(b, m, deterministic) 392 } else { 393 b = b[:cap(b)] 394 n, err := m.MarshalToSizedBuffer(b) 395 if err != nil { 396 return nil, err 397 } 398 return b[:n], nil 399 } 400 } 401 func (m *QueryValsetConfirmsByNonceRequest) XXX_Merge(src proto.Message) { 402 xxx_messageInfo_QueryValsetConfirmsByNonceRequest.Merge(m, src) 403 } 404 func (m *QueryValsetConfirmsByNonceRequest) XXX_Size() int { 405 return m.Size() 406 } 407 func (m *QueryValsetConfirmsByNonceRequest) XXX_DiscardUnknown() { 408 xxx_messageInfo_QueryValsetConfirmsByNonceRequest.DiscardUnknown(m) 409 } 410 411 var xxx_messageInfo_QueryValsetConfirmsByNonceRequest proto.InternalMessageInfo 412 413 func (m *QueryValsetConfirmsByNonceRequest) GetNonce() uint64 { 414 if m != nil { 415 return m.Nonce 416 } 417 return 0 418 } 419 420 type QueryValsetConfirmsByNonceResponse struct { 421 Confirms []*MsgValsetConfirm `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms,omitempty"` 422 } 423 424 func (m *QueryValsetConfirmsByNonceResponse) Reset() { *m = QueryValsetConfirmsByNonceResponse{} } 425 func (m *QueryValsetConfirmsByNonceResponse) String() string { return proto.CompactTextString(m) } 426 func (*QueryValsetConfirmsByNonceResponse) ProtoMessage() {} 427 func (*QueryValsetConfirmsByNonceResponse) Descriptor() ([]byte, []int) { 428 return fileDescriptor_702b8e5c1503495b, []int{9} 429 } 430 func (m *QueryValsetConfirmsByNonceResponse) XXX_Unmarshal(b []byte) error { 431 return m.Unmarshal(b) 432 } 433 func (m *QueryValsetConfirmsByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 434 if deterministic { 435 return xxx_messageInfo_QueryValsetConfirmsByNonceResponse.Marshal(b, m, deterministic) 436 } else { 437 b = b[:cap(b)] 438 n, err := m.MarshalToSizedBuffer(b) 439 if err != nil { 440 return nil, err 441 } 442 return b[:n], nil 443 } 444 } 445 func (m *QueryValsetConfirmsByNonceResponse) XXX_Merge(src proto.Message) { 446 xxx_messageInfo_QueryValsetConfirmsByNonceResponse.Merge(m, src) 447 } 448 func (m *QueryValsetConfirmsByNonceResponse) XXX_Size() int { 449 return m.Size() 450 } 451 func (m *QueryValsetConfirmsByNonceResponse) XXX_DiscardUnknown() { 452 xxx_messageInfo_QueryValsetConfirmsByNonceResponse.DiscardUnknown(m) 453 } 454 455 var xxx_messageInfo_QueryValsetConfirmsByNonceResponse proto.InternalMessageInfo 456 457 func (m *QueryValsetConfirmsByNonceResponse) GetConfirms() []*MsgValsetConfirm { 458 if m != nil { 459 return m.Confirms 460 } 461 return nil 462 } 463 464 type QueryLastValsetRequestsRequest struct { 465 } 466 467 func (m *QueryLastValsetRequestsRequest) Reset() { *m = QueryLastValsetRequestsRequest{} } 468 func (m *QueryLastValsetRequestsRequest) String() string { return proto.CompactTextString(m) } 469 func (*QueryLastValsetRequestsRequest) ProtoMessage() {} 470 func (*QueryLastValsetRequestsRequest) Descriptor() ([]byte, []int) { 471 return fileDescriptor_702b8e5c1503495b, []int{10} 472 } 473 func (m *QueryLastValsetRequestsRequest) XXX_Unmarshal(b []byte) error { 474 return m.Unmarshal(b) 475 } 476 func (m *QueryLastValsetRequestsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 477 if deterministic { 478 return xxx_messageInfo_QueryLastValsetRequestsRequest.Marshal(b, m, deterministic) 479 } else { 480 b = b[:cap(b)] 481 n, err := m.MarshalToSizedBuffer(b) 482 if err != nil { 483 return nil, err 484 } 485 return b[:n], nil 486 } 487 } 488 func (m *QueryLastValsetRequestsRequest) XXX_Merge(src proto.Message) { 489 xxx_messageInfo_QueryLastValsetRequestsRequest.Merge(m, src) 490 } 491 func (m *QueryLastValsetRequestsRequest) XXX_Size() int { 492 return m.Size() 493 } 494 func (m *QueryLastValsetRequestsRequest) XXX_DiscardUnknown() { 495 xxx_messageInfo_QueryLastValsetRequestsRequest.DiscardUnknown(m) 496 } 497 498 var xxx_messageInfo_QueryLastValsetRequestsRequest proto.InternalMessageInfo 499 500 type QueryLastValsetRequestsResponse struct { 501 Valsets []*Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets,omitempty"` 502 } 503 504 func (m *QueryLastValsetRequestsResponse) Reset() { *m = QueryLastValsetRequestsResponse{} } 505 func (m *QueryLastValsetRequestsResponse) String() string { return proto.CompactTextString(m) } 506 func (*QueryLastValsetRequestsResponse) ProtoMessage() {} 507 func (*QueryLastValsetRequestsResponse) Descriptor() ([]byte, []int) { 508 return fileDescriptor_702b8e5c1503495b, []int{11} 509 } 510 func (m *QueryLastValsetRequestsResponse) XXX_Unmarshal(b []byte) error { 511 return m.Unmarshal(b) 512 } 513 func (m *QueryLastValsetRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 514 if deterministic { 515 return xxx_messageInfo_QueryLastValsetRequestsResponse.Marshal(b, m, deterministic) 516 } else { 517 b = b[:cap(b)] 518 n, err := m.MarshalToSizedBuffer(b) 519 if err != nil { 520 return nil, err 521 } 522 return b[:n], nil 523 } 524 } 525 func (m *QueryLastValsetRequestsResponse) XXX_Merge(src proto.Message) { 526 xxx_messageInfo_QueryLastValsetRequestsResponse.Merge(m, src) 527 } 528 func (m *QueryLastValsetRequestsResponse) XXX_Size() int { 529 return m.Size() 530 } 531 func (m *QueryLastValsetRequestsResponse) XXX_DiscardUnknown() { 532 xxx_messageInfo_QueryLastValsetRequestsResponse.DiscardUnknown(m) 533 } 534 535 var xxx_messageInfo_QueryLastValsetRequestsResponse proto.InternalMessageInfo 536 537 func (m *QueryLastValsetRequestsResponse) GetValsets() []*Valset { 538 if m != nil { 539 return m.Valsets 540 } 541 return nil 542 } 543 544 type QueryLastPendingValsetRequestByAddrRequest struct { 545 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 546 } 547 548 func (m *QueryLastPendingValsetRequestByAddrRequest) Reset() { 549 *m = QueryLastPendingValsetRequestByAddrRequest{} 550 } 551 func (m *QueryLastPendingValsetRequestByAddrRequest) String() string { 552 return proto.CompactTextString(m) 553 } 554 func (*QueryLastPendingValsetRequestByAddrRequest) ProtoMessage() {} 555 func (*QueryLastPendingValsetRequestByAddrRequest) Descriptor() ([]byte, []int) { 556 return fileDescriptor_702b8e5c1503495b, []int{12} 557 } 558 func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Unmarshal(b []byte) error { 559 return m.Unmarshal(b) 560 } 561 func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 562 if deterministic { 563 return xxx_messageInfo_QueryLastPendingValsetRequestByAddrRequest.Marshal(b, m, deterministic) 564 } else { 565 b = b[:cap(b)] 566 n, err := m.MarshalToSizedBuffer(b) 567 if err != nil { 568 return nil, err 569 } 570 return b[:n], nil 571 } 572 } 573 func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Merge(src proto.Message) { 574 xxx_messageInfo_QueryLastPendingValsetRequestByAddrRequest.Merge(m, src) 575 } 576 func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_Size() int { 577 return m.Size() 578 } 579 func (m *QueryLastPendingValsetRequestByAddrRequest) XXX_DiscardUnknown() { 580 xxx_messageInfo_QueryLastPendingValsetRequestByAddrRequest.DiscardUnknown(m) 581 } 582 583 var xxx_messageInfo_QueryLastPendingValsetRequestByAddrRequest proto.InternalMessageInfo 584 585 func (m *QueryLastPendingValsetRequestByAddrRequest) GetAddress() string { 586 if m != nil { 587 return m.Address 588 } 589 return "" 590 } 591 592 type QueryLastPendingValsetRequestByAddrResponse struct { 593 Valsets []*Valset `protobuf:"bytes,1,rep,name=valsets,proto3" json:"valsets,omitempty"` 594 } 595 596 func (m *QueryLastPendingValsetRequestByAddrResponse) Reset() { 597 *m = QueryLastPendingValsetRequestByAddrResponse{} 598 } 599 func (m *QueryLastPendingValsetRequestByAddrResponse) String() string { 600 return proto.CompactTextString(m) 601 } 602 func (*QueryLastPendingValsetRequestByAddrResponse) ProtoMessage() {} 603 func (*QueryLastPendingValsetRequestByAddrResponse) Descriptor() ([]byte, []int) { 604 return fileDescriptor_702b8e5c1503495b, []int{13} 605 } 606 func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Unmarshal(b []byte) error { 607 return m.Unmarshal(b) 608 } 609 func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 610 if deterministic { 611 return xxx_messageInfo_QueryLastPendingValsetRequestByAddrResponse.Marshal(b, m, deterministic) 612 } else { 613 b = b[:cap(b)] 614 n, err := m.MarshalToSizedBuffer(b) 615 if err != nil { 616 return nil, err 617 } 618 return b[:n], nil 619 } 620 } 621 func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Merge(src proto.Message) { 622 xxx_messageInfo_QueryLastPendingValsetRequestByAddrResponse.Merge(m, src) 623 } 624 func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_Size() int { 625 return m.Size() 626 } 627 func (m *QueryLastPendingValsetRequestByAddrResponse) XXX_DiscardUnknown() { 628 xxx_messageInfo_QueryLastPendingValsetRequestByAddrResponse.DiscardUnknown(m) 629 } 630 631 var xxx_messageInfo_QueryLastPendingValsetRequestByAddrResponse proto.InternalMessageInfo 632 633 func (m *QueryLastPendingValsetRequestByAddrResponse) GetValsets() []*Valset { 634 if m != nil { 635 return m.Valsets 636 } 637 return nil 638 } 639 640 type QueryBatchFeeRequest struct { 641 } 642 643 func (m *QueryBatchFeeRequest) Reset() { *m = QueryBatchFeeRequest{} } 644 func (m *QueryBatchFeeRequest) String() string { return proto.CompactTextString(m) } 645 func (*QueryBatchFeeRequest) ProtoMessage() {} 646 func (*QueryBatchFeeRequest) Descriptor() ([]byte, []int) { 647 return fileDescriptor_702b8e5c1503495b, []int{14} 648 } 649 func (m *QueryBatchFeeRequest) XXX_Unmarshal(b []byte) error { 650 return m.Unmarshal(b) 651 } 652 func (m *QueryBatchFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 653 if deterministic { 654 return xxx_messageInfo_QueryBatchFeeRequest.Marshal(b, m, deterministic) 655 } else { 656 b = b[:cap(b)] 657 n, err := m.MarshalToSizedBuffer(b) 658 if err != nil { 659 return nil, err 660 } 661 return b[:n], nil 662 } 663 } 664 func (m *QueryBatchFeeRequest) XXX_Merge(src proto.Message) { 665 xxx_messageInfo_QueryBatchFeeRequest.Merge(m, src) 666 } 667 func (m *QueryBatchFeeRequest) XXX_Size() int { 668 return m.Size() 669 } 670 func (m *QueryBatchFeeRequest) XXX_DiscardUnknown() { 671 xxx_messageInfo_QueryBatchFeeRequest.DiscardUnknown(m) 672 } 673 674 var xxx_messageInfo_QueryBatchFeeRequest proto.InternalMessageInfo 675 676 type QueryBatchFeeResponse struct { 677 BatchFees []*BatchFees `protobuf:"bytes,1,rep,name=batchFees,proto3" json:"batchFees,omitempty"` 678 } 679 680 func (m *QueryBatchFeeResponse) Reset() { *m = QueryBatchFeeResponse{} } 681 func (m *QueryBatchFeeResponse) String() string { return proto.CompactTextString(m) } 682 func (*QueryBatchFeeResponse) ProtoMessage() {} 683 func (*QueryBatchFeeResponse) Descriptor() ([]byte, []int) { 684 return fileDescriptor_702b8e5c1503495b, []int{15} 685 } 686 func (m *QueryBatchFeeResponse) XXX_Unmarshal(b []byte) error { 687 return m.Unmarshal(b) 688 } 689 func (m *QueryBatchFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 690 if deterministic { 691 return xxx_messageInfo_QueryBatchFeeResponse.Marshal(b, m, deterministic) 692 } else { 693 b = b[:cap(b)] 694 n, err := m.MarshalToSizedBuffer(b) 695 if err != nil { 696 return nil, err 697 } 698 return b[:n], nil 699 } 700 } 701 func (m *QueryBatchFeeResponse) XXX_Merge(src proto.Message) { 702 xxx_messageInfo_QueryBatchFeeResponse.Merge(m, src) 703 } 704 func (m *QueryBatchFeeResponse) XXX_Size() int { 705 return m.Size() 706 } 707 func (m *QueryBatchFeeResponse) XXX_DiscardUnknown() { 708 xxx_messageInfo_QueryBatchFeeResponse.DiscardUnknown(m) 709 } 710 711 var xxx_messageInfo_QueryBatchFeeResponse proto.InternalMessageInfo 712 713 func (m *QueryBatchFeeResponse) GetBatchFees() []*BatchFees { 714 if m != nil { 715 return m.BatchFees 716 } 717 return nil 718 } 719 720 type QueryLastPendingBatchRequestByAddrRequest struct { 721 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 722 } 723 724 func (m *QueryLastPendingBatchRequestByAddrRequest) Reset() { 725 *m = QueryLastPendingBatchRequestByAddrRequest{} 726 } 727 func (m *QueryLastPendingBatchRequestByAddrRequest) String() string { 728 return proto.CompactTextString(m) 729 } 730 func (*QueryLastPendingBatchRequestByAddrRequest) ProtoMessage() {} 731 func (*QueryLastPendingBatchRequestByAddrRequest) Descriptor() ([]byte, []int) { 732 return fileDescriptor_702b8e5c1503495b, []int{16} 733 } 734 func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Unmarshal(b []byte) error { 735 return m.Unmarshal(b) 736 } 737 func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 738 if deterministic { 739 return xxx_messageInfo_QueryLastPendingBatchRequestByAddrRequest.Marshal(b, m, deterministic) 740 } else { 741 b = b[:cap(b)] 742 n, err := m.MarshalToSizedBuffer(b) 743 if err != nil { 744 return nil, err 745 } 746 return b[:n], nil 747 } 748 } 749 func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Merge(src proto.Message) { 750 xxx_messageInfo_QueryLastPendingBatchRequestByAddrRequest.Merge(m, src) 751 } 752 func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_Size() int { 753 return m.Size() 754 } 755 func (m *QueryLastPendingBatchRequestByAddrRequest) XXX_DiscardUnknown() { 756 xxx_messageInfo_QueryLastPendingBatchRequestByAddrRequest.DiscardUnknown(m) 757 } 758 759 var xxx_messageInfo_QueryLastPendingBatchRequestByAddrRequest proto.InternalMessageInfo 760 761 func (m *QueryLastPendingBatchRequestByAddrRequest) GetAddress() string { 762 if m != nil { 763 return m.Address 764 } 765 return "" 766 } 767 768 type QueryLastPendingBatchRequestByAddrResponse struct { 769 Batch *OutgoingTxBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` 770 } 771 772 func (m *QueryLastPendingBatchRequestByAddrResponse) Reset() { 773 *m = QueryLastPendingBatchRequestByAddrResponse{} 774 } 775 func (m *QueryLastPendingBatchRequestByAddrResponse) String() string { 776 return proto.CompactTextString(m) 777 } 778 func (*QueryLastPendingBatchRequestByAddrResponse) ProtoMessage() {} 779 func (*QueryLastPendingBatchRequestByAddrResponse) Descriptor() ([]byte, []int) { 780 return fileDescriptor_702b8e5c1503495b, []int{17} 781 } 782 func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Unmarshal(b []byte) error { 783 return m.Unmarshal(b) 784 } 785 func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 786 if deterministic { 787 return xxx_messageInfo_QueryLastPendingBatchRequestByAddrResponse.Marshal(b, m, deterministic) 788 } else { 789 b = b[:cap(b)] 790 n, err := m.MarshalToSizedBuffer(b) 791 if err != nil { 792 return nil, err 793 } 794 return b[:n], nil 795 } 796 } 797 func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Merge(src proto.Message) { 798 xxx_messageInfo_QueryLastPendingBatchRequestByAddrResponse.Merge(m, src) 799 } 800 func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_Size() int { 801 return m.Size() 802 } 803 func (m *QueryLastPendingBatchRequestByAddrResponse) XXX_DiscardUnknown() { 804 xxx_messageInfo_QueryLastPendingBatchRequestByAddrResponse.DiscardUnknown(m) 805 } 806 807 var xxx_messageInfo_QueryLastPendingBatchRequestByAddrResponse proto.InternalMessageInfo 808 809 func (m *QueryLastPendingBatchRequestByAddrResponse) GetBatch() *OutgoingTxBatch { 810 if m != nil { 811 return m.Batch 812 } 813 return nil 814 } 815 816 type QueryOutgoingTxBatchesRequest struct { 817 } 818 819 func (m *QueryOutgoingTxBatchesRequest) Reset() { *m = QueryOutgoingTxBatchesRequest{} } 820 func (m *QueryOutgoingTxBatchesRequest) String() string { return proto.CompactTextString(m) } 821 func (*QueryOutgoingTxBatchesRequest) ProtoMessage() {} 822 func (*QueryOutgoingTxBatchesRequest) Descriptor() ([]byte, []int) { 823 return fileDescriptor_702b8e5c1503495b, []int{18} 824 } 825 func (m *QueryOutgoingTxBatchesRequest) XXX_Unmarshal(b []byte) error { 826 return m.Unmarshal(b) 827 } 828 func (m *QueryOutgoingTxBatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 829 if deterministic { 830 return xxx_messageInfo_QueryOutgoingTxBatchesRequest.Marshal(b, m, deterministic) 831 } else { 832 b = b[:cap(b)] 833 n, err := m.MarshalToSizedBuffer(b) 834 if err != nil { 835 return nil, err 836 } 837 return b[:n], nil 838 } 839 } 840 func (m *QueryOutgoingTxBatchesRequest) XXX_Merge(src proto.Message) { 841 xxx_messageInfo_QueryOutgoingTxBatchesRequest.Merge(m, src) 842 } 843 func (m *QueryOutgoingTxBatchesRequest) XXX_Size() int { 844 return m.Size() 845 } 846 func (m *QueryOutgoingTxBatchesRequest) XXX_DiscardUnknown() { 847 xxx_messageInfo_QueryOutgoingTxBatchesRequest.DiscardUnknown(m) 848 } 849 850 var xxx_messageInfo_QueryOutgoingTxBatchesRequest proto.InternalMessageInfo 851 852 type QueryOutgoingTxBatchesResponse struct { 853 Batches []*OutgoingTxBatch `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"` 854 } 855 856 func (m *QueryOutgoingTxBatchesResponse) Reset() { *m = QueryOutgoingTxBatchesResponse{} } 857 func (m *QueryOutgoingTxBatchesResponse) String() string { return proto.CompactTextString(m) } 858 func (*QueryOutgoingTxBatchesResponse) ProtoMessage() {} 859 func (*QueryOutgoingTxBatchesResponse) Descriptor() ([]byte, []int) { 860 return fileDescriptor_702b8e5c1503495b, []int{19} 861 } 862 func (m *QueryOutgoingTxBatchesResponse) XXX_Unmarshal(b []byte) error { 863 return m.Unmarshal(b) 864 } 865 func (m *QueryOutgoingTxBatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 866 if deterministic { 867 return xxx_messageInfo_QueryOutgoingTxBatchesResponse.Marshal(b, m, deterministic) 868 } else { 869 b = b[:cap(b)] 870 n, err := m.MarshalToSizedBuffer(b) 871 if err != nil { 872 return nil, err 873 } 874 return b[:n], nil 875 } 876 } 877 func (m *QueryOutgoingTxBatchesResponse) XXX_Merge(src proto.Message) { 878 xxx_messageInfo_QueryOutgoingTxBatchesResponse.Merge(m, src) 879 } 880 func (m *QueryOutgoingTxBatchesResponse) XXX_Size() int { 881 return m.Size() 882 } 883 func (m *QueryOutgoingTxBatchesResponse) XXX_DiscardUnknown() { 884 xxx_messageInfo_QueryOutgoingTxBatchesResponse.DiscardUnknown(m) 885 } 886 887 var xxx_messageInfo_QueryOutgoingTxBatchesResponse proto.InternalMessageInfo 888 889 func (m *QueryOutgoingTxBatchesResponse) GetBatches() []*OutgoingTxBatch { 890 if m != nil { 891 return m.Batches 892 } 893 return nil 894 } 895 896 type QueryBatchRequestByNonceRequest struct { 897 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 898 ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` 899 } 900 901 func (m *QueryBatchRequestByNonceRequest) Reset() { *m = QueryBatchRequestByNonceRequest{} } 902 func (m *QueryBatchRequestByNonceRequest) String() string { return proto.CompactTextString(m) } 903 func (*QueryBatchRequestByNonceRequest) ProtoMessage() {} 904 func (*QueryBatchRequestByNonceRequest) Descriptor() ([]byte, []int) { 905 return fileDescriptor_702b8e5c1503495b, []int{20} 906 } 907 func (m *QueryBatchRequestByNonceRequest) XXX_Unmarshal(b []byte) error { 908 return m.Unmarshal(b) 909 } 910 func (m *QueryBatchRequestByNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 911 if deterministic { 912 return xxx_messageInfo_QueryBatchRequestByNonceRequest.Marshal(b, m, deterministic) 913 } else { 914 b = b[:cap(b)] 915 n, err := m.MarshalToSizedBuffer(b) 916 if err != nil { 917 return nil, err 918 } 919 return b[:n], nil 920 } 921 } 922 func (m *QueryBatchRequestByNonceRequest) XXX_Merge(src proto.Message) { 923 xxx_messageInfo_QueryBatchRequestByNonceRequest.Merge(m, src) 924 } 925 func (m *QueryBatchRequestByNonceRequest) XXX_Size() int { 926 return m.Size() 927 } 928 func (m *QueryBatchRequestByNonceRequest) XXX_DiscardUnknown() { 929 xxx_messageInfo_QueryBatchRequestByNonceRequest.DiscardUnknown(m) 930 } 931 932 var xxx_messageInfo_QueryBatchRequestByNonceRequest proto.InternalMessageInfo 933 934 func (m *QueryBatchRequestByNonceRequest) GetNonce() uint64 { 935 if m != nil { 936 return m.Nonce 937 } 938 return 0 939 } 940 941 func (m *QueryBatchRequestByNonceRequest) GetContractAddress() string { 942 if m != nil { 943 return m.ContractAddress 944 } 945 return "" 946 } 947 948 type QueryBatchRequestByNonceResponse struct { 949 Batch *OutgoingTxBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"` 950 } 951 952 func (m *QueryBatchRequestByNonceResponse) Reset() { *m = QueryBatchRequestByNonceResponse{} } 953 func (m *QueryBatchRequestByNonceResponse) String() string { return proto.CompactTextString(m) } 954 func (*QueryBatchRequestByNonceResponse) ProtoMessage() {} 955 func (*QueryBatchRequestByNonceResponse) Descriptor() ([]byte, []int) { 956 return fileDescriptor_702b8e5c1503495b, []int{21} 957 } 958 func (m *QueryBatchRequestByNonceResponse) XXX_Unmarshal(b []byte) error { 959 return m.Unmarshal(b) 960 } 961 func (m *QueryBatchRequestByNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 962 if deterministic { 963 return xxx_messageInfo_QueryBatchRequestByNonceResponse.Marshal(b, m, deterministic) 964 } else { 965 b = b[:cap(b)] 966 n, err := m.MarshalToSizedBuffer(b) 967 if err != nil { 968 return nil, err 969 } 970 return b[:n], nil 971 } 972 } 973 func (m *QueryBatchRequestByNonceResponse) XXX_Merge(src proto.Message) { 974 xxx_messageInfo_QueryBatchRequestByNonceResponse.Merge(m, src) 975 } 976 func (m *QueryBatchRequestByNonceResponse) XXX_Size() int { 977 return m.Size() 978 } 979 func (m *QueryBatchRequestByNonceResponse) XXX_DiscardUnknown() { 980 xxx_messageInfo_QueryBatchRequestByNonceResponse.DiscardUnknown(m) 981 } 982 983 var xxx_messageInfo_QueryBatchRequestByNonceResponse proto.InternalMessageInfo 984 985 func (m *QueryBatchRequestByNonceResponse) GetBatch() *OutgoingTxBatch { 986 if m != nil { 987 return m.Batch 988 } 989 return nil 990 } 991 992 type QueryBatchConfirmsRequest struct { 993 Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` 994 ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` 995 } 996 997 func (m *QueryBatchConfirmsRequest) Reset() { *m = QueryBatchConfirmsRequest{} } 998 func (m *QueryBatchConfirmsRequest) String() string { return proto.CompactTextString(m) } 999 func (*QueryBatchConfirmsRequest) ProtoMessage() {} 1000 func (*QueryBatchConfirmsRequest) Descriptor() ([]byte, []int) { 1001 return fileDescriptor_702b8e5c1503495b, []int{22} 1002 } 1003 func (m *QueryBatchConfirmsRequest) XXX_Unmarshal(b []byte) error { 1004 return m.Unmarshal(b) 1005 } 1006 func (m *QueryBatchConfirmsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1007 if deterministic { 1008 return xxx_messageInfo_QueryBatchConfirmsRequest.Marshal(b, m, deterministic) 1009 } else { 1010 b = b[:cap(b)] 1011 n, err := m.MarshalToSizedBuffer(b) 1012 if err != nil { 1013 return nil, err 1014 } 1015 return b[:n], nil 1016 } 1017 } 1018 func (m *QueryBatchConfirmsRequest) XXX_Merge(src proto.Message) { 1019 xxx_messageInfo_QueryBatchConfirmsRequest.Merge(m, src) 1020 } 1021 func (m *QueryBatchConfirmsRequest) XXX_Size() int { 1022 return m.Size() 1023 } 1024 func (m *QueryBatchConfirmsRequest) XXX_DiscardUnknown() { 1025 xxx_messageInfo_QueryBatchConfirmsRequest.DiscardUnknown(m) 1026 } 1027 1028 var xxx_messageInfo_QueryBatchConfirmsRequest proto.InternalMessageInfo 1029 1030 func (m *QueryBatchConfirmsRequest) GetNonce() uint64 { 1031 if m != nil { 1032 return m.Nonce 1033 } 1034 return 0 1035 } 1036 1037 func (m *QueryBatchConfirmsRequest) GetContractAddress() string { 1038 if m != nil { 1039 return m.ContractAddress 1040 } 1041 return "" 1042 } 1043 1044 type QueryBatchConfirmsResponse struct { 1045 Confirms []*MsgConfirmBatch `protobuf:"bytes,1,rep,name=confirms,proto3" json:"confirms,omitempty"` 1046 } 1047 1048 func (m *QueryBatchConfirmsResponse) Reset() { *m = QueryBatchConfirmsResponse{} } 1049 func (m *QueryBatchConfirmsResponse) String() string { return proto.CompactTextString(m) } 1050 func (*QueryBatchConfirmsResponse) ProtoMessage() {} 1051 func (*QueryBatchConfirmsResponse) Descriptor() ([]byte, []int) { 1052 return fileDescriptor_702b8e5c1503495b, []int{23} 1053 } 1054 func (m *QueryBatchConfirmsResponse) XXX_Unmarshal(b []byte) error { 1055 return m.Unmarshal(b) 1056 } 1057 func (m *QueryBatchConfirmsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1058 if deterministic { 1059 return xxx_messageInfo_QueryBatchConfirmsResponse.Marshal(b, m, deterministic) 1060 } else { 1061 b = b[:cap(b)] 1062 n, err := m.MarshalToSizedBuffer(b) 1063 if err != nil { 1064 return nil, err 1065 } 1066 return b[:n], nil 1067 } 1068 } 1069 func (m *QueryBatchConfirmsResponse) XXX_Merge(src proto.Message) { 1070 xxx_messageInfo_QueryBatchConfirmsResponse.Merge(m, src) 1071 } 1072 func (m *QueryBatchConfirmsResponse) XXX_Size() int { 1073 return m.Size() 1074 } 1075 func (m *QueryBatchConfirmsResponse) XXX_DiscardUnknown() { 1076 xxx_messageInfo_QueryBatchConfirmsResponse.DiscardUnknown(m) 1077 } 1078 1079 var xxx_messageInfo_QueryBatchConfirmsResponse proto.InternalMessageInfo 1080 1081 func (m *QueryBatchConfirmsResponse) GetConfirms() []*MsgConfirmBatch { 1082 if m != nil { 1083 return m.Confirms 1084 } 1085 return nil 1086 } 1087 1088 type QueryLastEventByAddrRequest struct { 1089 Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` 1090 } 1091 1092 func (m *QueryLastEventByAddrRequest) Reset() { *m = QueryLastEventByAddrRequest{} } 1093 func (m *QueryLastEventByAddrRequest) String() string { return proto.CompactTextString(m) } 1094 func (*QueryLastEventByAddrRequest) ProtoMessage() {} 1095 func (*QueryLastEventByAddrRequest) Descriptor() ([]byte, []int) { 1096 return fileDescriptor_702b8e5c1503495b, []int{24} 1097 } 1098 func (m *QueryLastEventByAddrRequest) XXX_Unmarshal(b []byte) error { 1099 return m.Unmarshal(b) 1100 } 1101 func (m *QueryLastEventByAddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1102 if deterministic { 1103 return xxx_messageInfo_QueryLastEventByAddrRequest.Marshal(b, m, deterministic) 1104 } else { 1105 b = b[:cap(b)] 1106 n, err := m.MarshalToSizedBuffer(b) 1107 if err != nil { 1108 return nil, err 1109 } 1110 return b[:n], nil 1111 } 1112 } 1113 func (m *QueryLastEventByAddrRequest) XXX_Merge(src proto.Message) { 1114 xxx_messageInfo_QueryLastEventByAddrRequest.Merge(m, src) 1115 } 1116 func (m *QueryLastEventByAddrRequest) XXX_Size() int { 1117 return m.Size() 1118 } 1119 func (m *QueryLastEventByAddrRequest) XXX_DiscardUnknown() { 1120 xxx_messageInfo_QueryLastEventByAddrRequest.DiscardUnknown(m) 1121 } 1122 1123 var xxx_messageInfo_QueryLastEventByAddrRequest proto.InternalMessageInfo 1124 1125 func (m *QueryLastEventByAddrRequest) GetAddress() string { 1126 if m != nil { 1127 return m.Address 1128 } 1129 return "" 1130 } 1131 1132 type QueryLastEventByAddrResponse struct { 1133 LastClaimEvent *LastClaimEvent `protobuf:"bytes,1,opt,name=last_claim_event,json=lastClaimEvent,proto3" json:"last_claim_event,omitempty"` 1134 } 1135 1136 func (m *QueryLastEventByAddrResponse) Reset() { *m = QueryLastEventByAddrResponse{} } 1137 func (m *QueryLastEventByAddrResponse) String() string { return proto.CompactTextString(m) } 1138 func (*QueryLastEventByAddrResponse) ProtoMessage() {} 1139 func (*QueryLastEventByAddrResponse) Descriptor() ([]byte, []int) { 1140 return fileDescriptor_702b8e5c1503495b, []int{25} 1141 } 1142 func (m *QueryLastEventByAddrResponse) XXX_Unmarshal(b []byte) error { 1143 return m.Unmarshal(b) 1144 } 1145 func (m *QueryLastEventByAddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1146 if deterministic { 1147 return xxx_messageInfo_QueryLastEventByAddrResponse.Marshal(b, m, deterministic) 1148 } else { 1149 b = b[:cap(b)] 1150 n, err := m.MarshalToSizedBuffer(b) 1151 if err != nil { 1152 return nil, err 1153 } 1154 return b[:n], nil 1155 } 1156 } 1157 func (m *QueryLastEventByAddrResponse) XXX_Merge(src proto.Message) { 1158 xxx_messageInfo_QueryLastEventByAddrResponse.Merge(m, src) 1159 } 1160 func (m *QueryLastEventByAddrResponse) XXX_Size() int { 1161 return m.Size() 1162 } 1163 func (m *QueryLastEventByAddrResponse) XXX_DiscardUnknown() { 1164 xxx_messageInfo_QueryLastEventByAddrResponse.DiscardUnknown(m) 1165 } 1166 1167 var xxx_messageInfo_QueryLastEventByAddrResponse proto.InternalMessageInfo 1168 1169 func (m *QueryLastEventByAddrResponse) GetLastClaimEvent() *LastClaimEvent { 1170 if m != nil { 1171 return m.LastClaimEvent 1172 } 1173 return nil 1174 } 1175 1176 type QueryERC20ToDenomRequest struct { 1177 Erc20 string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"` 1178 } 1179 1180 func (m *QueryERC20ToDenomRequest) Reset() { *m = QueryERC20ToDenomRequest{} } 1181 func (m *QueryERC20ToDenomRequest) String() string { return proto.CompactTextString(m) } 1182 func (*QueryERC20ToDenomRequest) ProtoMessage() {} 1183 func (*QueryERC20ToDenomRequest) Descriptor() ([]byte, []int) { 1184 return fileDescriptor_702b8e5c1503495b, []int{26} 1185 } 1186 func (m *QueryERC20ToDenomRequest) XXX_Unmarshal(b []byte) error { 1187 return m.Unmarshal(b) 1188 } 1189 func (m *QueryERC20ToDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1190 if deterministic { 1191 return xxx_messageInfo_QueryERC20ToDenomRequest.Marshal(b, m, deterministic) 1192 } else { 1193 b = b[:cap(b)] 1194 n, err := m.MarshalToSizedBuffer(b) 1195 if err != nil { 1196 return nil, err 1197 } 1198 return b[:n], nil 1199 } 1200 } 1201 func (m *QueryERC20ToDenomRequest) XXX_Merge(src proto.Message) { 1202 xxx_messageInfo_QueryERC20ToDenomRequest.Merge(m, src) 1203 } 1204 func (m *QueryERC20ToDenomRequest) XXX_Size() int { 1205 return m.Size() 1206 } 1207 func (m *QueryERC20ToDenomRequest) XXX_DiscardUnknown() { 1208 xxx_messageInfo_QueryERC20ToDenomRequest.DiscardUnknown(m) 1209 } 1210 1211 var xxx_messageInfo_QueryERC20ToDenomRequest proto.InternalMessageInfo 1212 1213 func (m *QueryERC20ToDenomRequest) GetErc20() string { 1214 if m != nil { 1215 return m.Erc20 1216 } 1217 return "" 1218 } 1219 1220 type QueryERC20ToDenomResponse struct { 1221 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 1222 CosmosOriginated bool `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"` 1223 } 1224 1225 func (m *QueryERC20ToDenomResponse) Reset() { *m = QueryERC20ToDenomResponse{} } 1226 func (m *QueryERC20ToDenomResponse) String() string { return proto.CompactTextString(m) } 1227 func (*QueryERC20ToDenomResponse) ProtoMessage() {} 1228 func (*QueryERC20ToDenomResponse) Descriptor() ([]byte, []int) { 1229 return fileDescriptor_702b8e5c1503495b, []int{27} 1230 } 1231 func (m *QueryERC20ToDenomResponse) XXX_Unmarshal(b []byte) error { 1232 return m.Unmarshal(b) 1233 } 1234 func (m *QueryERC20ToDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1235 if deterministic { 1236 return xxx_messageInfo_QueryERC20ToDenomResponse.Marshal(b, m, deterministic) 1237 } else { 1238 b = b[:cap(b)] 1239 n, err := m.MarshalToSizedBuffer(b) 1240 if err != nil { 1241 return nil, err 1242 } 1243 return b[:n], nil 1244 } 1245 } 1246 func (m *QueryERC20ToDenomResponse) XXX_Merge(src proto.Message) { 1247 xxx_messageInfo_QueryERC20ToDenomResponse.Merge(m, src) 1248 } 1249 func (m *QueryERC20ToDenomResponse) XXX_Size() int { 1250 return m.Size() 1251 } 1252 func (m *QueryERC20ToDenomResponse) XXX_DiscardUnknown() { 1253 xxx_messageInfo_QueryERC20ToDenomResponse.DiscardUnknown(m) 1254 } 1255 1256 var xxx_messageInfo_QueryERC20ToDenomResponse proto.InternalMessageInfo 1257 1258 func (m *QueryERC20ToDenomResponse) GetDenom() string { 1259 if m != nil { 1260 return m.Denom 1261 } 1262 return "" 1263 } 1264 1265 func (m *QueryERC20ToDenomResponse) GetCosmosOriginated() bool { 1266 if m != nil { 1267 return m.CosmosOriginated 1268 } 1269 return false 1270 } 1271 1272 type QueryDenomToERC20Request struct { 1273 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 1274 } 1275 1276 func (m *QueryDenomToERC20Request) Reset() { *m = QueryDenomToERC20Request{} } 1277 func (m *QueryDenomToERC20Request) String() string { return proto.CompactTextString(m) } 1278 func (*QueryDenomToERC20Request) ProtoMessage() {} 1279 func (*QueryDenomToERC20Request) Descriptor() ([]byte, []int) { 1280 return fileDescriptor_702b8e5c1503495b, []int{28} 1281 } 1282 func (m *QueryDenomToERC20Request) XXX_Unmarshal(b []byte) error { 1283 return m.Unmarshal(b) 1284 } 1285 func (m *QueryDenomToERC20Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1286 if deterministic { 1287 return xxx_messageInfo_QueryDenomToERC20Request.Marshal(b, m, deterministic) 1288 } else { 1289 b = b[:cap(b)] 1290 n, err := m.MarshalToSizedBuffer(b) 1291 if err != nil { 1292 return nil, err 1293 } 1294 return b[:n], nil 1295 } 1296 } 1297 func (m *QueryDenomToERC20Request) XXX_Merge(src proto.Message) { 1298 xxx_messageInfo_QueryDenomToERC20Request.Merge(m, src) 1299 } 1300 func (m *QueryDenomToERC20Request) XXX_Size() int { 1301 return m.Size() 1302 } 1303 func (m *QueryDenomToERC20Request) XXX_DiscardUnknown() { 1304 xxx_messageInfo_QueryDenomToERC20Request.DiscardUnknown(m) 1305 } 1306 1307 var xxx_messageInfo_QueryDenomToERC20Request proto.InternalMessageInfo 1308 1309 func (m *QueryDenomToERC20Request) GetDenom() string { 1310 if m != nil { 1311 return m.Denom 1312 } 1313 return "" 1314 } 1315 1316 type QueryDenomToERC20Response struct { 1317 Erc20 string `protobuf:"bytes,1,opt,name=erc20,proto3" json:"erc20,omitempty"` 1318 CosmosOriginated bool `protobuf:"varint,2,opt,name=cosmos_originated,json=cosmosOriginated,proto3" json:"cosmos_originated,omitempty"` 1319 } 1320 1321 func (m *QueryDenomToERC20Response) Reset() { *m = QueryDenomToERC20Response{} } 1322 func (m *QueryDenomToERC20Response) String() string { return proto.CompactTextString(m) } 1323 func (*QueryDenomToERC20Response) ProtoMessage() {} 1324 func (*QueryDenomToERC20Response) Descriptor() ([]byte, []int) { 1325 return fileDescriptor_702b8e5c1503495b, []int{29} 1326 } 1327 func (m *QueryDenomToERC20Response) XXX_Unmarshal(b []byte) error { 1328 return m.Unmarshal(b) 1329 } 1330 func (m *QueryDenomToERC20Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1331 if deterministic { 1332 return xxx_messageInfo_QueryDenomToERC20Response.Marshal(b, m, deterministic) 1333 } else { 1334 b = b[:cap(b)] 1335 n, err := m.MarshalToSizedBuffer(b) 1336 if err != nil { 1337 return nil, err 1338 } 1339 return b[:n], nil 1340 } 1341 } 1342 func (m *QueryDenomToERC20Response) XXX_Merge(src proto.Message) { 1343 xxx_messageInfo_QueryDenomToERC20Response.Merge(m, src) 1344 } 1345 func (m *QueryDenomToERC20Response) XXX_Size() int { 1346 return m.Size() 1347 } 1348 func (m *QueryDenomToERC20Response) XXX_DiscardUnknown() { 1349 xxx_messageInfo_QueryDenomToERC20Response.DiscardUnknown(m) 1350 } 1351 1352 var xxx_messageInfo_QueryDenomToERC20Response proto.InternalMessageInfo 1353 1354 func (m *QueryDenomToERC20Response) GetErc20() string { 1355 if m != nil { 1356 return m.Erc20 1357 } 1358 return "" 1359 } 1360 1361 func (m *QueryDenomToERC20Response) GetCosmosOriginated() bool { 1362 if m != nil { 1363 return m.CosmosOriginated 1364 } 1365 return false 1366 } 1367 1368 type QueryDelegateKeysByValidatorAddress struct { 1369 ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` 1370 } 1371 1372 func (m *QueryDelegateKeysByValidatorAddress) Reset() { *m = QueryDelegateKeysByValidatorAddress{} } 1373 func (m *QueryDelegateKeysByValidatorAddress) String() string { return proto.CompactTextString(m) } 1374 func (*QueryDelegateKeysByValidatorAddress) ProtoMessage() {} 1375 func (*QueryDelegateKeysByValidatorAddress) Descriptor() ([]byte, []int) { 1376 return fileDescriptor_702b8e5c1503495b, []int{30} 1377 } 1378 func (m *QueryDelegateKeysByValidatorAddress) XXX_Unmarshal(b []byte) error { 1379 return m.Unmarshal(b) 1380 } 1381 func (m *QueryDelegateKeysByValidatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1382 if deterministic { 1383 return xxx_messageInfo_QueryDelegateKeysByValidatorAddress.Marshal(b, m, deterministic) 1384 } else { 1385 b = b[:cap(b)] 1386 n, err := m.MarshalToSizedBuffer(b) 1387 if err != nil { 1388 return nil, err 1389 } 1390 return b[:n], nil 1391 } 1392 } 1393 func (m *QueryDelegateKeysByValidatorAddress) XXX_Merge(src proto.Message) { 1394 xxx_messageInfo_QueryDelegateKeysByValidatorAddress.Merge(m, src) 1395 } 1396 func (m *QueryDelegateKeysByValidatorAddress) XXX_Size() int { 1397 return m.Size() 1398 } 1399 func (m *QueryDelegateKeysByValidatorAddress) XXX_DiscardUnknown() { 1400 xxx_messageInfo_QueryDelegateKeysByValidatorAddress.DiscardUnknown(m) 1401 } 1402 1403 var xxx_messageInfo_QueryDelegateKeysByValidatorAddress proto.InternalMessageInfo 1404 1405 func (m *QueryDelegateKeysByValidatorAddress) GetValidatorAddress() string { 1406 if m != nil { 1407 return m.ValidatorAddress 1408 } 1409 return "" 1410 } 1411 1412 type QueryDelegateKeysByValidatorAddressResponse struct { 1413 EthAddress string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` 1414 OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` 1415 } 1416 1417 func (m *QueryDelegateKeysByValidatorAddressResponse) Reset() { 1418 *m = QueryDelegateKeysByValidatorAddressResponse{} 1419 } 1420 func (m *QueryDelegateKeysByValidatorAddressResponse) String() string { 1421 return proto.CompactTextString(m) 1422 } 1423 func (*QueryDelegateKeysByValidatorAddressResponse) ProtoMessage() {} 1424 func (*QueryDelegateKeysByValidatorAddressResponse) Descriptor() ([]byte, []int) { 1425 return fileDescriptor_702b8e5c1503495b, []int{31} 1426 } 1427 func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_Unmarshal(b []byte) error { 1428 return m.Unmarshal(b) 1429 } 1430 func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1431 if deterministic { 1432 return xxx_messageInfo_QueryDelegateKeysByValidatorAddressResponse.Marshal(b, m, deterministic) 1433 } else { 1434 b = b[:cap(b)] 1435 n, err := m.MarshalToSizedBuffer(b) 1436 if err != nil { 1437 return nil, err 1438 } 1439 return b[:n], nil 1440 } 1441 } 1442 func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_Merge(src proto.Message) { 1443 xxx_messageInfo_QueryDelegateKeysByValidatorAddressResponse.Merge(m, src) 1444 } 1445 func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_Size() int { 1446 return m.Size() 1447 } 1448 func (m *QueryDelegateKeysByValidatorAddressResponse) XXX_DiscardUnknown() { 1449 xxx_messageInfo_QueryDelegateKeysByValidatorAddressResponse.DiscardUnknown(m) 1450 } 1451 1452 var xxx_messageInfo_QueryDelegateKeysByValidatorAddressResponse proto.InternalMessageInfo 1453 1454 func (m *QueryDelegateKeysByValidatorAddressResponse) GetEthAddress() string { 1455 if m != nil { 1456 return m.EthAddress 1457 } 1458 return "" 1459 } 1460 1461 func (m *QueryDelegateKeysByValidatorAddressResponse) GetOrchestratorAddress() string { 1462 if m != nil { 1463 return m.OrchestratorAddress 1464 } 1465 return "" 1466 } 1467 1468 type QueryDelegateKeysByEthAddress struct { 1469 EthAddress string `protobuf:"bytes,1,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` 1470 } 1471 1472 func (m *QueryDelegateKeysByEthAddress) Reset() { *m = QueryDelegateKeysByEthAddress{} } 1473 func (m *QueryDelegateKeysByEthAddress) String() string { return proto.CompactTextString(m) } 1474 func (*QueryDelegateKeysByEthAddress) ProtoMessage() {} 1475 func (*QueryDelegateKeysByEthAddress) Descriptor() ([]byte, []int) { 1476 return fileDescriptor_702b8e5c1503495b, []int{32} 1477 } 1478 func (m *QueryDelegateKeysByEthAddress) XXX_Unmarshal(b []byte) error { 1479 return m.Unmarshal(b) 1480 } 1481 func (m *QueryDelegateKeysByEthAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1482 if deterministic { 1483 return xxx_messageInfo_QueryDelegateKeysByEthAddress.Marshal(b, m, deterministic) 1484 } else { 1485 b = b[:cap(b)] 1486 n, err := m.MarshalToSizedBuffer(b) 1487 if err != nil { 1488 return nil, err 1489 } 1490 return b[:n], nil 1491 } 1492 } 1493 func (m *QueryDelegateKeysByEthAddress) XXX_Merge(src proto.Message) { 1494 xxx_messageInfo_QueryDelegateKeysByEthAddress.Merge(m, src) 1495 } 1496 func (m *QueryDelegateKeysByEthAddress) XXX_Size() int { 1497 return m.Size() 1498 } 1499 func (m *QueryDelegateKeysByEthAddress) XXX_DiscardUnknown() { 1500 xxx_messageInfo_QueryDelegateKeysByEthAddress.DiscardUnknown(m) 1501 } 1502 1503 var xxx_messageInfo_QueryDelegateKeysByEthAddress proto.InternalMessageInfo 1504 1505 func (m *QueryDelegateKeysByEthAddress) GetEthAddress() string { 1506 if m != nil { 1507 return m.EthAddress 1508 } 1509 return "" 1510 } 1511 1512 type QueryDelegateKeysByEthAddressResponse struct { 1513 ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` 1514 OrchestratorAddress string `protobuf:"bytes,2,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` 1515 } 1516 1517 func (m *QueryDelegateKeysByEthAddressResponse) Reset() { *m = QueryDelegateKeysByEthAddressResponse{} } 1518 func (m *QueryDelegateKeysByEthAddressResponse) String() string { return proto.CompactTextString(m) } 1519 func (*QueryDelegateKeysByEthAddressResponse) ProtoMessage() {} 1520 func (*QueryDelegateKeysByEthAddressResponse) Descriptor() ([]byte, []int) { 1521 return fileDescriptor_702b8e5c1503495b, []int{33} 1522 } 1523 func (m *QueryDelegateKeysByEthAddressResponse) XXX_Unmarshal(b []byte) error { 1524 return m.Unmarshal(b) 1525 } 1526 func (m *QueryDelegateKeysByEthAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1527 if deterministic { 1528 return xxx_messageInfo_QueryDelegateKeysByEthAddressResponse.Marshal(b, m, deterministic) 1529 } else { 1530 b = b[:cap(b)] 1531 n, err := m.MarshalToSizedBuffer(b) 1532 if err != nil { 1533 return nil, err 1534 } 1535 return b[:n], nil 1536 } 1537 } 1538 func (m *QueryDelegateKeysByEthAddressResponse) XXX_Merge(src proto.Message) { 1539 xxx_messageInfo_QueryDelegateKeysByEthAddressResponse.Merge(m, src) 1540 } 1541 func (m *QueryDelegateKeysByEthAddressResponse) XXX_Size() int { 1542 return m.Size() 1543 } 1544 func (m *QueryDelegateKeysByEthAddressResponse) XXX_DiscardUnknown() { 1545 xxx_messageInfo_QueryDelegateKeysByEthAddressResponse.DiscardUnknown(m) 1546 } 1547 1548 var xxx_messageInfo_QueryDelegateKeysByEthAddressResponse proto.InternalMessageInfo 1549 1550 func (m *QueryDelegateKeysByEthAddressResponse) GetValidatorAddress() string { 1551 if m != nil { 1552 return m.ValidatorAddress 1553 } 1554 return "" 1555 } 1556 1557 func (m *QueryDelegateKeysByEthAddressResponse) GetOrchestratorAddress() string { 1558 if m != nil { 1559 return m.OrchestratorAddress 1560 } 1561 return "" 1562 } 1563 1564 type QueryDelegateKeysByOrchestratorAddress struct { 1565 OrchestratorAddress string `protobuf:"bytes,1,opt,name=orchestrator_address,json=orchestratorAddress,proto3" json:"orchestrator_address,omitempty"` 1566 } 1567 1568 func (m *QueryDelegateKeysByOrchestratorAddress) Reset() { 1569 *m = QueryDelegateKeysByOrchestratorAddress{} 1570 } 1571 func (m *QueryDelegateKeysByOrchestratorAddress) String() string { return proto.CompactTextString(m) } 1572 func (*QueryDelegateKeysByOrchestratorAddress) ProtoMessage() {} 1573 func (*QueryDelegateKeysByOrchestratorAddress) Descriptor() ([]byte, []int) { 1574 return fileDescriptor_702b8e5c1503495b, []int{34} 1575 } 1576 func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Unmarshal(b []byte) error { 1577 return m.Unmarshal(b) 1578 } 1579 func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1580 if deterministic { 1581 return xxx_messageInfo_QueryDelegateKeysByOrchestratorAddress.Marshal(b, m, deterministic) 1582 } else { 1583 b = b[:cap(b)] 1584 n, err := m.MarshalToSizedBuffer(b) 1585 if err != nil { 1586 return nil, err 1587 } 1588 return b[:n], nil 1589 } 1590 } 1591 func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Merge(src proto.Message) { 1592 xxx_messageInfo_QueryDelegateKeysByOrchestratorAddress.Merge(m, src) 1593 } 1594 func (m *QueryDelegateKeysByOrchestratorAddress) XXX_Size() int { 1595 return m.Size() 1596 } 1597 func (m *QueryDelegateKeysByOrchestratorAddress) XXX_DiscardUnknown() { 1598 xxx_messageInfo_QueryDelegateKeysByOrchestratorAddress.DiscardUnknown(m) 1599 } 1600 1601 var xxx_messageInfo_QueryDelegateKeysByOrchestratorAddress proto.InternalMessageInfo 1602 1603 func (m *QueryDelegateKeysByOrchestratorAddress) GetOrchestratorAddress() string { 1604 if m != nil { 1605 return m.OrchestratorAddress 1606 } 1607 return "" 1608 } 1609 1610 type QueryDelegateKeysByOrchestratorAddressResponse struct { 1611 ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` 1612 EthAddress string `protobuf:"bytes,2,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"` 1613 } 1614 1615 func (m *QueryDelegateKeysByOrchestratorAddressResponse) Reset() { 1616 *m = QueryDelegateKeysByOrchestratorAddressResponse{} 1617 } 1618 func (m *QueryDelegateKeysByOrchestratorAddressResponse) String() string { 1619 return proto.CompactTextString(m) 1620 } 1621 func (*QueryDelegateKeysByOrchestratorAddressResponse) ProtoMessage() {} 1622 func (*QueryDelegateKeysByOrchestratorAddressResponse) Descriptor() ([]byte, []int) { 1623 return fileDescriptor_702b8e5c1503495b, []int{35} 1624 } 1625 func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_Unmarshal(b []byte) error { 1626 return m.Unmarshal(b) 1627 } 1628 func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1629 if deterministic { 1630 return xxx_messageInfo_QueryDelegateKeysByOrchestratorAddressResponse.Marshal(b, m, deterministic) 1631 } else { 1632 b = b[:cap(b)] 1633 n, err := m.MarshalToSizedBuffer(b) 1634 if err != nil { 1635 return nil, err 1636 } 1637 return b[:n], nil 1638 } 1639 } 1640 func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_Merge(src proto.Message) { 1641 xxx_messageInfo_QueryDelegateKeysByOrchestratorAddressResponse.Merge(m, src) 1642 } 1643 func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_Size() int { 1644 return m.Size() 1645 } 1646 func (m *QueryDelegateKeysByOrchestratorAddressResponse) XXX_DiscardUnknown() { 1647 xxx_messageInfo_QueryDelegateKeysByOrchestratorAddressResponse.DiscardUnknown(m) 1648 } 1649 1650 var xxx_messageInfo_QueryDelegateKeysByOrchestratorAddressResponse proto.InternalMessageInfo 1651 1652 func (m *QueryDelegateKeysByOrchestratorAddressResponse) GetValidatorAddress() string { 1653 if m != nil { 1654 return m.ValidatorAddress 1655 } 1656 return "" 1657 } 1658 1659 func (m *QueryDelegateKeysByOrchestratorAddressResponse) GetEthAddress() string { 1660 if m != nil { 1661 return m.EthAddress 1662 } 1663 return "" 1664 } 1665 1666 type QueryPendingSendToEth struct { 1667 SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` 1668 } 1669 1670 func (m *QueryPendingSendToEth) Reset() { *m = QueryPendingSendToEth{} } 1671 func (m *QueryPendingSendToEth) String() string { return proto.CompactTextString(m) } 1672 func (*QueryPendingSendToEth) ProtoMessage() {} 1673 func (*QueryPendingSendToEth) Descriptor() ([]byte, []int) { 1674 return fileDescriptor_702b8e5c1503495b, []int{36} 1675 } 1676 func (m *QueryPendingSendToEth) XXX_Unmarshal(b []byte) error { 1677 return m.Unmarshal(b) 1678 } 1679 func (m *QueryPendingSendToEth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1680 if deterministic { 1681 return xxx_messageInfo_QueryPendingSendToEth.Marshal(b, m, deterministic) 1682 } else { 1683 b = b[:cap(b)] 1684 n, err := m.MarshalToSizedBuffer(b) 1685 if err != nil { 1686 return nil, err 1687 } 1688 return b[:n], nil 1689 } 1690 } 1691 func (m *QueryPendingSendToEth) XXX_Merge(src proto.Message) { 1692 xxx_messageInfo_QueryPendingSendToEth.Merge(m, src) 1693 } 1694 func (m *QueryPendingSendToEth) XXX_Size() int { 1695 return m.Size() 1696 } 1697 func (m *QueryPendingSendToEth) XXX_DiscardUnknown() { 1698 xxx_messageInfo_QueryPendingSendToEth.DiscardUnknown(m) 1699 } 1700 1701 var xxx_messageInfo_QueryPendingSendToEth proto.InternalMessageInfo 1702 1703 func (m *QueryPendingSendToEth) GetSenderAddress() string { 1704 if m != nil { 1705 return m.SenderAddress 1706 } 1707 return "" 1708 } 1709 1710 type QueryPendingSendToEthResponse struct { 1711 TransfersInBatches []*OutgoingTransferTx `protobuf:"bytes,1,rep,name=transfers_in_batches,json=transfersInBatches,proto3" json:"transfers_in_batches,omitempty"` 1712 UnbatchedTransfers []*OutgoingTransferTx `protobuf:"bytes,2,rep,name=unbatched_transfers,json=unbatchedTransfers,proto3" json:"unbatched_transfers,omitempty"` 1713 } 1714 1715 func (m *QueryPendingSendToEthResponse) Reset() { *m = QueryPendingSendToEthResponse{} } 1716 func (m *QueryPendingSendToEthResponse) String() string { return proto.CompactTextString(m) } 1717 func (*QueryPendingSendToEthResponse) ProtoMessage() {} 1718 func (*QueryPendingSendToEthResponse) Descriptor() ([]byte, []int) { 1719 return fileDescriptor_702b8e5c1503495b, []int{37} 1720 } 1721 func (m *QueryPendingSendToEthResponse) XXX_Unmarshal(b []byte) error { 1722 return m.Unmarshal(b) 1723 } 1724 func (m *QueryPendingSendToEthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1725 if deterministic { 1726 return xxx_messageInfo_QueryPendingSendToEthResponse.Marshal(b, m, deterministic) 1727 } else { 1728 b = b[:cap(b)] 1729 n, err := m.MarshalToSizedBuffer(b) 1730 if err != nil { 1731 return nil, err 1732 } 1733 return b[:n], nil 1734 } 1735 } 1736 func (m *QueryPendingSendToEthResponse) XXX_Merge(src proto.Message) { 1737 xxx_messageInfo_QueryPendingSendToEthResponse.Merge(m, src) 1738 } 1739 func (m *QueryPendingSendToEthResponse) XXX_Size() int { 1740 return m.Size() 1741 } 1742 func (m *QueryPendingSendToEthResponse) XXX_DiscardUnknown() { 1743 xxx_messageInfo_QueryPendingSendToEthResponse.DiscardUnknown(m) 1744 } 1745 1746 var xxx_messageInfo_QueryPendingSendToEthResponse proto.InternalMessageInfo 1747 1748 func (m *QueryPendingSendToEthResponse) GetTransfersInBatches() []*OutgoingTransferTx { 1749 if m != nil { 1750 return m.TransfersInBatches 1751 } 1752 return nil 1753 } 1754 1755 func (m *QueryPendingSendToEthResponse) GetUnbatchedTransfers() []*OutgoingTransferTx { 1756 if m != nil { 1757 return m.UnbatchedTransfers 1758 } 1759 return nil 1760 } 1761 1762 // QueryModuleStateRequest is the request type for the Query/PeggyModuleState 1763 // RPC method. 1764 type QueryModuleStateRequest struct { 1765 } 1766 1767 func (m *QueryModuleStateRequest) Reset() { *m = QueryModuleStateRequest{} } 1768 func (m *QueryModuleStateRequest) String() string { return proto.CompactTextString(m) } 1769 func (*QueryModuleStateRequest) ProtoMessage() {} 1770 func (*QueryModuleStateRequest) Descriptor() ([]byte, []int) { 1771 return fileDescriptor_702b8e5c1503495b, []int{38} 1772 } 1773 func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error { 1774 return m.Unmarshal(b) 1775 } 1776 func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1777 if deterministic { 1778 return xxx_messageInfo_QueryModuleStateRequest.Marshal(b, m, deterministic) 1779 } else { 1780 b = b[:cap(b)] 1781 n, err := m.MarshalToSizedBuffer(b) 1782 if err != nil { 1783 return nil, err 1784 } 1785 return b[:n], nil 1786 } 1787 } 1788 func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message) { 1789 xxx_messageInfo_QueryModuleStateRequest.Merge(m, src) 1790 } 1791 func (m *QueryModuleStateRequest) XXX_Size() int { 1792 return m.Size() 1793 } 1794 func (m *QueryModuleStateRequest) XXX_DiscardUnknown() { 1795 xxx_messageInfo_QueryModuleStateRequest.DiscardUnknown(m) 1796 } 1797 1798 var xxx_messageInfo_QueryModuleStateRequest proto.InternalMessageInfo 1799 1800 // QueryModuleStateResponse is the response type for the Query/PeggyModuleState 1801 // RPC method. 1802 type QueryModuleStateResponse struct { 1803 State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` 1804 } 1805 1806 func (m *QueryModuleStateResponse) Reset() { *m = QueryModuleStateResponse{} } 1807 func (m *QueryModuleStateResponse) String() string { return proto.CompactTextString(m) } 1808 func (*QueryModuleStateResponse) ProtoMessage() {} 1809 func (*QueryModuleStateResponse) Descriptor() ([]byte, []int) { 1810 return fileDescriptor_702b8e5c1503495b, []int{39} 1811 } 1812 func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error { 1813 return m.Unmarshal(b) 1814 } 1815 func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1816 if deterministic { 1817 return xxx_messageInfo_QueryModuleStateResponse.Marshal(b, m, deterministic) 1818 } else { 1819 b = b[:cap(b)] 1820 n, err := m.MarshalToSizedBuffer(b) 1821 if err != nil { 1822 return nil, err 1823 } 1824 return b[:n], nil 1825 } 1826 } 1827 func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message) { 1828 xxx_messageInfo_QueryModuleStateResponse.Merge(m, src) 1829 } 1830 func (m *QueryModuleStateResponse) XXX_Size() int { 1831 return m.Size() 1832 } 1833 func (m *QueryModuleStateResponse) XXX_DiscardUnknown() { 1834 xxx_messageInfo_QueryModuleStateResponse.DiscardUnknown(m) 1835 } 1836 1837 var xxx_messageInfo_QueryModuleStateResponse proto.InternalMessageInfo 1838 1839 func (m *QueryModuleStateResponse) GetState() *GenesisState { 1840 if m != nil { 1841 return m.State 1842 } 1843 return nil 1844 } 1845 1846 type MissingNoncesRequest struct { 1847 } 1848 1849 func (m *MissingNoncesRequest) Reset() { *m = MissingNoncesRequest{} } 1850 func (m *MissingNoncesRequest) String() string { return proto.CompactTextString(m) } 1851 func (*MissingNoncesRequest) ProtoMessage() {} 1852 func (*MissingNoncesRequest) Descriptor() ([]byte, []int) { 1853 return fileDescriptor_702b8e5c1503495b, []int{40} 1854 } 1855 func (m *MissingNoncesRequest) XXX_Unmarshal(b []byte) error { 1856 return m.Unmarshal(b) 1857 } 1858 func (m *MissingNoncesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1859 if deterministic { 1860 return xxx_messageInfo_MissingNoncesRequest.Marshal(b, m, deterministic) 1861 } else { 1862 b = b[:cap(b)] 1863 n, err := m.MarshalToSizedBuffer(b) 1864 if err != nil { 1865 return nil, err 1866 } 1867 return b[:n], nil 1868 } 1869 } 1870 func (m *MissingNoncesRequest) XXX_Merge(src proto.Message) { 1871 xxx_messageInfo_MissingNoncesRequest.Merge(m, src) 1872 } 1873 func (m *MissingNoncesRequest) XXX_Size() int { 1874 return m.Size() 1875 } 1876 func (m *MissingNoncesRequest) XXX_DiscardUnknown() { 1877 xxx_messageInfo_MissingNoncesRequest.DiscardUnknown(m) 1878 } 1879 1880 var xxx_messageInfo_MissingNoncesRequest proto.InternalMessageInfo 1881 1882 type MissingNoncesResponse struct { 1883 OperatorAddresses []string `protobuf:"bytes,1,rep,name=operator_addresses,json=operatorAddresses,proto3" json:"operator_addresses,omitempty"` 1884 } 1885 1886 func (m *MissingNoncesResponse) Reset() { *m = MissingNoncesResponse{} } 1887 func (m *MissingNoncesResponse) String() string { return proto.CompactTextString(m) } 1888 func (*MissingNoncesResponse) ProtoMessage() {} 1889 func (*MissingNoncesResponse) Descriptor() ([]byte, []int) { 1890 return fileDescriptor_702b8e5c1503495b, []int{41} 1891 } 1892 func (m *MissingNoncesResponse) XXX_Unmarshal(b []byte) error { 1893 return m.Unmarshal(b) 1894 } 1895 func (m *MissingNoncesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1896 if deterministic { 1897 return xxx_messageInfo_MissingNoncesResponse.Marshal(b, m, deterministic) 1898 } else { 1899 b = b[:cap(b)] 1900 n, err := m.MarshalToSizedBuffer(b) 1901 if err != nil { 1902 return nil, err 1903 } 1904 return b[:n], nil 1905 } 1906 } 1907 func (m *MissingNoncesResponse) XXX_Merge(src proto.Message) { 1908 xxx_messageInfo_MissingNoncesResponse.Merge(m, src) 1909 } 1910 func (m *MissingNoncesResponse) XXX_Size() int { 1911 return m.Size() 1912 } 1913 func (m *MissingNoncesResponse) XXX_DiscardUnknown() { 1914 xxx_messageInfo_MissingNoncesResponse.DiscardUnknown(m) 1915 } 1916 1917 var xxx_messageInfo_MissingNoncesResponse proto.InternalMessageInfo 1918 1919 func (m *MissingNoncesResponse) GetOperatorAddresses() []string { 1920 if m != nil { 1921 return m.OperatorAddresses 1922 } 1923 return nil 1924 } 1925 1926 func init() { 1927 proto.RegisterType((*QueryParamsRequest)(nil), "injective.peggy.v1.QueryParamsRequest") 1928 proto.RegisterType((*QueryParamsResponse)(nil), "injective.peggy.v1.QueryParamsResponse") 1929 proto.RegisterType((*QueryCurrentValsetRequest)(nil), "injective.peggy.v1.QueryCurrentValsetRequest") 1930 proto.RegisterType((*QueryCurrentValsetResponse)(nil), "injective.peggy.v1.QueryCurrentValsetResponse") 1931 proto.RegisterType((*QueryValsetRequestRequest)(nil), "injective.peggy.v1.QueryValsetRequestRequest") 1932 proto.RegisterType((*QueryValsetRequestResponse)(nil), "injective.peggy.v1.QueryValsetRequestResponse") 1933 proto.RegisterType((*QueryValsetConfirmRequest)(nil), "injective.peggy.v1.QueryValsetConfirmRequest") 1934 proto.RegisterType((*QueryValsetConfirmResponse)(nil), "injective.peggy.v1.QueryValsetConfirmResponse") 1935 proto.RegisterType((*QueryValsetConfirmsByNonceRequest)(nil), "injective.peggy.v1.QueryValsetConfirmsByNonceRequest") 1936 proto.RegisterType((*QueryValsetConfirmsByNonceResponse)(nil), "injective.peggy.v1.QueryValsetConfirmsByNonceResponse") 1937 proto.RegisterType((*QueryLastValsetRequestsRequest)(nil), "injective.peggy.v1.QueryLastValsetRequestsRequest") 1938 proto.RegisterType((*QueryLastValsetRequestsResponse)(nil), "injective.peggy.v1.QueryLastValsetRequestsResponse") 1939 proto.RegisterType((*QueryLastPendingValsetRequestByAddrRequest)(nil), "injective.peggy.v1.QueryLastPendingValsetRequestByAddrRequest") 1940 proto.RegisterType((*QueryLastPendingValsetRequestByAddrResponse)(nil), "injective.peggy.v1.QueryLastPendingValsetRequestByAddrResponse") 1941 proto.RegisterType((*QueryBatchFeeRequest)(nil), "injective.peggy.v1.QueryBatchFeeRequest") 1942 proto.RegisterType((*QueryBatchFeeResponse)(nil), "injective.peggy.v1.QueryBatchFeeResponse") 1943 proto.RegisterType((*QueryLastPendingBatchRequestByAddrRequest)(nil), "injective.peggy.v1.QueryLastPendingBatchRequestByAddrRequest") 1944 proto.RegisterType((*QueryLastPendingBatchRequestByAddrResponse)(nil), "injective.peggy.v1.QueryLastPendingBatchRequestByAddrResponse") 1945 proto.RegisterType((*QueryOutgoingTxBatchesRequest)(nil), "injective.peggy.v1.QueryOutgoingTxBatchesRequest") 1946 proto.RegisterType((*QueryOutgoingTxBatchesResponse)(nil), "injective.peggy.v1.QueryOutgoingTxBatchesResponse") 1947 proto.RegisterType((*QueryBatchRequestByNonceRequest)(nil), "injective.peggy.v1.QueryBatchRequestByNonceRequest") 1948 proto.RegisterType((*QueryBatchRequestByNonceResponse)(nil), "injective.peggy.v1.QueryBatchRequestByNonceResponse") 1949 proto.RegisterType((*QueryBatchConfirmsRequest)(nil), "injective.peggy.v1.QueryBatchConfirmsRequest") 1950 proto.RegisterType((*QueryBatchConfirmsResponse)(nil), "injective.peggy.v1.QueryBatchConfirmsResponse") 1951 proto.RegisterType((*QueryLastEventByAddrRequest)(nil), "injective.peggy.v1.QueryLastEventByAddrRequest") 1952 proto.RegisterType((*QueryLastEventByAddrResponse)(nil), "injective.peggy.v1.QueryLastEventByAddrResponse") 1953 proto.RegisterType((*QueryERC20ToDenomRequest)(nil), "injective.peggy.v1.QueryERC20ToDenomRequest") 1954 proto.RegisterType((*QueryERC20ToDenomResponse)(nil), "injective.peggy.v1.QueryERC20ToDenomResponse") 1955 proto.RegisterType((*QueryDenomToERC20Request)(nil), "injective.peggy.v1.QueryDenomToERC20Request") 1956 proto.RegisterType((*QueryDenomToERC20Response)(nil), "injective.peggy.v1.QueryDenomToERC20Response") 1957 proto.RegisterType((*QueryDelegateKeysByValidatorAddress)(nil), "injective.peggy.v1.QueryDelegateKeysByValidatorAddress") 1958 proto.RegisterType((*QueryDelegateKeysByValidatorAddressResponse)(nil), "injective.peggy.v1.QueryDelegateKeysByValidatorAddressResponse") 1959 proto.RegisterType((*QueryDelegateKeysByEthAddress)(nil), "injective.peggy.v1.QueryDelegateKeysByEthAddress") 1960 proto.RegisterType((*QueryDelegateKeysByEthAddressResponse)(nil), "injective.peggy.v1.QueryDelegateKeysByEthAddressResponse") 1961 proto.RegisterType((*QueryDelegateKeysByOrchestratorAddress)(nil), "injective.peggy.v1.QueryDelegateKeysByOrchestratorAddress") 1962 proto.RegisterType((*QueryDelegateKeysByOrchestratorAddressResponse)(nil), "injective.peggy.v1.QueryDelegateKeysByOrchestratorAddressResponse") 1963 proto.RegisterType((*QueryPendingSendToEth)(nil), "injective.peggy.v1.QueryPendingSendToEth") 1964 proto.RegisterType((*QueryPendingSendToEthResponse)(nil), "injective.peggy.v1.QueryPendingSendToEthResponse") 1965 proto.RegisterType((*QueryModuleStateRequest)(nil), "injective.peggy.v1.QueryModuleStateRequest") 1966 proto.RegisterType((*QueryModuleStateResponse)(nil), "injective.peggy.v1.QueryModuleStateResponse") 1967 proto.RegisterType((*MissingNoncesRequest)(nil), "injective.peggy.v1.MissingNoncesRequest") 1968 proto.RegisterType((*MissingNoncesResponse)(nil), "injective.peggy.v1.MissingNoncesResponse") 1969 } 1970 1971 func init() { proto.RegisterFile("injective/peggy/v1/query.proto", fileDescriptor_702b8e5c1503495b) } 1972 1973 var fileDescriptor_702b8e5c1503495b = []byte{ 1974 // 1767 bytes of a gzipped FileDescriptorProto 1975 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x99, 0xcf, 0x6f, 0xdb, 0x46, 1976 0x16, 0xc7, 0x4d, 0x6f, 0x6c, 0xc7, 0x2f, 0x9b, 0xc4, 0x1e, 0xcb, 0x89, 0x4c, 0xdb, 0xb2, 0xc2, 1977 0xfc, 0x58, 0x3b, 0xb1, 0x45, 0x5b, 0xf9, 0xb5, 0xd9, 0x45, 0x9c, 0xc4, 0x5e, 0x27, 0x08, 0x92, 1978 0xac, 0xbd, 0x8a, 0xb1, 0x59, 0x6c, 0xd3, 0x12, 0x94, 0x34, 0xa6, 0xd9, 0xca, 0x1c, 0x85, 0xa4, 1979 0x8d, 0x08, 0x41, 0x0a, 0xb4, 0x97, 0x16, 0x28, 0x0a, 0x04, 0xe8, 0xa9, 0x3d, 0xa4, 0x3d, 0xf7, 1980 0xd6, 0x7b, 0x0f, 0x3d, 0x15, 0xe9, 0x2d, 0x68, 0x51, 0xa0, 0xa7, 0xa2, 0x48, 0xfa, 0x87, 0x14, 1981 0x9c, 0x19, 0x52, 0x22, 0x39, 0xa4, 0x28, 0xa7, 0xa7, 0x98, 0x33, 0xef, 0xc7, 0xe7, 0x0d, 0x87, 1982 0x6f, 0xe6, 0x1b, 0x41, 0xc1, 0xb4, 0xde, 0xc5, 0x35, 0xd7, 0xdc, 0xc3, 0x6a, 0x13, 0x1b, 0x46, 1983 0x4b, 0xdd, 0x5b, 0x52, 0x1f, 0xed, 0x62, 0xbb, 0x55, 0x6a, 0xda, 0xc4, 0x25, 0x08, 0x05, 0xf3, 1984 0x25, 0x3a, 0x5f, 0xda, 0x5b, 0x92, 0x8b, 0x02, 0x1f, 0x03, 0x5b, 0xd8, 0x31, 0x1d, 0xe6, 0x25, 1985 0xcf, 0x08, 0x2c, 0x9a, 0xba, 0xad, 0xef, 0xf8, 0x06, 0xa2, 0xb4, 0x6e, 0xab, 0x89, 0xfd, 0xf9, 1986 0x69, 0xc1, 0xfc, 0x8e, 0x63, 0xa4, 0x4d, 0x37, 0x09, 0x69, 0xa4, 0x44, 0xaf, 0xea, 0x6e, 0x6d, 1987 0x9b, 0xcf, 0x4f, 0x19, 0x84, 0x18, 0x0d, 0xac, 0xea, 0x4d, 0x53, 0xd5, 0x2d, 0x8b, 0xb8, 0xba, 1988 0x6b, 0x12, 0xcb, 0x0f, 0x9e, 0x33, 0x88, 0x41, 0xe8, 0x9f, 0xaa, 0xf7, 0x17, 0x1b, 0x55, 0x72, 1989 0x80, 0xfe, 0xe3, 0xad, 0xcb, 0x06, 0x2d, 0xa3, 0x82, 0x1f, 0xed, 0x62, 0xc7, 0x55, 0xd6, 0x61, 1990 0x2c, 0x34, 0xea, 0x34, 0x89, 0xe5, 0x60, 0xf4, 0x77, 0x18, 0x64, 0xe5, 0xe6, 0xa5, 0xa2, 0x34, 1991 0x7b, 0xa8, 0x2c, 0x97, 0xe2, 0xcb, 0x58, 0x62, 0x3e, 0x2b, 0x07, 0x5e, 0xfc, 0x3a, 0xd3, 0x57, 1992 0xe1, 0xf6, 0xca, 0x24, 0x4c, 0xd0, 0x80, 0xab, 0xbb, 0xb6, 0x8d, 0x2d, 0xf7, 0xbf, 0x7a, 0xc3, 1993 0xc1, 0xae, 0x9f, 0x6d, 0x03, 0x64, 0xd1, 0x24, 0x4f, 0x5a, 0x86, 0xc1, 0x3d, 0x3a, 0x92, 0x96, 1994 0x94, 0xfb, 0x70, 0x4b, 0x65, 0x89, 0xa7, 0x0b, 0xe5, 0xe1, 0xff, 0xa0, 0x1c, 0x0c, 0x58, 0xc4, 1995 0xaa, 0x61, 0x1a, 0xef, 0x40, 0x85, 0x3d, 0x04, 0x10, 0x11, 0x97, 0x37, 0x80, 0xb8, 0x13, 0x82, 1996 0x58, 0x25, 0xd6, 0x96, 0x69, 0xef, 0xa4, 0x42, 0xa0, 0x3c, 0x0c, 0xe9, 0xf5, 0xba, 0x8d, 0x1d, 1997 0x27, 0xdf, 0x5f, 0x94, 0x66, 0x87, 0x2b, 0xfe, 0xa3, 0xf2, 0x30, 0x84, 0x17, 0x04, 0xe3, 0x78, 1998 0xcb, 0x30, 0x54, 0x63, 0x43, 0x9c, 0xef, 0x94, 0x88, 0xef, 0x9e, 0x63, 0x84, 0xdd, 0x7d, 0x27, 1999 0xe5, 0x0a, 0x9c, 0x88, 0x47, 0x77, 0x56, 0x5a, 0xff, 0xf6, 0xa8, 0xd2, 0xd7, 0x6d, 0x0b, 0x94, 2000 0x34, 0x57, 0x0e, 0x78, 0x1d, 0x0e, 0xf2, 0x5c, 0xde, 0xde, 0xf9, 0x4b, 0x66, 0xc2, 0xc0, 0x4b, 2001 0x29, 0x42, 0x81, 0xe6, 0xb9, 0xab, 0x3b, 0xe1, 0xed, 0x13, 0x6c, 0xda, 0x07, 0x30, 0x93, 0x68, 2002 0xc1, 0x31, 0x2e, 0xc0, 0x10, 0x7b, 0x39, 0x3e, 0x45, 0xda, 0x7b, 0xf4, 0x4d, 0x95, 0x9b, 0x70, 2003 0x36, 0x08, 0xbc, 0x81, 0xad, 0xba, 0x69, 0x19, 0xa1, 0xf8, 0x2b, 0xad, 0x1b, 0xf5, 0xba, 0xed, 2004 0x2f, 0x53, 0xc7, 0x3b, 0x94, 0xc2, 0xef, 0xb0, 0x06, 0xe7, 0x32, 0xc5, 0x79, 0x23, 0xd8, 0x63, 2005 0x90, 0xa3, 0x49, 0x56, 0xbc, 0xc6, 0x70, 0x13, 0xfb, 0x6f, 0x4f, 0xd9, 0x84, 0xf1, 0xc8, 0x38, 2006 0x4f, 0xf3, 0x4f, 0x18, 0xae, 0xf2, 0x31, 0x3f, 0xd1, 0xb4, 0x28, 0x91, 0xef, 0xe8, 0x54, 0xda, 2007 0xf6, 0xca, 0x1a, 0xcc, 0x45, 0x4b, 0xa2, 0x76, 0x3d, 0xae, 0x8c, 0x11, 0x5f, 0x61, 0x51, 0x18, 2008 0x4e, 0x7c, 0x05, 0x06, 0x28, 0x01, 0xdf, 0xeb, 0x27, 0x45, 0xb4, 0xeb, 0xbb, 0xae, 0x41, 0x4c, 2009 0xcb, 0xd8, 0x7c, 0xcc, 0x02, 0x31, 0x0f, 0x65, 0x06, 0xa6, 0x69, 0xa2, 0xc8, 0x34, 0x0e, 0x36, 2010 0x91, 0xc6, 0xb7, 0x99, 0xc0, 0x80, 0x67, 0xbf, 0x0a, 0x43, 0x55, 0x36, 0xc4, 0x57, 0x2b, 0x53, 2011 0x7e, 0xdf, 0x47, 0xa9, 0xf2, 0x5d, 0x1a, 0xae, 0xaf, 0xfb, 0x87, 0x86, 0xe6, 0x60, 0xa4, 0x46, 2012 0x2c, 0xd7, 0xd6, 0x6b, 0xae, 0x16, 0x6e, 0x12, 0x47, 0xfd, 0xf1, 0x1b, 0x7c, 0x39, 0xdf, 0x86, 2013 0x62, 0x72, 0x8e, 0x37, 0x5f, 0xc4, 0x87, 0xbc, 0xb1, 0xd1, 0x41, 0xff, 0x8b, 0xff, 0x13, 0xe1, 2014 0x65, 0x51, 0x74, 0x8e, 0x7d, 0x2d, 0xd6, 0x48, 0x4e, 0x26, 0x34, 0x12, 0xee, 0xca, 0xc8, 0xdb, 2015 0x7d, 0xe4, 0x32, 0x4c, 0x06, 0x5b, 0x6d, 0x6d, 0x0f, 0x5b, 0x99, 0xf7, 0x68, 0x03, 0xa6, 0xc4, 2016 0x8e, 0x9c, 0xec, 0x2e, 0x8c, 0x34, 0x74, 0xc7, 0xd5, 0x6a, 0x0d, 0xdd, 0xdc, 0xd1, 0xb0, 0x67, 2017 0xc1, 0xd7, 0x56, 0x11, 0x11, 0x7a, 0x61, 0x56, 0x3d, 0x53, 0x1a, 0xab, 0x72, 0xa4, 0x11, 0x7a, 2018 0x56, 0x16, 0x21, 0x4f, 0xb3, 0xad, 0x55, 0x56, 0xcb, 0x8b, 0x9b, 0xe4, 0x5f, 0xd8, 0x22, 0x9d, 2019 0x67, 0x07, 0xb6, 0x6b, 0xe5, 0x45, 0x4e, 0xc8, 0x1e, 0x94, 0x77, 0xf8, 0x5b, 0x09, 0x7b, 0x70, 2020 0xb8, 0x1c, 0x0c, 0xd4, 0xbd, 0x01, 0xdf, 0x85, 0x3e, 0xa0, 0x73, 0x30, 0x5a, 0x23, 0xce, 0x0e, 2021 0x71, 0x34, 0x62, 0x9b, 0x86, 0x69, 0xe9, 0x2e, 0xae, 0xd3, 0xd7, 0x72, 0xb0, 0x32, 0xc2, 0x26, 2022 0xd6, 0x83, 0xf1, 0x80, 0x88, 0x06, 0xde, 0x24, 0x34, 0x4d, 0x07, 0x51, 0x3c, 0x7c, 0x40, 0x14, 2023 0xf6, 0x68, 0x13, 0xc5, 0x8b, 0xe8, 0x8d, 0xa8, 0x02, 0x27, 0x79, 0xfc, 0x06, 0x36, 0x74, 0x17, 2024 0xdf, 0xc1, 0x2d, 0x67, 0xc5, 0x3b, 0x88, 0xcc, 0xba, 0xee, 0x12, 0x9b, 0x6f, 0x28, 0x2f, 0xe6, 2025 0x9e, 0x3f, 0xa6, 0x85, 0x5f, 0xee, 0xc8, 0x5e, 0xc4, 0x58, 0xf9, 0x40, 0xe2, 0x4d, 0x3a, 0x3d, 2026 0x68, 0x50, 0xc6, 0x0c, 0x1c, 0xc2, 0xee, 0x76, 0x24, 0x2c, 0x60, 0x77, 0xdb, 0xcf, 0xbe, 0x04, 2027 0x39, 0x62, 0x7b, 0x5f, 0xbe, 0x6b, 0x87, 0x00, 0xd8, 0xee, 0x1f, 0xeb, 0x9c, 0xf3, 0x19, 0xae, 2028 0xf3, 0x26, 0x15, 0x46, 0x58, 0x6b, 0xc7, 0xec, 0x96, 0x54, 0xf9, 0x48, 0x82, 0xd3, 0xa9, 0x21, 2029 0x02, 0xfe, 0x5e, 0x16, 0x67, 0x3f, 0xb5, 0xbc, 0x05, 0x67, 0x04, 0x20, 0xeb, 0x71, 0xcb, 0xc4, 2030 0xe0, 0x52, 0x72, 0xf0, 0xf7, 0xa1, 0x94, 0x2d, 0xf8, 0xfe, 0xca, 0x8d, 0x2c, 0x73, 0x7f, 0x6c, 2031 0x99, 0x97, 0xf9, 0x99, 0xca, 0x8f, 0xac, 0xfb, 0xd8, 0xaa, 0x6f, 0x92, 0x35, 0x77, 0x1b, 0x9d, 2032 0x86, 0x23, 0x0e, 0xb6, 0xea, 0x38, 0x9a, 0xe3, 0x30, 0x1b, 0xf5, 0xfd, 0x7f, 0x94, 0xf8, 0x9b, 2033 0x8e, 0x06, 0x08, 0x78, 0xff, 0x07, 0x39, 0xd7, 0xd6, 0x2d, 0x67, 0x0b, 0xdb, 0x8e, 0x66, 0x5a, 2034 0x5a, 0xf8, 0xe4, 0x39, 0x93, 0xda, 0xb4, 0xb9, 0xdf, 0xe6, 0xe3, 0x0a, 0x0a, 0x62, 0xdc, 0xb6, 2035 0xf8, 0x71, 0x86, 0x1e, 0xc0, 0xd8, 0xae, 0xc5, 0xc2, 0xd5, 0xb5, 0x60, 0x3e, 0xdf, 0xdf, 0x5b, 2036 0xe0, 0x20, 0x84, 0x3f, 0xe8, 0x28, 0x13, 0x70, 0x9c, 0xd6, 0x74, 0x8f, 0xd4, 0x77, 0x1b, 0xf8, 2037 0xbe, 0xab, 0xbb, 0xc1, 0x1d, 0xa4, 0xc2, 0x5b, 0x48, 0x68, 0x8a, 0x57, 0x7a, 0x09, 0x06, 0x1c, 2038 0x6f, 0x80, 0xf7, 0xcc, 0xa2, 0x88, 0xe0, 0x16, 0x53, 0x63, 0xcc, 0x91, 0x99, 0x7b, 0xf7, 0x9d, 2039 0x7b, 0xa6, 0xe3, 0x98, 0x96, 0x41, 0xcf, 0xb7, 0xe0, 0x20, 0xbf, 0x09, 0xe3, 0x91, 0x71, 0x9e, 2040 0x68, 0x01, 0x10, 0x69, 0xe2, 0xd0, 0x1e, 0xe3, 0x0b, 0x3a, 0x5c, 0x19, 0xf5, 0x67, 0x6e, 0xf8, 2041 0x13, 0xe5, 0xef, 0x65, 0x18, 0xa0, 0xd0, 0xc8, 0x81, 0x41, 0xa6, 0x6d, 0x90, 0x70, 0x79, 0xe2, 2042 0x32, 0x4a, 0xfe, 0x5b, 0x57, 0x3b, 0xc6, 0xa4, 0xe4, 0x3f, 0xfc, 0xe9, 0xf7, 0xcf, 0xfa, 0x11, 2043 0x1a, 0x89, 0xea, 0x4a, 0xf4, 0x4c, 0x82, 0xc3, 0x21, 0x5d, 0x84, 0x16, 0x12, 0x83, 0x8a, 0xc4, 2044 0x95, 0x5c, 0xca, 0x6a, 0xce, 0x51, 0x8a, 0x14, 0x45, 0x46, 0xf9, 0x36, 0x0a, 0xbb, 0x5a, 0xaa, 2045 0x35, 0x66, 0x8f, 0x3e, 0x96, 0xe0, 0x70, 0x28, 0x47, 0x0a, 0x92, 0x48, 0x80, 0xa5, 0x20, 0x09, 2046 0xc5, 0x97, 0x68, 0x75, 0x18, 0x12, 0x5d, 0x9d, 0x90, 0x60, 0xe8, 0x8a, 0x12, 0x96, 0x61, 0x5d, 2047 0x51, 0x22, 0x42, 0x2b, 0x6d, 0x75, 0x38, 0xc0, 0xd7, 0x12, 0x8c, 0x0b, 0xb5, 0x10, 0xba, 0x98, 2048 0x2d, 0x57, 0x44, 0x76, 0xc9, 0x97, 0x7a, 0x75, 0xe3, 0xa8, 0x0a, 0x45, 0x9d, 0x42, 0x72, 0x1b, 2049 0xd5, 0xbf, 0x04, 0xa9, 0x4f, 0xe8, 0xad, 0xec, 0x29, 0xfa, 0x4a, 0x02, 0x14, 0x97, 0x4b, 0xa8, 2050 0x9c, 0x98, 0x32, 0x51, 0x7d, 0xc9, 0xe7, 0x7b, 0xf2, 0xe1, 0x8c, 0x27, 0x28, 0xe3, 0x24, 0x9a, 2051 0x88, 0x2d, 0xa7, 0xed, 0xb3, 0x7c, 0x27, 0x41, 0x21, 0x5d, 0x30, 0xa1, 0xe5, 0xd4, 0xd4, 0x5d, 2052 0x15, 0x9b, 0x7c, 0x6d, 0xdf, 0xfe, 0xbc, 0x8c, 0x69, 0x5a, 0xc6, 0x71, 0x34, 0x1e, 0x2b, 0xc3, 2053 0xbb, 0xd5, 0xa1, 0xe7, 0x12, 0x1c, 0x8d, 0xdc, 0x1a, 0x91, 0x9a, 0x9a, 0x33, 0x7e, 0x31, 0x95, 2054 0x17, 0xb3, 0x3b, 0x70, 0xaa, 0x59, 0x4a, 0xa5, 0xa0, 0x62, 0x9b, 0x8a, 0xd8, 0x7a, 0xad, 0x81, 2055 0x55, 0x7a, 0x39, 0x55, 0x9f, 0xf0, 0xee, 0xf7, 0x14, 0x7d, 0x21, 0xc1, 0xd8, 0x2d, 0xec, 0xc6, 2056 0x8e, 0xb1, 0xb9, 0xe4, 0xfe, 0x15, 0x31, 0x95, 0x97, 0x32, 0x9b, 0x06, 0x7c, 0xa7, 0x29, 0xdf, 2057 0x0c, 0x9a, 0xee, 0x68, 0x7a, 0xcc, 0x56, 0xf3, 0x8e, 0x49, 0xcd, 0x25, 0x1a, 0x76, 0xb7, 0xd1, 2058 0x53, 0x18, 0x0e, 0xa4, 0x27, 0x9a, 0x4d, 0x4c, 0x13, 0xd1, 0xbb, 0xf2, 0x5c, 0x06, 0x4b, 0x0e, 2059 0x32, 0x49, 0x41, 0xc6, 0xd1, 0x58, 0xe4, 0xbf, 0xd5, 0xb6, 0xbc, 0x8c, 0xcf, 0x25, 0x18, 0x8d, 2060 0x89, 0x41, 0x94, 0x5c, 0x6e, 0x92, 0xb2, 0x94, 0xcb, 0xbd, 0xb8, 0x24, 0x7f, 0xc3, 0x94, 0x4c, 2061 0x25, 0xdc, 0xc5, 0x7d, 0x8c, 0xbe, 0x95, 0x60, 0x3a, 0x55, 0x37, 0xa3, 0xab, 0x59, 0xf6, 0x77, 2062 0xa2, 0x6c, 0x97, 0x97, 0xf7, 0xeb, 0xce, 0x8b, 0x98, 0xa2, 0x45, 0x1c, 0x43, 0xb9, 0x68, 0x11, 2063 0xf4, 0xe3, 0xf8, 0x5c, 0x82, 0x31, 0x81, 0x4e, 0x45, 0xe7, 0xd3, 0xdf, 0x9f, 0x50, 0x39, 0xcb, 2064 0x17, 0x7a, 0x73, 0xe2, 0x80, 0xc7, 0x29, 0xe0, 0x28, 0x3a, 0x1a, 0x01, 0xa4, 0xc7, 0x4b, 0x48, 2065 0x86, 0xa6, 0x1c, 0x2f, 0x22, 0x31, 0x9c, 0x72, 0xbc, 0x08, 0xd5, 0xad, 0xe8, 0x78, 0x61, 0x4b, 2066 0xe5, 0x77, 0x6e, 0xf4, 0xa5, 0x04, 0x7f, 0xed, 0x54, 0x78, 0x68, 0x3e, 0x31, 0x85, 0x40, 0x3a, 2067 0xca, 0x0b, 0x19, 0xad, 0x39, 0x4f, 0x99, 0xf2, 0xcc, 0xa3, 0xb3, 0x9d, 0x67, 0x48, 0x44, 0x9e, 2068 0xa9, 0x54, 0xb9, 0x79, 0x5f, 0x2b, 0x13, 0x95, 0x1e, 0x61, 0xa7, 0xe2, 0x4b, 0x21, 0x14, 0x48, 2069 0xc9, 0x14, 0x42, 0x91, 0x8c, 0xcc, 0x46, 0x48, 0xc1, 0x68, 0x3f, 0xa1, 0x22, 0xf3, 0x07, 0x09, 2070 0x26, 0x6e, 0x61, 0xb7, 0x43, 0x35, 0x74, 0x08, 0x3c, 0x74, 0x39, 0x05, 0x20, 0x4d, 0x12, 0xa6, 2071 0x1c, 0x23, 0xd9, 0xb4, 0xa4, 0xa8, 0x16, 0xfa, 0x9b, 0x85, 0x56, 0xe7, 0xfe, 0xda, 0x7b, 0xb8, 2072 0xe5, 0x68, 0xd5, 0x96, 0x16, 0x48, 0x15, 0xf4, 0x0d, 0x6b, 0xdd, 0xa1, 0x5a, 0xbc, 0xd6, 0xbd, 2073 0x94, 0x11, 0xa6, 0x2d, 0x09, 0xe5, 0x2b, 0x3d, 0xbb, 0x04, 0xe4, 0xf3, 0x94, 0xfc, 0x0c, 0x3a, 2074 0xd5, 0x95, 0xdc, 0xeb, 0xe8, 0x3f, 0x4b, 0x30, 0x15, 0x65, 0xee, 0x14, 0x6d, 0xe8, 0x1f, 0x19, 2075 0x49, 0x04, 0x4a, 0x4f, 0x5e, 0xd9, 0xbf, 0x6f, 0x50, 0xce, 0x45, 0x5a, 0x8e, 0x8a, 0x16, 0xba, 2076 0x96, 0xd3, 0xa9, 0x4a, 0xd1, 0xa7, 0x12, 0x8c, 0x6c, 0x78, 0x0e, 0x1d, 0xfa, 0x06, 0x9d, 0x4b, 2077 0xe4, 0x89, 0x0b, 0x24, 0x79, 0x3e, 0x9b, 0x31, 0xc7, 0x2c, 0x50, 0xcc, 0x3c, 0x3a, 0xd6, 0xf1, 2078 0x63, 0x12, 0x35, 0xd3, 0xa8, 0x34, 0x42, 0x9f, 0x48, 0x80, 0xb8, 0x06, 0xf2, 0xb0, 0x08, 0x13, 2079 0x42, 0xe2, 0x33, 0x54, 0xa4, 0xa1, 0xc4, 0x67, 0xa8, 0x50, 0x55, 0x89, 0x3a, 0xd7, 0x0e, 0x33, 2080 0xd4, 0xe8, 0x5d, 0xd3, 0x59, 0xc1, 0x2f, 0x5e, 0x15, 0xa4, 0x97, 0xaf, 0x0a, 0xd2, 0x6f, 0xaf, 2081 0x0a, 0xd2, 0xb3, 0xd7, 0x85, 0xbe, 0x97, 0xaf, 0x0b, 0x7d, 0xbf, 0xbc, 0x2e, 0xf4, 0xfd, 0xff, 2082 0x8e, 0x61, 0xba, 0xdb, 0xbb, 0xd5, 0x52, 0x8d, 0xec, 0xa8, 0xb7, 0xfd, 0x84, 0x77, 0xf5, 0xaa, 2083 0xa3, 0x06, 0xe9, 0x17, 0x6a, 0xc4, 0xc6, 0x9d, 0x8f, 0xdb, 0xba, 0x69, 0xf1, 0x6a, 0x1d, 0x9e, 2084 0x92, 0xfe, 0xd0, 0x56, 0x1d, 0xa4, 0xbf, 0x6b, 0x9d, 0xff, 0x23, 0x00, 0x00, 0xff, 0xff, 0x32, 2085 0x01, 0x57, 0x21, 0x02, 0x1c, 0x00, 0x00, 2086 } 2087 2088 // Reference imports to suppress errors if they are not otherwise used. 2089 var _ context.Context 2090 var _ grpc.ClientConn 2091 2092 // This is a compile-time assertion to ensure that this generated file 2093 // is compatible with the grpc package it is being compiled against. 2094 const _ = grpc.SupportPackageIsVersion4 2095 2096 // QueryClient is the client API for Query service. 2097 // 2098 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2099 type QueryClient interface { 2100 // Deployments queries deployments 2101 Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) 2102 // valset 2103 CurrentValset(ctx context.Context, in *QueryCurrentValsetRequest, opts ...grpc.CallOption) (*QueryCurrentValsetResponse, error) 2104 ValsetRequest(ctx context.Context, in *QueryValsetRequestRequest, opts ...grpc.CallOption) (*QueryValsetRequestResponse, error) 2105 ValsetConfirm(ctx context.Context, in *QueryValsetConfirmRequest, opts ...grpc.CallOption) (*QueryValsetConfirmResponse, error) 2106 ValsetConfirmsByNonce(ctx context.Context, in *QueryValsetConfirmsByNonceRequest, opts ...grpc.CallOption) (*QueryValsetConfirmsByNonceResponse, error) 2107 LastValsetRequests(ctx context.Context, in *QueryLastValsetRequestsRequest, opts ...grpc.CallOption) (*QueryLastValsetRequestsResponse, error) 2108 LastPendingValsetRequestByAddr(ctx context.Context, in *QueryLastPendingValsetRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingValsetRequestByAddrResponse, error) 2109 // claim 2110 LastEventByAddr(ctx context.Context, in *QueryLastEventByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventByAddrResponse, error) 2111 // batch 2112 GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEth, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, error) 2113 BatchFees(ctx context.Context, in *QueryBatchFeeRequest, opts ...grpc.CallOption) (*QueryBatchFeeResponse, error) 2114 OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error) 2115 LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error) 2116 BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error) 2117 BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error) 2118 ERC20ToDenom(ctx context.Context, in *QueryERC20ToDenomRequest, opts ...grpc.CallOption) (*QueryERC20ToDenomResponse, error) 2119 DenomToERC20(ctx context.Context, in *QueryDenomToERC20Request, opts ...grpc.CallOption) (*QueryDenomToERC20Response, error) 2120 GetDelegateKeyByValidator(ctx context.Context, in *QueryDelegateKeysByValidatorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByValidatorAddressResponse, error) 2121 GetDelegateKeyByEth(ctx context.Context, in *QueryDelegateKeysByEthAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByEthAddressResponse, error) 2122 GetDelegateKeyByOrchestrator(ctx context.Context, in *QueryDelegateKeysByOrchestratorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByOrchestratorAddressResponse, error) 2123 // Retrieves the entire peggy module's state 2124 PeggyModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error) 2125 MissingPeggoNonces(ctx context.Context, in *MissingNoncesRequest, opts ...grpc.CallOption) (*MissingNoncesResponse, error) 2126 } 2127 2128 type queryClient struct { 2129 cc grpc1.ClientConn 2130 } 2131 2132 func NewQueryClient(cc grpc1.ClientConn) QueryClient { 2133 return &queryClient{cc} 2134 } 2135 2136 func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { 2137 out := new(QueryParamsResponse) 2138 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/Params", in, out, opts...) 2139 if err != nil { 2140 return nil, err 2141 } 2142 return out, nil 2143 } 2144 2145 func (c *queryClient) CurrentValset(ctx context.Context, in *QueryCurrentValsetRequest, opts ...grpc.CallOption) (*QueryCurrentValsetResponse, error) { 2146 out := new(QueryCurrentValsetResponse) 2147 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/CurrentValset", in, out, opts...) 2148 if err != nil { 2149 return nil, err 2150 } 2151 return out, nil 2152 } 2153 2154 func (c *queryClient) ValsetRequest(ctx context.Context, in *QueryValsetRequestRequest, opts ...grpc.CallOption) (*QueryValsetRequestResponse, error) { 2155 out := new(QueryValsetRequestResponse) 2156 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/ValsetRequest", in, out, opts...) 2157 if err != nil { 2158 return nil, err 2159 } 2160 return out, nil 2161 } 2162 2163 func (c *queryClient) ValsetConfirm(ctx context.Context, in *QueryValsetConfirmRequest, opts ...grpc.CallOption) (*QueryValsetConfirmResponse, error) { 2164 out := new(QueryValsetConfirmResponse) 2165 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/ValsetConfirm", in, out, opts...) 2166 if err != nil { 2167 return nil, err 2168 } 2169 return out, nil 2170 } 2171 2172 func (c *queryClient) ValsetConfirmsByNonce(ctx context.Context, in *QueryValsetConfirmsByNonceRequest, opts ...grpc.CallOption) (*QueryValsetConfirmsByNonceResponse, error) { 2173 out := new(QueryValsetConfirmsByNonceResponse) 2174 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/ValsetConfirmsByNonce", in, out, opts...) 2175 if err != nil { 2176 return nil, err 2177 } 2178 return out, nil 2179 } 2180 2181 func (c *queryClient) LastValsetRequests(ctx context.Context, in *QueryLastValsetRequestsRequest, opts ...grpc.CallOption) (*QueryLastValsetRequestsResponse, error) { 2182 out := new(QueryLastValsetRequestsResponse) 2183 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/LastValsetRequests", in, out, opts...) 2184 if err != nil { 2185 return nil, err 2186 } 2187 return out, nil 2188 } 2189 2190 func (c *queryClient) LastPendingValsetRequestByAddr(ctx context.Context, in *QueryLastPendingValsetRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingValsetRequestByAddrResponse, error) { 2191 out := new(QueryLastPendingValsetRequestByAddrResponse) 2192 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", in, out, opts...) 2193 if err != nil { 2194 return nil, err 2195 } 2196 return out, nil 2197 } 2198 2199 func (c *queryClient) LastEventByAddr(ctx context.Context, in *QueryLastEventByAddrRequest, opts ...grpc.CallOption) (*QueryLastEventByAddrResponse, error) { 2200 out := new(QueryLastEventByAddrResponse) 2201 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/LastEventByAddr", in, out, opts...) 2202 if err != nil { 2203 return nil, err 2204 } 2205 return out, nil 2206 } 2207 2208 func (c *queryClient) GetPendingSendToEth(ctx context.Context, in *QueryPendingSendToEth, opts ...grpc.CallOption) (*QueryPendingSendToEthResponse, error) { 2209 out := new(QueryPendingSendToEthResponse) 2210 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/GetPendingSendToEth", in, out, opts...) 2211 if err != nil { 2212 return nil, err 2213 } 2214 return out, nil 2215 } 2216 2217 func (c *queryClient) BatchFees(ctx context.Context, in *QueryBatchFeeRequest, opts ...grpc.CallOption) (*QueryBatchFeeResponse, error) { 2218 out := new(QueryBatchFeeResponse) 2219 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/BatchFees", in, out, opts...) 2220 if err != nil { 2221 return nil, err 2222 } 2223 return out, nil 2224 } 2225 2226 func (c *queryClient) OutgoingTxBatches(ctx context.Context, in *QueryOutgoingTxBatchesRequest, opts ...grpc.CallOption) (*QueryOutgoingTxBatchesResponse, error) { 2227 out := new(QueryOutgoingTxBatchesResponse) 2228 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/OutgoingTxBatches", in, out, opts...) 2229 if err != nil { 2230 return nil, err 2231 } 2232 return out, nil 2233 } 2234 2235 func (c *queryClient) LastPendingBatchRequestByAddr(ctx context.Context, in *QueryLastPendingBatchRequestByAddrRequest, opts ...grpc.CallOption) (*QueryLastPendingBatchRequestByAddrResponse, error) { 2236 out := new(QueryLastPendingBatchRequestByAddrResponse) 2237 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", in, out, opts...) 2238 if err != nil { 2239 return nil, err 2240 } 2241 return out, nil 2242 } 2243 2244 func (c *queryClient) BatchRequestByNonce(ctx context.Context, in *QueryBatchRequestByNonceRequest, opts ...grpc.CallOption) (*QueryBatchRequestByNonceResponse, error) { 2245 out := new(QueryBatchRequestByNonceResponse) 2246 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/BatchRequestByNonce", in, out, opts...) 2247 if err != nil { 2248 return nil, err 2249 } 2250 return out, nil 2251 } 2252 2253 func (c *queryClient) BatchConfirms(ctx context.Context, in *QueryBatchConfirmsRequest, opts ...grpc.CallOption) (*QueryBatchConfirmsResponse, error) { 2254 out := new(QueryBatchConfirmsResponse) 2255 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/BatchConfirms", in, out, opts...) 2256 if err != nil { 2257 return nil, err 2258 } 2259 return out, nil 2260 } 2261 2262 func (c *queryClient) ERC20ToDenom(ctx context.Context, in *QueryERC20ToDenomRequest, opts ...grpc.CallOption) (*QueryERC20ToDenomResponse, error) { 2263 out := new(QueryERC20ToDenomResponse) 2264 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/ERC20ToDenom", in, out, opts...) 2265 if err != nil { 2266 return nil, err 2267 } 2268 return out, nil 2269 } 2270 2271 func (c *queryClient) DenomToERC20(ctx context.Context, in *QueryDenomToERC20Request, opts ...grpc.CallOption) (*QueryDenomToERC20Response, error) { 2272 out := new(QueryDenomToERC20Response) 2273 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/DenomToERC20", in, out, opts...) 2274 if err != nil { 2275 return nil, err 2276 } 2277 return out, nil 2278 } 2279 2280 func (c *queryClient) GetDelegateKeyByValidator(ctx context.Context, in *QueryDelegateKeysByValidatorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByValidatorAddressResponse, error) { 2281 out := new(QueryDelegateKeysByValidatorAddressResponse) 2282 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/GetDelegateKeyByValidator", in, out, opts...) 2283 if err != nil { 2284 return nil, err 2285 } 2286 return out, nil 2287 } 2288 2289 func (c *queryClient) GetDelegateKeyByEth(ctx context.Context, in *QueryDelegateKeysByEthAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByEthAddressResponse, error) { 2290 out := new(QueryDelegateKeysByEthAddressResponse) 2291 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/GetDelegateKeyByEth", in, out, opts...) 2292 if err != nil { 2293 return nil, err 2294 } 2295 return out, nil 2296 } 2297 2298 func (c *queryClient) GetDelegateKeyByOrchestrator(ctx context.Context, in *QueryDelegateKeysByOrchestratorAddress, opts ...grpc.CallOption) (*QueryDelegateKeysByOrchestratorAddressResponse, error) { 2299 out := new(QueryDelegateKeysByOrchestratorAddressResponse) 2300 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", in, out, opts...) 2301 if err != nil { 2302 return nil, err 2303 } 2304 return out, nil 2305 } 2306 2307 func (c *queryClient) PeggyModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error) { 2308 out := new(QueryModuleStateResponse) 2309 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/PeggyModuleState", in, out, opts...) 2310 if err != nil { 2311 return nil, err 2312 } 2313 return out, nil 2314 } 2315 2316 func (c *queryClient) MissingPeggoNonces(ctx context.Context, in *MissingNoncesRequest, opts ...grpc.CallOption) (*MissingNoncesResponse, error) { 2317 out := new(MissingNoncesResponse) 2318 err := c.cc.Invoke(ctx, "/injective.peggy.v1.Query/MissingPeggoNonces", in, out, opts...) 2319 if err != nil { 2320 return nil, err 2321 } 2322 return out, nil 2323 } 2324 2325 // QueryServer is the server API for Query service. 2326 type QueryServer interface { 2327 // Deployments queries deployments 2328 Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) 2329 // valset 2330 CurrentValset(context.Context, *QueryCurrentValsetRequest) (*QueryCurrentValsetResponse, error) 2331 ValsetRequest(context.Context, *QueryValsetRequestRequest) (*QueryValsetRequestResponse, error) 2332 ValsetConfirm(context.Context, *QueryValsetConfirmRequest) (*QueryValsetConfirmResponse, error) 2333 ValsetConfirmsByNonce(context.Context, *QueryValsetConfirmsByNonceRequest) (*QueryValsetConfirmsByNonceResponse, error) 2334 LastValsetRequests(context.Context, *QueryLastValsetRequestsRequest) (*QueryLastValsetRequestsResponse, error) 2335 LastPendingValsetRequestByAddr(context.Context, *QueryLastPendingValsetRequestByAddrRequest) (*QueryLastPendingValsetRequestByAddrResponse, error) 2336 // claim 2337 LastEventByAddr(context.Context, *QueryLastEventByAddrRequest) (*QueryLastEventByAddrResponse, error) 2338 // batch 2339 GetPendingSendToEth(context.Context, *QueryPendingSendToEth) (*QueryPendingSendToEthResponse, error) 2340 BatchFees(context.Context, *QueryBatchFeeRequest) (*QueryBatchFeeResponse, error) 2341 OutgoingTxBatches(context.Context, *QueryOutgoingTxBatchesRequest) (*QueryOutgoingTxBatchesResponse, error) 2342 LastPendingBatchRequestByAddr(context.Context, *QueryLastPendingBatchRequestByAddrRequest) (*QueryLastPendingBatchRequestByAddrResponse, error) 2343 BatchRequestByNonce(context.Context, *QueryBatchRequestByNonceRequest) (*QueryBatchRequestByNonceResponse, error) 2344 BatchConfirms(context.Context, *QueryBatchConfirmsRequest) (*QueryBatchConfirmsResponse, error) 2345 ERC20ToDenom(context.Context, *QueryERC20ToDenomRequest) (*QueryERC20ToDenomResponse, error) 2346 DenomToERC20(context.Context, *QueryDenomToERC20Request) (*QueryDenomToERC20Response, error) 2347 GetDelegateKeyByValidator(context.Context, *QueryDelegateKeysByValidatorAddress) (*QueryDelegateKeysByValidatorAddressResponse, error) 2348 GetDelegateKeyByEth(context.Context, *QueryDelegateKeysByEthAddress) (*QueryDelegateKeysByEthAddressResponse, error) 2349 GetDelegateKeyByOrchestrator(context.Context, *QueryDelegateKeysByOrchestratorAddress) (*QueryDelegateKeysByOrchestratorAddressResponse, error) 2350 // Retrieves the entire peggy module's state 2351 PeggyModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error) 2352 MissingPeggoNonces(context.Context, *MissingNoncesRequest) (*MissingNoncesResponse, error) 2353 } 2354 2355 // UnimplementedQueryServer can be embedded to have forward compatible implementations. 2356 type UnimplementedQueryServer struct { 2357 } 2358 2359 func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { 2360 return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") 2361 } 2362 func (*UnimplementedQueryServer) CurrentValset(ctx context.Context, req *QueryCurrentValsetRequest) (*QueryCurrentValsetResponse, error) { 2363 return nil, status.Errorf(codes.Unimplemented, "method CurrentValset not implemented") 2364 } 2365 func (*UnimplementedQueryServer) ValsetRequest(ctx context.Context, req *QueryValsetRequestRequest) (*QueryValsetRequestResponse, error) { 2366 return nil, status.Errorf(codes.Unimplemented, "method ValsetRequest not implemented") 2367 } 2368 func (*UnimplementedQueryServer) ValsetConfirm(ctx context.Context, req *QueryValsetConfirmRequest) (*QueryValsetConfirmResponse, error) { 2369 return nil, status.Errorf(codes.Unimplemented, "method ValsetConfirm not implemented") 2370 } 2371 func (*UnimplementedQueryServer) ValsetConfirmsByNonce(ctx context.Context, req *QueryValsetConfirmsByNonceRequest) (*QueryValsetConfirmsByNonceResponse, error) { 2372 return nil, status.Errorf(codes.Unimplemented, "method ValsetConfirmsByNonce not implemented") 2373 } 2374 func (*UnimplementedQueryServer) LastValsetRequests(ctx context.Context, req *QueryLastValsetRequestsRequest) (*QueryLastValsetRequestsResponse, error) { 2375 return nil, status.Errorf(codes.Unimplemented, "method LastValsetRequests not implemented") 2376 } 2377 func (*UnimplementedQueryServer) LastPendingValsetRequestByAddr(ctx context.Context, req *QueryLastPendingValsetRequestByAddrRequest) (*QueryLastPendingValsetRequestByAddrResponse, error) { 2378 return nil, status.Errorf(codes.Unimplemented, "method LastPendingValsetRequestByAddr not implemented") 2379 } 2380 func (*UnimplementedQueryServer) LastEventByAddr(ctx context.Context, req *QueryLastEventByAddrRequest) (*QueryLastEventByAddrResponse, error) { 2381 return nil, status.Errorf(codes.Unimplemented, "method LastEventByAddr not implemented") 2382 } 2383 func (*UnimplementedQueryServer) GetPendingSendToEth(ctx context.Context, req *QueryPendingSendToEth) (*QueryPendingSendToEthResponse, error) { 2384 return nil, status.Errorf(codes.Unimplemented, "method GetPendingSendToEth not implemented") 2385 } 2386 func (*UnimplementedQueryServer) BatchFees(ctx context.Context, req *QueryBatchFeeRequest) (*QueryBatchFeeResponse, error) { 2387 return nil, status.Errorf(codes.Unimplemented, "method BatchFees not implemented") 2388 } 2389 func (*UnimplementedQueryServer) OutgoingTxBatches(ctx context.Context, req *QueryOutgoingTxBatchesRequest) (*QueryOutgoingTxBatchesResponse, error) { 2390 return nil, status.Errorf(codes.Unimplemented, "method OutgoingTxBatches not implemented") 2391 } 2392 func (*UnimplementedQueryServer) LastPendingBatchRequestByAddr(ctx context.Context, req *QueryLastPendingBatchRequestByAddrRequest) (*QueryLastPendingBatchRequestByAddrResponse, error) { 2393 return nil, status.Errorf(codes.Unimplemented, "method LastPendingBatchRequestByAddr not implemented") 2394 } 2395 func (*UnimplementedQueryServer) BatchRequestByNonce(ctx context.Context, req *QueryBatchRequestByNonceRequest) (*QueryBatchRequestByNonceResponse, error) { 2396 return nil, status.Errorf(codes.Unimplemented, "method BatchRequestByNonce not implemented") 2397 } 2398 func (*UnimplementedQueryServer) BatchConfirms(ctx context.Context, req *QueryBatchConfirmsRequest) (*QueryBatchConfirmsResponse, error) { 2399 return nil, status.Errorf(codes.Unimplemented, "method BatchConfirms not implemented") 2400 } 2401 func (*UnimplementedQueryServer) ERC20ToDenom(ctx context.Context, req *QueryERC20ToDenomRequest) (*QueryERC20ToDenomResponse, error) { 2402 return nil, status.Errorf(codes.Unimplemented, "method ERC20ToDenom not implemented") 2403 } 2404 func (*UnimplementedQueryServer) DenomToERC20(ctx context.Context, req *QueryDenomToERC20Request) (*QueryDenomToERC20Response, error) { 2405 return nil, status.Errorf(codes.Unimplemented, "method DenomToERC20 not implemented") 2406 } 2407 func (*UnimplementedQueryServer) GetDelegateKeyByValidator(ctx context.Context, req *QueryDelegateKeysByValidatorAddress) (*QueryDelegateKeysByValidatorAddressResponse, error) { 2408 return nil, status.Errorf(codes.Unimplemented, "method GetDelegateKeyByValidator not implemented") 2409 } 2410 func (*UnimplementedQueryServer) GetDelegateKeyByEth(ctx context.Context, req *QueryDelegateKeysByEthAddress) (*QueryDelegateKeysByEthAddressResponse, error) { 2411 return nil, status.Errorf(codes.Unimplemented, "method GetDelegateKeyByEth not implemented") 2412 } 2413 func (*UnimplementedQueryServer) GetDelegateKeyByOrchestrator(ctx context.Context, req *QueryDelegateKeysByOrchestratorAddress) (*QueryDelegateKeysByOrchestratorAddressResponse, error) { 2414 return nil, status.Errorf(codes.Unimplemented, "method GetDelegateKeyByOrchestrator not implemented") 2415 } 2416 func (*UnimplementedQueryServer) PeggyModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error) { 2417 return nil, status.Errorf(codes.Unimplemented, "method PeggyModuleState not implemented") 2418 } 2419 func (*UnimplementedQueryServer) MissingPeggoNonces(ctx context.Context, req *MissingNoncesRequest) (*MissingNoncesResponse, error) { 2420 return nil, status.Errorf(codes.Unimplemented, "method MissingPeggoNonces not implemented") 2421 } 2422 2423 func RegisterQueryServer(s grpc1.Server, srv QueryServer) { 2424 s.RegisterService(&_Query_serviceDesc, srv) 2425 } 2426 2427 func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2428 in := new(QueryParamsRequest) 2429 if err := dec(in); err != nil { 2430 return nil, err 2431 } 2432 if interceptor == nil { 2433 return srv.(QueryServer).Params(ctx, in) 2434 } 2435 info := &grpc.UnaryServerInfo{ 2436 Server: srv, 2437 FullMethod: "/injective.peggy.v1.Query/Params", 2438 } 2439 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2440 return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) 2441 } 2442 return interceptor(ctx, in, info, handler) 2443 } 2444 2445 func _Query_CurrentValset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2446 in := new(QueryCurrentValsetRequest) 2447 if err := dec(in); err != nil { 2448 return nil, err 2449 } 2450 if interceptor == nil { 2451 return srv.(QueryServer).CurrentValset(ctx, in) 2452 } 2453 info := &grpc.UnaryServerInfo{ 2454 Server: srv, 2455 FullMethod: "/injective.peggy.v1.Query/CurrentValset", 2456 } 2457 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2458 return srv.(QueryServer).CurrentValset(ctx, req.(*QueryCurrentValsetRequest)) 2459 } 2460 return interceptor(ctx, in, info, handler) 2461 } 2462 2463 func _Query_ValsetRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2464 in := new(QueryValsetRequestRequest) 2465 if err := dec(in); err != nil { 2466 return nil, err 2467 } 2468 if interceptor == nil { 2469 return srv.(QueryServer).ValsetRequest(ctx, in) 2470 } 2471 info := &grpc.UnaryServerInfo{ 2472 Server: srv, 2473 FullMethod: "/injective.peggy.v1.Query/ValsetRequest", 2474 } 2475 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2476 return srv.(QueryServer).ValsetRequest(ctx, req.(*QueryValsetRequestRequest)) 2477 } 2478 return interceptor(ctx, in, info, handler) 2479 } 2480 2481 func _Query_ValsetConfirm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2482 in := new(QueryValsetConfirmRequest) 2483 if err := dec(in); err != nil { 2484 return nil, err 2485 } 2486 if interceptor == nil { 2487 return srv.(QueryServer).ValsetConfirm(ctx, in) 2488 } 2489 info := &grpc.UnaryServerInfo{ 2490 Server: srv, 2491 FullMethod: "/injective.peggy.v1.Query/ValsetConfirm", 2492 } 2493 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2494 return srv.(QueryServer).ValsetConfirm(ctx, req.(*QueryValsetConfirmRequest)) 2495 } 2496 return interceptor(ctx, in, info, handler) 2497 } 2498 2499 func _Query_ValsetConfirmsByNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2500 in := new(QueryValsetConfirmsByNonceRequest) 2501 if err := dec(in); err != nil { 2502 return nil, err 2503 } 2504 if interceptor == nil { 2505 return srv.(QueryServer).ValsetConfirmsByNonce(ctx, in) 2506 } 2507 info := &grpc.UnaryServerInfo{ 2508 Server: srv, 2509 FullMethod: "/injective.peggy.v1.Query/ValsetConfirmsByNonce", 2510 } 2511 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2512 return srv.(QueryServer).ValsetConfirmsByNonce(ctx, req.(*QueryValsetConfirmsByNonceRequest)) 2513 } 2514 return interceptor(ctx, in, info, handler) 2515 } 2516 2517 func _Query_LastValsetRequests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2518 in := new(QueryLastValsetRequestsRequest) 2519 if err := dec(in); err != nil { 2520 return nil, err 2521 } 2522 if interceptor == nil { 2523 return srv.(QueryServer).LastValsetRequests(ctx, in) 2524 } 2525 info := &grpc.UnaryServerInfo{ 2526 Server: srv, 2527 FullMethod: "/injective.peggy.v1.Query/LastValsetRequests", 2528 } 2529 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2530 return srv.(QueryServer).LastValsetRequests(ctx, req.(*QueryLastValsetRequestsRequest)) 2531 } 2532 return interceptor(ctx, in, info, handler) 2533 } 2534 2535 func _Query_LastPendingValsetRequestByAddr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2536 in := new(QueryLastPendingValsetRequestByAddrRequest) 2537 if err := dec(in); err != nil { 2538 return nil, err 2539 } 2540 if interceptor == nil { 2541 return srv.(QueryServer).LastPendingValsetRequestByAddr(ctx, in) 2542 } 2543 info := &grpc.UnaryServerInfo{ 2544 Server: srv, 2545 FullMethod: "/injective.peggy.v1.Query/LastPendingValsetRequestByAddr", 2546 } 2547 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2548 return srv.(QueryServer).LastPendingValsetRequestByAddr(ctx, req.(*QueryLastPendingValsetRequestByAddrRequest)) 2549 } 2550 return interceptor(ctx, in, info, handler) 2551 } 2552 2553 func _Query_LastEventByAddr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2554 in := new(QueryLastEventByAddrRequest) 2555 if err := dec(in); err != nil { 2556 return nil, err 2557 } 2558 if interceptor == nil { 2559 return srv.(QueryServer).LastEventByAddr(ctx, in) 2560 } 2561 info := &grpc.UnaryServerInfo{ 2562 Server: srv, 2563 FullMethod: "/injective.peggy.v1.Query/LastEventByAddr", 2564 } 2565 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2566 return srv.(QueryServer).LastEventByAddr(ctx, req.(*QueryLastEventByAddrRequest)) 2567 } 2568 return interceptor(ctx, in, info, handler) 2569 } 2570 2571 func _Query_GetPendingSendToEth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2572 in := new(QueryPendingSendToEth) 2573 if err := dec(in); err != nil { 2574 return nil, err 2575 } 2576 if interceptor == nil { 2577 return srv.(QueryServer).GetPendingSendToEth(ctx, in) 2578 } 2579 info := &grpc.UnaryServerInfo{ 2580 Server: srv, 2581 FullMethod: "/injective.peggy.v1.Query/GetPendingSendToEth", 2582 } 2583 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2584 return srv.(QueryServer).GetPendingSendToEth(ctx, req.(*QueryPendingSendToEth)) 2585 } 2586 return interceptor(ctx, in, info, handler) 2587 } 2588 2589 func _Query_BatchFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2590 in := new(QueryBatchFeeRequest) 2591 if err := dec(in); err != nil { 2592 return nil, err 2593 } 2594 if interceptor == nil { 2595 return srv.(QueryServer).BatchFees(ctx, in) 2596 } 2597 info := &grpc.UnaryServerInfo{ 2598 Server: srv, 2599 FullMethod: "/injective.peggy.v1.Query/BatchFees", 2600 } 2601 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2602 return srv.(QueryServer).BatchFees(ctx, req.(*QueryBatchFeeRequest)) 2603 } 2604 return interceptor(ctx, in, info, handler) 2605 } 2606 2607 func _Query_OutgoingTxBatches_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2608 in := new(QueryOutgoingTxBatchesRequest) 2609 if err := dec(in); err != nil { 2610 return nil, err 2611 } 2612 if interceptor == nil { 2613 return srv.(QueryServer).OutgoingTxBatches(ctx, in) 2614 } 2615 info := &grpc.UnaryServerInfo{ 2616 Server: srv, 2617 FullMethod: "/injective.peggy.v1.Query/OutgoingTxBatches", 2618 } 2619 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2620 return srv.(QueryServer).OutgoingTxBatches(ctx, req.(*QueryOutgoingTxBatchesRequest)) 2621 } 2622 return interceptor(ctx, in, info, handler) 2623 } 2624 2625 func _Query_LastPendingBatchRequestByAddr_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2626 in := new(QueryLastPendingBatchRequestByAddrRequest) 2627 if err := dec(in); err != nil { 2628 return nil, err 2629 } 2630 if interceptor == nil { 2631 return srv.(QueryServer).LastPendingBatchRequestByAddr(ctx, in) 2632 } 2633 info := &grpc.UnaryServerInfo{ 2634 Server: srv, 2635 FullMethod: "/injective.peggy.v1.Query/LastPendingBatchRequestByAddr", 2636 } 2637 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2638 return srv.(QueryServer).LastPendingBatchRequestByAddr(ctx, req.(*QueryLastPendingBatchRequestByAddrRequest)) 2639 } 2640 return interceptor(ctx, in, info, handler) 2641 } 2642 2643 func _Query_BatchRequestByNonce_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2644 in := new(QueryBatchRequestByNonceRequest) 2645 if err := dec(in); err != nil { 2646 return nil, err 2647 } 2648 if interceptor == nil { 2649 return srv.(QueryServer).BatchRequestByNonce(ctx, in) 2650 } 2651 info := &grpc.UnaryServerInfo{ 2652 Server: srv, 2653 FullMethod: "/injective.peggy.v1.Query/BatchRequestByNonce", 2654 } 2655 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2656 return srv.(QueryServer).BatchRequestByNonce(ctx, req.(*QueryBatchRequestByNonceRequest)) 2657 } 2658 return interceptor(ctx, in, info, handler) 2659 } 2660 2661 func _Query_BatchConfirms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2662 in := new(QueryBatchConfirmsRequest) 2663 if err := dec(in); err != nil { 2664 return nil, err 2665 } 2666 if interceptor == nil { 2667 return srv.(QueryServer).BatchConfirms(ctx, in) 2668 } 2669 info := &grpc.UnaryServerInfo{ 2670 Server: srv, 2671 FullMethod: "/injective.peggy.v1.Query/BatchConfirms", 2672 } 2673 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2674 return srv.(QueryServer).BatchConfirms(ctx, req.(*QueryBatchConfirmsRequest)) 2675 } 2676 return interceptor(ctx, in, info, handler) 2677 } 2678 2679 func _Query_ERC20ToDenom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2680 in := new(QueryERC20ToDenomRequest) 2681 if err := dec(in); err != nil { 2682 return nil, err 2683 } 2684 if interceptor == nil { 2685 return srv.(QueryServer).ERC20ToDenom(ctx, in) 2686 } 2687 info := &grpc.UnaryServerInfo{ 2688 Server: srv, 2689 FullMethod: "/injective.peggy.v1.Query/ERC20ToDenom", 2690 } 2691 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2692 return srv.(QueryServer).ERC20ToDenom(ctx, req.(*QueryERC20ToDenomRequest)) 2693 } 2694 return interceptor(ctx, in, info, handler) 2695 } 2696 2697 func _Query_DenomToERC20_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2698 in := new(QueryDenomToERC20Request) 2699 if err := dec(in); err != nil { 2700 return nil, err 2701 } 2702 if interceptor == nil { 2703 return srv.(QueryServer).DenomToERC20(ctx, in) 2704 } 2705 info := &grpc.UnaryServerInfo{ 2706 Server: srv, 2707 FullMethod: "/injective.peggy.v1.Query/DenomToERC20", 2708 } 2709 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2710 return srv.(QueryServer).DenomToERC20(ctx, req.(*QueryDenomToERC20Request)) 2711 } 2712 return interceptor(ctx, in, info, handler) 2713 } 2714 2715 func _Query_GetDelegateKeyByValidator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2716 in := new(QueryDelegateKeysByValidatorAddress) 2717 if err := dec(in); err != nil { 2718 return nil, err 2719 } 2720 if interceptor == nil { 2721 return srv.(QueryServer).GetDelegateKeyByValidator(ctx, in) 2722 } 2723 info := &grpc.UnaryServerInfo{ 2724 Server: srv, 2725 FullMethod: "/injective.peggy.v1.Query/GetDelegateKeyByValidator", 2726 } 2727 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2728 return srv.(QueryServer).GetDelegateKeyByValidator(ctx, req.(*QueryDelegateKeysByValidatorAddress)) 2729 } 2730 return interceptor(ctx, in, info, handler) 2731 } 2732 2733 func _Query_GetDelegateKeyByEth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2734 in := new(QueryDelegateKeysByEthAddress) 2735 if err := dec(in); err != nil { 2736 return nil, err 2737 } 2738 if interceptor == nil { 2739 return srv.(QueryServer).GetDelegateKeyByEth(ctx, in) 2740 } 2741 info := &grpc.UnaryServerInfo{ 2742 Server: srv, 2743 FullMethod: "/injective.peggy.v1.Query/GetDelegateKeyByEth", 2744 } 2745 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2746 return srv.(QueryServer).GetDelegateKeyByEth(ctx, req.(*QueryDelegateKeysByEthAddress)) 2747 } 2748 return interceptor(ctx, in, info, handler) 2749 } 2750 2751 func _Query_GetDelegateKeyByOrchestrator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2752 in := new(QueryDelegateKeysByOrchestratorAddress) 2753 if err := dec(in); err != nil { 2754 return nil, err 2755 } 2756 if interceptor == nil { 2757 return srv.(QueryServer).GetDelegateKeyByOrchestrator(ctx, in) 2758 } 2759 info := &grpc.UnaryServerInfo{ 2760 Server: srv, 2761 FullMethod: "/injective.peggy.v1.Query/GetDelegateKeyByOrchestrator", 2762 } 2763 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2764 return srv.(QueryServer).GetDelegateKeyByOrchestrator(ctx, req.(*QueryDelegateKeysByOrchestratorAddress)) 2765 } 2766 return interceptor(ctx, in, info, handler) 2767 } 2768 2769 func _Query_PeggyModuleState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2770 in := new(QueryModuleStateRequest) 2771 if err := dec(in); err != nil { 2772 return nil, err 2773 } 2774 if interceptor == nil { 2775 return srv.(QueryServer).PeggyModuleState(ctx, in) 2776 } 2777 info := &grpc.UnaryServerInfo{ 2778 Server: srv, 2779 FullMethod: "/injective.peggy.v1.Query/PeggyModuleState", 2780 } 2781 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2782 return srv.(QueryServer).PeggyModuleState(ctx, req.(*QueryModuleStateRequest)) 2783 } 2784 return interceptor(ctx, in, info, handler) 2785 } 2786 2787 func _Query_MissingPeggoNonces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2788 in := new(MissingNoncesRequest) 2789 if err := dec(in); err != nil { 2790 return nil, err 2791 } 2792 if interceptor == nil { 2793 return srv.(QueryServer).MissingPeggoNonces(ctx, in) 2794 } 2795 info := &grpc.UnaryServerInfo{ 2796 Server: srv, 2797 FullMethod: "/injective.peggy.v1.Query/MissingPeggoNonces", 2798 } 2799 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2800 return srv.(QueryServer).MissingPeggoNonces(ctx, req.(*MissingNoncesRequest)) 2801 } 2802 return interceptor(ctx, in, info, handler) 2803 } 2804 2805 var _Query_serviceDesc = grpc.ServiceDesc{ 2806 ServiceName: "injective.peggy.v1.Query", 2807 HandlerType: (*QueryServer)(nil), 2808 Methods: []grpc.MethodDesc{ 2809 { 2810 MethodName: "Params", 2811 Handler: _Query_Params_Handler, 2812 }, 2813 { 2814 MethodName: "CurrentValset", 2815 Handler: _Query_CurrentValset_Handler, 2816 }, 2817 { 2818 MethodName: "ValsetRequest", 2819 Handler: _Query_ValsetRequest_Handler, 2820 }, 2821 { 2822 MethodName: "ValsetConfirm", 2823 Handler: _Query_ValsetConfirm_Handler, 2824 }, 2825 { 2826 MethodName: "ValsetConfirmsByNonce", 2827 Handler: _Query_ValsetConfirmsByNonce_Handler, 2828 }, 2829 { 2830 MethodName: "LastValsetRequests", 2831 Handler: _Query_LastValsetRequests_Handler, 2832 }, 2833 { 2834 MethodName: "LastPendingValsetRequestByAddr", 2835 Handler: _Query_LastPendingValsetRequestByAddr_Handler, 2836 }, 2837 { 2838 MethodName: "LastEventByAddr", 2839 Handler: _Query_LastEventByAddr_Handler, 2840 }, 2841 { 2842 MethodName: "GetPendingSendToEth", 2843 Handler: _Query_GetPendingSendToEth_Handler, 2844 }, 2845 { 2846 MethodName: "BatchFees", 2847 Handler: _Query_BatchFees_Handler, 2848 }, 2849 { 2850 MethodName: "OutgoingTxBatches", 2851 Handler: _Query_OutgoingTxBatches_Handler, 2852 }, 2853 { 2854 MethodName: "LastPendingBatchRequestByAddr", 2855 Handler: _Query_LastPendingBatchRequestByAddr_Handler, 2856 }, 2857 { 2858 MethodName: "BatchRequestByNonce", 2859 Handler: _Query_BatchRequestByNonce_Handler, 2860 }, 2861 { 2862 MethodName: "BatchConfirms", 2863 Handler: _Query_BatchConfirms_Handler, 2864 }, 2865 { 2866 MethodName: "ERC20ToDenom", 2867 Handler: _Query_ERC20ToDenom_Handler, 2868 }, 2869 { 2870 MethodName: "DenomToERC20", 2871 Handler: _Query_DenomToERC20_Handler, 2872 }, 2873 { 2874 MethodName: "GetDelegateKeyByValidator", 2875 Handler: _Query_GetDelegateKeyByValidator_Handler, 2876 }, 2877 { 2878 MethodName: "GetDelegateKeyByEth", 2879 Handler: _Query_GetDelegateKeyByEth_Handler, 2880 }, 2881 { 2882 MethodName: "GetDelegateKeyByOrchestrator", 2883 Handler: _Query_GetDelegateKeyByOrchestrator_Handler, 2884 }, 2885 { 2886 MethodName: "PeggyModuleState", 2887 Handler: _Query_PeggyModuleState_Handler, 2888 }, 2889 { 2890 MethodName: "MissingPeggoNonces", 2891 Handler: _Query_MissingPeggoNonces_Handler, 2892 }, 2893 }, 2894 Streams: []grpc.StreamDesc{}, 2895 Metadata: "injective/peggy/v1/query.proto", 2896 } 2897 2898 func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { 2899 size := m.Size() 2900 dAtA = make([]byte, size) 2901 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2902 if err != nil { 2903 return nil, err 2904 } 2905 return dAtA[:n], nil 2906 } 2907 2908 func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { 2909 size := m.Size() 2910 return m.MarshalToSizedBuffer(dAtA[:size]) 2911 } 2912 2913 func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2914 i := len(dAtA) 2915 _ = i 2916 var l int 2917 _ = l 2918 return len(dAtA) - i, nil 2919 } 2920 2921 func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { 2922 size := m.Size() 2923 dAtA = make([]byte, size) 2924 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2925 if err != nil { 2926 return nil, err 2927 } 2928 return dAtA[:n], nil 2929 } 2930 2931 func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { 2932 size := m.Size() 2933 return m.MarshalToSizedBuffer(dAtA[:size]) 2934 } 2935 2936 func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2937 i := len(dAtA) 2938 _ = i 2939 var l int 2940 _ = l 2941 { 2942 size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) 2943 if err != nil { 2944 return 0, err 2945 } 2946 i -= size 2947 i = encodeVarintQuery(dAtA, i, uint64(size)) 2948 } 2949 i-- 2950 dAtA[i] = 0xa 2951 return len(dAtA) - i, nil 2952 } 2953 2954 func (m *QueryCurrentValsetRequest) Marshal() (dAtA []byte, err error) { 2955 size := m.Size() 2956 dAtA = make([]byte, size) 2957 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2958 if err != nil { 2959 return nil, err 2960 } 2961 return dAtA[:n], nil 2962 } 2963 2964 func (m *QueryCurrentValsetRequest) MarshalTo(dAtA []byte) (int, error) { 2965 size := m.Size() 2966 return m.MarshalToSizedBuffer(dAtA[:size]) 2967 } 2968 2969 func (m *QueryCurrentValsetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2970 i := len(dAtA) 2971 _ = i 2972 var l int 2973 _ = l 2974 return len(dAtA) - i, nil 2975 } 2976 2977 func (m *QueryCurrentValsetResponse) Marshal() (dAtA []byte, err error) { 2978 size := m.Size() 2979 dAtA = make([]byte, size) 2980 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2981 if err != nil { 2982 return nil, err 2983 } 2984 return dAtA[:n], nil 2985 } 2986 2987 func (m *QueryCurrentValsetResponse) MarshalTo(dAtA []byte) (int, error) { 2988 size := m.Size() 2989 return m.MarshalToSizedBuffer(dAtA[:size]) 2990 } 2991 2992 func (m *QueryCurrentValsetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2993 i := len(dAtA) 2994 _ = i 2995 var l int 2996 _ = l 2997 if m.Valset != nil { 2998 { 2999 size, err := m.Valset.MarshalToSizedBuffer(dAtA[:i]) 3000 if err != nil { 3001 return 0, err 3002 } 3003 i -= size 3004 i = encodeVarintQuery(dAtA, i, uint64(size)) 3005 } 3006 i-- 3007 dAtA[i] = 0xa 3008 } 3009 return len(dAtA) - i, nil 3010 } 3011 3012 func (m *QueryValsetRequestRequest) Marshal() (dAtA []byte, err error) { 3013 size := m.Size() 3014 dAtA = make([]byte, size) 3015 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3016 if err != nil { 3017 return nil, err 3018 } 3019 return dAtA[:n], nil 3020 } 3021 3022 func (m *QueryValsetRequestRequest) MarshalTo(dAtA []byte) (int, error) { 3023 size := m.Size() 3024 return m.MarshalToSizedBuffer(dAtA[:size]) 3025 } 3026 3027 func (m *QueryValsetRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3028 i := len(dAtA) 3029 _ = i 3030 var l int 3031 _ = l 3032 if m.Nonce != 0 { 3033 i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) 3034 i-- 3035 dAtA[i] = 0x8 3036 } 3037 return len(dAtA) - i, nil 3038 } 3039 3040 func (m *QueryValsetRequestResponse) Marshal() (dAtA []byte, err error) { 3041 size := m.Size() 3042 dAtA = make([]byte, size) 3043 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3044 if err != nil { 3045 return nil, err 3046 } 3047 return dAtA[:n], nil 3048 } 3049 3050 func (m *QueryValsetRequestResponse) MarshalTo(dAtA []byte) (int, error) { 3051 size := m.Size() 3052 return m.MarshalToSizedBuffer(dAtA[:size]) 3053 } 3054 3055 func (m *QueryValsetRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3056 i := len(dAtA) 3057 _ = i 3058 var l int 3059 _ = l 3060 if m.Valset != nil { 3061 { 3062 size, err := m.Valset.MarshalToSizedBuffer(dAtA[:i]) 3063 if err != nil { 3064 return 0, err 3065 } 3066 i -= size 3067 i = encodeVarintQuery(dAtA, i, uint64(size)) 3068 } 3069 i-- 3070 dAtA[i] = 0xa 3071 } 3072 return len(dAtA) - i, nil 3073 } 3074 3075 func (m *QueryValsetConfirmRequest) Marshal() (dAtA []byte, err error) { 3076 size := m.Size() 3077 dAtA = make([]byte, size) 3078 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3079 if err != nil { 3080 return nil, err 3081 } 3082 return dAtA[:n], nil 3083 } 3084 3085 func (m *QueryValsetConfirmRequest) MarshalTo(dAtA []byte) (int, error) { 3086 size := m.Size() 3087 return m.MarshalToSizedBuffer(dAtA[:size]) 3088 } 3089 3090 func (m *QueryValsetConfirmRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3091 i := len(dAtA) 3092 _ = i 3093 var l int 3094 _ = l 3095 if len(m.Address) > 0 { 3096 i -= len(m.Address) 3097 copy(dAtA[i:], m.Address) 3098 i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) 3099 i-- 3100 dAtA[i] = 0x12 3101 } 3102 if m.Nonce != 0 { 3103 i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) 3104 i-- 3105 dAtA[i] = 0x8 3106 } 3107 return len(dAtA) - i, nil 3108 } 3109 3110 func (m *QueryValsetConfirmResponse) Marshal() (dAtA []byte, err error) { 3111 size := m.Size() 3112 dAtA = make([]byte, size) 3113 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3114 if err != nil { 3115 return nil, err 3116 } 3117 return dAtA[:n], nil 3118 } 3119 3120 func (m *QueryValsetConfirmResponse) MarshalTo(dAtA []byte) (int, error) { 3121 size := m.Size() 3122 return m.MarshalToSizedBuffer(dAtA[:size]) 3123 } 3124 3125 func (m *QueryValsetConfirmResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3126 i := len(dAtA) 3127 _ = i 3128 var l int 3129 _ = l 3130 if m.Confirm != nil { 3131 { 3132 size, err := m.Confirm.MarshalToSizedBuffer(dAtA[:i]) 3133 if err != nil { 3134 return 0, err 3135 } 3136 i -= size 3137 i = encodeVarintQuery(dAtA, i, uint64(size)) 3138 } 3139 i-- 3140 dAtA[i] = 0xa 3141 } 3142 return len(dAtA) - i, nil 3143 } 3144 3145 func (m *QueryValsetConfirmsByNonceRequest) Marshal() (dAtA []byte, err error) { 3146 size := m.Size() 3147 dAtA = make([]byte, size) 3148 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3149 if err != nil { 3150 return nil, err 3151 } 3152 return dAtA[:n], nil 3153 } 3154 3155 func (m *QueryValsetConfirmsByNonceRequest) MarshalTo(dAtA []byte) (int, error) { 3156 size := m.Size() 3157 return m.MarshalToSizedBuffer(dAtA[:size]) 3158 } 3159 3160 func (m *QueryValsetConfirmsByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3161 i := len(dAtA) 3162 _ = i 3163 var l int 3164 _ = l 3165 if m.Nonce != 0 { 3166 i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) 3167 i-- 3168 dAtA[i] = 0x8 3169 } 3170 return len(dAtA) - i, nil 3171 } 3172 3173 func (m *QueryValsetConfirmsByNonceResponse) Marshal() (dAtA []byte, err error) { 3174 size := m.Size() 3175 dAtA = make([]byte, size) 3176 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3177 if err != nil { 3178 return nil, err 3179 } 3180 return dAtA[:n], nil 3181 } 3182 3183 func (m *QueryValsetConfirmsByNonceResponse) MarshalTo(dAtA []byte) (int, error) { 3184 size := m.Size() 3185 return m.MarshalToSizedBuffer(dAtA[:size]) 3186 } 3187 3188 func (m *QueryValsetConfirmsByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3189 i := len(dAtA) 3190 _ = i 3191 var l int 3192 _ = l 3193 if len(m.Confirms) > 0 { 3194 for iNdEx := len(m.Confirms) - 1; iNdEx >= 0; iNdEx-- { 3195 { 3196 size, err := m.Confirms[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3197 if err != nil { 3198 return 0, err 3199 } 3200 i -= size 3201 i = encodeVarintQuery(dAtA, i, uint64(size)) 3202 } 3203 i-- 3204 dAtA[i] = 0xa 3205 } 3206 } 3207 return len(dAtA) - i, nil 3208 } 3209 3210 func (m *QueryLastValsetRequestsRequest) Marshal() (dAtA []byte, err error) { 3211 size := m.Size() 3212 dAtA = make([]byte, size) 3213 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3214 if err != nil { 3215 return nil, err 3216 } 3217 return dAtA[:n], nil 3218 } 3219 3220 func (m *QueryLastValsetRequestsRequest) MarshalTo(dAtA []byte) (int, error) { 3221 size := m.Size() 3222 return m.MarshalToSizedBuffer(dAtA[:size]) 3223 } 3224 3225 func (m *QueryLastValsetRequestsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3226 i := len(dAtA) 3227 _ = i 3228 var l int 3229 _ = l 3230 return len(dAtA) - i, nil 3231 } 3232 3233 func (m *QueryLastValsetRequestsResponse) Marshal() (dAtA []byte, err error) { 3234 size := m.Size() 3235 dAtA = make([]byte, size) 3236 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3237 if err != nil { 3238 return nil, err 3239 } 3240 return dAtA[:n], nil 3241 } 3242 3243 func (m *QueryLastValsetRequestsResponse) MarshalTo(dAtA []byte) (int, error) { 3244 size := m.Size() 3245 return m.MarshalToSizedBuffer(dAtA[:size]) 3246 } 3247 3248 func (m *QueryLastValsetRequestsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3249 i := len(dAtA) 3250 _ = i 3251 var l int 3252 _ = l 3253 if len(m.Valsets) > 0 { 3254 for iNdEx := len(m.Valsets) - 1; iNdEx >= 0; iNdEx-- { 3255 { 3256 size, err := m.Valsets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3257 if err != nil { 3258 return 0, err 3259 } 3260 i -= size 3261 i = encodeVarintQuery(dAtA, i, uint64(size)) 3262 } 3263 i-- 3264 dAtA[i] = 0xa 3265 } 3266 } 3267 return len(dAtA) - i, nil 3268 } 3269 3270 func (m *QueryLastPendingValsetRequestByAddrRequest) Marshal() (dAtA []byte, err error) { 3271 size := m.Size() 3272 dAtA = make([]byte, size) 3273 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3274 if err != nil { 3275 return nil, err 3276 } 3277 return dAtA[:n], nil 3278 } 3279 3280 func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error) { 3281 size := m.Size() 3282 return m.MarshalToSizedBuffer(dAtA[:size]) 3283 } 3284 3285 func (m *QueryLastPendingValsetRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3286 i := len(dAtA) 3287 _ = i 3288 var l int 3289 _ = l 3290 if len(m.Address) > 0 { 3291 i -= len(m.Address) 3292 copy(dAtA[i:], m.Address) 3293 i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) 3294 i-- 3295 dAtA[i] = 0xa 3296 } 3297 return len(dAtA) - i, nil 3298 } 3299 3300 func (m *QueryLastPendingValsetRequestByAddrResponse) Marshal() (dAtA []byte, err error) { 3301 size := m.Size() 3302 dAtA = make([]byte, size) 3303 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3304 if err != nil { 3305 return nil, err 3306 } 3307 return dAtA[:n], nil 3308 } 3309 3310 func (m *QueryLastPendingValsetRequestByAddrResponse) MarshalTo(dAtA []byte) (int, error) { 3311 size := m.Size() 3312 return m.MarshalToSizedBuffer(dAtA[:size]) 3313 } 3314 3315 func (m *QueryLastPendingValsetRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3316 i := len(dAtA) 3317 _ = i 3318 var l int 3319 _ = l 3320 if len(m.Valsets) > 0 { 3321 for iNdEx := len(m.Valsets) - 1; iNdEx >= 0; iNdEx-- { 3322 { 3323 size, err := m.Valsets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3324 if err != nil { 3325 return 0, err 3326 } 3327 i -= size 3328 i = encodeVarintQuery(dAtA, i, uint64(size)) 3329 } 3330 i-- 3331 dAtA[i] = 0xa 3332 } 3333 } 3334 return len(dAtA) - i, nil 3335 } 3336 3337 func (m *QueryBatchFeeRequest) Marshal() (dAtA []byte, err error) { 3338 size := m.Size() 3339 dAtA = make([]byte, size) 3340 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3341 if err != nil { 3342 return nil, err 3343 } 3344 return dAtA[:n], nil 3345 } 3346 3347 func (m *QueryBatchFeeRequest) MarshalTo(dAtA []byte) (int, error) { 3348 size := m.Size() 3349 return m.MarshalToSizedBuffer(dAtA[:size]) 3350 } 3351 3352 func (m *QueryBatchFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3353 i := len(dAtA) 3354 _ = i 3355 var l int 3356 _ = l 3357 return len(dAtA) - i, nil 3358 } 3359 3360 func (m *QueryBatchFeeResponse) Marshal() (dAtA []byte, err error) { 3361 size := m.Size() 3362 dAtA = make([]byte, size) 3363 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3364 if err != nil { 3365 return nil, err 3366 } 3367 return dAtA[:n], nil 3368 } 3369 3370 func (m *QueryBatchFeeResponse) MarshalTo(dAtA []byte) (int, error) { 3371 size := m.Size() 3372 return m.MarshalToSizedBuffer(dAtA[:size]) 3373 } 3374 3375 func (m *QueryBatchFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3376 i := len(dAtA) 3377 _ = i 3378 var l int 3379 _ = l 3380 if len(m.BatchFees) > 0 { 3381 for iNdEx := len(m.BatchFees) - 1; iNdEx >= 0; iNdEx-- { 3382 { 3383 size, err := m.BatchFees[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3384 if err != nil { 3385 return 0, err 3386 } 3387 i -= size 3388 i = encodeVarintQuery(dAtA, i, uint64(size)) 3389 } 3390 i-- 3391 dAtA[i] = 0xa 3392 } 3393 } 3394 return len(dAtA) - i, nil 3395 } 3396 3397 func (m *QueryLastPendingBatchRequestByAddrRequest) Marshal() (dAtA []byte, err error) { 3398 size := m.Size() 3399 dAtA = make([]byte, size) 3400 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3401 if err != nil { 3402 return nil, err 3403 } 3404 return dAtA[:n], nil 3405 } 3406 3407 func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalTo(dAtA []byte) (int, error) { 3408 size := m.Size() 3409 return m.MarshalToSizedBuffer(dAtA[:size]) 3410 } 3411 3412 func (m *QueryLastPendingBatchRequestByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3413 i := len(dAtA) 3414 _ = i 3415 var l int 3416 _ = l 3417 if len(m.Address) > 0 { 3418 i -= len(m.Address) 3419 copy(dAtA[i:], m.Address) 3420 i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) 3421 i-- 3422 dAtA[i] = 0xa 3423 } 3424 return len(dAtA) - i, nil 3425 } 3426 3427 func (m *QueryLastPendingBatchRequestByAddrResponse) Marshal() (dAtA []byte, err error) { 3428 size := m.Size() 3429 dAtA = make([]byte, size) 3430 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3431 if err != nil { 3432 return nil, err 3433 } 3434 return dAtA[:n], nil 3435 } 3436 3437 func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalTo(dAtA []byte) (int, error) { 3438 size := m.Size() 3439 return m.MarshalToSizedBuffer(dAtA[:size]) 3440 } 3441 3442 func (m *QueryLastPendingBatchRequestByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3443 i := len(dAtA) 3444 _ = i 3445 var l int 3446 _ = l 3447 if m.Batch != nil { 3448 { 3449 size, err := m.Batch.MarshalToSizedBuffer(dAtA[:i]) 3450 if err != nil { 3451 return 0, err 3452 } 3453 i -= size 3454 i = encodeVarintQuery(dAtA, i, uint64(size)) 3455 } 3456 i-- 3457 dAtA[i] = 0xa 3458 } 3459 return len(dAtA) - i, nil 3460 } 3461 3462 func (m *QueryOutgoingTxBatchesRequest) Marshal() (dAtA []byte, err error) { 3463 size := m.Size() 3464 dAtA = make([]byte, size) 3465 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3466 if err != nil { 3467 return nil, err 3468 } 3469 return dAtA[:n], nil 3470 } 3471 3472 func (m *QueryOutgoingTxBatchesRequest) MarshalTo(dAtA []byte) (int, error) { 3473 size := m.Size() 3474 return m.MarshalToSizedBuffer(dAtA[:size]) 3475 } 3476 3477 func (m *QueryOutgoingTxBatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3478 i := len(dAtA) 3479 _ = i 3480 var l int 3481 _ = l 3482 return len(dAtA) - i, nil 3483 } 3484 3485 func (m *QueryOutgoingTxBatchesResponse) Marshal() (dAtA []byte, err error) { 3486 size := m.Size() 3487 dAtA = make([]byte, size) 3488 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3489 if err != nil { 3490 return nil, err 3491 } 3492 return dAtA[:n], nil 3493 } 3494 3495 func (m *QueryOutgoingTxBatchesResponse) MarshalTo(dAtA []byte) (int, error) { 3496 size := m.Size() 3497 return m.MarshalToSizedBuffer(dAtA[:size]) 3498 } 3499 3500 func (m *QueryOutgoingTxBatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3501 i := len(dAtA) 3502 _ = i 3503 var l int 3504 _ = l 3505 if len(m.Batches) > 0 { 3506 for iNdEx := len(m.Batches) - 1; iNdEx >= 0; iNdEx-- { 3507 { 3508 size, err := m.Batches[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3509 if err != nil { 3510 return 0, err 3511 } 3512 i -= size 3513 i = encodeVarintQuery(dAtA, i, uint64(size)) 3514 } 3515 i-- 3516 dAtA[i] = 0xa 3517 } 3518 } 3519 return len(dAtA) - i, nil 3520 } 3521 3522 func (m *QueryBatchRequestByNonceRequest) Marshal() (dAtA []byte, err error) { 3523 size := m.Size() 3524 dAtA = make([]byte, size) 3525 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3526 if err != nil { 3527 return nil, err 3528 } 3529 return dAtA[:n], nil 3530 } 3531 3532 func (m *QueryBatchRequestByNonceRequest) MarshalTo(dAtA []byte) (int, error) { 3533 size := m.Size() 3534 return m.MarshalToSizedBuffer(dAtA[:size]) 3535 } 3536 3537 func (m *QueryBatchRequestByNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3538 i := len(dAtA) 3539 _ = i 3540 var l int 3541 _ = l 3542 if len(m.ContractAddress) > 0 { 3543 i -= len(m.ContractAddress) 3544 copy(dAtA[i:], m.ContractAddress) 3545 i = encodeVarintQuery(dAtA, i, uint64(len(m.ContractAddress))) 3546 i-- 3547 dAtA[i] = 0x12 3548 } 3549 if m.Nonce != 0 { 3550 i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) 3551 i-- 3552 dAtA[i] = 0x8 3553 } 3554 return len(dAtA) - i, nil 3555 } 3556 3557 func (m *QueryBatchRequestByNonceResponse) Marshal() (dAtA []byte, err error) { 3558 size := m.Size() 3559 dAtA = make([]byte, size) 3560 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3561 if err != nil { 3562 return nil, err 3563 } 3564 return dAtA[:n], nil 3565 } 3566 3567 func (m *QueryBatchRequestByNonceResponse) MarshalTo(dAtA []byte) (int, error) { 3568 size := m.Size() 3569 return m.MarshalToSizedBuffer(dAtA[:size]) 3570 } 3571 3572 func (m *QueryBatchRequestByNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3573 i := len(dAtA) 3574 _ = i 3575 var l int 3576 _ = l 3577 if m.Batch != nil { 3578 { 3579 size, err := m.Batch.MarshalToSizedBuffer(dAtA[:i]) 3580 if err != nil { 3581 return 0, err 3582 } 3583 i -= size 3584 i = encodeVarintQuery(dAtA, i, uint64(size)) 3585 } 3586 i-- 3587 dAtA[i] = 0xa 3588 } 3589 return len(dAtA) - i, nil 3590 } 3591 3592 func (m *QueryBatchConfirmsRequest) Marshal() (dAtA []byte, err error) { 3593 size := m.Size() 3594 dAtA = make([]byte, size) 3595 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3596 if err != nil { 3597 return nil, err 3598 } 3599 return dAtA[:n], nil 3600 } 3601 3602 func (m *QueryBatchConfirmsRequest) MarshalTo(dAtA []byte) (int, error) { 3603 size := m.Size() 3604 return m.MarshalToSizedBuffer(dAtA[:size]) 3605 } 3606 3607 func (m *QueryBatchConfirmsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3608 i := len(dAtA) 3609 _ = i 3610 var l int 3611 _ = l 3612 if len(m.ContractAddress) > 0 { 3613 i -= len(m.ContractAddress) 3614 copy(dAtA[i:], m.ContractAddress) 3615 i = encodeVarintQuery(dAtA, i, uint64(len(m.ContractAddress))) 3616 i-- 3617 dAtA[i] = 0x12 3618 } 3619 if m.Nonce != 0 { 3620 i = encodeVarintQuery(dAtA, i, uint64(m.Nonce)) 3621 i-- 3622 dAtA[i] = 0x8 3623 } 3624 return len(dAtA) - i, nil 3625 } 3626 3627 func (m *QueryBatchConfirmsResponse) Marshal() (dAtA []byte, err error) { 3628 size := m.Size() 3629 dAtA = make([]byte, size) 3630 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3631 if err != nil { 3632 return nil, err 3633 } 3634 return dAtA[:n], nil 3635 } 3636 3637 func (m *QueryBatchConfirmsResponse) MarshalTo(dAtA []byte) (int, error) { 3638 size := m.Size() 3639 return m.MarshalToSizedBuffer(dAtA[:size]) 3640 } 3641 3642 func (m *QueryBatchConfirmsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3643 i := len(dAtA) 3644 _ = i 3645 var l int 3646 _ = l 3647 if len(m.Confirms) > 0 { 3648 for iNdEx := len(m.Confirms) - 1; iNdEx >= 0; iNdEx-- { 3649 { 3650 size, err := m.Confirms[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 3651 if err != nil { 3652 return 0, err 3653 } 3654 i -= size 3655 i = encodeVarintQuery(dAtA, i, uint64(size)) 3656 } 3657 i-- 3658 dAtA[i] = 0xa 3659 } 3660 } 3661 return len(dAtA) - i, nil 3662 } 3663 3664 func (m *QueryLastEventByAddrRequest) Marshal() (dAtA []byte, err error) { 3665 size := m.Size() 3666 dAtA = make([]byte, size) 3667 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3668 if err != nil { 3669 return nil, err 3670 } 3671 return dAtA[:n], nil 3672 } 3673 3674 func (m *QueryLastEventByAddrRequest) MarshalTo(dAtA []byte) (int, error) { 3675 size := m.Size() 3676 return m.MarshalToSizedBuffer(dAtA[:size]) 3677 } 3678 3679 func (m *QueryLastEventByAddrRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3680 i := len(dAtA) 3681 _ = i 3682 var l int 3683 _ = l 3684 if len(m.Address) > 0 { 3685 i -= len(m.Address) 3686 copy(dAtA[i:], m.Address) 3687 i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) 3688 i-- 3689 dAtA[i] = 0xa 3690 } 3691 return len(dAtA) - i, nil 3692 } 3693 3694 func (m *QueryLastEventByAddrResponse) Marshal() (dAtA []byte, err error) { 3695 size := m.Size() 3696 dAtA = make([]byte, size) 3697 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3698 if err != nil { 3699 return nil, err 3700 } 3701 return dAtA[:n], nil 3702 } 3703 3704 func (m *QueryLastEventByAddrResponse) MarshalTo(dAtA []byte) (int, error) { 3705 size := m.Size() 3706 return m.MarshalToSizedBuffer(dAtA[:size]) 3707 } 3708 3709 func (m *QueryLastEventByAddrResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3710 i := len(dAtA) 3711 _ = i 3712 var l int 3713 _ = l 3714 if m.LastClaimEvent != nil { 3715 { 3716 size, err := m.LastClaimEvent.MarshalToSizedBuffer(dAtA[:i]) 3717 if err != nil { 3718 return 0, err 3719 } 3720 i -= size 3721 i = encodeVarintQuery(dAtA, i, uint64(size)) 3722 } 3723 i-- 3724 dAtA[i] = 0xa 3725 } 3726 return len(dAtA) - i, nil 3727 } 3728 3729 func (m *QueryERC20ToDenomRequest) Marshal() (dAtA []byte, err error) { 3730 size := m.Size() 3731 dAtA = make([]byte, size) 3732 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3733 if err != nil { 3734 return nil, err 3735 } 3736 return dAtA[:n], nil 3737 } 3738 3739 func (m *QueryERC20ToDenomRequest) MarshalTo(dAtA []byte) (int, error) { 3740 size := m.Size() 3741 return m.MarshalToSizedBuffer(dAtA[:size]) 3742 } 3743 3744 func (m *QueryERC20ToDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3745 i := len(dAtA) 3746 _ = i 3747 var l int 3748 _ = l 3749 if len(m.Erc20) > 0 { 3750 i -= len(m.Erc20) 3751 copy(dAtA[i:], m.Erc20) 3752 i = encodeVarintQuery(dAtA, i, uint64(len(m.Erc20))) 3753 i-- 3754 dAtA[i] = 0xa 3755 } 3756 return len(dAtA) - i, nil 3757 } 3758 3759 func (m *QueryERC20ToDenomResponse) Marshal() (dAtA []byte, err error) { 3760 size := m.Size() 3761 dAtA = make([]byte, size) 3762 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3763 if err != nil { 3764 return nil, err 3765 } 3766 return dAtA[:n], nil 3767 } 3768 3769 func (m *QueryERC20ToDenomResponse) MarshalTo(dAtA []byte) (int, error) { 3770 size := m.Size() 3771 return m.MarshalToSizedBuffer(dAtA[:size]) 3772 } 3773 3774 func (m *QueryERC20ToDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3775 i := len(dAtA) 3776 _ = i 3777 var l int 3778 _ = l 3779 if m.CosmosOriginated { 3780 i-- 3781 if m.CosmosOriginated { 3782 dAtA[i] = 1 3783 } else { 3784 dAtA[i] = 0 3785 } 3786 i-- 3787 dAtA[i] = 0x10 3788 } 3789 if len(m.Denom) > 0 { 3790 i -= len(m.Denom) 3791 copy(dAtA[i:], m.Denom) 3792 i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) 3793 i-- 3794 dAtA[i] = 0xa 3795 } 3796 return len(dAtA) - i, nil 3797 } 3798 3799 func (m *QueryDenomToERC20Request) Marshal() (dAtA []byte, err error) { 3800 size := m.Size() 3801 dAtA = make([]byte, size) 3802 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3803 if err != nil { 3804 return nil, err 3805 } 3806 return dAtA[:n], nil 3807 } 3808 3809 func (m *QueryDenomToERC20Request) MarshalTo(dAtA []byte) (int, error) { 3810 size := m.Size() 3811 return m.MarshalToSizedBuffer(dAtA[:size]) 3812 } 3813 3814 func (m *QueryDenomToERC20Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3815 i := len(dAtA) 3816 _ = i 3817 var l int 3818 _ = l 3819 if len(m.Denom) > 0 { 3820 i -= len(m.Denom) 3821 copy(dAtA[i:], m.Denom) 3822 i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom))) 3823 i-- 3824 dAtA[i] = 0xa 3825 } 3826 return len(dAtA) - i, nil 3827 } 3828 3829 func (m *QueryDenomToERC20Response) Marshal() (dAtA []byte, err error) { 3830 size := m.Size() 3831 dAtA = make([]byte, size) 3832 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3833 if err != nil { 3834 return nil, err 3835 } 3836 return dAtA[:n], nil 3837 } 3838 3839 func (m *QueryDenomToERC20Response) MarshalTo(dAtA []byte) (int, error) { 3840 size := m.Size() 3841 return m.MarshalToSizedBuffer(dAtA[:size]) 3842 } 3843 3844 func (m *QueryDenomToERC20Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3845 i := len(dAtA) 3846 _ = i 3847 var l int 3848 _ = l 3849 if m.CosmosOriginated { 3850 i-- 3851 if m.CosmosOriginated { 3852 dAtA[i] = 1 3853 } else { 3854 dAtA[i] = 0 3855 } 3856 i-- 3857 dAtA[i] = 0x10 3858 } 3859 if len(m.Erc20) > 0 { 3860 i -= len(m.Erc20) 3861 copy(dAtA[i:], m.Erc20) 3862 i = encodeVarintQuery(dAtA, i, uint64(len(m.Erc20))) 3863 i-- 3864 dAtA[i] = 0xa 3865 } 3866 return len(dAtA) - i, nil 3867 } 3868 3869 func (m *QueryDelegateKeysByValidatorAddress) Marshal() (dAtA []byte, err error) { 3870 size := m.Size() 3871 dAtA = make([]byte, size) 3872 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3873 if err != nil { 3874 return nil, err 3875 } 3876 return dAtA[:n], nil 3877 } 3878 3879 func (m *QueryDelegateKeysByValidatorAddress) MarshalTo(dAtA []byte) (int, error) { 3880 size := m.Size() 3881 return m.MarshalToSizedBuffer(dAtA[:size]) 3882 } 3883 3884 func (m *QueryDelegateKeysByValidatorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3885 i := len(dAtA) 3886 _ = i 3887 var l int 3888 _ = l 3889 if len(m.ValidatorAddress) > 0 { 3890 i -= len(m.ValidatorAddress) 3891 copy(dAtA[i:], m.ValidatorAddress) 3892 i = encodeVarintQuery(dAtA, i, uint64(len(m.ValidatorAddress))) 3893 i-- 3894 dAtA[i] = 0xa 3895 } 3896 return len(dAtA) - i, nil 3897 } 3898 3899 func (m *QueryDelegateKeysByValidatorAddressResponse) Marshal() (dAtA []byte, err error) { 3900 size := m.Size() 3901 dAtA = make([]byte, size) 3902 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3903 if err != nil { 3904 return nil, err 3905 } 3906 return dAtA[:n], nil 3907 } 3908 3909 func (m *QueryDelegateKeysByValidatorAddressResponse) MarshalTo(dAtA []byte) (int, error) { 3910 size := m.Size() 3911 return m.MarshalToSizedBuffer(dAtA[:size]) 3912 } 3913 3914 func (m *QueryDelegateKeysByValidatorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3915 i := len(dAtA) 3916 _ = i 3917 var l int 3918 _ = l 3919 if len(m.OrchestratorAddress) > 0 { 3920 i -= len(m.OrchestratorAddress) 3921 copy(dAtA[i:], m.OrchestratorAddress) 3922 i = encodeVarintQuery(dAtA, i, uint64(len(m.OrchestratorAddress))) 3923 i-- 3924 dAtA[i] = 0x12 3925 } 3926 if len(m.EthAddress) > 0 { 3927 i -= len(m.EthAddress) 3928 copy(dAtA[i:], m.EthAddress) 3929 i = encodeVarintQuery(dAtA, i, uint64(len(m.EthAddress))) 3930 i-- 3931 dAtA[i] = 0xa 3932 } 3933 return len(dAtA) - i, nil 3934 } 3935 3936 func (m *QueryDelegateKeysByEthAddress) Marshal() (dAtA []byte, err error) { 3937 size := m.Size() 3938 dAtA = make([]byte, size) 3939 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3940 if err != nil { 3941 return nil, err 3942 } 3943 return dAtA[:n], nil 3944 } 3945 3946 func (m *QueryDelegateKeysByEthAddress) MarshalTo(dAtA []byte) (int, error) { 3947 size := m.Size() 3948 return m.MarshalToSizedBuffer(dAtA[:size]) 3949 } 3950 3951 func (m *QueryDelegateKeysByEthAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3952 i := len(dAtA) 3953 _ = i 3954 var l int 3955 _ = l 3956 if len(m.EthAddress) > 0 { 3957 i -= len(m.EthAddress) 3958 copy(dAtA[i:], m.EthAddress) 3959 i = encodeVarintQuery(dAtA, i, uint64(len(m.EthAddress))) 3960 i-- 3961 dAtA[i] = 0xa 3962 } 3963 return len(dAtA) - i, nil 3964 } 3965 3966 func (m *QueryDelegateKeysByEthAddressResponse) Marshal() (dAtA []byte, err error) { 3967 size := m.Size() 3968 dAtA = make([]byte, size) 3969 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 3970 if err != nil { 3971 return nil, err 3972 } 3973 return dAtA[:n], nil 3974 } 3975 3976 func (m *QueryDelegateKeysByEthAddressResponse) MarshalTo(dAtA []byte) (int, error) { 3977 size := m.Size() 3978 return m.MarshalToSizedBuffer(dAtA[:size]) 3979 } 3980 3981 func (m *QueryDelegateKeysByEthAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 3982 i := len(dAtA) 3983 _ = i 3984 var l int 3985 _ = l 3986 if len(m.OrchestratorAddress) > 0 { 3987 i -= len(m.OrchestratorAddress) 3988 copy(dAtA[i:], m.OrchestratorAddress) 3989 i = encodeVarintQuery(dAtA, i, uint64(len(m.OrchestratorAddress))) 3990 i-- 3991 dAtA[i] = 0x12 3992 } 3993 if len(m.ValidatorAddress) > 0 { 3994 i -= len(m.ValidatorAddress) 3995 copy(dAtA[i:], m.ValidatorAddress) 3996 i = encodeVarintQuery(dAtA, i, uint64(len(m.ValidatorAddress))) 3997 i-- 3998 dAtA[i] = 0xa 3999 } 4000 return len(dAtA) - i, nil 4001 } 4002 4003 func (m *QueryDelegateKeysByOrchestratorAddress) Marshal() (dAtA []byte, err error) { 4004 size := m.Size() 4005 dAtA = make([]byte, size) 4006 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4007 if err != nil { 4008 return nil, err 4009 } 4010 return dAtA[:n], nil 4011 } 4012 4013 func (m *QueryDelegateKeysByOrchestratorAddress) MarshalTo(dAtA []byte) (int, error) { 4014 size := m.Size() 4015 return m.MarshalToSizedBuffer(dAtA[:size]) 4016 } 4017 4018 func (m *QueryDelegateKeysByOrchestratorAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4019 i := len(dAtA) 4020 _ = i 4021 var l int 4022 _ = l 4023 if len(m.OrchestratorAddress) > 0 { 4024 i -= len(m.OrchestratorAddress) 4025 copy(dAtA[i:], m.OrchestratorAddress) 4026 i = encodeVarintQuery(dAtA, i, uint64(len(m.OrchestratorAddress))) 4027 i-- 4028 dAtA[i] = 0xa 4029 } 4030 return len(dAtA) - i, nil 4031 } 4032 4033 func (m *QueryDelegateKeysByOrchestratorAddressResponse) Marshal() (dAtA []byte, err error) { 4034 size := m.Size() 4035 dAtA = make([]byte, size) 4036 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4037 if err != nil { 4038 return nil, err 4039 } 4040 return dAtA[:n], nil 4041 } 4042 4043 func (m *QueryDelegateKeysByOrchestratorAddressResponse) MarshalTo(dAtA []byte) (int, error) { 4044 size := m.Size() 4045 return m.MarshalToSizedBuffer(dAtA[:size]) 4046 } 4047 4048 func (m *QueryDelegateKeysByOrchestratorAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4049 i := len(dAtA) 4050 _ = i 4051 var l int 4052 _ = l 4053 if len(m.EthAddress) > 0 { 4054 i -= len(m.EthAddress) 4055 copy(dAtA[i:], m.EthAddress) 4056 i = encodeVarintQuery(dAtA, i, uint64(len(m.EthAddress))) 4057 i-- 4058 dAtA[i] = 0x12 4059 } 4060 if len(m.ValidatorAddress) > 0 { 4061 i -= len(m.ValidatorAddress) 4062 copy(dAtA[i:], m.ValidatorAddress) 4063 i = encodeVarintQuery(dAtA, i, uint64(len(m.ValidatorAddress))) 4064 i-- 4065 dAtA[i] = 0xa 4066 } 4067 return len(dAtA) - i, nil 4068 } 4069 4070 func (m *QueryPendingSendToEth) Marshal() (dAtA []byte, err error) { 4071 size := m.Size() 4072 dAtA = make([]byte, size) 4073 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4074 if err != nil { 4075 return nil, err 4076 } 4077 return dAtA[:n], nil 4078 } 4079 4080 func (m *QueryPendingSendToEth) MarshalTo(dAtA []byte) (int, error) { 4081 size := m.Size() 4082 return m.MarshalToSizedBuffer(dAtA[:size]) 4083 } 4084 4085 func (m *QueryPendingSendToEth) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4086 i := len(dAtA) 4087 _ = i 4088 var l int 4089 _ = l 4090 if len(m.SenderAddress) > 0 { 4091 i -= len(m.SenderAddress) 4092 copy(dAtA[i:], m.SenderAddress) 4093 i = encodeVarintQuery(dAtA, i, uint64(len(m.SenderAddress))) 4094 i-- 4095 dAtA[i] = 0xa 4096 } 4097 return len(dAtA) - i, nil 4098 } 4099 4100 func (m *QueryPendingSendToEthResponse) Marshal() (dAtA []byte, err error) { 4101 size := m.Size() 4102 dAtA = make([]byte, size) 4103 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4104 if err != nil { 4105 return nil, err 4106 } 4107 return dAtA[:n], nil 4108 } 4109 4110 func (m *QueryPendingSendToEthResponse) MarshalTo(dAtA []byte) (int, error) { 4111 size := m.Size() 4112 return m.MarshalToSizedBuffer(dAtA[:size]) 4113 } 4114 4115 func (m *QueryPendingSendToEthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4116 i := len(dAtA) 4117 _ = i 4118 var l int 4119 _ = l 4120 if len(m.UnbatchedTransfers) > 0 { 4121 for iNdEx := len(m.UnbatchedTransfers) - 1; iNdEx >= 0; iNdEx-- { 4122 { 4123 size, err := m.UnbatchedTransfers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4124 if err != nil { 4125 return 0, err 4126 } 4127 i -= size 4128 i = encodeVarintQuery(dAtA, i, uint64(size)) 4129 } 4130 i-- 4131 dAtA[i] = 0x12 4132 } 4133 } 4134 if len(m.TransfersInBatches) > 0 { 4135 for iNdEx := len(m.TransfersInBatches) - 1; iNdEx >= 0; iNdEx-- { 4136 { 4137 size, err := m.TransfersInBatches[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 4138 if err != nil { 4139 return 0, err 4140 } 4141 i -= size 4142 i = encodeVarintQuery(dAtA, i, uint64(size)) 4143 } 4144 i-- 4145 dAtA[i] = 0xa 4146 } 4147 } 4148 return len(dAtA) - i, nil 4149 } 4150 4151 func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error) { 4152 size := m.Size() 4153 dAtA = make([]byte, size) 4154 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4155 if err != nil { 4156 return nil, err 4157 } 4158 return dAtA[:n], nil 4159 } 4160 4161 func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error) { 4162 size := m.Size() 4163 return m.MarshalToSizedBuffer(dAtA[:size]) 4164 } 4165 4166 func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4167 i := len(dAtA) 4168 _ = i 4169 var l int 4170 _ = l 4171 return len(dAtA) - i, nil 4172 } 4173 4174 func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error) { 4175 size := m.Size() 4176 dAtA = make([]byte, size) 4177 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4178 if err != nil { 4179 return nil, err 4180 } 4181 return dAtA[:n], nil 4182 } 4183 4184 func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error) { 4185 size := m.Size() 4186 return m.MarshalToSizedBuffer(dAtA[:size]) 4187 } 4188 4189 func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4190 i := len(dAtA) 4191 _ = i 4192 var l int 4193 _ = l 4194 if m.State != nil { 4195 { 4196 size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) 4197 if err != nil { 4198 return 0, err 4199 } 4200 i -= size 4201 i = encodeVarintQuery(dAtA, i, uint64(size)) 4202 } 4203 i-- 4204 dAtA[i] = 0xa 4205 } 4206 return len(dAtA) - i, nil 4207 } 4208 4209 func (m *MissingNoncesRequest) Marshal() (dAtA []byte, err error) { 4210 size := m.Size() 4211 dAtA = make([]byte, size) 4212 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4213 if err != nil { 4214 return nil, err 4215 } 4216 return dAtA[:n], nil 4217 } 4218 4219 func (m *MissingNoncesRequest) MarshalTo(dAtA []byte) (int, error) { 4220 size := m.Size() 4221 return m.MarshalToSizedBuffer(dAtA[:size]) 4222 } 4223 4224 func (m *MissingNoncesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4225 i := len(dAtA) 4226 _ = i 4227 var l int 4228 _ = l 4229 return len(dAtA) - i, nil 4230 } 4231 4232 func (m *MissingNoncesResponse) Marshal() (dAtA []byte, err error) { 4233 size := m.Size() 4234 dAtA = make([]byte, size) 4235 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 4236 if err != nil { 4237 return nil, err 4238 } 4239 return dAtA[:n], nil 4240 } 4241 4242 func (m *MissingNoncesResponse) MarshalTo(dAtA []byte) (int, error) { 4243 size := m.Size() 4244 return m.MarshalToSizedBuffer(dAtA[:size]) 4245 } 4246 4247 func (m *MissingNoncesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 4248 i := len(dAtA) 4249 _ = i 4250 var l int 4251 _ = l 4252 if len(m.OperatorAddresses) > 0 { 4253 for iNdEx := len(m.OperatorAddresses) - 1; iNdEx >= 0; iNdEx-- { 4254 i -= len(m.OperatorAddresses[iNdEx]) 4255 copy(dAtA[i:], m.OperatorAddresses[iNdEx]) 4256 i = encodeVarintQuery(dAtA, i, uint64(len(m.OperatorAddresses[iNdEx]))) 4257 i-- 4258 dAtA[i] = 0xa 4259 } 4260 } 4261 return len(dAtA) - i, nil 4262 } 4263 4264 func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { 4265 offset -= sovQuery(v) 4266 base := offset 4267 for v >= 1<<7 { 4268 dAtA[offset] = uint8(v&0x7f | 0x80) 4269 v >>= 7 4270 offset++ 4271 } 4272 dAtA[offset] = uint8(v) 4273 return base 4274 } 4275 func (m *QueryParamsRequest) Size() (n int) { 4276 if m == nil { 4277 return 0 4278 } 4279 var l int 4280 _ = l 4281 return n 4282 } 4283 4284 func (m *QueryParamsResponse) Size() (n int) { 4285 if m == nil { 4286 return 0 4287 } 4288 var l int 4289 _ = l 4290 l = m.Params.Size() 4291 n += 1 + l + sovQuery(uint64(l)) 4292 return n 4293 } 4294 4295 func (m *QueryCurrentValsetRequest) Size() (n int) { 4296 if m == nil { 4297 return 0 4298 } 4299 var l int 4300 _ = l 4301 return n 4302 } 4303 4304 func (m *QueryCurrentValsetResponse) Size() (n int) { 4305 if m == nil { 4306 return 0 4307 } 4308 var l int 4309 _ = l 4310 if m.Valset != nil { 4311 l = m.Valset.Size() 4312 n += 1 + l + sovQuery(uint64(l)) 4313 } 4314 return n 4315 } 4316 4317 func (m *QueryValsetRequestRequest) Size() (n int) { 4318 if m == nil { 4319 return 0 4320 } 4321 var l int 4322 _ = l 4323 if m.Nonce != 0 { 4324 n += 1 + sovQuery(uint64(m.Nonce)) 4325 } 4326 return n 4327 } 4328 4329 func (m *QueryValsetRequestResponse) Size() (n int) { 4330 if m == nil { 4331 return 0 4332 } 4333 var l int 4334 _ = l 4335 if m.Valset != nil { 4336 l = m.Valset.Size() 4337 n += 1 + l + sovQuery(uint64(l)) 4338 } 4339 return n 4340 } 4341 4342 func (m *QueryValsetConfirmRequest) Size() (n int) { 4343 if m == nil { 4344 return 0 4345 } 4346 var l int 4347 _ = l 4348 if m.Nonce != 0 { 4349 n += 1 + sovQuery(uint64(m.Nonce)) 4350 } 4351 l = len(m.Address) 4352 if l > 0 { 4353 n += 1 + l + sovQuery(uint64(l)) 4354 } 4355 return n 4356 } 4357 4358 func (m *QueryValsetConfirmResponse) Size() (n int) { 4359 if m == nil { 4360 return 0 4361 } 4362 var l int 4363 _ = l 4364 if m.Confirm != nil { 4365 l = m.Confirm.Size() 4366 n += 1 + l + sovQuery(uint64(l)) 4367 } 4368 return n 4369 } 4370 4371 func (m *QueryValsetConfirmsByNonceRequest) Size() (n int) { 4372 if m == nil { 4373 return 0 4374 } 4375 var l int 4376 _ = l 4377 if m.Nonce != 0 { 4378 n += 1 + sovQuery(uint64(m.Nonce)) 4379 } 4380 return n 4381 } 4382 4383 func (m *QueryValsetConfirmsByNonceResponse) Size() (n int) { 4384 if m == nil { 4385 return 0 4386 } 4387 var l int 4388 _ = l 4389 if len(m.Confirms) > 0 { 4390 for _, e := range m.Confirms { 4391 l = e.Size() 4392 n += 1 + l + sovQuery(uint64(l)) 4393 } 4394 } 4395 return n 4396 } 4397 4398 func (m *QueryLastValsetRequestsRequest) Size() (n int) { 4399 if m == nil { 4400 return 0 4401 } 4402 var l int 4403 _ = l 4404 return n 4405 } 4406 4407 func (m *QueryLastValsetRequestsResponse) Size() (n int) { 4408 if m == nil { 4409 return 0 4410 } 4411 var l int 4412 _ = l 4413 if len(m.Valsets) > 0 { 4414 for _, e := range m.Valsets { 4415 l = e.Size() 4416 n += 1 + l + sovQuery(uint64(l)) 4417 } 4418 } 4419 return n 4420 } 4421 4422 func (m *QueryLastPendingValsetRequestByAddrRequest) Size() (n int) { 4423 if m == nil { 4424 return 0 4425 } 4426 var l int 4427 _ = l 4428 l = len(m.Address) 4429 if l > 0 { 4430 n += 1 + l + sovQuery(uint64(l)) 4431 } 4432 return n 4433 } 4434 4435 func (m *QueryLastPendingValsetRequestByAddrResponse) Size() (n int) { 4436 if m == nil { 4437 return 0 4438 } 4439 var l int 4440 _ = l 4441 if len(m.Valsets) > 0 { 4442 for _, e := range m.Valsets { 4443 l = e.Size() 4444 n += 1 + l + sovQuery(uint64(l)) 4445 } 4446 } 4447 return n 4448 } 4449 4450 func (m *QueryBatchFeeRequest) Size() (n int) { 4451 if m == nil { 4452 return 0 4453 } 4454 var l int 4455 _ = l 4456 return n 4457 } 4458 4459 func (m *QueryBatchFeeResponse) Size() (n int) { 4460 if m == nil { 4461 return 0 4462 } 4463 var l int 4464 _ = l 4465 if len(m.BatchFees) > 0 { 4466 for _, e := range m.BatchFees { 4467 l = e.Size() 4468 n += 1 + l + sovQuery(uint64(l)) 4469 } 4470 } 4471 return n 4472 } 4473 4474 func (m *QueryLastPendingBatchRequestByAddrRequest) Size() (n int) { 4475 if m == nil { 4476 return 0 4477 } 4478 var l int 4479 _ = l 4480 l = len(m.Address) 4481 if l > 0 { 4482 n += 1 + l + sovQuery(uint64(l)) 4483 } 4484 return n 4485 } 4486 4487 func (m *QueryLastPendingBatchRequestByAddrResponse) Size() (n int) { 4488 if m == nil { 4489 return 0 4490 } 4491 var l int 4492 _ = l 4493 if m.Batch != nil { 4494 l = m.Batch.Size() 4495 n += 1 + l + sovQuery(uint64(l)) 4496 } 4497 return n 4498 } 4499 4500 func (m *QueryOutgoingTxBatchesRequest) Size() (n int) { 4501 if m == nil { 4502 return 0 4503 } 4504 var l int 4505 _ = l 4506 return n 4507 } 4508 4509 func (m *QueryOutgoingTxBatchesResponse) Size() (n int) { 4510 if m == nil { 4511 return 0 4512 } 4513 var l int 4514 _ = l 4515 if len(m.Batches) > 0 { 4516 for _, e := range m.Batches { 4517 l = e.Size() 4518 n += 1 + l + sovQuery(uint64(l)) 4519 } 4520 } 4521 return n 4522 } 4523 4524 func (m *QueryBatchRequestByNonceRequest) Size() (n int) { 4525 if m == nil { 4526 return 0 4527 } 4528 var l int 4529 _ = l 4530 if m.Nonce != 0 { 4531 n += 1 + sovQuery(uint64(m.Nonce)) 4532 } 4533 l = len(m.ContractAddress) 4534 if l > 0 { 4535 n += 1 + l + sovQuery(uint64(l)) 4536 } 4537 return n 4538 } 4539 4540 func (m *QueryBatchRequestByNonceResponse) Size() (n int) { 4541 if m == nil { 4542 return 0 4543 } 4544 var l int 4545 _ = l 4546 if m.Batch != nil { 4547 l = m.Batch.Size() 4548 n += 1 + l + sovQuery(uint64(l)) 4549 } 4550 return n 4551 } 4552 4553 func (m *QueryBatchConfirmsRequest) Size() (n int) { 4554 if m == nil { 4555 return 0 4556 } 4557 var l int 4558 _ = l 4559 if m.Nonce != 0 { 4560 n += 1 + sovQuery(uint64(m.Nonce)) 4561 } 4562 l = len(m.ContractAddress) 4563 if l > 0 { 4564 n += 1 + l + sovQuery(uint64(l)) 4565 } 4566 return n 4567 } 4568 4569 func (m *QueryBatchConfirmsResponse) Size() (n int) { 4570 if m == nil { 4571 return 0 4572 } 4573 var l int 4574 _ = l 4575 if len(m.Confirms) > 0 { 4576 for _, e := range m.Confirms { 4577 l = e.Size() 4578 n += 1 + l + sovQuery(uint64(l)) 4579 } 4580 } 4581 return n 4582 } 4583 4584 func (m *QueryLastEventByAddrRequest) Size() (n int) { 4585 if m == nil { 4586 return 0 4587 } 4588 var l int 4589 _ = l 4590 l = len(m.Address) 4591 if l > 0 { 4592 n += 1 + l + sovQuery(uint64(l)) 4593 } 4594 return n 4595 } 4596 4597 func (m *QueryLastEventByAddrResponse) Size() (n int) { 4598 if m == nil { 4599 return 0 4600 } 4601 var l int 4602 _ = l 4603 if m.LastClaimEvent != nil { 4604 l = m.LastClaimEvent.Size() 4605 n += 1 + l + sovQuery(uint64(l)) 4606 } 4607 return n 4608 } 4609 4610 func (m *QueryERC20ToDenomRequest) Size() (n int) { 4611 if m == nil { 4612 return 0 4613 } 4614 var l int 4615 _ = l 4616 l = len(m.Erc20) 4617 if l > 0 { 4618 n += 1 + l + sovQuery(uint64(l)) 4619 } 4620 return n 4621 } 4622 4623 func (m *QueryERC20ToDenomResponse) Size() (n int) { 4624 if m == nil { 4625 return 0 4626 } 4627 var l int 4628 _ = l 4629 l = len(m.Denom) 4630 if l > 0 { 4631 n += 1 + l + sovQuery(uint64(l)) 4632 } 4633 if m.CosmosOriginated { 4634 n += 2 4635 } 4636 return n 4637 } 4638 4639 func (m *QueryDenomToERC20Request) Size() (n int) { 4640 if m == nil { 4641 return 0 4642 } 4643 var l int 4644 _ = l 4645 l = len(m.Denom) 4646 if l > 0 { 4647 n += 1 + l + sovQuery(uint64(l)) 4648 } 4649 return n 4650 } 4651 4652 func (m *QueryDenomToERC20Response) Size() (n int) { 4653 if m == nil { 4654 return 0 4655 } 4656 var l int 4657 _ = l 4658 l = len(m.Erc20) 4659 if l > 0 { 4660 n += 1 + l + sovQuery(uint64(l)) 4661 } 4662 if m.CosmosOriginated { 4663 n += 2 4664 } 4665 return n 4666 } 4667 4668 func (m *QueryDelegateKeysByValidatorAddress) Size() (n int) { 4669 if m == nil { 4670 return 0 4671 } 4672 var l int 4673 _ = l 4674 l = len(m.ValidatorAddress) 4675 if l > 0 { 4676 n += 1 + l + sovQuery(uint64(l)) 4677 } 4678 return n 4679 } 4680 4681 func (m *QueryDelegateKeysByValidatorAddressResponse) Size() (n int) { 4682 if m == nil { 4683 return 0 4684 } 4685 var l int 4686 _ = l 4687 l = len(m.EthAddress) 4688 if l > 0 { 4689 n += 1 + l + sovQuery(uint64(l)) 4690 } 4691 l = len(m.OrchestratorAddress) 4692 if l > 0 { 4693 n += 1 + l + sovQuery(uint64(l)) 4694 } 4695 return n 4696 } 4697 4698 func (m *QueryDelegateKeysByEthAddress) Size() (n int) { 4699 if m == nil { 4700 return 0 4701 } 4702 var l int 4703 _ = l 4704 l = len(m.EthAddress) 4705 if l > 0 { 4706 n += 1 + l + sovQuery(uint64(l)) 4707 } 4708 return n 4709 } 4710 4711 func (m *QueryDelegateKeysByEthAddressResponse) Size() (n int) { 4712 if m == nil { 4713 return 0 4714 } 4715 var l int 4716 _ = l 4717 l = len(m.ValidatorAddress) 4718 if l > 0 { 4719 n += 1 + l + sovQuery(uint64(l)) 4720 } 4721 l = len(m.OrchestratorAddress) 4722 if l > 0 { 4723 n += 1 + l + sovQuery(uint64(l)) 4724 } 4725 return n 4726 } 4727 4728 func (m *QueryDelegateKeysByOrchestratorAddress) Size() (n int) { 4729 if m == nil { 4730 return 0 4731 } 4732 var l int 4733 _ = l 4734 l = len(m.OrchestratorAddress) 4735 if l > 0 { 4736 n += 1 + l + sovQuery(uint64(l)) 4737 } 4738 return n 4739 } 4740 4741 func (m *QueryDelegateKeysByOrchestratorAddressResponse) Size() (n int) { 4742 if m == nil { 4743 return 0 4744 } 4745 var l int 4746 _ = l 4747 l = len(m.ValidatorAddress) 4748 if l > 0 { 4749 n += 1 + l + sovQuery(uint64(l)) 4750 } 4751 l = len(m.EthAddress) 4752 if l > 0 { 4753 n += 1 + l + sovQuery(uint64(l)) 4754 } 4755 return n 4756 } 4757 4758 func (m *QueryPendingSendToEth) Size() (n int) { 4759 if m == nil { 4760 return 0 4761 } 4762 var l int 4763 _ = l 4764 l = len(m.SenderAddress) 4765 if l > 0 { 4766 n += 1 + l + sovQuery(uint64(l)) 4767 } 4768 return n 4769 } 4770 4771 func (m *QueryPendingSendToEthResponse) Size() (n int) { 4772 if m == nil { 4773 return 0 4774 } 4775 var l int 4776 _ = l 4777 if len(m.TransfersInBatches) > 0 { 4778 for _, e := range m.TransfersInBatches { 4779 l = e.Size() 4780 n += 1 + l + sovQuery(uint64(l)) 4781 } 4782 } 4783 if len(m.UnbatchedTransfers) > 0 { 4784 for _, e := range m.UnbatchedTransfers { 4785 l = e.Size() 4786 n += 1 + l + sovQuery(uint64(l)) 4787 } 4788 } 4789 return n 4790 } 4791 4792 func (m *QueryModuleStateRequest) Size() (n int) { 4793 if m == nil { 4794 return 0 4795 } 4796 var l int 4797 _ = l 4798 return n 4799 } 4800 4801 func (m *QueryModuleStateResponse) Size() (n int) { 4802 if m == nil { 4803 return 0 4804 } 4805 var l int 4806 _ = l 4807 if m.State != nil { 4808 l = m.State.Size() 4809 n += 1 + l + sovQuery(uint64(l)) 4810 } 4811 return n 4812 } 4813 4814 func (m *MissingNoncesRequest) Size() (n int) { 4815 if m == nil { 4816 return 0 4817 } 4818 var l int 4819 _ = l 4820 return n 4821 } 4822 4823 func (m *MissingNoncesResponse) Size() (n int) { 4824 if m == nil { 4825 return 0 4826 } 4827 var l int 4828 _ = l 4829 if len(m.OperatorAddresses) > 0 { 4830 for _, s := range m.OperatorAddresses { 4831 l = len(s) 4832 n += 1 + l + sovQuery(uint64(l)) 4833 } 4834 } 4835 return n 4836 } 4837 4838 func sovQuery(x uint64) (n int) { 4839 return (math_bits.Len64(x|1) + 6) / 7 4840 } 4841 func sozQuery(x uint64) (n int) { 4842 return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 4843 } 4844 func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { 4845 l := len(dAtA) 4846 iNdEx := 0 4847 for iNdEx < l { 4848 preIndex := iNdEx 4849 var wire uint64 4850 for shift := uint(0); ; shift += 7 { 4851 if shift >= 64 { 4852 return ErrIntOverflowQuery 4853 } 4854 if iNdEx >= l { 4855 return io.ErrUnexpectedEOF 4856 } 4857 b := dAtA[iNdEx] 4858 iNdEx++ 4859 wire |= uint64(b&0x7F) << shift 4860 if b < 0x80 { 4861 break 4862 } 4863 } 4864 fieldNum := int32(wire >> 3) 4865 wireType := int(wire & 0x7) 4866 if wireType == 4 { 4867 return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") 4868 } 4869 if fieldNum <= 0 { 4870 return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4871 } 4872 switch fieldNum { 4873 default: 4874 iNdEx = preIndex 4875 skippy, err := skipQuery(dAtA[iNdEx:]) 4876 if err != nil { 4877 return err 4878 } 4879 if (skippy < 0) || (iNdEx+skippy) < 0 { 4880 return ErrInvalidLengthQuery 4881 } 4882 if (iNdEx + skippy) > l { 4883 return io.ErrUnexpectedEOF 4884 } 4885 iNdEx += skippy 4886 } 4887 } 4888 4889 if iNdEx > l { 4890 return io.ErrUnexpectedEOF 4891 } 4892 return nil 4893 } 4894 func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { 4895 l := len(dAtA) 4896 iNdEx := 0 4897 for iNdEx < l { 4898 preIndex := iNdEx 4899 var wire uint64 4900 for shift := uint(0); ; shift += 7 { 4901 if shift >= 64 { 4902 return ErrIntOverflowQuery 4903 } 4904 if iNdEx >= l { 4905 return io.ErrUnexpectedEOF 4906 } 4907 b := dAtA[iNdEx] 4908 iNdEx++ 4909 wire |= uint64(b&0x7F) << shift 4910 if b < 0x80 { 4911 break 4912 } 4913 } 4914 fieldNum := int32(wire >> 3) 4915 wireType := int(wire & 0x7) 4916 if wireType == 4 { 4917 return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") 4918 } 4919 if fieldNum <= 0 { 4920 return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4921 } 4922 switch fieldNum { 4923 case 1: 4924 if wireType != 2 { 4925 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 4926 } 4927 var msglen int 4928 for shift := uint(0); ; shift += 7 { 4929 if shift >= 64 { 4930 return ErrIntOverflowQuery 4931 } 4932 if iNdEx >= l { 4933 return io.ErrUnexpectedEOF 4934 } 4935 b := dAtA[iNdEx] 4936 iNdEx++ 4937 msglen |= int(b&0x7F) << shift 4938 if b < 0x80 { 4939 break 4940 } 4941 } 4942 if msglen < 0 { 4943 return ErrInvalidLengthQuery 4944 } 4945 postIndex := iNdEx + msglen 4946 if postIndex < 0 { 4947 return ErrInvalidLengthQuery 4948 } 4949 if postIndex > l { 4950 return io.ErrUnexpectedEOF 4951 } 4952 if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4953 return err 4954 } 4955 iNdEx = postIndex 4956 default: 4957 iNdEx = preIndex 4958 skippy, err := skipQuery(dAtA[iNdEx:]) 4959 if err != nil { 4960 return err 4961 } 4962 if (skippy < 0) || (iNdEx+skippy) < 0 { 4963 return ErrInvalidLengthQuery 4964 } 4965 if (iNdEx + skippy) > l { 4966 return io.ErrUnexpectedEOF 4967 } 4968 iNdEx += skippy 4969 } 4970 } 4971 4972 if iNdEx > l { 4973 return io.ErrUnexpectedEOF 4974 } 4975 return nil 4976 } 4977 func (m *QueryCurrentValsetRequest) Unmarshal(dAtA []byte) error { 4978 l := len(dAtA) 4979 iNdEx := 0 4980 for iNdEx < l { 4981 preIndex := iNdEx 4982 var wire uint64 4983 for shift := uint(0); ; shift += 7 { 4984 if shift >= 64 { 4985 return ErrIntOverflowQuery 4986 } 4987 if iNdEx >= l { 4988 return io.ErrUnexpectedEOF 4989 } 4990 b := dAtA[iNdEx] 4991 iNdEx++ 4992 wire |= uint64(b&0x7F) << shift 4993 if b < 0x80 { 4994 break 4995 } 4996 } 4997 fieldNum := int32(wire >> 3) 4998 wireType := int(wire & 0x7) 4999 if wireType == 4 { 5000 return fmt.Errorf("proto: QueryCurrentValsetRequest: wiretype end group for non-group") 5001 } 5002 if fieldNum <= 0 { 5003 return fmt.Errorf("proto: QueryCurrentValsetRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5004 } 5005 switch fieldNum { 5006 default: 5007 iNdEx = preIndex 5008 skippy, err := skipQuery(dAtA[iNdEx:]) 5009 if err != nil { 5010 return err 5011 } 5012 if (skippy < 0) || (iNdEx+skippy) < 0 { 5013 return ErrInvalidLengthQuery 5014 } 5015 if (iNdEx + skippy) > l { 5016 return io.ErrUnexpectedEOF 5017 } 5018 iNdEx += skippy 5019 } 5020 } 5021 5022 if iNdEx > l { 5023 return io.ErrUnexpectedEOF 5024 } 5025 return nil 5026 } 5027 func (m *QueryCurrentValsetResponse) Unmarshal(dAtA []byte) error { 5028 l := len(dAtA) 5029 iNdEx := 0 5030 for iNdEx < l { 5031 preIndex := iNdEx 5032 var wire uint64 5033 for shift := uint(0); ; shift += 7 { 5034 if shift >= 64 { 5035 return ErrIntOverflowQuery 5036 } 5037 if iNdEx >= l { 5038 return io.ErrUnexpectedEOF 5039 } 5040 b := dAtA[iNdEx] 5041 iNdEx++ 5042 wire |= uint64(b&0x7F) << shift 5043 if b < 0x80 { 5044 break 5045 } 5046 } 5047 fieldNum := int32(wire >> 3) 5048 wireType := int(wire & 0x7) 5049 if wireType == 4 { 5050 return fmt.Errorf("proto: QueryCurrentValsetResponse: wiretype end group for non-group") 5051 } 5052 if fieldNum <= 0 { 5053 return fmt.Errorf("proto: QueryCurrentValsetResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5054 } 5055 switch fieldNum { 5056 case 1: 5057 if wireType != 2 { 5058 return fmt.Errorf("proto: wrong wireType = %d for field Valset", wireType) 5059 } 5060 var msglen int 5061 for shift := uint(0); ; shift += 7 { 5062 if shift >= 64 { 5063 return ErrIntOverflowQuery 5064 } 5065 if iNdEx >= l { 5066 return io.ErrUnexpectedEOF 5067 } 5068 b := dAtA[iNdEx] 5069 iNdEx++ 5070 msglen |= int(b&0x7F) << shift 5071 if b < 0x80 { 5072 break 5073 } 5074 } 5075 if msglen < 0 { 5076 return ErrInvalidLengthQuery 5077 } 5078 postIndex := iNdEx + msglen 5079 if postIndex < 0 { 5080 return ErrInvalidLengthQuery 5081 } 5082 if postIndex > l { 5083 return io.ErrUnexpectedEOF 5084 } 5085 if m.Valset == nil { 5086 m.Valset = &Valset{} 5087 } 5088 if err := m.Valset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5089 return err 5090 } 5091 iNdEx = postIndex 5092 default: 5093 iNdEx = preIndex 5094 skippy, err := skipQuery(dAtA[iNdEx:]) 5095 if err != nil { 5096 return err 5097 } 5098 if (skippy < 0) || (iNdEx+skippy) < 0 { 5099 return ErrInvalidLengthQuery 5100 } 5101 if (iNdEx + skippy) > l { 5102 return io.ErrUnexpectedEOF 5103 } 5104 iNdEx += skippy 5105 } 5106 } 5107 5108 if iNdEx > l { 5109 return io.ErrUnexpectedEOF 5110 } 5111 return nil 5112 } 5113 func (m *QueryValsetRequestRequest) Unmarshal(dAtA []byte) error { 5114 l := len(dAtA) 5115 iNdEx := 0 5116 for iNdEx < l { 5117 preIndex := iNdEx 5118 var wire uint64 5119 for shift := uint(0); ; shift += 7 { 5120 if shift >= 64 { 5121 return ErrIntOverflowQuery 5122 } 5123 if iNdEx >= l { 5124 return io.ErrUnexpectedEOF 5125 } 5126 b := dAtA[iNdEx] 5127 iNdEx++ 5128 wire |= uint64(b&0x7F) << shift 5129 if b < 0x80 { 5130 break 5131 } 5132 } 5133 fieldNum := int32(wire >> 3) 5134 wireType := int(wire & 0x7) 5135 if wireType == 4 { 5136 return fmt.Errorf("proto: QueryValsetRequestRequest: wiretype end group for non-group") 5137 } 5138 if fieldNum <= 0 { 5139 return fmt.Errorf("proto: QueryValsetRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5140 } 5141 switch fieldNum { 5142 case 1: 5143 if wireType != 0 { 5144 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 5145 } 5146 m.Nonce = 0 5147 for shift := uint(0); ; shift += 7 { 5148 if shift >= 64 { 5149 return ErrIntOverflowQuery 5150 } 5151 if iNdEx >= l { 5152 return io.ErrUnexpectedEOF 5153 } 5154 b := dAtA[iNdEx] 5155 iNdEx++ 5156 m.Nonce |= uint64(b&0x7F) << shift 5157 if b < 0x80 { 5158 break 5159 } 5160 } 5161 default: 5162 iNdEx = preIndex 5163 skippy, err := skipQuery(dAtA[iNdEx:]) 5164 if err != nil { 5165 return err 5166 } 5167 if (skippy < 0) || (iNdEx+skippy) < 0 { 5168 return ErrInvalidLengthQuery 5169 } 5170 if (iNdEx + skippy) > l { 5171 return io.ErrUnexpectedEOF 5172 } 5173 iNdEx += skippy 5174 } 5175 } 5176 5177 if iNdEx > l { 5178 return io.ErrUnexpectedEOF 5179 } 5180 return nil 5181 } 5182 func (m *QueryValsetRequestResponse) Unmarshal(dAtA []byte) error { 5183 l := len(dAtA) 5184 iNdEx := 0 5185 for iNdEx < l { 5186 preIndex := iNdEx 5187 var wire uint64 5188 for shift := uint(0); ; shift += 7 { 5189 if shift >= 64 { 5190 return ErrIntOverflowQuery 5191 } 5192 if iNdEx >= l { 5193 return io.ErrUnexpectedEOF 5194 } 5195 b := dAtA[iNdEx] 5196 iNdEx++ 5197 wire |= uint64(b&0x7F) << shift 5198 if b < 0x80 { 5199 break 5200 } 5201 } 5202 fieldNum := int32(wire >> 3) 5203 wireType := int(wire & 0x7) 5204 if wireType == 4 { 5205 return fmt.Errorf("proto: QueryValsetRequestResponse: wiretype end group for non-group") 5206 } 5207 if fieldNum <= 0 { 5208 return fmt.Errorf("proto: QueryValsetRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5209 } 5210 switch fieldNum { 5211 case 1: 5212 if wireType != 2 { 5213 return fmt.Errorf("proto: wrong wireType = %d for field Valset", wireType) 5214 } 5215 var msglen int 5216 for shift := uint(0); ; shift += 7 { 5217 if shift >= 64 { 5218 return ErrIntOverflowQuery 5219 } 5220 if iNdEx >= l { 5221 return io.ErrUnexpectedEOF 5222 } 5223 b := dAtA[iNdEx] 5224 iNdEx++ 5225 msglen |= int(b&0x7F) << shift 5226 if b < 0x80 { 5227 break 5228 } 5229 } 5230 if msglen < 0 { 5231 return ErrInvalidLengthQuery 5232 } 5233 postIndex := iNdEx + msglen 5234 if postIndex < 0 { 5235 return ErrInvalidLengthQuery 5236 } 5237 if postIndex > l { 5238 return io.ErrUnexpectedEOF 5239 } 5240 if m.Valset == nil { 5241 m.Valset = &Valset{} 5242 } 5243 if err := m.Valset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5244 return err 5245 } 5246 iNdEx = postIndex 5247 default: 5248 iNdEx = preIndex 5249 skippy, err := skipQuery(dAtA[iNdEx:]) 5250 if err != nil { 5251 return err 5252 } 5253 if (skippy < 0) || (iNdEx+skippy) < 0 { 5254 return ErrInvalidLengthQuery 5255 } 5256 if (iNdEx + skippy) > l { 5257 return io.ErrUnexpectedEOF 5258 } 5259 iNdEx += skippy 5260 } 5261 } 5262 5263 if iNdEx > l { 5264 return io.ErrUnexpectedEOF 5265 } 5266 return nil 5267 } 5268 func (m *QueryValsetConfirmRequest) Unmarshal(dAtA []byte) error { 5269 l := len(dAtA) 5270 iNdEx := 0 5271 for iNdEx < l { 5272 preIndex := iNdEx 5273 var wire uint64 5274 for shift := uint(0); ; shift += 7 { 5275 if shift >= 64 { 5276 return ErrIntOverflowQuery 5277 } 5278 if iNdEx >= l { 5279 return io.ErrUnexpectedEOF 5280 } 5281 b := dAtA[iNdEx] 5282 iNdEx++ 5283 wire |= uint64(b&0x7F) << shift 5284 if b < 0x80 { 5285 break 5286 } 5287 } 5288 fieldNum := int32(wire >> 3) 5289 wireType := int(wire & 0x7) 5290 if wireType == 4 { 5291 return fmt.Errorf("proto: QueryValsetConfirmRequest: wiretype end group for non-group") 5292 } 5293 if fieldNum <= 0 { 5294 return fmt.Errorf("proto: QueryValsetConfirmRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5295 } 5296 switch fieldNum { 5297 case 1: 5298 if wireType != 0 { 5299 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 5300 } 5301 m.Nonce = 0 5302 for shift := uint(0); ; shift += 7 { 5303 if shift >= 64 { 5304 return ErrIntOverflowQuery 5305 } 5306 if iNdEx >= l { 5307 return io.ErrUnexpectedEOF 5308 } 5309 b := dAtA[iNdEx] 5310 iNdEx++ 5311 m.Nonce |= uint64(b&0x7F) << shift 5312 if b < 0x80 { 5313 break 5314 } 5315 } 5316 case 2: 5317 if wireType != 2 { 5318 return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) 5319 } 5320 var stringLen uint64 5321 for shift := uint(0); ; shift += 7 { 5322 if shift >= 64 { 5323 return ErrIntOverflowQuery 5324 } 5325 if iNdEx >= l { 5326 return io.ErrUnexpectedEOF 5327 } 5328 b := dAtA[iNdEx] 5329 iNdEx++ 5330 stringLen |= uint64(b&0x7F) << shift 5331 if b < 0x80 { 5332 break 5333 } 5334 } 5335 intStringLen := int(stringLen) 5336 if intStringLen < 0 { 5337 return ErrInvalidLengthQuery 5338 } 5339 postIndex := iNdEx + intStringLen 5340 if postIndex < 0 { 5341 return ErrInvalidLengthQuery 5342 } 5343 if postIndex > l { 5344 return io.ErrUnexpectedEOF 5345 } 5346 m.Address = string(dAtA[iNdEx:postIndex]) 5347 iNdEx = postIndex 5348 default: 5349 iNdEx = preIndex 5350 skippy, err := skipQuery(dAtA[iNdEx:]) 5351 if err != nil { 5352 return err 5353 } 5354 if (skippy < 0) || (iNdEx+skippy) < 0 { 5355 return ErrInvalidLengthQuery 5356 } 5357 if (iNdEx + skippy) > l { 5358 return io.ErrUnexpectedEOF 5359 } 5360 iNdEx += skippy 5361 } 5362 } 5363 5364 if iNdEx > l { 5365 return io.ErrUnexpectedEOF 5366 } 5367 return nil 5368 } 5369 func (m *QueryValsetConfirmResponse) Unmarshal(dAtA []byte) error { 5370 l := len(dAtA) 5371 iNdEx := 0 5372 for iNdEx < l { 5373 preIndex := iNdEx 5374 var wire uint64 5375 for shift := uint(0); ; shift += 7 { 5376 if shift >= 64 { 5377 return ErrIntOverflowQuery 5378 } 5379 if iNdEx >= l { 5380 return io.ErrUnexpectedEOF 5381 } 5382 b := dAtA[iNdEx] 5383 iNdEx++ 5384 wire |= uint64(b&0x7F) << shift 5385 if b < 0x80 { 5386 break 5387 } 5388 } 5389 fieldNum := int32(wire >> 3) 5390 wireType := int(wire & 0x7) 5391 if wireType == 4 { 5392 return fmt.Errorf("proto: QueryValsetConfirmResponse: wiretype end group for non-group") 5393 } 5394 if fieldNum <= 0 { 5395 return fmt.Errorf("proto: QueryValsetConfirmResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5396 } 5397 switch fieldNum { 5398 case 1: 5399 if wireType != 2 { 5400 return fmt.Errorf("proto: wrong wireType = %d for field Confirm", wireType) 5401 } 5402 var msglen int 5403 for shift := uint(0); ; shift += 7 { 5404 if shift >= 64 { 5405 return ErrIntOverflowQuery 5406 } 5407 if iNdEx >= l { 5408 return io.ErrUnexpectedEOF 5409 } 5410 b := dAtA[iNdEx] 5411 iNdEx++ 5412 msglen |= int(b&0x7F) << shift 5413 if b < 0x80 { 5414 break 5415 } 5416 } 5417 if msglen < 0 { 5418 return ErrInvalidLengthQuery 5419 } 5420 postIndex := iNdEx + msglen 5421 if postIndex < 0 { 5422 return ErrInvalidLengthQuery 5423 } 5424 if postIndex > l { 5425 return io.ErrUnexpectedEOF 5426 } 5427 if m.Confirm == nil { 5428 m.Confirm = &MsgValsetConfirm{} 5429 } 5430 if err := m.Confirm.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5431 return err 5432 } 5433 iNdEx = postIndex 5434 default: 5435 iNdEx = preIndex 5436 skippy, err := skipQuery(dAtA[iNdEx:]) 5437 if err != nil { 5438 return err 5439 } 5440 if (skippy < 0) || (iNdEx+skippy) < 0 { 5441 return ErrInvalidLengthQuery 5442 } 5443 if (iNdEx + skippy) > l { 5444 return io.ErrUnexpectedEOF 5445 } 5446 iNdEx += skippy 5447 } 5448 } 5449 5450 if iNdEx > l { 5451 return io.ErrUnexpectedEOF 5452 } 5453 return nil 5454 } 5455 func (m *QueryValsetConfirmsByNonceRequest) Unmarshal(dAtA []byte) error { 5456 l := len(dAtA) 5457 iNdEx := 0 5458 for iNdEx < l { 5459 preIndex := iNdEx 5460 var wire uint64 5461 for shift := uint(0); ; shift += 7 { 5462 if shift >= 64 { 5463 return ErrIntOverflowQuery 5464 } 5465 if iNdEx >= l { 5466 return io.ErrUnexpectedEOF 5467 } 5468 b := dAtA[iNdEx] 5469 iNdEx++ 5470 wire |= uint64(b&0x7F) << shift 5471 if b < 0x80 { 5472 break 5473 } 5474 } 5475 fieldNum := int32(wire >> 3) 5476 wireType := int(wire & 0x7) 5477 if wireType == 4 { 5478 return fmt.Errorf("proto: QueryValsetConfirmsByNonceRequest: wiretype end group for non-group") 5479 } 5480 if fieldNum <= 0 { 5481 return fmt.Errorf("proto: QueryValsetConfirmsByNonceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5482 } 5483 switch fieldNum { 5484 case 1: 5485 if wireType != 0 { 5486 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 5487 } 5488 m.Nonce = 0 5489 for shift := uint(0); ; shift += 7 { 5490 if shift >= 64 { 5491 return ErrIntOverflowQuery 5492 } 5493 if iNdEx >= l { 5494 return io.ErrUnexpectedEOF 5495 } 5496 b := dAtA[iNdEx] 5497 iNdEx++ 5498 m.Nonce |= uint64(b&0x7F) << shift 5499 if b < 0x80 { 5500 break 5501 } 5502 } 5503 default: 5504 iNdEx = preIndex 5505 skippy, err := skipQuery(dAtA[iNdEx:]) 5506 if err != nil { 5507 return err 5508 } 5509 if (skippy < 0) || (iNdEx+skippy) < 0 { 5510 return ErrInvalidLengthQuery 5511 } 5512 if (iNdEx + skippy) > l { 5513 return io.ErrUnexpectedEOF 5514 } 5515 iNdEx += skippy 5516 } 5517 } 5518 5519 if iNdEx > l { 5520 return io.ErrUnexpectedEOF 5521 } 5522 return nil 5523 } 5524 func (m *QueryValsetConfirmsByNonceResponse) Unmarshal(dAtA []byte) error { 5525 l := len(dAtA) 5526 iNdEx := 0 5527 for iNdEx < l { 5528 preIndex := iNdEx 5529 var wire uint64 5530 for shift := uint(0); ; shift += 7 { 5531 if shift >= 64 { 5532 return ErrIntOverflowQuery 5533 } 5534 if iNdEx >= l { 5535 return io.ErrUnexpectedEOF 5536 } 5537 b := dAtA[iNdEx] 5538 iNdEx++ 5539 wire |= uint64(b&0x7F) << shift 5540 if b < 0x80 { 5541 break 5542 } 5543 } 5544 fieldNum := int32(wire >> 3) 5545 wireType := int(wire & 0x7) 5546 if wireType == 4 { 5547 return fmt.Errorf("proto: QueryValsetConfirmsByNonceResponse: wiretype end group for non-group") 5548 } 5549 if fieldNum <= 0 { 5550 return fmt.Errorf("proto: QueryValsetConfirmsByNonceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5551 } 5552 switch fieldNum { 5553 case 1: 5554 if wireType != 2 { 5555 return fmt.Errorf("proto: wrong wireType = %d for field Confirms", wireType) 5556 } 5557 var msglen int 5558 for shift := uint(0); ; shift += 7 { 5559 if shift >= 64 { 5560 return ErrIntOverflowQuery 5561 } 5562 if iNdEx >= l { 5563 return io.ErrUnexpectedEOF 5564 } 5565 b := dAtA[iNdEx] 5566 iNdEx++ 5567 msglen |= int(b&0x7F) << shift 5568 if b < 0x80 { 5569 break 5570 } 5571 } 5572 if msglen < 0 { 5573 return ErrInvalidLengthQuery 5574 } 5575 postIndex := iNdEx + msglen 5576 if postIndex < 0 { 5577 return ErrInvalidLengthQuery 5578 } 5579 if postIndex > l { 5580 return io.ErrUnexpectedEOF 5581 } 5582 m.Confirms = append(m.Confirms, &MsgValsetConfirm{}) 5583 if err := m.Confirms[len(m.Confirms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5584 return err 5585 } 5586 iNdEx = postIndex 5587 default: 5588 iNdEx = preIndex 5589 skippy, err := skipQuery(dAtA[iNdEx:]) 5590 if err != nil { 5591 return err 5592 } 5593 if (skippy < 0) || (iNdEx+skippy) < 0 { 5594 return ErrInvalidLengthQuery 5595 } 5596 if (iNdEx + skippy) > l { 5597 return io.ErrUnexpectedEOF 5598 } 5599 iNdEx += skippy 5600 } 5601 } 5602 5603 if iNdEx > l { 5604 return io.ErrUnexpectedEOF 5605 } 5606 return nil 5607 } 5608 func (m *QueryLastValsetRequestsRequest) Unmarshal(dAtA []byte) error { 5609 l := len(dAtA) 5610 iNdEx := 0 5611 for iNdEx < l { 5612 preIndex := iNdEx 5613 var wire uint64 5614 for shift := uint(0); ; shift += 7 { 5615 if shift >= 64 { 5616 return ErrIntOverflowQuery 5617 } 5618 if iNdEx >= l { 5619 return io.ErrUnexpectedEOF 5620 } 5621 b := dAtA[iNdEx] 5622 iNdEx++ 5623 wire |= uint64(b&0x7F) << shift 5624 if b < 0x80 { 5625 break 5626 } 5627 } 5628 fieldNum := int32(wire >> 3) 5629 wireType := int(wire & 0x7) 5630 if wireType == 4 { 5631 return fmt.Errorf("proto: QueryLastValsetRequestsRequest: wiretype end group for non-group") 5632 } 5633 if fieldNum <= 0 { 5634 return fmt.Errorf("proto: QueryLastValsetRequestsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5635 } 5636 switch fieldNum { 5637 default: 5638 iNdEx = preIndex 5639 skippy, err := skipQuery(dAtA[iNdEx:]) 5640 if err != nil { 5641 return err 5642 } 5643 if (skippy < 0) || (iNdEx+skippy) < 0 { 5644 return ErrInvalidLengthQuery 5645 } 5646 if (iNdEx + skippy) > l { 5647 return io.ErrUnexpectedEOF 5648 } 5649 iNdEx += skippy 5650 } 5651 } 5652 5653 if iNdEx > l { 5654 return io.ErrUnexpectedEOF 5655 } 5656 return nil 5657 } 5658 func (m *QueryLastValsetRequestsResponse) Unmarshal(dAtA []byte) error { 5659 l := len(dAtA) 5660 iNdEx := 0 5661 for iNdEx < l { 5662 preIndex := iNdEx 5663 var wire uint64 5664 for shift := uint(0); ; shift += 7 { 5665 if shift >= 64 { 5666 return ErrIntOverflowQuery 5667 } 5668 if iNdEx >= l { 5669 return io.ErrUnexpectedEOF 5670 } 5671 b := dAtA[iNdEx] 5672 iNdEx++ 5673 wire |= uint64(b&0x7F) << shift 5674 if b < 0x80 { 5675 break 5676 } 5677 } 5678 fieldNum := int32(wire >> 3) 5679 wireType := int(wire & 0x7) 5680 if wireType == 4 { 5681 return fmt.Errorf("proto: QueryLastValsetRequestsResponse: wiretype end group for non-group") 5682 } 5683 if fieldNum <= 0 { 5684 return fmt.Errorf("proto: QueryLastValsetRequestsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5685 } 5686 switch fieldNum { 5687 case 1: 5688 if wireType != 2 { 5689 return fmt.Errorf("proto: wrong wireType = %d for field Valsets", wireType) 5690 } 5691 var msglen int 5692 for shift := uint(0); ; shift += 7 { 5693 if shift >= 64 { 5694 return ErrIntOverflowQuery 5695 } 5696 if iNdEx >= l { 5697 return io.ErrUnexpectedEOF 5698 } 5699 b := dAtA[iNdEx] 5700 iNdEx++ 5701 msglen |= int(b&0x7F) << shift 5702 if b < 0x80 { 5703 break 5704 } 5705 } 5706 if msglen < 0 { 5707 return ErrInvalidLengthQuery 5708 } 5709 postIndex := iNdEx + msglen 5710 if postIndex < 0 { 5711 return ErrInvalidLengthQuery 5712 } 5713 if postIndex > l { 5714 return io.ErrUnexpectedEOF 5715 } 5716 m.Valsets = append(m.Valsets, &Valset{}) 5717 if err := m.Valsets[len(m.Valsets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5718 return err 5719 } 5720 iNdEx = postIndex 5721 default: 5722 iNdEx = preIndex 5723 skippy, err := skipQuery(dAtA[iNdEx:]) 5724 if err != nil { 5725 return err 5726 } 5727 if (skippy < 0) || (iNdEx+skippy) < 0 { 5728 return ErrInvalidLengthQuery 5729 } 5730 if (iNdEx + skippy) > l { 5731 return io.ErrUnexpectedEOF 5732 } 5733 iNdEx += skippy 5734 } 5735 } 5736 5737 if iNdEx > l { 5738 return io.ErrUnexpectedEOF 5739 } 5740 return nil 5741 } 5742 func (m *QueryLastPendingValsetRequestByAddrRequest) Unmarshal(dAtA []byte) error { 5743 l := len(dAtA) 5744 iNdEx := 0 5745 for iNdEx < l { 5746 preIndex := iNdEx 5747 var wire uint64 5748 for shift := uint(0); ; shift += 7 { 5749 if shift >= 64 { 5750 return ErrIntOverflowQuery 5751 } 5752 if iNdEx >= l { 5753 return io.ErrUnexpectedEOF 5754 } 5755 b := dAtA[iNdEx] 5756 iNdEx++ 5757 wire |= uint64(b&0x7F) << shift 5758 if b < 0x80 { 5759 break 5760 } 5761 } 5762 fieldNum := int32(wire >> 3) 5763 wireType := int(wire & 0x7) 5764 if wireType == 4 { 5765 return fmt.Errorf("proto: QueryLastPendingValsetRequestByAddrRequest: wiretype end group for non-group") 5766 } 5767 if fieldNum <= 0 { 5768 return fmt.Errorf("proto: QueryLastPendingValsetRequestByAddrRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5769 } 5770 switch fieldNum { 5771 case 1: 5772 if wireType != 2 { 5773 return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) 5774 } 5775 var stringLen uint64 5776 for shift := uint(0); ; shift += 7 { 5777 if shift >= 64 { 5778 return ErrIntOverflowQuery 5779 } 5780 if iNdEx >= l { 5781 return io.ErrUnexpectedEOF 5782 } 5783 b := dAtA[iNdEx] 5784 iNdEx++ 5785 stringLen |= uint64(b&0x7F) << shift 5786 if b < 0x80 { 5787 break 5788 } 5789 } 5790 intStringLen := int(stringLen) 5791 if intStringLen < 0 { 5792 return ErrInvalidLengthQuery 5793 } 5794 postIndex := iNdEx + intStringLen 5795 if postIndex < 0 { 5796 return ErrInvalidLengthQuery 5797 } 5798 if postIndex > l { 5799 return io.ErrUnexpectedEOF 5800 } 5801 m.Address = string(dAtA[iNdEx:postIndex]) 5802 iNdEx = postIndex 5803 default: 5804 iNdEx = preIndex 5805 skippy, err := skipQuery(dAtA[iNdEx:]) 5806 if err != nil { 5807 return err 5808 } 5809 if (skippy < 0) || (iNdEx+skippy) < 0 { 5810 return ErrInvalidLengthQuery 5811 } 5812 if (iNdEx + skippy) > l { 5813 return io.ErrUnexpectedEOF 5814 } 5815 iNdEx += skippy 5816 } 5817 } 5818 5819 if iNdEx > l { 5820 return io.ErrUnexpectedEOF 5821 } 5822 return nil 5823 } 5824 func (m *QueryLastPendingValsetRequestByAddrResponse) Unmarshal(dAtA []byte) error { 5825 l := len(dAtA) 5826 iNdEx := 0 5827 for iNdEx < l { 5828 preIndex := iNdEx 5829 var wire uint64 5830 for shift := uint(0); ; shift += 7 { 5831 if shift >= 64 { 5832 return ErrIntOverflowQuery 5833 } 5834 if iNdEx >= l { 5835 return io.ErrUnexpectedEOF 5836 } 5837 b := dAtA[iNdEx] 5838 iNdEx++ 5839 wire |= uint64(b&0x7F) << shift 5840 if b < 0x80 { 5841 break 5842 } 5843 } 5844 fieldNum := int32(wire >> 3) 5845 wireType := int(wire & 0x7) 5846 if wireType == 4 { 5847 return fmt.Errorf("proto: QueryLastPendingValsetRequestByAddrResponse: wiretype end group for non-group") 5848 } 5849 if fieldNum <= 0 { 5850 return fmt.Errorf("proto: QueryLastPendingValsetRequestByAddrResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5851 } 5852 switch fieldNum { 5853 case 1: 5854 if wireType != 2 { 5855 return fmt.Errorf("proto: wrong wireType = %d for field Valsets", wireType) 5856 } 5857 var msglen int 5858 for shift := uint(0); ; shift += 7 { 5859 if shift >= 64 { 5860 return ErrIntOverflowQuery 5861 } 5862 if iNdEx >= l { 5863 return io.ErrUnexpectedEOF 5864 } 5865 b := dAtA[iNdEx] 5866 iNdEx++ 5867 msglen |= int(b&0x7F) << shift 5868 if b < 0x80 { 5869 break 5870 } 5871 } 5872 if msglen < 0 { 5873 return ErrInvalidLengthQuery 5874 } 5875 postIndex := iNdEx + msglen 5876 if postIndex < 0 { 5877 return ErrInvalidLengthQuery 5878 } 5879 if postIndex > l { 5880 return io.ErrUnexpectedEOF 5881 } 5882 m.Valsets = append(m.Valsets, &Valset{}) 5883 if err := m.Valsets[len(m.Valsets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5884 return err 5885 } 5886 iNdEx = postIndex 5887 default: 5888 iNdEx = preIndex 5889 skippy, err := skipQuery(dAtA[iNdEx:]) 5890 if err != nil { 5891 return err 5892 } 5893 if (skippy < 0) || (iNdEx+skippy) < 0 { 5894 return ErrInvalidLengthQuery 5895 } 5896 if (iNdEx + skippy) > l { 5897 return io.ErrUnexpectedEOF 5898 } 5899 iNdEx += skippy 5900 } 5901 } 5902 5903 if iNdEx > l { 5904 return io.ErrUnexpectedEOF 5905 } 5906 return nil 5907 } 5908 func (m *QueryBatchFeeRequest) Unmarshal(dAtA []byte) error { 5909 l := len(dAtA) 5910 iNdEx := 0 5911 for iNdEx < l { 5912 preIndex := iNdEx 5913 var wire uint64 5914 for shift := uint(0); ; shift += 7 { 5915 if shift >= 64 { 5916 return ErrIntOverflowQuery 5917 } 5918 if iNdEx >= l { 5919 return io.ErrUnexpectedEOF 5920 } 5921 b := dAtA[iNdEx] 5922 iNdEx++ 5923 wire |= uint64(b&0x7F) << shift 5924 if b < 0x80 { 5925 break 5926 } 5927 } 5928 fieldNum := int32(wire >> 3) 5929 wireType := int(wire & 0x7) 5930 if wireType == 4 { 5931 return fmt.Errorf("proto: QueryBatchFeeRequest: wiretype end group for non-group") 5932 } 5933 if fieldNum <= 0 { 5934 return fmt.Errorf("proto: QueryBatchFeeRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5935 } 5936 switch fieldNum { 5937 default: 5938 iNdEx = preIndex 5939 skippy, err := skipQuery(dAtA[iNdEx:]) 5940 if err != nil { 5941 return err 5942 } 5943 if (skippy < 0) || (iNdEx+skippy) < 0 { 5944 return ErrInvalidLengthQuery 5945 } 5946 if (iNdEx + skippy) > l { 5947 return io.ErrUnexpectedEOF 5948 } 5949 iNdEx += skippy 5950 } 5951 } 5952 5953 if iNdEx > l { 5954 return io.ErrUnexpectedEOF 5955 } 5956 return nil 5957 } 5958 func (m *QueryBatchFeeResponse) Unmarshal(dAtA []byte) error { 5959 l := len(dAtA) 5960 iNdEx := 0 5961 for iNdEx < l { 5962 preIndex := iNdEx 5963 var wire uint64 5964 for shift := uint(0); ; shift += 7 { 5965 if shift >= 64 { 5966 return ErrIntOverflowQuery 5967 } 5968 if iNdEx >= l { 5969 return io.ErrUnexpectedEOF 5970 } 5971 b := dAtA[iNdEx] 5972 iNdEx++ 5973 wire |= uint64(b&0x7F) << shift 5974 if b < 0x80 { 5975 break 5976 } 5977 } 5978 fieldNum := int32(wire >> 3) 5979 wireType := int(wire & 0x7) 5980 if wireType == 4 { 5981 return fmt.Errorf("proto: QueryBatchFeeResponse: wiretype end group for non-group") 5982 } 5983 if fieldNum <= 0 { 5984 return fmt.Errorf("proto: QueryBatchFeeResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5985 } 5986 switch fieldNum { 5987 case 1: 5988 if wireType != 2 { 5989 return fmt.Errorf("proto: wrong wireType = %d for field BatchFees", wireType) 5990 } 5991 var msglen int 5992 for shift := uint(0); ; shift += 7 { 5993 if shift >= 64 { 5994 return ErrIntOverflowQuery 5995 } 5996 if iNdEx >= l { 5997 return io.ErrUnexpectedEOF 5998 } 5999 b := dAtA[iNdEx] 6000 iNdEx++ 6001 msglen |= int(b&0x7F) << shift 6002 if b < 0x80 { 6003 break 6004 } 6005 } 6006 if msglen < 0 { 6007 return ErrInvalidLengthQuery 6008 } 6009 postIndex := iNdEx + msglen 6010 if postIndex < 0 { 6011 return ErrInvalidLengthQuery 6012 } 6013 if postIndex > l { 6014 return io.ErrUnexpectedEOF 6015 } 6016 m.BatchFees = append(m.BatchFees, &BatchFees{}) 6017 if err := m.BatchFees[len(m.BatchFees)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6018 return err 6019 } 6020 iNdEx = postIndex 6021 default: 6022 iNdEx = preIndex 6023 skippy, err := skipQuery(dAtA[iNdEx:]) 6024 if err != nil { 6025 return err 6026 } 6027 if (skippy < 0) || (iNdEx+skippy) < 0 { 6028 return ErrInvalidLengthQuery 6029 } 6030 if (iNdEx + skippy) > l { 6031 return io.ErrUnexpectedEOF 6032 } 6033 iNdEx += skippy 6034 } 6035 } 6036 6037 if iNdEx > l { 6038 return io.ErrUnexpectedEOF 6039 } 6040 return nil 6041 } 6042 func (m *QueryLastPendingBatchRequestByAddrRequest) Unmarshal(dAtA []byte) error { 6043 l := len(dAtA) 6044 iNdEx := 0 6045 for iNdEx < l { 6046 preIndex := iNdEx 6047 var wire uint64 6048 for shift := uint(0); ; shift += 7 { 6049 if shift >= 64 { 6050 return ErrIntOverflowQuery 6051 } 6052 if iNdEx >= l { 6053 return io.ErrUnexpectedEOF 6054 } 6055 b := dAtA[iNdEx] 6056 iNdEx++ 6057 wire |= uint64(b&0x7F) << shift 6058 if b < 0x80 { 6059 break 6060 } 6061 } 6062 fieldNum := int32(wire >> 3) 6063 wireType := int(wire & 0x7) 6064 if wireType == 4 { 6065 return fmt.Errorf("proto: QueryLastPendingBatchRequestByAddrRequest: wiretype end group for non-group") 6066 } 6067 if fieldNum <= 0 { 6068 return fmt.Errorf("proto: QueryLastPendingBatchRequestByAddrRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6069 } 6070 switch fieldNum { 6071 case 1: 6072 if wireType != 2 { 6073 return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) 6074 } 6075 var stringLen uint64 6076 for shift := uint(0); ; shift += 7 { 6077 if shift >= 64 { 6078 return ErrIntOverflowQuery 6079 } 6080 if iNdEx >= l { 6081 return io.ErrUnexpectedEOF 6082 } 6083 b := dAtA[iNdEx] 6084 iNdEx++ 6085 stringLen |= uint64(b&0x7F) << shift 6086 if b < 0x80 { 6087 break 6088 } 6089 } 6090 intStringLen := int(stringLen) 6091 if intStringLen < 0 { 6092 return ErrInvalidLengthQuery 6093 } 6094 postIndex := iNdEx + intStringLen 6095 if postIndex < 0 { 6096 return ErrInvalidLengthQuery 6097 } 6098 if postIndex > l { 6099 return io.ErrUnexpectedEOF 6100 } 6101 m.Address = string(dAtA[iNdEx:postIndex]) 6102 iNdEx = postIndex 6103 default: 6104 iNdEx = preIndex 6105 skippy, err := skipQuery(dAtA[iNdEx:]) 6106 if err != nil { 6107 return err 6108 } 6109 if (skippy < 0) || (iNdEx+skippy) < 0 { 6110 return ErrInvalidLengthQuery 6111 } 6112 if (iNdEx + skippy) > l { 6113 return io.ErrUnexpectedEOF 6114 } 6115 iNdEx += skippy 6116 } 6117 } 6118 6119 if iNdEx > l { 6120 return io.ErrUnexpectedEOF 6121 } 6122 return nil 6123 } 6124 func (m *QueryLastPendingBatchRequestByAddrResponse) Unmarshal(dAtA []byte) error { 6125 l := len(dAtA) 6126 iNdEx := 0 6127 for iNdEx < l { 6128 preIndex := iNdEx 6129 var wire uint64 6130 for shift := uint(0); ; shift += 7 { 6131 if shift >= 64 { 6132 return ErrIntOverflowQuery 6133 } 6134 if iNdEx >= l { 6135 return io.ErrUnexpectedEOF 6136 } 6137 b := dAtA[iNdEx] 6138 iNdEx++ 6139 wire |= uint64(b&0x7F) << shift 6140 if b < 0x80 { 6141 break 6142 } 6143 } 6144 fieldNum := int32(wire >> 3) 6145 wireType := int(wire & 0x7) 6146 if wireType == 4 { 6147 return fmt.Errorf("proto: QueryLastPendingBatchRequestByAddrResponse: wiretype end group for non-group") 6148 } 6149 if fieldNum <= 0 { 6150 return fmt.Errorf("proto: QueryLastPendingBatchRequestByAddrResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6151 } 6152 switch fieldNum { 6153 case 1: 6154 if wireType != 2 { 6155 return fmt.Errorf("proto: wrong wireType = %d for field Batch", wireType) 6156 } 6157 var msglen int 6158 for shift := uint(0); ; shift += 7 { 6159 if shift >= 64 { 6160 return ErrIntOverflowQuery 6161 } 6162 if iNdEx >= l { 6163 return io.ErrUnexpectedEOF 6164 } 6165 b := dAtA[iNdEx] 6166 iNdEx++ 6167 msglen |= int(b&0x7F) << shift 6168 if b < 0x80 { 6169 break 6170 } 6171 } 6172 if msglen < 0 { 6173 return ErrInvalidLengthQuery 6174 } 6175 postIndex := iNdEx + msglen 6176 if postIndex < 0 { 6177 return ErrInvalidLengthQuery 6178 } 6179 if postIndex > l { 6180 return io.ErrUnexpectedEOF 6181 } 6182 if m.Batch == nil { 6183 m.Batch = &OutgoingTxBatch{} 6184 } 6185 if err := m.Batch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6186 return err 6187 } 6188 iNdEx = postIndex 6189 default: 6190 iNdEx = preIndex 6191 skippy, err := skipQuery(dAtA[iNdEx:]) 6192 if err != nil { 6193 return err 6194 } 6195 if (skippy < 0) || (iNdEx+skippy) < 0 { 6196 return ErrInvalidLengthQuery 6197 } 6198 if (iNdEx + skippy) > l { 6199 return io.ErrUnexpectedEOF 6200 } 6201 iNdEx += skippy 6202 } 6203 } 6204 6205 if iNdEx > l { 6206 return io.ErrUnexpectedEOF 6207 } 6208 return nil 6209 } 6210 func (m *QueryOutgoingTxBatchesRequest) Unmarshal(dAtA []byte) error { 6211 l := len(dAtA) 6212 iNdEx := 0 6213 for iNdEx < l { 6214 preIndex := iNdEx 6215 var wire uint64 6216 for shift := uint(0); ; shift += 7 { 6217 if shift >= 64 { 6218 return ErrIntOverflowQuery 6219 } 6220 if iNdEx >= l { 6221 return io.ErrUnexpectedEOF 6222 } 6223 b := dAtA[iNdEx] 6224 iNdEx++ 6225 wire |= uint64(b&0x7F) << shift 6226 if b < 0x80 { 6227 break 6228 } 6229 } 6230 fieldNum := int32(wire >> 3) 6231 wireType := int(wire & 0x7) 6232 if wireType == 4 { 6233 return fmt.Errorf("proto: QueryOutgoingTxBatchesRequest: wiretype end group for non-group") 6234 } 6235 if fieldNum <= 0 { 6236 return fmt.Errorf("proto: QueryOutgoingTxBatchesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6237 } 6238 switch fieldNum { 6239 default: 6240 iNdEx = preIndex 6241 skippy, err := skipQuery(dAtA[iNdEx:]) 6242 if err != nil { 6243 return err 6244 } 6245 if (skippy < 0) || (iNdEx+skippy) < 0 { 6246 return ErrInvalidLengthQuery 6247 } 6248 if (iNdEx + skippy) > l { 6249 return io.ErrUnexpectedEOF 6250 } 6251 iNdEx += skippy 6252 } 6253 } 6254 6255 if iNdEx > l { 6256 return io.ErrUnexpectedEOF 6257 } 6258 return nil 6259 } 6260 func (m *QueryOutgoingTxBatchesResponse) Unmarshal(dAtA []byte) error { 6261 l := len(dAtA) 6262 iNdEx := 0 6263 for iNdEx < l { 6264 preIndex := iNdEx 6265 var wire uint64 6266 for shift := uint(0); ; shift += 7 { 6267 if shift >= 64 { 6268 return ErrIntOverflowQuery 6269 } 6270 if iNdEx >= l { 6271 return io.ErrUnexpectedEOF 6272 } 6273 b := dAtA[iNdEx] 6274 iNdEx++ 6275 wire |= uint64(b&0x7F) << shift 6276 if b < 0x80 { 6277 break 6278 } 6279 } 6280 fieldNum := int32(wire >> 3) 6281 wireType := int(wire & 0x7) 6282 if wireType == 4 { 6283 return fmt.Errorf("proto: QueryOutgoingTxBatchesResponse: wiretype end group for non-group") 6284 } 6285 if fieldNum <= 0 { 6286 return fmt.Errorf("proto: QueryOutgoingTxBatchesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6287 } 6288 switch fieldNum { 6289 case 1: 6290 if wireType != 2 { 6291 return fmt.Errorf("proto: wrong wireType = %d for field Batches", wireType) 6292 } 6293 var msglen int 6294 for shift := uint(0); ; shift += 7 { 6295 if shift >= 64 { 6296 return ErrIntOverflowQuery 6297 } 6298 if iNdEx >= l { 6299 return io.ErrUnexpectedEOF 6300 } 6301 b := dAtA[iNdEx] 6302 iNdEx++ 6303 msglen |= int(b&0x7F) << shift 6304 if b < 0x80 { 6305 break 6306 } 6307 } 6308 if msglen < 0 { 6309 return ErrInvalidLengthQuery 6310 } 6311 postIndex := iNdEx + msglen 6312 if postIndex < 0 { 6313 return ErrInvalidLengthQuery 6314 } 6315 if postIndex > l { 6316 return io.ErrUnexpectedEOF 6317 } 6318 m.Batches = append(m.Batches, &OutgoingTxBatch{}) 6319 if err := m.Batches[len(m.Batches)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6320 return err 6321 } 6322 iNdEx = postIndex 6323 default: 6324 iNdEx = preIndex 6325 skippy, err := skipQuery(dAtA[iNdEx:]) 6326 if err != nil { 6327 return err 6328 } 6329 if (skippy < 0) || (iNdEx+skippy) < 0 { 6330 return ErrInvalidLengthQuery 6331 } 6332 if (iNdEx + skippy) > l { 6333 return io.ErrUnexpectedEOF 6334 } 6335 iNdEx += skippy 6336 } 6337 } 6338 6339 if iNdEx > l { 6340 return io.ErrUnexpectedEOF 6341 } 6342 return nil 6343 } 6344 func (m *QueryBatchRequestByNonceRequest) Unmarshal(dAtA []byte) error { 6345 l := len(dAtA) 6346 iNdEx := 0 6347 for iNdEx < l { 6348 preIndex := iNdEx 6349 var wire uint64 6350 for shift := uint(0); ; shift += 7 { 6351 if shift >= 64 { 6352 return ErrIntOverflowQuery 6353 } 6354 if iNdEx >= l { 6355 return io.ErrUnexpectedEOF 6356 } 6357 b := dAtA[iNdEx] 6358 iNdEx++ 6359 wire |= uint64(b&0x7F) << shift 6360 if b < 0x80 { 6361 break 6362 } 6363 } 6364 fieldNum := int32(wire >> 3) 6365 wireType := int(wire & 0x7) 6366 if wireType == 4 { 6367 return fmt.Errorf("proto: QueryBatchRequestByNonceRequest: wiretype end group for non-group") 6368 } 6369 if fieldNum <= 0 { 6370 return fmt.Errorf("proto: QueryBatchRequestByNonceRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6371 } 6372 switch fieldNum { 6373 case 1: 6374 if wireType != 0 { 6375 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 6376 } 6377 m.Nonce = 0 6378 for shift := uint(0); ; shift += 7 { 6379 if shift >= 64 { 6380 return ErrIntOverflowQuery 6381 } 6382 if iNdEx >= l { 6383 return io.ErrUnexpectedEOF 6384 } 6385 b := dAtA[iNdEx] 6386 iNdEx++ 6387 m.Nonce |= uint64(b&0x7F) << shift 6388 if b < 0x80 { 6389 break 6390 } 6391 } 6392 case 2: 6393 if wireType != 2 { 6394 return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) 6395 } 6396 var stringLen uint64 6397 for shift := uint(0); ; shift += 7 { 6398 if shift >= 64 { 6399 return ErrIntOverflowQuery 6400 } 6401 if iNdEx >= l { 6402 return io.ErrUnexpectedEOF 6403 } 6404 b := dAtA[iNdEx] 6405 iNdEx++ 6406 stringLen |= uint64(b&0x7F) << shift 6407 if b < 0x80 { 6408 break 6409 } 6410 } 6411 intStringLen := int(stringLen) 6412 if intStringLen < 0 { 6413 return ErrInvalidLengthQuery 6414 } 6415 postIndex := iNdEx + intStringLen 6416 if postIndex < 0 { 6417 return ErrInvalidLengthQuery 6418 } 6419 if postIndex > l { 6420 return io.ErrUnexpectedEOF 6421 } 6422 m.ContractAddress = string(dAtA[iNdEx:postIndex]) 6423 iNdEx = postIndex 6424 default: 6425 iNdEx = preIndex 6426 skippy, err := skipQuery(dAtA[iNdEx:]) 6427 if err != nil { 6428 return err 6429 } 6430 if (skippy < 0) || (iNdEx+skippy) < 0 { 6431 return ErrInvalidLengthQuery 6432 } 6433 if (iNdEx + skippy) > l { 6434 return io.ErrUnexpectedEOF 6435 } 6436 iNdEx += skippy 6437 } 6438 } 6439 6440 if iNdEx > l { 6441 return io.ErrUnexpectedEOF 6442 } 6443 return nil 6444 } 6445 func (m *QueryBatchRequestByNonceResponse) Unmarshal(dAtA []byte) error { 6446 l := len(dAtA) 6447 iNdEx := 0 6448 for iNdEx < l { 6449 preIndex := iNdEx 6450 var wire uint64 6451 for shift := uint(0); ; shift += 7 { 6452 if shift >= 64 { 6453 return ErrIntOverflowQuery 6454 } 6455 if iNdEx >= l { 6456 return io.ErrUnexpectedEOF 6457 } 6458 b := dAtA[iNdEx] 6459 iNdEx++ 6460 wire |= uint64(b&0x7F) << shift 6461 if b < 0x80 { 6462 break 6463 } 6464 } 6465 fieldNum := int32(wire >> 3) 6466 wireType := int(wire & 0x7) 6467 if wireType == 4 { 6468 return fmt.Errorf("proto: QueryBatchRequestByNonceResponse: wiretype end group for non-group") 6469 } 6470 if fieldNum <= 0 { 6471 return fmt.Errorf("proto: QueryBatchRequestByNonceResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6472 } 6473 switch fieldNum { 6474 case 1: 6475 if wireType != 2 { 6476 return fmt.Errorf("proto: wrong wireType = %d for field Batch", wireType) 6477 } 6478 var msglen int 6479 for shift := uint(0); ; shift += 7 { 6480 if shift >= 64 { 6481 return ErrIntOverflowQuery 6482 } 6483 if iNdEx >= l { 6484 return io.ErrUnexpectedEOF 6485 } 6486 b := dAtA[iNdEx] 6487 iNdEx++ 6488 msglen |= int(b&0x7F) << shift 6489 if b < 0x80 { 6490 break 6491 } 6492 } 6493 if msglen < 0 { 6494 return ErrInvalidLengthQuery 6495 } 6496 postIndex := iNdEx + msglen 6497 if postIndex < 0 { 6498 return ErrInvalidLengthQuery 6499 } 6500 if postIndex > l { 6501 return io.ErrUnexpectedEOF 6502 } 6503 if m.Batch == nil { 6504 m.Batch = &OutgoingTxBatch{} 6505 } 6506 if err := m.Batch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6507 return err 6508 } 6509 iNdEx = postIndex 6510 default: 6511 iNdEx = preIndex 6512 skippy, err := skipQuery(dAtA[iNdEx:]) 6513 if err != nil { 6514 return err 6515 } 6516 if (skippy < 0) || (iNdEx+skippy) < 0 { 6517 return ErrInvalidLengthQuery 6518 } 6519 if (iNdEx + skippy) > l { 6520 return io.ErrUnexpectedEOF 6521 } 6522 iNdEx += skippy 6523 } 6524 } 6525 6526 if iNdEx > l { 6527 return io.ErrUnexpectedEOF 6528 } 6529 return nil 6530 } 6531 func (m *QueryBatchConfirmsRequest) Unmarshal(dAtA []byte) error { 6532 l := len(dAtA) 6533 iNdEx := 0 6534 for iNdEx < l { 6535 preIndex := iNdEx 6536 var wire uint64 6537 for shift := uint(0); ; shift += 7 { 6538 if shift >= 64 { 6539 return ErrIntOverflowQuery 6540 } 6541 if iNdEx >= l { 6542 return io.ErrUnexpectedEOF 6543 } 6544 b := dAtA[iNdEx] 6545 iNdEx++ 6546 wire |= uint64(b&0x7F) << shift 6547 if b < 0x80 { 6548 break 6549 } 6550 } 6551 fieldNum := int32(wire >> 3) 6552 wireType := int(wire & 0x7) 6553 if wireType == 4 { 6554 return fmt.Errorf("proto: QueryBatchConfirmsRequest: wiretype end group for non-group") 6555 } 6556 if fieldNum <= 0 { 6557 return fmt.Errorf("proto: QueryBatchConfirmsRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6558 } 6559 switch fieldNum { 6560 case 1: 6561 if wireType != 0 { 6562 return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) 6563 } 6564 m.Nonce = 0 6565 for shift := uint(0); ; shift += 7 { 6566 if shift >= 64 { 6567 return ErrIntOverflowQuery 6568 } 6569 if iNdEx >= l { 6570 return io.ErrUnexpectedEOF 6571 } 6572 b := dAtA[iNdEx] 6573 iNdEx++ 6574 m.Nonce |= uint64(b&0x7F) << shift 6575 if b < 0x80 { 6576 break 6577 } 6578 } 6579 case 2: 6580 if wireType != 2 { 6581 return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) 6582 } 6583 var stringLen uint64 6584 for shift := uint(0); ; shift += 7 { 6585 if shift >= 64 { 6586 return ErrIntOverflowQuery 6587 } 6588 if iNdEx >= l { 6589 return io.ErrUnexpectedEOF 6590 } 6591 b := dAtA[iNdEx] 6592 iNdEx++ 6593 stringLen |= uint64(b&0x7F) << shift 6594 if b < 0x80 { 6595 break 6596 } 6597 } 6598 intStringLen := int(stringLen) 6599 if intStringLen < 0 { 6600 return ErrInvalidLengthQuery 6601 } 6602 postIndex := iNdEx + intStringLen 6603 if postIndex < 0 { 6604 return ErrInvalidLengthQuery 6605 } 6606 if postIndex > l { 6607 return io.ErrUnexpectedEOF 6608 } 6609 m.ContractAddress = string(dAtA[iNdEx:postIndex]) 6610 iNdEx = postIndex 6611 default: 6612 iNdEx = preIndex 6613 skippy, err := skipQuery(dAtA[iNdEx:]) 6614 if err != nil { 6615 return err 6616 } 6617 if (skippy < 0) || (iNdEx+skippy) < 0 { 6618 return ErrInvalidLengthQuery 6619 } 6620 if (iNdEx + skippy) > l { 6621 return io.ErrUnexpectedEOF 6622 } 6623 iNdEx += skippy 6624 } 6625 } 6626 6627 if iNdEx > l { 6628 return io.ErrUnexpectedEOF 6629 } 6630 return nil 6631 } 6632 func (m *QueryBatchConfirmsResponse) Unmarshal(dAtA []byte) error { 6633 l := len(dAtA) 6634 iNdEx := 0 6635 for iNdEx < l { 6636 preIndex := iNdEx 6637 var wire uint64 6638 for shift := uint(0); ; shift += 7 { 6639 if shift >= 64 { 6640 return ErrIntOverflowQuery 6641 } 6642 if iNdEx >= l { 6643 return io.ErrUnexpectedEOF 6644 } 6645 b := dAtA[iNdEx] 6646 iNdEx++ 6647 wire |= uint64(b&0x7F) << shift 6648 if b < 0x80 { 6649 break 6650 } 6651 } 6652 fieldNum := int32(wire >> 3) 6653 wireType := int(wire & 0x7) 6654 if wireType == 4 { 6655 return fmt.Errorf("proto: QueryBatchConfirmsResponse: wiretype end group for non-group") 6656 } 6657 if fieldNum <= 0 { 6658 return fmt.Errorf("proto: QueryBatchConfirmsResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6659 } 6660 switch fieldNum { 6661 case 1: 6662 if wireType != 2 { 6663 return fmt.Errorf("proto: wrong wireType = %d for field Confirms", wireType) 6664 } 6665 var msglen int 6666 for shift := uint(0); ; shift += 7 { 6667 if shift >= 64 { 6668 return ErrIntOverflowQuery 6669 } 6670 if iNdEx >= l { 6671 return io.ErrUnexpectedEOF 6672 } 6673 b := dAtA[iNdEx] 6674 iNdEx++ 6675 msglen |= int(b&0x7F) << shift 6676 if b < 0x80 { 6677 break 6678 } 6679 } 6680 if msglen < 0 { 6681 return ErrInvalidLengthQuery 6682 } 6683 postIndex := iNdEx + msglen 6684 if postIndex < 0 { 6685 return ErrInvalidLengthQuery 6686 } 6687 if postIndex > l { 6688 return io.ErrUnexpectedEOF 6689 } 6690 m.Confirms = append(m.Confirms, &MsgConfirmBatch{}) 6691 if err := m.Confirms[len(m.Confirms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6692 return err 6693 } 6694 iNdEx = postIndex 6695 default: 6696 iNdEx = preIndex 6697 skippy, err := skipQuery(dAtA[iNdEx:]) 6698 if err != nil { 6699 return err 6700 } 6701 if (skippy < 0) || (iNdEx+skippy) < 0 { 6702 return ErrInvalidLengthQuery 6703 } 6704 if (iNdEx + skippy) > l { 6705 return io.ErrUnexpectedEOF 6706 } 6707 iNdEx += skippy 6708 } 6709 } 6710 6711 if iNdEx > l { 6712 return io.ErrUnexpectedEOF 6713 } 6714 return nil 6715 } 6716 func (m *QueryLastEventByAddrRequest) Unmarshal(dAtA []byte) error { 6717 l := len(dAtA) 6718 iNdEx := 0 6719 for iNdEx < l { 6720 preIndex := iNdEx 6721 var wire uint64 6722 for shift := uint(0); ; shift += 7 { 6723 if shift >= 64 { 6724 return ErrIntOverflowQuery 6725 } 6726 if iNdEx >= l { 6727 return io.ErrUnexpectedEOF 6728 } 6729 b := dAtA[iNdEx] 6730 iNdEx++ 6731 wire |= uint64(b&0x7F) << shift 6732 if b < 0x80 { 6733 break 6734 } 6735 } 6736 fieldNum := int32(wire >> 3) 6737 wireType := int(wire & 0x7) 6738 if wireType == 4 { 6739 return fmt.Errorf("proto: QueryLastEventByAddrRequest: wiretype end group for non-group") 6740 } 6741 if fieldNum <= 0 { 6742 return fmt.Errorf("proto: QueryLastEventByAddrRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6743 } 6744 switch fieldNum { 6745 case 1: 6746 if wireType != 2 { 6747 return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) 6748 } 6749 var stringLen uint64 6750 for shift := uint(0); ; shift += 7 { 6751 if shift >= 64 { 6752 return ErrIntOverflowQuery 6753 } 6754 if iNdEx >= l { 6755 return io.ErrUnexpectedEOF 6756 } 6757 b := dAtA[iNdEx] 6758 iNdEx++ 6759 stringLen |= uint64(b&0x7F) << shift 6760 if b < 0x80 { 6761 break 6762 } 6763 } 6764 intStringLen := int(stringLen) 6765 if intStringLen < 0 { 6766 return ErrInvalidLengthQuery 6767 } 6768 postIndex := iNdEx + intStringLen 6769 if postIndex < 0 { 6770 return ErrInvalidLengthQuery 6771 } 6772 if postIndex > l { 6773 return io.ErrUnexpectedEOF 6774 } 6775 m.Address = string(dAtA[iNdEx:postIndex]) 6776 iNdEx = postIndex 6777 default: 6778 iNdEx = preIndex 6779 skippy, err := skipQuery(dAtA[iNdEx:]) 6780 if err != nil { 6781 return err 6782 } 6783 if (skippy < 0) || (iNdEx+skippy) < 0 { 6784 return ErrInvalidLengthQuery 6785 } 6786 if (iNdEx + skippy) > l { 6787 return io.ErrUnexpectedEOF 6788 } 6789 iNdEx += skippy 6790 } 6791 } 6792 6793 if iNdEx > l { 6794 return io.ErrUnexpectedEOF 6795 } 6796 return nil 6797 } 6798 func (m *QueryLastEventByAddrResponse) Unmarshal(dAtA []byte) error { 6799 l := len(dAtA) 6800 iNdEx := 0 6801 for iNdEx < l { 6802 preIndex := iNdEx 6803 var wire uint64 6804 for shift := uint(0); ; shift += 7 { 6805 if shift >= 64 { 6806 return ErrIntOverflowQuery 6807 } 6808 if iNdEx >= l { 6809 return io.ErrUnexpectedEOF 6810 } 6811 b := dAtA[iNdEx] 6812 iNdEx++ 6813 wire |= uint64(b&0x7F) << shift 6814 if b < 0x80 { 6815 break 6816 } 6817 } 6818 fieldNum := int32(wire >> 3) 6819 wireType := int(wire & 0x7) 6820 if wireType == 4 { 6821 return fmt.Errorf("proto: QueryLastEventByAddrResponse: wiretype end group for non-group") 6822 } 6823 if fieldNum <= 0 { 6824 return fmt.Errorf("proto: QueryLastEventByAddrResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6825 } 6826 switch fieldNum { 6827 case 1: 6828 if wireType != 2 { 6829 return fmt.Errorf("proto: wrong wireType = %d for field LastClaimEvent", wireType) 6830 } 6831 var msglen int 6832 for shift := uint(0); ; shift += 7 { 6833 if shift >= 64 { 6834 return ErrIntOverflowQuery 6835 } 6836 if iNdEx >= l { 6837 return io.ErrUnexpectedEOF 6838 } 6839 b := dAtA[iNdEx] 6840 iNdEx++ 6841 msglen |= int(b&0x7F) << shift 6842 if b < 0x80 { 6843 break 6844 } 6845 } 6846 if msglen < 0 { 6847 return ErrInvalidLengthQuery 6848 } 6849 postIndex := iNdEx + msglen 6850 if postIndex < 0 { 6851 return ErrInvalidLengthQuery 6852 } 6853 if postIndex > l { 6854 return io.ErrUnexpectedEOF 6855 } 6856 if m.LastClaimEvent == nil { 6857 m.LastClaimEvent = &LastClaimEvent{} 6858 } 6859 if err := m.LastClaimEvent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 6860 return err 6861 } 6862 iNdEx = postIndex 6863 default: 6864 iNdEx = preIndex 6865 skippy, err := skipQuery(dAtA[iNdEx:]) 6866 if err != nil { 6867 return err 6868 } 6869 if (skippy < 0) || (iNdEx+skippy) < 0 { 6870 return ErrInvalidLengthQuery 6871 } 6872 if (iNdEx + skippy) > l { 6873 return io.ErrUnexpectedEOF 6874 } 6875 iNdEx += skippy 6876 } 6877 } 6878 6879 if iNdEx > l { 6880 return io.ErrUnexpectedEOF 6881 } 6882 return nil 6883 } 6884 func (m *QueryERC20ToDenomRequest) Unmarshal(dAtA []byte) error { 6885 l := len(dAtA) 6886 iNdEx := 0 6887 for iNdEx < l { 6888 preIndex := iNdEx 6889 var wire uint64 6890 for shift := uint(0); ; shift += 7 { 6891 if shift >= 64 { 6892 return ErrIntOverflowQuery 6893 } 6894 if iNdEx >= l { 6895 return io.ErrUnexpectedEOF 6896 } 6897 b := dAtA[iNdEx] 6898 iNdEx++ 6899 wire |= uint64(b&0x7F) << shift 6900 if b < 0x80 { 6901 break 6902 } 6903 } 6904 fieldNum := int32(wire >> 3) 6905 wireType := int(wire & 0x7) 6906 if wireType == 4 { 6907 return fmt.Errorf("proto: QueryERC20ToDenomRequest: wiretype end group for non-group") 6908 } 6909 if fieldNum <= 0 { 6910 return fmt.Errorf("proto: QueryERC20ToDenomRequest: illegal tag %d (wire type %d)", fieldNum, wire) 6911 } 6912 switch fieldNum { 6913 case 1: 6914 if wireType != 2 { 6915 return fmt.Errorf("proto: wrong wireType = %d for field Erc20", wireType) 6916 } 6917 var stringLen uint64 6918 for shift := uint(0); ; shift += 7 { 6919 if shift >= 64 { 6920 return ErrIntOverflowQuery 6921 } 6922 if iNdEx >= l { 6923 return io.ErrUnexpectedEOF 6924 } 6925 b := dAtA[iNdEx] 6926 iNdEx++ 6927 stringLen |= uint64(b&0x7F) << shift 6928 if b < 0x80 { 6929 break 6930 } 6931 } 6932 intStringLen := int(stringLen) 6933 if intStringLen < 0 { 6934 return ErrInvalidLengthQuery 6935 } 6936 postIndex := iNdEx + intStringLen 6937 if postIndex < 0 { 6938 return ErrInvalidLengthQuery 6939 } 6940 if postIndex > l { 6941 return io.ErrUnexpectedEOF 6942 } 6943 m.Erc20 = string(dAtA[iNdEx:postIndex]) 6944 iNdEx = postIndex 6945 default: 6946 iNdEx = preIndex 6947 skippy, err := skipQuery(dAtA[iNdEx:]) 6948 if err != nil { 6949 return err 6950 } 6951 if (skippy < 0) || (iNdEx+skippy) < 0 { 6952 return ErrInvalidLengthQuery 6953 } 6954 if (iNdEx + skippy) > l { 6955 return io.ErrUnexpectedEOF 6956 } 6957 iNdEx += skippy 6958 } 6959 } 6960 6961 if iNdEx > l { 6962 return io.ErrUnexpectedEOF 6963 } 6964 return nil 6965 } 6966 func (m *QueryERC20ToDenomResponse) Unmarshal(dAtA []byte) error { 6967 l := len(dAtA) 6968 iNdEx := 0 6969 for iNdEx < l { 6970 preIndex := iNdEx 6971 var wire uint64 6972 for shift := uint(0); ; shift += 7 { 6973 if shift >= 64 { 6974 return ErrIntOverflowQuery 6975 } 6976 if iNdEx >= l { 6977 return io.ErrUnexpectedEOF 6978 } 6979 b := dAtA[iNdEx] 6980 iNdEx++ 6981 wire |= uint64(b&0x7F) << shift 6982 if b < 0x80 { 6983 break 6984 } 6985 } 6986 fieldNum := int32(wire >> 3) 6987 wireType := int(wire & 0x7) 6988 if wireType == 4 { 6989 return fmt.Errorf("proto: QueryERC20ToDenomResponse: wiretype end group for non-group") 6990 } 6991 if fieldNum <= 0 { 6992 return fmt.Errorf("proto: QueryERC20ToDenomResponse: illegal tag %d (wire type %d)", fieldNum, wire) 6993 } 6994 switch fieldNum { 6995 case 1: 6996 if wireType != 2 { 6997 return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) 6998 } 6999 var stringLen uint64 7000 for shift := uint(0); ; shift += 7 { 7001 if shift >= 64 { 7002 return ErrIntOverflowQuery 7003 } 7004 if iNdEx >= l { 7005 return io.ErrUnexpectedEOF 7006 } 7007 b := dAtA[iNdEx] 7008 iNdEx++ 7009 stringLen |= uint64(b&0x7F) << shift 7010 if b < 0x80 { 7011 break 7012 } 7013 } 7014 intStringLen := int(stringLen) 7015 if intStringLen < 0 { 7016 return ErrInvalidLengthQuery 7017 } 7018 postIndex := iNdEx + intStringLen 7019 if postIndex < 0 { 7020 return ErrInvalidLengthQuery 7021 } 7022 if postIndex > l { 7023 return io.ErrUnexpectedEOF 7024 } 7025 m.Denom = string(dAtA[iNdEx:postIndex]) 7026 iNdEx = postIndex 7027 case 2: 7028 if wireType != 0 { 7029 return fmt.Errorf("proto: wrong wireType = %d for field CosmosOriginated", wireType) 7030 } 7031 var v int 7032 for shift := uint(0); ; shift += 7 { 7033 if shift >= 64 { 7034 return ErrIntOverflowQuery 7035 } 7036 if iNdEx >= l { 7037 return io.ErrUnexpectedEOF 7038 } 7039 b := dAtA[iNdEx] 7040 iNdEx++ 7041 v |= int(b&0x7F) << shift 7042 if b < 0x80 { 7043 break 7044 } 7045 } 7046 m.CosmosOriginated = bool(v != 0) 7047 default: 7048 iNdEx = preIndex 7049 skippy, err := skipQuery(dAtA[iNdEx:]) 7050 if err != nil { 7051 return err 7052 } 7053 if (skippy < 0) || (iNdEx+skippy) < 0 { 7054 return ErrInvalidLengthQuery 7055 } 7056 if (iNdEx + skippy) > l { 7057 return io.ErrUnexpectedEOF 7058 } 7059 iNdEx += skippy 7060 } 7061 } 7062 7063 if iNdEx > l { 7064 return io.ErrUnexpectedEOF 7065 } 7066 return nil 7067 } 7068 func (m *QueryDenomToERC20Request) Unmarshal(dAtA []byte) error { 7069 l := len(dAtA) 7070 iNdEx := 0 7071 for iNdEx < l { 7072 preIndex := iNdEx 7073 var wire uint64 7074 for shift := uint(0); ; shift += 7 { 7075 if shift >= 64 { 7076 return ErrIntOverflowQuery 7077 } 7078 if iNdEx >= l { 7079 return io.ErrUnexpectedEOF 7080 } 7081 b := dAtA[iNdEx] 7082 iNdEx++ 7083 wire |= uint64(b&0x7F) << shift 7084 if b < 0x80 { 7085 break 7086 } 7087 } 7088 fieldNum := int32(wire >> 3) 7089 wireType := int(wire & 0x7) 7090 if wireType == 4 { 7091 return fmt.Errorf("proto: QueryDenomToERC20Request: wiretype end group for non-group") 7092 } 7093 if fieldNum <= 0 { 7094 return fmt.Errorf("proto: QueryDenomToERC20Request: illegal tag %d (wire type %d)", fieldNum, wire) 7095 } 7096 switch fieldNum { 7097 case 1: 7098 if wireType != 2 { 7099 return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) 7100 } 7101 var stringLen uint64 7102 for shift := uint(0); ; shift += 7 { 7103 if shift >= 64 { 7104 return ErrIntOverflowQuery 7105 } 7106 if iNdEx >= l { 7107 return io.ErrUnexpectedEOF 7108 } 7109 b := dAtA[iNdEx] 7110 iNdEx++ 7111 stringLen |= uint64(b&0x7F) << shift 7112 if b < 0x80 { 7113 break 7114 } 7115 } 7116 intStringLen := int(stringLen) 7117 if intStringLen < 0 { 7118 return ErrInvalidLengthQuery 7119 } 7120 postIndex := iNdEx + intStringLen 7121 if postIndex < 0 { 7122 return ErrInvalidLengthQuery 7123 } 7124 if postIndex > l { 7125 return io.ErrUnexpectedEOF 7126 } 7127 m.Denom = string(dAtA[iNdEx:postIndex]) 7128 iNdEx = postIndex 7129 default: 7130 iNdEx = preIndex 7131 skippy, err := skipQuery(dAtA[iNdEx:]) 7132 if err != nil { 7133 return err 7134 } 7135 if (skippy < 0) || (iNdEx+skippy) < 0 { 7136 return ErrInvalidLengthQuery 7137 } 7138 if (iNdEx + skippy) > l { 7139 return io.ErrUnexpectedEOF 7140 } 7141 iNdEx += skippy 7142 } 7143 } 7144 7145 if iNdEx > l { 7146 return io.ErrUnexpectedEOF 7147 } 7148 return nil 7149 } 7150 func (m *QueryDenomToERC20Response) Unmarshal(dAtA []byte) error { 7151 l := len(dAtA) 7152 iNdEx := 0 7153 for iNdEx < l { 7154 preIndex := iNdEx 7155 var wire uint64 7156 for shift := uint(0); ; shift += 7 { 7157 if shift >= 64 { 7158 return ErrIntOverflowQuery 7159 } 7160 if iNdEx >= l { 7161 return io.ErrUnexpectedEOF 7162 } 7163 b := dAtA[iNdEx] 7164 iNdEx++ 7165 wire |= uint64(b&0x7F) << shift 7166 if b < 0x80 { 7167 break 7168 } 7169 } 7170 fieldNum := int32(wire >> 3) 7171 wireType := int(wire & 0x7) 7172 if wireType == 4 { 7173 return fmt.Errorf("proto: QueryDenomToERC20Response: wiretype end group for non-group") 7174 } 7175 if fieldNum <= 0 { 7176 return fmt.Errorf("proto: QueryDenomToERC20Response: illegal tag %d (wire type %d)", fieldNum, wire) 7177 } 7178 switch fieldNum { 7179 case 1: 7180 if wireType != 2 { 7181 return fmt.Errorf("proto: wrong wireType = %d for field Erc20", wireType) 7182 } 7183 var stringLen uint64 7184 for shift := uint(0); ; shift += 7 { 7185 if shift >= 64 { 7186 return ErrIntOverflowQuery 7187 } 7188 if iNdEx >= l { 7189 return io.ErrUnexpectedEOF 7190 } 7191 b := dAtA[iNdEx] 7192 iNdEx++ 7193 stringLen |= uint64(b&0x7F) << shift 7194 if b < 0x80 { 7195 break 7196 } 7197 } 7198 intStringLen := int(stringLen) 7199 if intStringLen < 0 { 7200 return ErrInvalidLengthQuery 7201 } 7202 postIndex := iNdEx + intStringLen 7203 if postIndex < 0 { 7204 return ErrInvalidLengthQuery 7205 } 7206 if postIndex > l { 7207 return io.ErrUnexpectedEOF 7208 } 7209 m.Erc20 = string(dAtA[iNdEx:postIndex]) 7210 iNdEx = postIndex 7211 case 2: 7212 if wireType != 0 { 7213 return fmt.Errorf("proto: wrong wireType = %d for field CosmosOriginated", wireType) 7214 } 7215 var v int 7216 for shift := uint(0); ; shift += 7 { 7217 if shift >= 64 { 7218 return ErrIntOverflowQuery 7219 } 7220 if iNdEx >= l { 7221 return io.ErrUnexpectedEOF 7222 } 7223 b := dAtA[iNdEx] 7224 iNdEx++ 7225 v |= int(b&0x7F) << shift 7226 if b < 0x80 { 7227 break 7228 } 7229 } 7230 m.CosmosOriginated = bool(v != 0) 7231 default: 7232 iNdEx = preIndex 7233 skippy, err := skipQuery(dAtA[iNdEx:]) 7234 if err != nil { 7235 return err 7236 } 7237 if (skippy < 0) || (iNdEx+skippy) < 0 { 7238 return ErrInvalidLengthQuery 7239 } 7240 if (iNdEx + skippy) > l { 7241 return io.ErrUnexpectedEOF 7242 } 7243 iNdEx += skippy 7244 } 7245 } 7246 7247 if iNdEx > l { 7248 return io.ErrUnexpectedEOF 7249 } 7250 return nil 7251 } 7252 func (m *QueryDelegateKeysByValidatorAddress) Unmarshal(dAtA []byte) error { 7253 l := len(dAtA) 7254 iNdEx := 0 7255 for iNdEx < l { 7256 preIndex := iNdEx 7257 var wire uint64 7258 for shift := uint(0); ; shift += 7 { 7259 if shift >= 64 { 7260 return ErrIntOverflowQuery 7261 } 7262 if iNdEx >= l { 7263 return io.ErrUnexpectedEOF 7264 } 7265 b := dAtA[iNdEx] 7266 iNdEx++ 7267 wire |= uint64(b&0x7F) << shift 7268 if b < 0x80 { 7269 break 7270 } 7271 } 7272 fieldNum := int32(wire >> 3) 7273 wireType := int(wire & 0x7) 7274 if wireType == 4 { 7275 return fmt.Errorf("proto: QueryDelegateKeysByValidatorAddress: wiretype end group for non-group") 7276 } 7277 if fieldNum <= 0 { 7278 return fmt.Errorf("proto: QueryDelegateKeysByValidatorAddress: illegal tag %d (wire type %d)", fieldNum, wire) 7279 } 7280 switch fieldNum { 7281 case 1: 7282 if wireType != 2 { 7283 return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType) 7284 } 7285 var stringLen uint64 7286 for shift := uint(0); ; shift += 7 { 7287 if shift >= 64 { 7288 return ErrIntOverflowQuery 7289 } 7290 if iNdEx >= l { 7291 return io.ErrUnexpectedEOF 7292 } 7293 b := dAtA[iNdEx] 7294 iNdEx++ 7295 stringLen |= uint64(b&0x7F) << shift 7296 if b < 0x80 { 7297 break 7298 } 7299 } 7300 intStringLen := int(stringLen) 7301 if intStringLen < 0 { 7302 return ErrInvalidLengthQuery 7303 } 7304 postIndex := iNdEx + intStringLen 7305 if postIndex < 0 { 7306 return ErrInvalidLengthQuery 7307 } 7308 if postIndex > l { 7309 return io.ErrUnexpectedEOF 7310 } 7311 m.ValidatorAddress = string(dAtA[iNdEx:postIndex]) 7312 iNdEx = postIndex 7313 default: 7314 iNdEx = preIndex 7315 skippy, err := skipQuery(dAtA[iNdEx:]) 7316 if err != nil { 7317 return err 7318 } 7319 if (skippy < 0) || (iNdEx+skippy) < 0 { 7320 return ErrInvalidLengthQuery 7321 } 7322 if (iNdEx + skippy) > l { 7323 return io.ErrUnexpectedEOF 7324 } 7325 iNdEx += skippy 7326 } 7327 } 7328 7329 if iNdEx > l { 7330 return io.ErrUnexpectedEOF 7331 } 7332 return nil 7333 } 7334 func (m *QueryDelegateKeysByValidatorAddressResponse) Unmarshal(dAtA []byte) error { 7335 l := len(dAtA) 7336 iNdEx := 0 7337 for iNdEx < l { 7338 preIndex := iNdEx 7339 var wire uint64 7340 for shift := uint(0); ; shift += 7 { 7341 if shift >= 64 { 7342 return ErrIntOverflowQuery 7343 } 7344 if iNdEx >= l { 7345 return io.ErrUnexpectedEOF 7346 } 7347 b := dAtA[iNdEx] 7348 iNdEx++ 7349 wire |= uint64(b&0x7F) << shift 7350 if b < 0x80 { 7351 break 7352 } 7353 } 7354 fieldNum := int32(wire >> 3) 7355 wireType := int(wire & 0x7) 7356 if wireType == 4 { 7357 return fmt.Errorf("proto: QueryDelegateKeysByValidatorAddressResponse: wiretype end group for non-group") 7358 } 7359 if fieldNum <= 0 { 7360 return fmt.Errorf("proto: QueryDelegateKeysByValidatorAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7361 } 7362 switch fieldNum { 7363 case 1: 7364 if wireType != 2 { 7365 return fmt.Errorf("proto: wrong wireType = %d for field EthAddress", wireType) 7366 } 7367 var stringLen uint64 7368 for shift := uint(0); ; shift += 7 { 7369 if shift >= 64 { 7370 return ErrIntOverflowQuery 7371 } 7372 if iNdEx >= l { 7373 return io.ErrUnexpectedEOF 7374 } 7375 b := dAtA[iNdEx] 7376 iNdEx++ 7377 stringLen |= uint64(b&0x7F) << shift 7378 if b < 0x80 { 7379 break 7380 } 7381 } 7382 intStringLen := int(stringLen) 7383 if intStringLen < 0 { 7384 return ErrInvalidLengthQuery 7385 } 7386 postIndex := iNdEx + intStringLen 7387 if postIndex < 0 { 7388 return ErrInvalidLengthQuery 7389 } 7390 if postIndex > l { 7391 return io.ErrUnexpectedEOF 7392 } 7393 m.EthAddress = string(dAtA[iNdEx:postIndex]) 7394 iNdEx = postIndex 7395 case 2: 7396 if wireType != 2 { 7397 return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) 7398 } 7399 var stringLen uint64 7400 for shift := uint(0); ; shift += 7 { 7401 if shift >= 64 { 7402 return ErrIntOverflowQuery 7403 } 7404 if iNdEx >= l { 7405 return io.ErrUnexpectedEOF 7406 } 7407 b := dAtA[iNdEx] 7408 iNdEx++ 7409 stringLen |= uint64(b&0x7F) << shift 7410 if b < 0x80 { 7411 break 7412 } 7413 } 7414 intStringLen := int(stringLen) 7415 if intStringLen < 0 { 7416 return ErrInvalidLengthQuery 7417 } 7418 postIndex := iNdEx + intStringLen 7419 if postIndex < 0 { 7420 return ErrInvalidLengthQuery 7421 } 7422 if postIndex > l { 7423 return io.ErrUnexpectedEOF 7424 } 7425 m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) 7426 iNdEx = postIndex 7427 default: 7428 iNdEx = preIndex 7429 skippy, err := skipQuery(dAtA[iNdEx:]) 7430 if err != nil { 7431 return err 7432 } 7433 if (skippy < 0) || (iNdEx+skippy) < 0 { 7434 return ErrInvalidLengthQuery 7435 } 7436 if (iNdEx + skippy) > l { 7437 return io.ErrUnexpectedEOF 7438 } 7439 iNdEx += skippy 7440 } 7441 } 7442 7443 if iNdEx > l { 7444 return io.ErrUnexpectedEOF 7445 } 7446 return nil 7447 } 7448 func (m *QueryDelegateKeysByEthAddress) Unmarshal(dAtA []byte) error { 7449 l := len(dAtA) 7450 iNdEx := 0 7451 for iNdEx < l { 7452 preIndex := iNdEx 7453 var wire uint64 7454 for shift := uint(0); ; shift += 7 { 7455 if shift >= 64 { 7456 return ErrIntOverflowQuery 7457 } 7458 if iNdEx >= l { 7459 return io.ErrUnexpectedEOF 7460 } 7461 b := dAtA[iNdEx] 7462 iNdEx++ 7463 wire |= uint64(b&0x7F) << shift 7464 if b < 0x80 { 7465 break 7466 } 7467 } 7468 fieldNum := int32(wire >> 3) 7469 wireType := int(wire & 0x7) 7470 if wireType == 4 { 7471 return fmt.Errorf("proto: QueryDelegateKeysByEthAddress: wiretype end group for non-group") 7472 } 7473 if fieldNum <= 0 { 7474 return fmt.Errorf("proto: QueryDelegateKeysByEthAddress: illegal tag %d (wire type %d)", fieldNum, wire) 7475 } 7476 switch fieldNum { 7477 case 1: 7478 if wireType != 2 { 7479 return fmt.Errorf("proto: wrong wireType = %d for field EthAddress", wireType) 7480 } 7481 var stringLen uint64 7482 for shift := uint(0); ; shift += 7 { 7483 if shift >= 64 { 7484 return ErrIntOverflowQuery 7485 } 7486 if iNdEx >= l { 7487 return io.ErrUnexpectedEOF 7488 } 7489 b := dAtA[iNdEx] 7490 iNdEx++ 7491 stringLen |= uint64(b&0x7F) << shift 7492 if b < 0x80 { 7493 break 7494 } 7495 } 7496 intStringLen := int(stringLen) 7497 if intStringLen < 0 { 7498 return ErrInvalidLengthQuery 7499 } 7500 postIndex := iNdEx + intStringLen 7501 if postIndex < 0 { 7502 return ErrInvalidLengthQuery 7503 } 7504 if postIndex > l { 7505 return io.ErrUnexpectedEOF 7506 } 7507 m.EthAddress = string(dAtA[iNdEx:postIndex]) 7508 iNdEx = postIndex 7509 default: 7510 iNdEx = preIndex 7511 skippy, err := skipQuery(dAtA[iNdEx:]) 7512 if err != nil { 7513 return err 7514 } 7515 if (skippy < 0) || (iNdEx+skippy) < 0 { 7516 return ErrInvalidLengthQuery 7517 } 7518 if (iNdEx + skippy) > l { 7519 return io.ErrUnexpectedEOF 7520 } 7521 iNdEx += skippy 7522 } 7523 } 7524 7525 if iNdEx > l { 7526 return io.ErrUnexpectedEOF 7527 } 7528 return nil 7529 } 7530 func (m *QueryDelegateKeysByEthAddressResponse) Unmarshal(dAtA []byte) error { 7531 l := len(dAtA) 7532 iNdEx := 0 7533 for iNdEx < l { 7534 preIndex := iNdEx 7535 var wire uint64 7536 for shift := uint(0); ; shift += 7 { 7537 if shift >= 64 { 7538 return ErrIntOverflowQuery 7539 } 7540 if iNdEx >= l { 7541 return io.ErrUnexpectedEOF 7542 } 7543 b := dAtA[iNdEx] 7544 iNdEx++ 7545 wire |= uint64(b&0x7F) << shift 7546 if b < 0x80 { 7547 break 7548 } 7549 } 7550 fieldNum := int32(wire >> 3) 7551 wireType := int(wire & 0x7) 7552 if wireType == 4 { 7553 return fmt.Errorf("proto: QueryDelegateKeysByEthAddressResponse: wiretype end group for non-group") 7554 } 7555 if fieldNum <= 0 { 7556 return fmt.Errorf("proto: QueryDelegateKeysByEthAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7557 } 7558 switch fieldNum { 7559 case 1: 7560 if wireType != 2 { 7561 return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType) 7562 } 7563 var stringLen uint64 7564 for shift := uint(0); ; shift += 7 { 7565 if shift >= 64 { 7566 return ErrIntOverflowQuery 7567 } 7568 if iNdEx >= l { 7569 return io.ErrUnexpectedEOF 7570 } 7571 b := dAtA[iNdEx] 7572 iNdEx++ 7573 stringLen |= uint64(b&0x7F) << shift 7574 if b < 0x80 { 7575 break 7576 } 7577 } 7578 intStringLen := int(stringLen) 7579 if intStringLen < 0 { 7580 return ErrInvalidLengthQuery 7581 } 7582 postIndex := iNdEx + intStringLen 7583 if postIndex < 0 { 7584 return ErrInvalidLengthQuery 7585 } 7586 if postIndex > l { 7587 return io.ErrUnexpectedEOF 7588 } 7589 m.ValidatorAddress = string(dAtA[iNdEx:postIndex]) 7590 iNdEx = postIndex 7591 case 2: 7592 if wireType != 2 { 7593 return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) 7594 } 7595 var stringLen uint64 7596 for shift := uint(0); ; shift += 7 { 7597 if shift >= 64 { 7598 return ErrIntOverflowQuery 7599 } 7600 if iNdEx >= l { 7601 return io.ErrUnexpectedEOF 7602 } 7603 b := dAtA[iNdEx] 7604 iNdEx++ 7605 stringLen |= uint64(b&0x7F) << shift 7606 if b < 0x80 { 7607 break 7608 } 7609 } 7610 intStringLen := int(stringLen) 7611 if intStringLen < 0 { 7612 return ErrInvalidLengthQuery 7613 } 7614 postIndex := iNdEx + intStringLen 7615 if postIndex < 0 { 7616 return ErrInvalidLengthQuery 7617 } 7618 if postIndex > l { 7619 return io.ErrUnexpectedEOF 7620 } 7621 m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) 7622 iNdEx = postIndex 7623 default: 7624 iNdEx = preIndex 7625 skippy, err := skipQuery(dAtA[iNdEx:]) 7626 if err != nil { 7627 return err 7628 } 7629 if (skippy < 0) || (iNdEx+skippy) < 0 { 7630 return ErrInvalidLengthQuery 7631 } 7632 if (iNdEx + skippy) > l { 7633 return io.ErrUnexpectedEOF 7634 } 7635 iNdEx += skippy 7636 } 7637 } 7638 7639 if iNdEx > l { 7640 return io.ErrUnexpectedEOF 7641 } 7642 return nil 7643 } 7644 func (m *QueryDelegateKeysByOrchestratorAddress) Unmarshal(dAtA []byte) error { 7645 l := len(dAtA) 7646 iNdEx := 0 7647 for iNdEx < l { 7648 preIndex := iNdEx 7649 var wire uint64 7650 for shift := uint(0); ; shift += 7 { 7651 if shift >= 64 { 7652 return ErrIntOverflowQuery 7653 } 7654 if iNdEx >= l { 7655 return io.ErrUnexpectedEOF 7656 } 7657 b := dAtA[iNdEx] 7658 iNdEx++ 7659 wire |= uint64(b&0x7F) << shift 7660 if b < 0x80 { 7661 break 7662 } 7663 } 7664 fieldNum := int32(wire >> 3) 7665 wireType := int(wire & 0x7) 7666 if wireType == 4 { 7667 return fmt.Errorf("proto: QueryDelegateKeysByOrchestratorAddress: wiretype end group for non-group") 7668 } 7669 if fieldNum <= 0 { 7670 return fmt.Errorf("proto: QueryDelegateKeysByOrchestratorAddress: illegal tag %d (wire type %d)", fieldNum, wire) 7671 } 7672 switch fieldNum { 7673 case 1: 7674 if wireType != 2 { 7675 return fmt.Errorf("proto: wrong wireType = %d for field OrchestratorAddress", wireType) 7676 } 7677 var stringLen uint64 7678 for shift := uint(0); ; shift += 7 { 7679 if shift >= 64 { 7680 return ErrIntOverflowQuery 7681 } 7682 if iNdEx >= l { 7683 return io.ErrUnexpectedEOF 7684 } 7685 b := dAtA[iNdEx] 7686 iNdEx++ 7687 stringLen |= uint64(b&0x7F) << shift 7688 if b < 0x80 { 7689 break 7690 } 7691 } 7692 intStringLen := int(stringLen) 7693 if intStringLen < 0 { 7694 return ErrInvalidLengthQuery 7695 } 7696 postIndex := iNdEx + intStringLen 7697 if postIndex < 0 { 7698 return ErrInvalidLengthQuery 7699 } 7700 if postIndex > l { 7701 return io.ErrUnexpectedEOF 7702 } 7703 m.OrchestratorAddress = string(dAtA[iNdEx:postIndex]) 7704 iNdEx = postIndex 7705 default: 7706 iNdEx = preIndex 7707 skippy, err := skipQuery(dAtA[iNdEx:]) 7708 if err != nil { 7709 return err 7710 } 7711 if (skippy < 0) || (iNdEx+skippy) < 0 { 7712 return ErrInvalidLengthQuery 7713 } 7714 if (iNdEx + skippy) > l { 7715 return io.ErrUnexpectedEOF 7716 } 7717 iNdEx += skippy 7718 } 7719 } 7720 7721 if iNdEx > l { 7722 return io.ErrUnexpectedEOF 7723 } 7724 return nil 7725 } 7726 func (m *QueryDelegateKeysByOrchestratorAddressResponse) Unmarshal(dAtA []byte) error { 7727 l := len(dAtA) 7728 iNdEx := 0 7729 for iNdEx < l { 7730 preIndex := iNdEx 7731 var wire uint64 7732 for shift := uint(0); ; shift += 7 { 7733 if shift >= 64 { 7734 return ErrIntOverflowQuery 7735 } 7736 if iNdEx >= l { 7737 return io.ErrUnexpectedEOF 7738 } 7739 b := dAtA[iNdEx] 7740 iNdEx++ 7741 wire |= uint64(b&0x7F) << shift 7742 if b < 0x80 { 7743 break 7744 } 7745 } 7746 fieldNum := int32(wire >> 3) 7747 wireType := int(wire & 0x7) 7748 if wireType == 4 { 7749 return fmt.Errorf("proto: QueryDelegateKeysByOrchestratorAddressResponse: wiretype end group for non-group") 7750 } 7751 if fieldNum <= 0 { 7752 return fmt.Errorf("proto: QueryDelegateKeysByOrchestratorAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7753 } 7754 switch fieldNum { 7755 case 1: 7756 if wireType != 2 { 7757 return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType) 7758 } 7759 var stringLen uint64 7760 for shift := uint(0); ; shift += 7 { 7761 if shift >= 64 { 7762 return ErrIntOverflowQuery 7763 } 7764 if iNdEx >= l { 7765 return io.ErrUnexpectedEOF 7766 } 7767 b := dAtA[iNdEx] 7768 iNdEx++ 7769 stringLen |= uint64(b&0x7F) << shift 7770 if b < 0x80 { 7771 break 7772 } 7773 } 7774 intStringLen := int(stringLen) 7775 if intStringLen < 0 { 7776 return ErrInvalidLengthQuery 7777 } 7778 postIndex := iNdEx + intStringLen 7779 if postIndex < 0 { 7780 return ErrInvalidLengthQuery 7781 } 7782 if postIndex > l { 7783 return io.ErrUnexpectedEOF 7784 } 7785 m.ValidatorAddress = string(dAtA[iNdEx:postIndex]) 7786 iNdEx = postIndex 7787 case 2: 7788 if wireType != 2 { 7789 return fmt.Errorf("proto: wrong wireType = %d for field EthAddress", wireType) 7790 } 7791 var stringLen uint64 7792 for shift := uint(0); ; shift += 7 { 7793 if shift >= 64 { 7794 return ErrIntOverflowQuery 7795 } 7796 if iNdEx >= l { 7797 return io.ErrUnexpectedEOF 7798 } 7799 b := dAtA[iNdEx] 7800 iNdEx++ 7801 stringLen |= uint64(b&0x7F) << shift 7802 if b < 0x80 { 7803 break 7804 } 7805 } 7806 intStringLen := int(stringLen) 7807 if intStringLen < 0 { 7808 return ErrInvalidLengthQuery 7809 } 7810 postIndex := iNdEx + intStringLen 7811 if postIndex < 0 { 7812 return ErrInvalidLengthQuery 7813 } 7814 if postIndex > l { 7815 return io.ErrUnexpectedEOF 7816 } 7817 m.EthAddress = string(dAtA[iNdEx:postIndex]) 7818 iNdEx = postIndex 7819 default: 7820 iNdEx = preIndex 7821 skippy, err := skipQuery(dAtA[iNdEx:]) 7822 if err != nil { 7823 return err 7824 } 7825 if (skippy < 0) || (iNdEx+skippy) < 0 { 7826 return ErrInvalidLengthQuery 7827 } 7828 if (iNdEx + skippy) > l { 7829 return io.ErrUnexpectedEOF 7830 } 7831 iNdEx += skippy 7832 } 7833 } 7834 7835 if iNdEx > l { 7836 return io.ErrUnexpectedEOF 7837 } 7838 return nil 7839 } 7840 func (m *QueryPendingSendToEth) Unmarshal(dAtA []byte) error { 7841 l := len(dAtA) 7842 iNdEx := 0 7843 for iNdEx < l { 7844 preIndex := iNdEx 7845 var wire uint64 7846 for shift := uint(0); ; shift += 7 { 7847 if shift >= 64 { 7848 return ErrIntOverflowQuery 7849 } 7850 if iNdEx >= l { 7851 return io.ErrUnexpectedEOF 7852 } 7853 b := dAtA[iNdEx] 7854 iNdEx++ 7855 wire |= uint64(b&0x7F) << shift 7856 if b < 0x80 { 7857 break 7858 } 7859 } 7860 fieldNum := int32(wire >> 3) 7861 wireType := int(wire & 0x7) 7862 if wireType == 4 { 7863 return fmt.Errorf("proto: QueryPendingSendToEth: wiretype end group for non-group") 7864 } 7865 if fieldNum <= 0 { 7866 return fmt.Errorf("proto: QueryPendingSendToEth: illegal tag %d (wire type %d)", fieldNum, wire) 7867 } 7868 switch fieldNum { 7869 case 1: 7870 if wireType != 2 { 7871 return fmt.Errorf("proto: wrong wireType = %d for field SenderAddress", wireType) 7872 } 7873 var stringLen uint64 7874 for shift := uint(0); ; shift += 7 { 7875 if shift >= 64 { 7876 return ErrIntOverflowQuery 7877 } 7878 if iNdEx >= l { 7879 return io.ErrUnexpectedEOF 7880 } 7881 b := dAtA[iNdEx] 7882 iNdEx++ 7883 stringLen |= uint64(b&0x7F) << shift 7884 if b < 0x80 { 7885 break 7886 } 7887 } 7888 intStringLen := int(stringLen) 7889 if intStringLen < 0 { 7890 return ErrInvalidLengthQuery 7891 } 7892 postIndex := iNdEx + intStringLen 7893 if postIndex < 0 { 7894 return ErrInvalidLengthQuery 7895 } 7896 if postIndex > l { 7897 return io.ErrUnexpectedEOF 7898 } 7899 m.SenderAddress = string(dAtA[iNdEx:postIndex]) 7900 iNdEx = postIndex 7901 default: 7902 iNdEx = preIndex 7903 skippy, err := skipQuery(dAtA[iNdEx:]) 7904 if err != nil { 7905 return err 7906 } 7907 if (skippy < 0) || (iNdEx+skippy) < 0 { 7908 return ErrInvalidLengthQuery 7909 } 7910 if (iNdEx + skippy) > l { 7911 return io.ErrUnexpectedEOF 7912 } 7913 iNdEx += skippy 7914 } 7915 } 7916 7917 if iNdEx > l { 7918 return io.ErrUnexpectedEOF 7919 } 7920 return nil 7921 } 7922 func (m *QueryPendingSendToEthResponse) Unmarshal(dAtA []byte) error { 7923 l := len(dAtA) 7924 iNdEx := 0 7925 for iNdEx < l { 7926 preIndex := iNdEx 7927 var wire uint64 7928 for shift := uint(0); ; shift += 7 { 7929 if shift >= 64 { 7930 return ErrIntOverflowQuery 7931 } 7932 if iNdEx >= l { 7933 return io.ErrUnexpectedEOF 7934 } 7935 b := dAtA[iNdEx] 7936 iNdEx++ 7937 wire |= uint64(b&0x7F) << shift 7938 if b < 0x80 { 7939 break 7940 } 7941 } 7942 fieldNum := int32(wire >> 3) 7943 wireType := int(wire & 0x7) 7944 if wireType == 4 { 7945 return fmt.Errorf("proto: QueryPendingSendToEthResponse: wiretype end group for non-group") 7946 } 7947 if fieldNum <= 0 { 7948 return fmt.Errorf("proto: QueryPendingSendToEthResponse: illegal tag %d (wire type %d)", fieldNum, wire) 7949 } 7950 switch fieldNum { 7951 case 1: 7952 if wireType != 2 { 7953 return fmt.Errorf("proto: wrong wireType = %d for field TransfersInBatches", wireType) 7954 } 7955 var msglen int 7956 for shift := uint(0); ; shift += 7 { 7957 if shift >= 64 { 7958 return ErrIntOverflowQuery 7959 } 7960 if iNdEx >= l { 7961 return io.ErrUnexpectedEOF 7962 } 7963 b := dAtA[iNdEx] 7964 iNdEx++ 7965 msglen |= int(b&0x7F) << shift 7966 if b < 0x80 { 7967 break 7968 } 7969 } 7970 if msglen < 0 { 7971 return ErrInvalidLengthQuery 7972 } 7973 postIndex := iNdEx + msglen 7974 if postIndex < 0 { 7975 return ErrInvalidLengthQuery 7976 } 7977 if postIndex > l { 7978 return io.ErrUnexpectedEOF 7979 } 7980 m.TransfersInBatches = append(m.TransfersInBatches, &OutgoingTransferTx{}) 7981 if err := m.TransfersInBatches[len(m.TransfersInBatches)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 7982 return err 7983 } 7984 iNdEx = postIndex 7985 case 2: 7986 if wireType != 2 { 7987 return fmt.Errorf("proto: wrong wireType = %d for field UnbatchedTransfers", wireType) 7988 } 7989 var msglen int 7990 for shift := uint(0); ; shift += 7 { 7991 if shift >= 64 { 7992 return ErrIntOverflowQuery 7993 } 7994 if iNdEx >= l { 7995 return io.ErrUnexpectedEOF 7996 } 7997 b := dAtA[iNdEx] 7998 iNdEx++ 7999 msglen |= int(b&0x7F) << shift 8000 if b < 0x80 { 8001 break 8002 } 8003 } 8004 if msglen < 0 { 8005 return ErrInvalidLengthQuery 8006 } 8007 postIndex := iNdEx + msglen 8008 if postIndex < 0 { 8009 return ErrInvalidLengthQuery 8010 } 8011 if postIndex > l { 8012 return io.ErrUnexpectedEOF 8013 } 8014 m.UnbatchedTransfers = append(m.UnbatchedTransfers, &OutgoingTransferTx{}) 8015 if err := m.UnbatchedTransfers[len(m.UnbatchedTransfers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8016 return err 8017 } 8018 iNdEx = postIndex 8019 default: 8020 iNdEx = preIndex 8021 skippy, err := skipQuery(dAtA[iNdEx:]) 8022 if err != nil { 8023 return err 8024 } 8025 if (skippy < 0) || (iNdEx+skippy) < 0 { 8026 return ErrInvalidLengthQuery 8027 } 8028 if (iNdEx + skippy) > l { 8029 return io.ErrUnexpectedEOF 8030 } 8031 iNdEx += skippy 8032 } 8033 } 8034 8035 if iNdEx > l { 8036 return io.ErrUnexpectedEOF 8037 } 8038 return nil 8039 } 8040 func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error { 8041 l := len(dAtA) 8042 iNdEx := 0 8043 for iNdEx < l { 8044 preIndex := iNdEx 8045 var wire uint64 8046 for shift := uint(0); ; shift += 7 { 8047 if shift >= 64 { 8048 return ErrIntOverflowQuery 8049 } 8050 if iNdEx >= l { 8051 return io.ErrUnexpectedEOF 8052 } 8053 b := dAtA[iNdEx] 8054 iNdEx++ 8055 wire |= uint64(b&0x7F) << shift 8056 if b < 0x80 { 8057 break 8058 } 8059 } 8060 fieldNum := int32(wire >> 3) 8061 wireType := int(wire & 0x7) 8062 if wireType == 4 { 8063 return fmt.Errorf("proto: QueryModuleStateRequest: wiretype end group for non-group") 8064 } 8065 if fieldNum <= 0 { 8066 return fmt.Errorf("proto: QueryModuleStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) 8067 } 8068 switch fieldNum { 8069 default: 8070 iNdEx = preIndex 8071 skippy, err := skipQuery(dAtA[iNdEx:]) 8072 if err != nil { 8073 return err 8074 } 8075 if (skippy < 0) || (iNdEx+skippy) < 0 { 8076 return ErrInvalidLengthQuery 8077 } 8078 if (iNdEx + skippy) > l { 8079 return io.ErrUnexpectedEOF 8080 } 8081 iNdEx += skippy 8082 } 8083 } 8084 8085 if iNdEx > l { 8086 return io.ErrUnexpectedEOF 8087 } 8088 return nil 8089 } 8090 func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error { 8091 l := len(dAtA) 8092 iNdEx := 0 8093 for iNdEx < l { 8094 preIndex := iNdEx 8095 var wire uint64 8096 for shift := uint(0); ; shift += 7 { 8097 if shift >= 64 { 8098 return ErrIntOverflowQuery 8099 } 8100 if iNdEx >= l { 8101 return io.ErrUnexpectedEOF 8102 } 8103 b := dAtA[iNdEx] 8104 iNdEx++ 8105 wire |= uint64(b&0x7F) << shift 8106 if b < 0x80 { 8107 break 8108 } 8109 } 8110 fieldNum := int32(wire >> 3) 8111 wireType := int(wire & 0x7) 8112 if wireType == 4 { 8113 return fmt.Errorf("proto: QueryModuleStateResponse: wiretype end group for non-group") 8114 } 8115 if fieldNum <= 0 { 8116 return fmt.Errorf("proto: QueryModuleStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) 8117 } 8118 switch fieldNum { 8119 case 1: 8120 if wireType != 2 { 8121 return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) 8122 } 8123 var msglen int 8124 for shift := uint(0); ; shift += 7 { 8125 if shift >= 64 { 8126 return ErrIntOverflowQuery 8127 } 8128 if iNdEx >= l { 8129 return io.ErrUnexpectedEOF 8130 } 8131 b := dAtA[iNdEx] 8132 iNdEx++ 8133 msglen |= int(b&0x7F) << shift 8134 if b < 0x80 { 8135 break 8136 } 8137 } 8138 if msglen < 0 { 8139 return ErrInvalidLengthQuery 8140 } 8141 postIndex := iNdEx + msglen 8142 if postIndex < 0 { 8143 return ErrInvalidLengthQuery 8144 } 8145 if postIndex > l { 8146 return io.ErrUnexpectedEOF 8147 } 8148 if m.State == nil { 8149 m.State = &GenesisState{} 8150 } 8151 if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 8152 return err 8153 } 8154 iNdEx = postIndex 8155 default: 8156 iNdEx = preIndex 8157 skippy, err := skipQuery(dAtA[iNdEx:]) 8158 if err != nil { 8159 return err 8160 } 8161 if (skippy < 0) || (iNdEx+skippy) < 0 { 8162 return ErrInvalidLengthQuery 8163 } 8164 if (iNdEx + skippy) > l { 8165 return io.ErrUnexpectedEOF 8166 } 8167 iNdEx += skippy 8168 } 8169 } 8170 8171 if iNdEx > l { 8172 return io.ErrUnexpectedEOF 8173 } 8174 return nil 8175 } 8176 func (m *MissingNoncesRequest) Unmarshal(dAtA []byte) error { 8177 l := len(dAtA) 8178 iNdEx := 0 8179 for iNdEx < l { 8180 preIndex := iNdEx 8181 var wire uint64 8182 for shift := uint(0); ; shift += 7 { 8183 if shift >= 64 { 8184 return ErrIntOverflowQuery 8185 } 8186 if iNdEx >= l { 8187 return io.ErrUnexpectedEOF 8188 } 8189 b := dAtA[iNdEx] 8190 iNdEx++ 8191 wire |= uint64(b&0x7F) << shift 8192 if b < 0x80 { 8193 break 8194 } 8195 } 8196 fieldNum := int32(wire >> 3) 8197 wireType := int(wire & 0x7) 8198 if wireType == 4 { 8199 return fmt.Errorf("proto: MissingNoncesRequest: wiretype end group for non-group") 8200 } 8201 if fieldNum <= 0 { 8202 return fmt.Errorf("proto: MissingNoncesRequest: illegal tag %d (wire type %d)", fieldNum, wire) 8203 } 8204 switch fieldNum { 8205 default: 8206 iNdEx = preIndex 8207 skippy, err := skipQuery(dAtA[iNdEx:]) 8208 if err != nil { 8209 return err 8210 } 8211 if (skippy < 0) || (iNdEx+skippy) < 0 { 8212 return ErrInvalidLengthQuery 8213 } 8214 if (iNdEx + skippy) > l { 8215 return io.ErrUnexpectedEOF 8216 } 8217 iNdEx += skippy 8218 } 8219 } 8220 8221 if iNdEx > l { 8222 return io.ErrUnexpectedEOF 8223 } 8224 return nil 8225 } 8226 func (m *MissingNoncesResponse) Unmarshal(dAtA []byte) error { 8227 l := len(dAtA) 8228 iNdEx := 0 8229 for iNdEx < l { 8230 preIndex := iNdEx 8231 var wire uint64 8232 for shift := uint(0); ; shift += 7 { 8233 if shift >= 64 { 8234 return ErrIntOverflowQuery 8235 } 8236 if iNdEx >= l { 8237 return io.ErrUnexpectedEOF 8238 } 8239 b := dAtA[iNdEx] 8240 iNdEx++ 8241 wire |= uint64(b&0x7F) << shift 8242 if b < 0x80 { 8243 break 8244 } 8245 } 8246 fieldNum := int32(wire >> 3) 8247 wireType := int(wire & 0x7) 8248 if wireType == 4 { 8249 return fmt.Errorf("proto: MissingNoncesResponse: wiretype end group for non-group") 8250 } 8251 if fieldNum <= 0 { 8252 return fmt.Errorf("proto: MissingNoncesResponse: illegal tag %d (wire type %d)", fieldNum, wire) 8253 } 8254 switch fieldNum { 8255 case 1: 8256 if wireType != 2 { 8257 return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddresses", wireType) 8258 } 8259 var stringLen uint64 8260 for shift := uint(0); ; shift += 7 { 8261 if shift >= 64 { 8262 return ErrIntOverflowQuery 8263 } 8264 if iNdEx >= l { 8265 return io.ErrUnexpectedEOF 8266 } 8267 b := dAtA[iNdEx] 8268 iNdEx++ 8269 stringLen |= uint64(b&0x7F) << shift 8270 if b < 0x80 { 8271 break 8272 } 8273 } 8274 intStringLen := int(stringLen) 8275 if intStringLen < 0 { 8276 return ErrInvalidLengthQuery 8277 } 8278 postIndex := iNdEx + intStringLen 8279 if postIndex < 0 { 8280 return ErrInvalidLengthQuery 8281 } 8282 if postIndex > l { 8283 return io.ErrUnexpectedEOF 8284 } 8285 m.OperatorAddresses = append(m.OperatorAddresses, string(dAtA[iNdEx:postIndex])) 8286 iNdEx = postIndex 8287 default: 8288 iNdEx = preIndex 8289 skippy, err := skipQuery(dAtA[iNdEx:]) 8290 if err != nil { 8291 return err 8292 } 8293 if (skippy < 0) || (iNdEx+skippy) < 0 { 8294 return ErrInvalidLengthQuery 8295 } 8296 if (iNdEx + skippy) > l { 8297 return io.ErrUnexpectedEOF 8298 } 8299 iNdEx += skippy 8300 } 8301 } 8302 8303 if iNdEx > l { 8304 return io.ErrUnexpectedEOF 8305 } 8306 return nil 8307 } 8308 func skipQuery(dAtA []byte) (n int, err error) { 8309 l := len(dAtA) 8310 iNdEx := 0 8311 depth := 0 8312 for iNdEx < l { 8313 var wire uint64 8314 for shift := uint(0); ; shift += 7 { 8315 if shift >= 64 { 8316 return 0, ErrIntOverflowQuery 8317 } 8318 if iNdEx >= l { 8319 return 0, io.ErrUnexpectedEOF 8320 } 8321 b := dAtA[iNdEx] 8322 iNdEx++ 8323 wire |= (uint64(b) & 0x7F) << shift 8324 if b < 0x80 { 8325 break 8326 } 8327 } 8328 wireType := int(wire & 0x7) 8329 switch wireType { 8330 case 0: 8331 for shift := uint(0); ; shift += 7 { 8332 if shift >= 64 { 8333 return 0, ErrIntOverflowQuery 8334 } 8335 if iNdEx >= l { 8336 return 0, io.ErrUnexpectedEOF 8337 } 8338 iNdEx++ 8339 if dAtA[iNdEx-1] < 0x80 { 8340 break 8341 } 8342 } 8343 case 1: 8344 iNdEx += 8 8345 case 2: 8346 var length int 8347 for shift := uint(0); ; shift += 7 { 8348 if shift >= 64 { 8349 return 0, ErrIntOverflowQuery 8350 } 8351 if iNdEx >= l { 8352 return 0, io.ErrUnexpectedEOF 8353 } 8354 b := dAtA[iNdEx] 8355 iNdEx++ 8356 length |= (int(b) & 0x7F) << shift 8357 if b < 0x80 { 8358 break 8359 } 8360 } 8361 if length < 0 { 8362 return 0, ErrInvalidLengthQuery 8363 } 8364 iNdEx += length 8365 case 3: 8366 depth++ 8367 case 4: 8368 if depth == 0 { 8369 return 0, ErrUnexpectedEndOfGroupQuery 8370 } 8371 depth-- 8372 case 5: 8373 iNdEx += 4 8374 default: 8375 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 8376 } 8377 if iNdEx < 0 { 8378 return 0, ErrInvalidLengthQuery 8379 } 8380 if depth == 0 { 8381 return iNdEx, nil 8382 } 8383 } 8384 return 0, io.ErrUnexpectedEOF 8385 } 8386 8387 var ( 8388 ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") 8389 ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") 8390 ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") 8391 )