code.vegaprotocol.io/vega@v0.79.0/protos/vega/api/v1/corestate.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: vega/api/v1/corestate.proto 6 7 package v1 8 9 import ( 10 vega "code.vegaprotocol.io/vega/protos/vega" 11 v1 "code.vegaprotocol.io/vega/protos/vega/events/v1" 12 _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type Account struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` 32 Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` 33 Balance string `protobuf:"bytes,3,opt,name=balance,proto3" json:"balance,omitempty"` 34 Asset string `protobuf:"bytes,5,opt,name=asset,proto3" json:"asset,omitempty"` 35 Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` 36 } 37 38 func (x *Account) Reset() { 39 *x = Account{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_vega_api_v1_corestate_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *Account) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*Account) ProtoMessage() {} 52 53 func (x *Account) ProtoReflect() protoreflect.Message { 54 mi := &file_vega_api_v1_corestate_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use Account.ProtoReflect.Descriptor instead. 66 func (*Account) Descriptor() ([]byte, []int) { 67 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *Account) GetParty() string { 71 if x != nil { 72 return x.Party 73 } 74 return "" 75 } 76 77 func (x *Account) GetMarket() string { 78 if x != nil { 79 return x.Market 80 } 81 return "" 82 } 83 84 func (x *Account) GetBalance() string { 85 if x != nil { 86 return x.Balance 87 } 88 return "" 89 } 90 91 func (x *Account) GetAsset() string { 92 if x != nil { 93 return x.Asset 94 } 95 return "" 96 } 97 98 func (x *Account) GetType() string { 99 if x != nil { 100 return x.Type 101 } 102 return "" 103 } 104 105 type ListAccountsRequest struct { 106 state protoimpl.MessageState 107 sizeCache protoimpl.SizeCache 108 unknownFields protoimpl.UnknownFields 109 110 Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` 111 Market string `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"` 112 } 113 114 func (x *ListAccountsRequest) Reset() { 115 *x = ListAccountsRequest{} 116 if protoimpl.UnsafeEnabled { 117 mi := &file_vega_api_v1_corestate_proto_msgTypes[1] 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 ms.StoreMessageInfo(mi) 120 } 121 } 122 123 func (x *ListAccountsRequest) String() string { 124 return protoimpl.X.MessageStringOf(x) 125 } 126 127 func (*ListAccountsRequest) ProtoMessage() {} 128 129 func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message { 130 mi := &file_vega_api_v1_corestate_proto_msgTypes[1] 131 if protoimpl.UnsafeEnabled && x != nil { 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 if ms.LoadMessageInfo() == nil { 134 ms.StoreMessageInfo(mi) 135 } 136 return ms 137 } 138 return mi.MessageOf(x) 139 } 140 141 // Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead. 142 func (*ListAccountsRequest) Descriptor() ([]byte, []int) { 143 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{1} 144 } 145 146 func (x *ListAccountsRequest) GetParty() string { 147 if x != nil { 148 return x.Party 149 } 150 return "" 151 } 152 153 func (x *ListAccountsRequest) GetMarket() string { 154 if x != nil { 155 return x.Market 156 } 157 return "" 158 } 159 160 type ListAccountsResponse struct { 161 state protoimpl.MessageState 162 sizeCache protoimpl.SizeCache 163 unknownFields protoimpl.UnknownFields 164 165 Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` 166 } 167 168 func (x *ListAccountsResponse) Reset() { 169 *x = ListAccountsResponse{} 170 if protoimpl.UnsafeEnabled { 171 mi := &file_vega_api_v1_corestate_proto_msgTypes[2] 172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 173 ms.StoreMessageInfo(mi) 174 } 175 } 176 177 func (x *ListAccountsResponse) String() string { 178 return protoimpl.X.MessageStringOf(x) 179 } 180 181 func (*ListAccountsResponse) ProtoMessage() {} 182 183 func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message { 184 mi := &file_vega_api_v1_corestate_proto_msgTypes[2] 185 if protoimpl.UnsafeEnabled && x != nil { 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 if ms.LoadMessageInfo() == nil { 188 ms.StoreMessageInfo(mi) 189 } 190 return ms 191 } 192 return mi.MessageOf(x) 193 } 194 195 // Deprecated: Use ListAccountsResponse.ProtoReflect.Descriptor instead. 196 func (*ListAccountsResponse) Descriptor() ([]byte, []int) { 197 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{2} 198 } 199 200 func (x *ListAccountsResponse) GetAccounts() []*Account { 201 if x != nil { 202 return x.Accounts 203 } 204 return nil 205 } 206 207 type ListAssetsRequest struct { 208 state protoimpl.MessageState 209 sizeCache protoimpl.SizeCache 210 unknownFields protoimpl.UnknownFields 211 212 Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` // optional ID 213 } 214 215 func (x *ListAssetsRequest) Reset() { 216 *x = ListAssetsRequest{} 217 if protoimpl.UnsafeEnabled { 218 mi := &file_vega_api_v1_corestate_proto_msgTypes[3] 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 ms.StoreMessageInfo(mi) 221 } 222 } 223 224 func (x *ListAssetsRequest) String() string { 225 return protoimpl.X.MessageStringOf(x) 226 } 227 228 func (*ListAssetsRequest) ProtoMessage() {} 229 230 func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message { 231 mi := &file_vega_api_v1_corestate_proto_msgTypes[3] 232 if protoimpl.UnsafeEnabled && x != nil { 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 if ms.LoadMessageInfo() == nil { 235 ms.StoreMessageInfo(mi) 236 } 237 return ms 238 } 239 return mi.MessageOf(x) 240 } 241 242 // Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead. 243 func (*ListAssetsRequest) Descriptor() ([]byte, []int) { 244 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{3} 245 } 246 247 func (x *ListAssetsRequest) GetAsset() string { 248 if x != nil { 249 return x.Asset 250 } 251 return "" 252 } 253 254 type ListAssetsResponse struct { 255 state protoimpl.MessageState 256 sizeCache protoimpl.SizeCache 257 unknownFields protoimpl.UnknownFields 258 259 Assets []*vega.Asset `protobuf:"bytes,1,rep,name=assets,proto3" json:"assets,omitempty"` 260 } 261 262 func (x *ListAssetsResponse) Reset() { 263 *x = ListAssetsResponse{} 264 if protoimpl.UnsafeEnabled { 265 mi := &file_vega_api_v1_corestate_proto_msgTypes[4] 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 ms.StoreMessageInfo(mi) 268 } 269 } 270 271 func (x *ListAssetsResponse) String() string { 272 return protoimpl.X.MessageStringOf(x) 273 } 274 275 func (*ListAssetsResponse) ProtoMessage() {} 276 277 func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message { 278 mi := &file_vega_api_v1_corestate_proto_msgTypes[4] 279 if protoimpl.UnsafeEnabled && x != nil { 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 if ms.LoadMessageInfo() == nil { 282 ms.StoreMessageInfo(mi) 283 } 284 return ms 285 } 286 return mi.MessageOf(x) 287 } 288 289 // Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead. 290 func (*ListAssetsResponse) Descriptor() ([]byte, []int) { 291 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{4} 292 } 293 294 func (x *ListAssetsResponse) GetAssets() []*vega.Asset { 295 if x != nil { 296 return x.Assets 297 } 298 return nil 299 } 300 301 type ListNetworkParametersRequest struct { 302 state protoimpl.MessageState 303 sizeCache protoimpl.SizeCache 304 unknownFields protoimpl.UnknownFields 305 306 NetworkParameterKey string `protobuf:"bytes,1,opt,name=network_parameter_key,json=networkParameterKey,proto3" json:"network_parameter_key,omitempty"` // optional parameter key 307 } 308 309 func (x *ListNetworkParametersRequest) Reset() { 310 *x = ListNetworkParametersRequest{} 311 if protoimpl.UnsafeEnabled { 312 mi := &file_vega_api_v1_corestate_proto_msgTypes[5] 313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 314 ms.StoreMessageInfo(mi) 315 } 316 } 317 318 func (x *ListNetworkParametersRequest) String() string { 319 return protoimpl.X.MessageStringOf(x) 320 } 321 322 func (*ListNetworkParametersRequest) ProtoMessage() {} 323 324 func (x *ListNetworkParametersRequest) ProtoReflect() protoreflect.Message { 325 mi := &file_vega_api_v1_corestate_proto_msgTypes[5] 326 if protoimpl.UnsafeEnabled && x != nil { 327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 328 if ms.LoadMessageInfo() == nil { 329 ms.StoreMessageInfo(mi) 330 } 331 return ms 332 } 333 return mi.MessageOf(x) 334 } 335 336 // Deprecated: Use ListNetworkParametersRequest.ProtoReflect.Descriptor instead. 337 func (*ListNetworkParametersRequest) Descriptor() ([]byte, []int) { 338 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{5} 339 } 340 341 func (x *ListNetworkParametersRequest) GetNetworkParameterKey() string { 342 if x != nil { 343 return x.NetworkParameterKey 344 } 345 return "" 346 } 347 348 type ListNetworkParametersResponse struct { 349 state protoimpl.MessageState 350 sizeCache protoimpl.SizeCache 351 unknownFields protoimpl.UnknownFields 352 353 NetworkParameters []*vega.NetworkParameter `protobuf:"bytes,1,rep,name=network_parameters,json=networkParameters,proto3" json:"network_parameters,omitempty"` 354 } 355 356 func (x *ListNetworkParametersResponse) Reset() { 357 *x = ListNetworkParametersResponse{} 358 if protoimpl.UnsafeEnabled { 359 mi := &file_vega_api_v1_corestate_proto_msgTypes[6] 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 ms.StoreMessageInfo(mi) 362 } 363 } 364 365 func (x *ListNetworkParametersResponse) String() string { 366 return protoimpl.X.MessageStringOf(x) 367 } 368 369 func (*ListNetworkParametersResponse) ProtoMessage() {} 370 371 func (x *ListNetworkParametersResponse) ProtoReflect() protoreflect.Message { 372 mi := &file_vega_api_v1_corestate_proto_msgTypes[6] 373 if protoimpl.UnsafeEnabled && x != nil { 374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 375 if ms.LoadMessageInfo() == nil { 376 ms.StoreMessageInfo(mi) 377 } 378 return ms 379 } 380 return mi.MessageOf(x) 381 } 382 383 // Deprecated: Use ListNetworkParametersResponse.ProtoReflect.Descriptor instead. 384 func (*ListNetworkParametersResponse) Descriptor() ([]byte, []int) { 385 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{6} 386 } 387 388 func (x *ListNetworkParametersResponse) GetNetworkParameters() []*vega.NetworkParameter { 389 if x != nil { 390 return x.NetworkParameters 391 } 392 return nil 393 } 394 395 type ListNetworkLimitsRequest struct { 396 state protoimpl.MessageState 397 sizeCache protoimpl.SizeCache 398 unknownFields protoimpl.UnknownFields 399 } 400 401 func (x *ListNetworkLimitsRequest) Reset() { 402 *x = ListNetworkLimitsRequest{} 403 if protoimpl.UnsafeEnabled { 404 mi := &file_vega_api_v1_corestate_proto_msgTypes[7] 405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 406 ms.StoreMessageInfo(mi) 407 } 408 } 409 410 func (x *ListNetworkLimitsRequest) String() string { 411 return protoimpl.X.MessageStringOf(x) 412 } 413 414 func (*ListNetworkLimitsRequest) ProtoMessage() {} 415 416 func (x *ListNetworkLimitsRequest) ProtoReflect() protoreflect.Message { 417 mi := &file_vega_api_v1_corestate_proto_msgTypes[7] 418 if protoimpl.UnsafeEnabled && x != nil { 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 if ms.LoadMessageInfo() == nil { 421 ms.StoreMessageInfo(mi) 422 } 423 return ms 424 } 425 return mi.MessageOf(x) 426 } 427 428 // Deprecated: Use ListNetworkLimitsRequest.ProtoReflect.Descriptor instead. 429 func (*ListNetworkLimitsRequest) Descriptor() ([]byte, []int) { 430 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{7} 431 } 432 433 type ListNetworkLimitsResponse struct { 434 state protoimpl.MessageState 435 sizeCache protoimpl.SizeCache 436 unknownFields protoimpl.UnknownFields 437 438 NetworkLimits *vega.NetworkLimits `protobuf:"bytes,1,opt,name=network_limits,json=networkLimits,proto3" json:"network_limits,omitempty"` 439 } 440 441 func (x *ListNetworkLimitsResponse) Reset() { 442 *x = ListNetworkLimitsResponse{} 443 if protoimpl.UnsafeEnabled { 444 mi := &file_vega_api_v1_corestate_proto_msgTypes[8] 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 446 ms.StoreMessageInfo(mi) 447 } 448 } 449 450 func (x *ListNetworkLimitsResponse) String() string { 451 return protoimpl.X.MessageStringOf(x) 452 } 453 454 func (*ListNetworkLimitsResponse) ProtoMessage() {} 455 456 func (x *ListNetworkLimitsResponse) ProtoReflect() protoreflect.Message { 457 mi := &file_vega_api_v1_corestate_proto_msgTypes[8] 458 if protoimpl.UnsafeEnabled && x != nil { 459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 460 if ms.LoadMessageInfo() == nil { 461 ms.StoreMessageInfo(mi) 462 } 463 return ms 464 } 465 return mi.MessageOf(x) 466 } 467 468 // Deprecated: Use ListNetworkLimitsResponse.ProtoReflect.Descriptor instead. 469 func (*ListNetworkLimitsResponse) Descriptor() ([]byte, []int) { 470 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{8} 471 } 472 473 func (x *ListNetworkLimitsResponse) GetNetworkLimits() *vega.NetworkLimits { 474 if x != nil { 475 return x.NetworkLimits 476 } 477 return nil 478 } 479 480 type ListPartiesRequest struct { 481 state protoimpl.MessageState 482 sizeCache protoimpl.SizeCache 483 unknownFields protoimpl.UnknownFields 484 } 485 486 func (x *ListPartiesRequest) Reset() { 487 *x = ListPartiesRequest{} 488 if protoimpl.UnsafeEnabled { 489 mi := &file_vega_api_v1_corestate_proto_msgTypes[9] 490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 491 ms.StoreMessageInfo(mi) 492 } 493 } 494 495 func (x *ListPartiesRequest) String() string { 496 return protoimpl.X.MessageStringOf(x) 497 } 498 499 func (*ListPartiesRequest) ProtoMessage() {} 500 501 func (x *ListPartiesRequest) ProtoReflect() protoreflect.Message { 502 mi := &file_vega_api_v1_corestate_proto_msgTypes[9] 503 if protoimpl.UnsafeEnabled && x != nil { 504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 505 if ms.LoadMessageInfo() == nil { 506 ms.StoreMessageInfo(mi) 507 } 508 return ms 509 } 510 return mi.MessageOf(x) 511 } 512 513 // Deprecated: Use ListPartiesRequest.ProtoReflect.Descriptor instead. 514 func (*ListPartiesRequest) Descriptor() ([]byte, []int) { 515 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{9} 516 } 517 518 type ListPartiesResponse struct { 519 state protoimpl.MessageState 520 sizeCache protoimpl.SizeCache 521 unknownFields protoimpl.UnknownFields 522 523 Parties []*vega.Party `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"` 524 } 525 526 func (x *ListPartiesResponse) Reset() { 527 *x = ListPartiesResponse{} 528 if protoimpl.UnsafeEnabled { 529 mi := &file_vega_api_v1_corestate_proto_msgTypes[10] 530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 531 ms.StoreMessageInfo(mi) 532 } 533 } 534 535 func (x *ListPartiesResponse) String() string { 536 return protoimpl.X.MessageStringOf(x) 537 } 538 539 func (*ListPartiesResponse) ProtoMessage() {} 540 541 func (x *ListPartiesResponse) ProtoReflect() protoreflect.Message { 542 mi := &file_vega_api_v1_corestate_proto_msgTypes[10] 543 if protoimpl.UnsafeEnabled && x != nil { 544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 545 if ms.LoadMessageInfo() == nil { 546 ms.StoreMessageInfo(mi) 547 } 548 return ms 549 } 550 return mi.MessageOf(x) 551 } 552 553 // Deprecated: Use ListPartiesResponse.ProtoReflect.Descriptor instead. 554 func (*ListPartiesResponse) Descriptor() ([]byte, []int) { 555 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{10} 556 } 557 558 func (x *ListPartiesResponse) GetParties() []*vega.Party { 559 if x != nil { 560 return x.Parties 561 } 562 return nil 563 } 564 565 type ListValidatorsRequest struct { 566 state protoimpl.MessageState 567 sizeCache protoimpl.SizeCache 568 unknownFields protoimpl.UnknownFields 569 } 570 571 func (x *ListValidatorsRequest) Reset() { 572 *x = ListValidatorsRequest{} 573 if protoimpl.UnsafeEnabled { 574 mi := &file_vega_api_v1_corestate_proto_msgTypes[11] 575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 576 ms.StoreMessageInfo(mi) 577 } 578 } 579 580 func (x *ListValidatorsRequest) String() string { 581 return protoimpl.X.MessageStringOf(x) 582 } 583 584 func (*ListValidatorsRequest) ProtoMessage() {} 585 586 func (x *ListValidatorsRequest) ProtoReflect() protoreflect.Message { 587 mi := &file_vega_api_v1_corestate_proto_msgTypes[11] 588 if protoimpl.UnsafeEnabled && x != nil { 589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 590 if ms.LoadMessageInfo() == nil { 591 ms.StoreMessageInfo(mi) 592 } 593 return ms 594 } 595 return mi.MessageOf(x) 596 } 597 598 // Deprecated: Use ListValidatorsRequest.ProtoReflect.Descriptor instead. 599 func (*ListValidatorsRequest) Descriptor() ([]byte, []int) { 600 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{11} 601 } 602 603 type ListValidatorsResponse struct { 604 state protoimpl.MessageState 605 sizeCache protoimpl.SizeCache 606 unknownFields protoimpl.UnknownFields 607 608 Validators []*v1.ValidatorUpdate `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` 609 } 610 611 func (x *ListValidatorsResponse) Reset() { 612 *x = ListValidatorsResponse{} 613 if protoimpl.UnsafeEnabled { 614 mi := &file_vega_api_v1_corestate_proto_msgTypes[12] 615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 616 ms.StoreMessageInfo(mi) 617 } 618 } 619 620 func (x *ListValidatorsResponse) String() string { 621 return protoimpl.X.MessageStringOf(x) 622 } 623 624 func (*ListValidatorsResponse) ProtoMessage() {} 625 626 func (x *ListValidatorsResponse) ProtoReflect() protoreflect.Message { 627 mi := &file_vega_api_v1_corestate_proto_msgTypes[12] 628 if protoimpl.UnsafeEnabled && x != nil { 629 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 630 if ms.LoadMessageInfo() == nil { 631 ms.StoreMessageInfo(mi) 632 } 633 return ms 634 } 635 return mi.MessageOf(x) 636 } 637 638 // Deprecated: Use ListValidatorsResponse.ProtoReflect.Descriptor instead. 639 func (*ListValidatorsResponse) Descriptor() ([]byte, []int) { 640 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{12} 641 } 642 643 func (x *ListValidatorsResponse) GetValidators() []*v1.ValidatorUpdate { 644 if x != nil { 645 return x.Validators 646 } 647 return nil 648 } 649 650 type ListMarketsRequest struct { 651 state protoimpl.MessageState 652 sizeCache protoimpl.SizeCache 653 unknownFields protoimpl.UnknownFields 654 655 Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` 656 } 657 658 func (x *ListMarketsRequest) Reset() { 659 *x = ListMarketsRequest{} 660 if protoimpl.UnsafeEnabled { 661 mi := &file_vega_api_v1_corestate_proto_msgTypes[13] 662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 663 ms.StoreMessageInfo(mi) 664 } 665 } 666 667 func (x *ListMarketsRequest) String() string { 668 return protoimpl.X.MessageStringOf(x) 669 } 670 671 func (*ListMarketsRequest) ProtoMessage() {} 672 673 func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message { 674 mi := &file_vega_api_v1_corestate_proto_msgTypes[13] 675 if protoimpl.UnsafeEnabled && x != nil { 676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 677 if ms.LoadMessageInfo() == nil { 678 ms.StoreMessageInfo(mi) 679 } 680 return ms 681 } 682 return mi.MessageOf(x) 683 } 684 685 // Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead. 686 func (*ListMarketsRequest) Descriptor() ([]byte, []int) { 687 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{13} 688 } 689 690 func (x *ListMarketsRequest) GetMarket() string { 691 if x != nil { 692 return x.Market 693 } 694 return "" 695 } 696 697 type ListMarketsResponse struct { 698 state protoimpl.MessageState 699 sizeCache protoimpl.SizeCache 700 unknownFields protoimpl.UnknownFields 701 702 Markets []*vega.Market `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` 703 } 704 705 func (x *ListMarketsResponse) Reset() { 706 *x = ListMarketsResponse{} 707 if protoimpl.UnsafeEnabled { 708 mi := &file_vega_api_v1_corestate_proto_msgTypes[14] 709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 710 ms.StoreMessageInfo(mi) 711 } 712 } 713 714 func (x *ListMarketsResponse) String() string { 715 return protoimpl.X.MessageStringOf(x) 716 } 717 718 func (*ListMarketsResponse) ProtoMessage() {} 719 720 func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message { 721 mi := &file_vega_api_v1_corestate_proto_msgTypes[14] 722 if protoimpl.UnsafeEnabled && x != nil { 723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 724 if ms.LoadMessageInfo() == nil { 725 ms.StoreMessageInfo(mi) 726 } 727 return ms 728 } 729 return mi.MessageOf(x) 730 } 731 732 // Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead. 733 func (*ListMarketsResponse) Descriptor() ([]byte, []int) { 734 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{14} 735 } 736 737 func (x *ListMarketsResponse) GetMarkets() []*vega.Market { 738 if x != nil { 739 return x.Markets 740 } 741 return nil 742 } 743 744 type ListProposalsRequest struct { 745 state protoimpl.MessageState 746 sizeCache protoimpl.SizeCache 747 unknownFields protoimpl.UnknownFields 748 749 Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // optional ID 750 Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // optional party 751 } 752 753 func (x *ListProposalsRequest) Reset() { 754 *x = ListProposalsRequest{} 755 if protoimpl.UnsafeEnabled { 756 mi := &file_vega_api_v1_corestate_proto_msgTypes[15] 757 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 758 ms.StoreMessageInfo(mi) 759 } 760 } 761 762 func (x *ListProposalsRequest) String() string { 763 return protoimpl.X.MessageStringOf(x) 764 } 765 766 func (*ListProposalsRequest) ProtoMessage() {} 767 768 func (x *ListProposalsRequest) ProtoReflect() protoreflect.Message { 769 mi := &file_vega_api_v1_corestate_proto_msgTypes[15] 770 if protoimpl.UnsafeEnabled && x != nil { 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 if ms.LoadMessageInfo() == nil { 773 ms.StoreMessageInfo(mi) 774 } 775 return ms 776 } 777 return mi.MessageOf(x) 778 } 779 780 // Deprecated: Use ListProposalsRequest.ProtoReflect.Descriptor instead. 781 func (*ListProposalsRequest) Descriptor() ([]byte, []int) { 782 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{15} 783 } 784 785 func (x *ListProposalsRequest) GetProposal() string { 786 if x != nil { 787 return x.Proposal 788 } 789 return "" 790 } 791 792 func (x *ListProposalsRequest) GetProposer() string { 793 if x != nil { 794 return x.Proposer 795 } 796 return "" 797 } 798 799 type ListProposalsResponse struct { 800 state protoimpl.MessageState 801 sizeCache protoimpl.SizeCache 802 unknownFields protoimpl.UnknownFields 803 804 Proposals []*vega.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` 805 } 806 807 func (x *ListProposalsResponse) Reset() { 808 *x = ListProposalsResponse{} 809 if protoimpl.UnsafeEnabled { 810 mi := &file_vega_api_v1_corestate_proto_msgTypes[16] 811 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 812 ms.StoreMessageInfo(mi) 813 } 814 } 815 816 func (x *ListProposalsResponse) String() string { 817 return protoimpl.X.MessageStringOf(x) 818 } 819 820 func (*ListProposalsResponse) ProtoMessage() {} 821 822 func (x *ListProposalsResponse) ProtoReflect() protoreflect.Message { 823 mi := &file_vega_api_v1_corestate_proto_msgTypes[16] 824 if protoimpl.UnsafeEnabled && x != nil { 825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 826 if ms.LoadMessageInfo() == nil { 827 ms.StoreMessageInfo(mi) 828 } 829 return ms 830 } 831 return mi.MessageOf(x) 832 } 833 834 // Deprecated: Use ListProposalsResponse.ProtoReflect.Descriptor instead. 835 func (*ListProposalsResponse) Descriptor() ([]byte, []int) { 836 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{16} 837 } 838 839 func (x *ListProposalsResponse) GetProposals() []*vega.Proposal { 840 if x != nil { 841 return x.Proposals 842 } 843 return nil 844 } 845 846 type ListMarketsDataRequest struct { 847 state protoimpl.MessageState 848 sizeCache protoimpl.SizeCache 849 unknownFields protoimpl.UnknownFields 850 851 Market string `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` 852 } 853 854 func (x *ListMarketsDataRequest) Reset() { 855 *x = ListMarketsDataRequest{} 856 if protoimpl.UnsafeEnabled { 857 mi := &file_vega_api_v1_corestate_proto_msgTypes[17] 858 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 859 ms.StoreMessageInfo(mi) 860 } 861 } 862 863 func (x *ListMarketsDataRequest) String() string { 864 return protoimpl.X.MessageStringOf(x) 865 } 866 867 func (*ListMarketsDataRequest) ProtoMessage() {} 868 869 func (x *ListMarketsDataRequest) ProtoReflect() protoreflect.Message { 870 mi := &file_vega_api_v1_corestate_proto_msgTypes[17] 871 if protoimpl.UnsafeEnabled && x != nil { 872 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 873 if ms.LoadMessageInfo() == nil { 874 ms.StoreMessageInfo(mi) 875 } 876 return ms 877 } 878 return mi.MessageOf(x) 879 } 880 881 // Deprecated: Use ListMarketsDataRequest.ProtoReflect.Descriptor instead. 882 func (*ListMarketsDataRequest) Descriptor() ([]byte, []int) { 883 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{17} 884 } 885 886 func (x *ListMarketsDataRequest) GetMarket() string { 887 if x != nil { 888 return x.Market 889 } 890 return "" 891 } 892 893 type ListMarketsDataResponse struct { 894 state protoimpl.MessageState 895 sizeCache protoimpl.SizeCache 896 unknownFields protoimpl.UnknownFields 897 898 MarketsData []*vega.MarketData `protobuf:"bytes,1,rep,name=markets_data,json=marketsData,proto3" json:"markets_data,omitempty"` 899 } 900 901 func (x *ListMarketsDataResponse) Reset() { 902 *x = ListMarketsDataResponse{} 903 if protoimpl.UnsafeEnabled { 904 mi := &file_vega_api_v1_corestate_proto_msgTypes[18] 905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 906 ms.StoreMessageInfo(mi) 907 } 908 } 909 910 func (x *ListMarketsDataResponse) String() string { 911 return protoimpl.X.MessageStringOf(x) 912 } 913 914 func (*ListMarketsDataResponse) ProtoMessage() {} 915 916 func (x *ListMarketsDataResponse) ProtoReflect() protoreflect.Message { 917 mi := &file_vega_api_v1_corestate_proto_msgTypes[18] 918 if protoimpl.UnsafeEnabled && x != nil { 919 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 920 if ms.LoadMessageInfo() == nil { 921 ms.StoreMessageInfo(mi) 922 } 923 return ms 924 } 925 return mi.MessageOf(x) 926 } 927 928 // Deprecated: Use ListMarketsDataResponse.ProtoReflect.Descriptor instead. 929 func (*ListMarketsDataResponse) Descriptor() ([]byte, []int) { 930 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{18} 931 } 932 933 func (x *ListMarketsDataResponse) GetMarketsData() []*vega.MarketData { 934 if x != nil { 935 return x.MarketsData 936 } 937 return nil 938 } 939 940 type ListVotesRequest struct { 941 state protoimpl.MessageState 942 sizeCache protoimpl.SizeCache 943 unknownFields protoimpl.UnknownFields 944 945 Proposal string `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` 946 Party string `protobuf:"bytes,2,opt,name=party,proto3" json:"party,omitempty"` 947 } 948 949 func (x *ListVotesRequest) Reset() { 950 *x = ListVotesRequest{} 951 if protoimpl.UnsafeEnabled { 952 mi := &file_vega_api_v1_corestate_proto_msgTypes[19] 953 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 954 ms.StoreMessageInfo(mi) 955 } 956 } 957 958 func (x *ListVotesRequest) String() string { 959 return protoimpl.X.MessageStringOf(x) 960 } 961 962 func (*ListVotesRequest) ProtoMessage() {} 963 964 func (x *ListVotesRequest) ProtoReflect() protoreflect.Message { 965 mi := &file_vega_api_v1_corestate_proto_msgTypes[19] 966 if protoimpl.UnsafeEnabled && x != nil { 967 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 968 if ms.LoadMessageInfo() == nil { 969 ms.StoreMessageInfo(mi) 970 } 971 return ms 972 } 973 return mi.MessageOf(x) 974 } 975 976 // Deprecated: Use ListVotesRequest.ProtoReflect.Descriptor instead. 977 func (*ListVotesRequest) Descriptor() ([]byte, []int) { 978 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{19} 979 } 980 981 func (x *ListVotesRequest) GetProposal() string { 982 if x != nil { 983 return x.Proposal 984 } 985 return "" 986 } 987 988 func (x *ListVotesRequest) GetParty() string { 989 if x != nil { 990 return x.Party 991 } 992 return "" 993 } 994 995 type ListVotesResponse struct { 996 state protoimpl.MessageState 997 sizeCache protoimpl.SizeCache 998 unknownFields protoimpl.UnknownFields 999 1000 Votes []*vega.Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"` 1001 } 1002 1003 func (x *ListVotesResponse) Reset() { 1004 *x = ListVotesResponse{} 1005 if protoimpl.UnsafeEnabled { 1006 mi := &file_vega_api_v1_corestate_proto_msgTypes[20] 1007 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1008 ms.StoreMessageInfo(mi) 1009 } 1010 } 1011 1012 func (x *ListVotesResponse) String() string { 1013 return protoimpl.X.MessageStringOf(x) 1014 } 1015 1016 func (*ListVotesResponse) ProtoMessage() {} 1017 1018 func (x *ListVotesResponse) ProtoReflect() protoreflect.Message { 1019 mi := &file_vega_api_v1_corestate_proto_msgTypes[20] 1020 if protoimpl.UnsafeEnabled && x != nil { 1021 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1022 if ms.LoadMessageInfo() == nil { 1023 ms.StoreMessageInfo(mi) 1024 } 1025 return ms 1026 } 1027 return mi.MessageOf(x) 1028 } 1029 1030 // Deprecated: Use ListVotesResponse.ProtoReflect.Descriptor instead. 1031 func (*ListVotesResponse) Descriptor() ([]byte, []int) { 1032 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{20} 1033 } 1034 1035 func (x *ListVotesResponse) GetVotes() []*vega.Vote { 1036 if x != nil { 1037 return x.Votes 1038 } 1039 return nil 1040 } 1041 1042 type PartyStake struct { 1043 state protoimpl.MessageState 1044 sizeCache protoimpl.SizeCache 1045 unknownFields protoimpl.UnknownFields 1046 1047 Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` 1048 CurrentStakeAvailable string `protobuf:"bytes,2,opt,name=current_stake_available,json=currentStakeAvailable,proto3" json:"current_stake_available,omitempty"` 1049 StakeLinkings []*v1.StakeLinking `protobuf:"bytes,3,rep,name=stake_linkings,json=stakeLinkings,proto3" json:"stake_linkings,omitempty"` 1050 } 1051 1052 func (x *PartyStake) Reset() { 1053 *x = PartyStake{} 1054 if protoimpl.UnsafeEnabled { 1055 mi := &file_vega_api_v1_corestate_proto_msgTypes[21] 1056 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1057 ms.StoreMessageInfo(mi) 1058 } 1059 } 1060 1061 func (x *PartyStake) String() string { 1062 return protoimpl.X.MessageStringOf(x) 1063 } 1064 1065 func (*PartyStake) ProtoMessage() {} 1066 1067 func (x *PartyStake) ProtoReflect() protoreflect.Message { 1068 mi := &file_vega_api_v1_corestate_proto_msgTypes[21] 1069 if protoimpl.UnsafeEnabled && x != nil { 1070 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1071 if ms.LoadMessageInfo() == nil { 1072 ms.StoreMessageInfo(mi) 1073 } 1074 return ms 1075 } 1076 return mi.MessageOf(x) 1077 } 1078 1079 // Deprecated: Use PartyStake.ProtoReflect.Descriptor instead. 1080 func (*PartyStake) Descriptor() ([]byte, []int) { 1081 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{21} 1082 } 1083 1084 func (x *PartyStake) GetParty() string { 1085 if x != nil { 1086 return x.Party 1087 } 1088 return "" 1089 } 1090 1091 func (x *PartyStake) GetCurrentStakeAvailable() string { 1092 if x != nil { 1093 return x.CurrentStakeAvailable 1094 } 1095 return "" 1096 } 1097 1098 func (x *PartyStake) GetStakeLinkings() []*v1.StakeLinking { 1099 if x != nil { 1100 return x.StakeLinkings 1101 } 1102 return nil 1103 } 1104 1105 type ListPartiesStakeRequest struct { 1106 state protoimpl.MessageState 1107 sizeCache protoimpl.SizeCache 1108 unknownFields protoimpl.UnknownFields 1109 1110 Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` 1111 } 1112 1113 func (x *ListPartiesStakeRequest) Reset() { 1114 *x = ListPartiesStakeRequest{} 1115 if protoimpl.UnsafeEnabled { 1116 mi := &file_vega_api_v1_corestate_proto_msgTypes[22] 1117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1118 ms.StoreMessageInfo(mi) 1119 } 1120 } 1121 1122 func (x *ListPartiesStakeRequest) String() string { 1123 return protoimpl.X.MessageStringOf(x) 1124 } 1125 1126 func (*ListPartiesStakeRequest) ProtoMessage() {} 1127 1128 func (x *ListPartiesStakeRequest) ProtoReflect() protoreflect.Message { 1129 mi := &file_vega_api_v1_corestate_proto_msgTypes[22] 1130 if protoimpl.UnsafeEnabled && x != nil { 1131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1132 if ms.LoadMessageInfo() == nil { 1133 ms.StoreMessageInfo(mi) 1134 } 1135 return ms 1136 } 1137 return mi.MessageOf(x) 1138 } 1139 1140 // Deprecated: Use ListPartiesStakeRequest.ProtoReflect.Descriptor instead. 1141 func (*ListPartiesStakeRequest) Descriptor() ([]byte, []int) { 1142 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{22} 1143 } 1144 1145 func (x *ListPartiesStakeRequest) GetParty() string { 1146 if x != nil { 1147 return x.Party 1148 } 1149 return "" 1150 } 1151 1152 type ListPartiesStakeResponse struct { 1153 state protoimpl.MessageState 1154 sizeCache protoimpl.SizeCache 1155 unknownFields protoimpl.UnknownFields 1156 1157 PartiesStake []*PartyStake `protobuf:"bytes,1,rep,name=parties_stake,json=partiesStake,proto3" json:"parties_stake,omitempty"` 1158 } 1159 1160 func (x *ListPartiesStakeResponse) Reset() { 1161 *x = ListPartiesStakeResponse{} 1162 if protoimpl.UnsafeEnabled { 1163 mi := &file_vega_api_v1_corestate_proto_msgTypes[23] 1164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1165 ms.StoreMessageInfo(mi) 1166 } 1167 } 1168 1169 func (x *ListPartiesStakeResponse) String() string { 1170 return protoimpl.X.MessageStringOf(x) 1171 } 1172 1173 func (*ListPartiesStakeResponse) ProtoMessage() {} 1174 1175 func (x *ListPartiesStakeResponse) ProtoReflect() protoreflect.Message { 1176 mi := &file_vega_api_v1_corestate_proto_msgTypes[23] 1177 if protoimpl.UnsafeEnabled && x != nil { 1178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1179 if ms.LoadMessageInfo() == nil { 1180 ms.StoreMessageInfo(mi) 1181 } 1182 return ms 1183 } 1184 return mi.MessageOf(x) 1185 } 1186 1187 // Deprecated: Use ListPartiesStakeResponse.ProtoReflect.Descriptor instead. 1188 func (*ListPartiesStakeResponse) Descriptor() ([]byte, []int) { 1189 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{23} 1190 } 1191 1192 func (x *ListPartiesStakeResponse) GetPartiesStake() []*PartyStake { 1193 if x != nil { 1194 return x.PartiesStake 1195 } 1196 return nil 1197 } 1198 1199 type ListDelegationsRequest struct { 1200 state protoimpl.MessageState 1201 sizeCache protoimpl.SizeCache 1202 unknownFields protoimpl.UnknownFields 1203 1204 Party string `protobuf:"bytes,1,opt,name=party,proto3" json:"party,omitempty"` 1205 Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` 1206 EpochSeq string `protobuf:"bytes,3,opt,name=epoch_seq,json=epochSeq,proto3" json:"epoch_seq,omitempty"` 1207 } 1208 1209 func (x *ListDelegationsRequest) Reset() { 1210 *x = ListDelegationsRequest{} 1211 if protoimpl.UnsafeEnabled { 1212 mi := &file_vega_api_v1_corestate_proto_msgTypes[24] 1213 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1214 ms.StoreMessageInfo(mi) 1215 } 1216 } 1217 1218 func (x *ListDelegationsRequest) String() string { 1219 return protoimpl.X.MessageStringOf(x) 1220 } 1221 1222 func (*ListDelegationsRequest) ProtoMessage() {} 1223 1224 func (x *ListDelegationsRequest) ProtoReflect() protoreflect.Message { 1225 mi := &file_vega_api_v1_corestate_proto_msgTypes[24] 1226 if protoimpl.UnsafeEnabled && x != nil { 1227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1228 if ms.LoadMessageInfo() == nil { 1229 ms.StoreMessageInfo(mi) 1230 } 1231 return ms 1232 } 1233 return mi.MessageOf(x) 1234 } 1235 1236 // Deprecated: Use ListDelegationsRequest.ProtoReflect.Descriptor instead. 1237 func (*ListDelegationsRequest) Descriptor() ([]byte, []int) { 1238 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{24} 1239 } 1240 1241 func (x *ListDelegationsRequest) GetParty() string { 1242 if x != nil { 1243 return x.Party 1244 } 1245 return "" 1246 } 1247 1248 func (x *ListDelegationsRequest) GetNode() string { 1249 if x != nil { 1250 return x.Node 1251 } 1252 return "" 1253 } 1254 1255 func (x *ListDelegationsRequest) GetEpochSeq() string { 1256 if x != nil { 1257 return x.EpochSeq 1258 } 1259 return "" 1260 } 1261 1262 type ListDelegationsResponse struct { 1263 state protoimpl.MessageState 1264 sizeCache protoimpl.SizeCache 1265 unknownFields protoimpl.UnknownFields 1266 1267 Delegations []*vega.Delegation `protobuf:"bytes,1,rep,name=delegations,proto3" json:"delegations,omitempty"` 1268 } 1269 1270 func (x *ListDelegationsResponse) Reset() { 1271 *x = ListDelegationsResponse{} 1272 if protoimpl.UnsafeEnabled { 1273 mi := &file_vega_api_v1_corestate_proto_msgTypes[25] 1274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1275 ms.StoreMessageInfo(mi) 1276 } 1277 } 1278 1279 func (x *ListDelegationsResponse) String() string { 1280 return protoimpl.X.MessageStringOf(x) 1281 } 1282 1283 func (*ListDelegationsResponse) ProtoMessage() {} 1284 1285 func (x *ListDelegationsResponse) ProtoReflect() protoreflect.Message { 1286 mi := &file_vega_api_v1_corestate_proto_msgTypes[25] 1287 if protoimpl.UnsafeEnabled && x != nil { 1288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1289 if ms.LoadMessageInfo() == nil { 1290 ms.StoreMessageInfo(mi) 1291 } 1292 return ms 1293 } 1294 return mi.MessageOf(x) 1295 } 1296 1297 // Deprecated: Use ListDelegationsResponse.ProtoReflect.Descriptor instead. 1298 func (*ListDelegationsResponse) Descriptor() ([]byte, []int) { 1299 return file_vega_api_v1_corestate_proto_rawDescGZIP(), []int{25} 1300 } 1301 1302 func (x *ListDelegationsResponse) GetDelegations() []*vega.Delegation { 1303 if x != nil { 1304 return x.Delegations 1305 } 1306 return nil 1307 } 1308 1309 var File_vega_api_v1_corestate_proto protoreflect.FileDescriptor 1310 1311 var file_vega_api_v1_corestate_proto_rawDesc = []byte{ 1312 0x0a, 0x1b, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 1313 0x72, 0x65, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x76, 1314 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1315 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 1316 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 1317 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x76, 0x65, 0x67, 0x61, 1318 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x76, 1319 0x65, 0x67, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 1320 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x76, 0x65, 0x67, 0x61, 1321 0x2f, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1322 0x6f, 0x1a, 0x12, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x2e, 1323 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x76, 0x65, 0x67, 0x61, 1324 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1325 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1326 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 1327 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 1328 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 1329 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 1330 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 1331 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 1332 0x79, 0x70, 0x65, 0x22, 0x43, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 1333 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 1334 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 1335 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1336 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x48, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 1337 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1338 0x12, 0x30, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 1339 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 1340 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1341 0x74, 0x73, 0x22, 0x29, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 1342 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 1343 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x22, 0x39, 0x0a, 1344 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 1345 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 1346 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 1347 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, 0x52, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 1348 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 1349 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x65, 0x74, 0x77, 1350 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 1351 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 1352 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x22, 0x66, 0x0a, 0x1d, 1353 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 1354 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 1355 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 1356 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x65, 0x67, 0x61, 1357 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 1358 0x72, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 1359 0x74, 0x65, 0x72, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 1360 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1361 0x22, 0x57, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 1362 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 1363 0x0e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 1364 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4e, 0x65, 0x74, 1365 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x77, 1366 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 1367 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 1368 0x3c, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 1369 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 1370 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x50, 1371 0x61, 0x72, 0x74, 0x79, 0x52, 0x07, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x17, 0x0a, 1372 0x15, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 1373 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x59, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 1374 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1375 0x12, 0x3f, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 1376 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x65, 0x76, 0x65, 0x6e, 1377 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 1378 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 1379 0x73, 0x22, 0x2c, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 1380 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 1381 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 1382 0x3d, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 1383 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 1384 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x4d, 1385 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x22, 0x4e, 1386 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 1387 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 1388 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 1389 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02, 1390 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x22, 0x45, 1391 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 1392 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 1393 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x76, 0x65, 0x67, 1394 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 1395 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0x30, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 1396 0x6b, 0x65, 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1397 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1398 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x4e, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 1399 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1400 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x5f, 0x64, 0x61, 1401 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1402 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x6d, 0x61, 0x72, 0x6b, 1403 0x65, 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x22, 0x44, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x56, 1404 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 1405 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 1406 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 1407 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x22, 0x35, 0x0a, 1408 0x11, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1409 0x73, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 1410 0x0b, 0x32, 0x0a, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 1411 0x6f, 0x74, 0x65, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x74, 1412 0x61, 0x6b, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 1413 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x17, 0x63, 0x75, 0x72, 1414 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 1415 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x63, 0x75, 0x72, 0x72, 1416 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 1417 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x69, 1418 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x76, 0x65, 0x67, 0x61, 1419 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x6b, 0x65, 1420 0x4c, 0x69, 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x6b, 0x65, 0x4c, 0x69, 1421 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x2f, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 1422 0x72, 0x74, 0x69, 0x65, 0x73, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1423 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1424 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 0x79, 0x22, 0x58, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 1425 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 1426 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x73, 1427 0x74, 0x61, 0x6b, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x65, 0x67, 1428 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x79, 0x53, 0x74, 1429 0x61, 0x6b, 0x65, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x53, 0x74, 0x61, 0x6b, 1430 0x65, 0x22, 0x5f, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 1431 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 1432 0x61, 0x72, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x74, 1433 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1434 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x73, 1435 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x53, 1436 0x65, 0x71, 0x22, 0x4d, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 1437 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 1438 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 1439 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 1440 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1441 0x73, 0x32, 0xca, 0x08, 0x0a, 0x10, 0x43, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 1442 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 1443 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 1444 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 1445 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1446 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 1447 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 1448 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 1449 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 1450 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x76, 0x65, 0x67, 0x61, 1451 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x65, 1452 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x15, 0x4c, 0x69, 1453 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 1454 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 1455 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 1456 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 1457 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 1458 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 1459 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 1460 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 1461 0x25, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 1462 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 1463 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 1464 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 1465 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 1466 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1f, 0x2e, 1467 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 1468 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 1469 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 1470 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1471 0x12, 0x59, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 1472 0x72, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 1473 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 1474 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 1475 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 1476 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x4c, 1477 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x65, 0x67, 1478 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 1479 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x65, 1480 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 1481 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 1482 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x21, 1483 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 1484 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1485 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 1486 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 1487 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 1488 0x6b, 0x65, 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1489 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 1490 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 1491 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 1492 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 1493 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 1494 0x12, 0x1d, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 1495 0x69, 0x73, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1496 0x1e, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 1497 0x73, 0x74, 0x56, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1498 0x5f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x53, 0x74, 1499 0x61, 0x6b, 0x65, 0x12, 0x24, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 1500 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 0x69, 0x65, 0x73, 0x53, 0x74, 0x61, 1501 0x6b, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x76, 0x65, 0x67, 0x61, 1502 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x72, 0x74, 1503 0x69, 0x65, 0x73, 0x53, 0x74, 0x61, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 1504 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 1505 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 1506 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1507 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x2e, 1508 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 1509 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6b, 1510 0x5a, 0x2c, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x76, 0x65, 0x67, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1511 0x63, 0x6f, 0x6c, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 1512 0x6f, 0x73, 0x2f, 0x76, 0x65, 0x67, 0x61, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x92, 0x41, 1513 0x3a, 0x12, 0x1f, 0x0a, 0x14, 0x56, 0x65, 0x67, 0x61, 0x20, 0x63, 0x6f, 0x72, 0x65, 0x20, 0x73, 1514 0x74, 0x61, 0x74, 0x65, 0x20, 0x41, 0x50, 0x49, 0x73, 0x32, 0x07, 0x76, 0x30, 0x2e, 0x37, 0x39, 1515 0x2e, 0x30, 0x1a, 0x13, 0x6c, 0x62, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x2e, 0x76, 1516 0x65, 0x67, 0x61, 0x2e, 0x78, 0x79, 0x7a, 0x2a, 0x02, 0x01, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 1517 0x74, 0x6f, 0x33, 1518 } 1519 1520 var ( 1521 file_vega_api_v1_corestate_proto_rawDescOnce sync.Once 1522 file_vega_api_v1_corestate_proto_rawDescData = file_vega_api_v1_corestate_proto_rawDesc 1523 ) 1524 1525 func file_vega_api_v1_corestate_proto_rawDescGZIP() []byte { 1526 file_vega_api_v1_corestate_proto_rawDescOnce.Do(func() { 1527 file_vega_api_v1_corestate_proto_rawDescData = protoimpl.X.CompressGZIP(file_vega_api_v1_corestate_proto_rawDescData) 1528 }) 1529 return file_vega_api_v1_corestate_proto_rawDescData 1530 } 1531 1532 var file_vega_api_v1_corestate_proto_msgTypes = make([]protoimpl.MessageInfo, 26) 1533 var file_vega_api_v1_corestate_proto_goTypes = []interface{}{ 1534 (*Account)(nil), // 0: vega.api.v1.Account 1535 (*ListAccountsRequest)(nil), // 1: vega.api.v1.ListAccountsRequest 1536 (*ListAccountsResponse)(nil), // 2: vega.api.v1.ListAccountsResponse 1537 (*ListAssetsRequest)(nil), // 3: vega.api.v1.ListAssetsRequest 1538 (*ListAssetsResponse)(nil), // 4: vega.api.v1.ListAssetsResponse 1539 (*ListNetworkParametersRequest)(nil), // 5: vega.api.v1.ListNetworkParametersRequest 1540 (*ListNetworkParametersResponse)(nil), // 6: vega.api.v1.ListNetworkParametersResponse 1541 (*ListNetworkLimitsRequest)(nil), // 7: vega.api.v1.ListNetworkLimitsRequest 1542 (*ListNetworkLimitsResponse)(nil), // 8: vega.api.v1.ListNetworkLimitsResponse 1543 (*ListPartiesRequest)(nil), // 9: vega.api.v1.ListPartiesRequest 1544 (*ListPartiesResponse)(nil), // 10: vega.api.v1.ListPartiesResponse 1545 (*ListValidatorsRequest)(nil), // 11: vega.api.v1.ListValidatorsRequest 1546 (*ListValidatorsResponse)(nil), // 12: vega.api.v1.ListValidatorsResponse 1547 (*ListMarketsRequest)(nil), // 13: vega.api.v1.ListMarketsRequest 1548 (*ListMarketsResponse)(nil), // 14: vega.api.v1.ListMarketsResponse 1549 (*ListProposalsRequest)(nil), // 15: vega.api.v1.ListProposalsRequest 1550 (*ListProposalsResponse)(nil), // 16: vega.api.v1.ListProposalsResponse 1551 (*ListMarketsDataRequest)(nil), // 17: vega.api.v1.ListMarketsDataRequest 1552 (*ListMarketsDataResponse)(nil), // 18: vega.api.v1.ListMarketsDataResponse 1553 (*ListVotesRequest)(nil), // 19: vega.api.v1.ListVotesRequest 1554 (*ListVotesResponse)(nil), // 20: vega.api.v1.ListVotesResponse 1555 (*PartyStake)(nil), // 21: vega.api.v1.PartyStake 1556 (*ListPartiesStakeRequest)(nil), // 22: vega.api.v1.ListPartiesStakeRequest 1557 (*ListPartiesStakeResponse)(nil), // 23: vega.api.v1.ListPartiesStakeResponse 1558 (*ListDelegationsRequest)(nil), // 24: vega.api.v1.ListDelegationsRequest 1559 (*ListDelegationsResponse)(nil), // 25: vega.api.v1.ListDelegationsResponse 1560 (*vega.Asset)(nil), // 26: vega.Asset 1561 (*vega.NetworkParameter)(nil), // 27: vega.NetworkParameter 1562 (*vega.NetworkLimits)(nil), // 28: vega.NetworkLimits 1563 (*vega.Party)(nil), // 29: vega.Party 1564 (*v1.ValidatorUpdate)(nil), // 30: vega.events.v1.ValidatorUpdate 1565 (*vega.Market)(nil), // 31: vega.Market 1566 (*vega.Proposal)(nil), // 32: vega.Proposal 1567 (*vega.MarketData)(nil), // 33: vega.MarketData 1568 (*vega.Vote)(nil), // 34: vega.Vote 1569 (*v1.StakeLinking)(nil), // 35: vega.events.v1.StakeLinking 1570 (*vega.Delegation)(nil), // 36: vega.Delegation 1571 } 1572 var file_vega_api_v1_corestate_proto_depIdxs = []int32{ 1573 0, // 0: vega.api.v1.ListAccountsResponse.accounts:type_name -> vega.api.v1.Account 1574 26, // 1: vega.api.v1.ListAssetsResponse.assets:type_name -> vega.Asset 1575 27, // 2: vega.api.v1.ListNetworkParametersResponse.network_parameters:type_name -> vega.NetworkParameter 1576 28, // 3: vega.api.v1.ListNetworkLimitsResponse.network_limits:type_name -> vega.NetworkLimits 1577 29, // 4: vega.api.v1.ListPartiesResponse.parties:type_name -> vega.Party 1578 30, // 5: vega.api.v1.ListValidatorsResponse.validators:type_name -> vega.events.v1.ValidatorUpdate 1579 31, // 6: vega.api.v1.ListMarketsResponse.markets:type_name -> vega.Market 1580 32, // 7: vega.api.v1.ListProposalsResponse.proposals:type_name -> vega.Proposal 1581 33, // 8: vega.api.v1.ListMarketsDataResponse.markets_data:type_name -> vega.MarketData 1582 34, // 9: vega.api.v1.ListVotesResponse.votes:type_name -> vega.Vote 1583 35, // 10: vega.api.v1.PartyStake.stake_linkings:type_name -> vega.events.v1.StakeLinking 1584 21, // 11: vega.api.v1.ListPartiesStakeResponse.parties_stake:type_name -> vega.api.v1.PartyStake 1585 36, // 12: vega.api.v1.ListDelegationsResponse.delegations:type_name -> vega.Delegation 1586 1, // 13: vega.api.v1.CoreStateService.ListAccounts:input_type -> vega.api.v1.ListAccountsRequest 1587 3, // 14: vega.api.v1.CoreStateService.ListAssets:input_type -> vega.api.v1.ListAssetsRequest 1588 5, // 15: vega.api.v1.CoreStateService.ListNetworkParameters:input_type -> vega.api.v1.ListNetworkParametersRequest 1589 7, // 16: vega.api.v1.CoreStateService.ListNetworkLimits:input_type -> vega.api.v1.ListNetworkLimitsRequest 1590 9, // 17: vega.api.v1.CoreStateService.ListParties:input_type -> vega.api.v1.ListPartiesRequest 1591 11, // 18: vega.api.v1.CoreStateService.ListValidators:input_type -> vega.api.v1.ListValidatorsRequest 1592 13, // 19: vega.api.v1.CoreStateService.ListMarkets:input_type -> vega.api.v1.ListMarketsRequest 1593 15, // 20: vega.api.v1.CoreStateService.ListProposals:input_type -> vega.api.v1.ListProposalsRequest 1594 17, // 21: vega.api.v1.CoreStateService.ListMarketsData:input_type -> vega.api.v1.ListMarketsDataRequest 1595 19, // 22: vega.api.v1.CoreStateService.ListVotes:input_type -> vega.api.v1.ListVotesRequest 1596 22, // 23: vega.api.v1.CoreStateService.ListPartiesStake:input_type -> vega.api.v1.ListPartiesStakeRequest 1597 24, // 24: vega.api.v1.CoreStateService.ListDelegations:input_type -> vega.api.v1.ListDelegationsRequest 1598 2, // 25: vega.api.v1.CoreStateService.ListAccounts:output_type -> vega.api.v1.ListAccountsResponse 1599 4, // 26: vega.api.v1.CoreStateService.ListAssets:output_type -> vega.api.v1.ListAssetsResponse 1600 6, // 27: vega.api.v1.CoreStateService.ListNetworkParameters:output_type -> vega.api.v1.ListNetworkParametersResponse 1601 8, // 28: vega.api.v1.CoreStateService.ListNetworkLimits:output_type -> vega.api.v1.ListNetworkLimitsResponse 1602 10, // 29: vega.api.v1.CoreStateService.ListParties:output_type -> vega.api.v1.ListPartiesResponse 1603 12, // 30: vega.api.v1.CoreStateService.ListValidators:output_type -> vega.api.v1.ListValidatorsResponse 1604 14, // 31: vega.api.v1.CoreStateService.ListMarkets:output_type -> vega.api.v1.ListMarketsResponse 1605 16, // 32: vega.api.v1.CoreStateService.ListProposals:output_type -> vega.api.v1.ListProposalsResponse 1606 18, // 33: vega.api.v1.CoreStateService.ListMarketsData:output_type -> vega.api.v1.ListMarketsDataResponse 1607 20, // 34: vega.api.v1.CoreStateService.ListVotes:output_type -> vega.api.v1.ListVotesResponse 1608 23, // 35: vega.api.v1.CoreStateService.ListPartiesStake:output_type -> vega.api.v1.ListPartiesStakeResponse 1609 25, // 36: vega.api.v1.CoreStateService.ListDelegations:output_type -> vega.api.v1.ListDelegationsResponse 1610 25, // [25:37] is the sub-list for method output_type 1611 13, // [13:25] is the sub-list for method input_type 1612 13, // [13:13] is the sub-list for extension type_name 1613 13, // [13:13] is the sub-list for extension extendee 1614 0, // [0:13] is the sub-list for field type_name 1615 } 1616 1617 func init() { file_vega_api_v1_corestate_proto_init() } 1618 func file_vega_api_v1_corestate_proto_init() { 1619 if File_vega_api_v1_corestate_proto != nil { 1620 return 1621 } 1622 if !protoimpl.UnsafeEnabled { 1623 file_vega_api_v1_corestate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1624 switch v := v.(*Account); i { 1625 case 0: 1626 return &v.state 1627 case 1: 1628 return &v.sizeCache 1629 case 2: 1630 return &v.unknownFields 1631 default: 1632 return nil 1633 } 1634 } 1635 file_vega_api_v1_corestate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1636 switch v := v.(*ListAccountsRequest); i { 1637 case 0: 1638 return &v.state 1639 case 1: 1640 return &v.sizeCache 1641 case 2: 1642 return &v.unknownFields 1643 default: 1644 return nil 1645 } 1646 } 1647 file_vega_api_v1_corestate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1648 switch v := v.(*ListAccountsResponse); i { 1649 case 0: 1650 return &v.state 1651 case 1: 1652 return &v.sizeCache 1653 case 2: 1654 return &v.unknownFields 1655 default: 1656 return nil 1657 } 1658 } 1659 file_vega_api_v1_corestate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1660 switch v := v.(*ListAssetsRequest); i { 1661 case 0: 1662 return &v.state 1663 case 1: 1664 return &v.sizeCache 1665 case 2: 1666 return &v.unknownFields 1667 default: 1668 return nil 1669 } 1670 } 1671 file_vega_api_v1_corestate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1672 switch v := v.(*ListAssetsResponse); i { 1673 case 0: 1674 return &v.state 1675 case 1: 1676 return &v.sizeCache 1677 case 2: 1678 return &v.unknownFields 1679 default: 1680 return nil 1681 } 1682 } 1683 file_vega_api_v1_corestate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1684 switch v := v.(*ListNetworkParametersRequest); i { 1685 case 0: 1686 return &v.state 1687 case 1: 1688 return &v.sizeCache 1689 case 2: 1690 return &v.unknownFields 1691 default: 1692 return nil 1693 } 1694 } 1695 file_vega_api_v1_corestate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1696 switch v := v.(*ListNetworkParametersResponse); i { 1697 case 0: 1698 return &v.state 1699 case 1: 1700 return &v.sizeCache 1701 case 2: 1702 return &v.unknownFields 1703 default: 1704 return nil 1705 } 1706 } 1707 file_vega_api_v1_corestate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1708 switch v := v.(*ListNetworkLimitsRequest); i { 1709 case 0: 1710 return &v.state 1711 case 1: 1712 return &v.sizeCache 1713 case 2: 1714 return &v.unknownFields 1715 default: 1716 return nil 1717 } 1718 } 1719 file_vega_api_v1_corestate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1720 switch v := v.(*ListNetworkLimitsResponse); i { 1721 case 0: 1722 return &v.state 1723 case 1: 1724 return &v.sizeCache 1725 case 2: 1726 return &v.unknownFields 1727 default: 1728 return nil 1729 } 1730 } 1731 file_vega_api_v1_corestate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1732 switch v := v.(*ListPartiesRequest); i { 1733 case 0: 1734 return &v.state 1735 case 1: 1736 return &v.sizeCache 1737 case 2: 1738 return &v.unknownFields 1739 default: 1740 return nil 1741 } 1742 } 1743 file_vega_api_v1_corestate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1744 switch v := v.(*ListPartiesResponse); i { 1745 case 0: 1746 return &v.state 1747 case 1: 1748 return &v.sizeCache 1749 case 2: 1750 return &v.unknownFields 1751 default: 1752 return nil 1753 } 1754 } 1755 file_vega_api_v1_corestate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1756 switch v := v.(*ListValidatorsRequest); i { 1757 case 0: 1758 return &v.state 1759 case 1: 1760 return &v.sizeCache 1761 case 2: 1762 return &v.unknownFields 1763 default: 1764 return nil 1765 } 1766 } 1767 file_vega_api_v1_corestate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1768 switch v := v.(*ListValidatorsResponse); i { 1769 case 0: 1770 return &v.state 1771 case 1: 1772 return &v.sizeCache 1773 case 2: 1774 return &v.unknownFields 1775 default: 1776 return nil 1777 } 1778 } 1779 file_vega_api_v1_corestate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1780 switch v := v.(*ListMarketsRequest); i { 1781 case 0: 1782 return &v.state 1783 case 1: 1784 return &v.sizeCache 1785 case 2: 1786 return &v.unknownFields 1787 default: 1788 return nil 1789 } 1790 } 1791 file_vega_api_v1_corestate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1792 switch v := v.(*ListMarketsResponse); i { 1793 case 0: 1794 return &v.state 1795 case 1: 1796 return &v.sizeCache 1797 case 2: 1798 return &v.unknownFields 1799 default: 1800 return nil 1801 } 1802 } 1803 file_vega_api_v1_corestate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1804 switch v := v.(*ListProposalsRequest); i { 1805 case 0: 1806 return &v.state 1807 case 1: 1808 return &v.sizeCache 1809 case 2: 1810 return &v.unknownFields 1811 default: 1812 return nil 1813 } 1814 } 1815 file_vega_api_v1_corestate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1816 switch v := v.(*ListProposalsResponse); i { 1817 case 0: 1818 return &v.state 1819 case 1: 1820 return &v.sizeCache 1821 case 2: 1822 return &v.unknownFields 1823 default: 1824 return nil 1825 } 1826 } 1827 file_vega_api_v1_corestate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1828 switch v := v.(*ListMarketsDataRequest); i { 1829 case 0: 1830 return &v.state 1831 case 1: 1832 return &v.sizeCache 1833 case 2: 1834 return &v.unknownFields 1835 default: 1836 return nil 1837 } 1838 } 1839 file_vega_api_v1_corestate_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 1840 switch v := v.(*ListMarketsDataResponse); i { 1841 case 0: 1842 return &v.state 1843 case 1: 1844 return &v.sizeCache 1845 case 2: 1846 return &v.unknownFields 1847 default: 1848 return nil 1849 } 1850 } 1851 file_vega_api_v1_corestate_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 1852 switch v := v.(*ListVotesRequest); i { 1853 case 0: 1854 return &v.state 1855 case 1: 1856 return &v.sizeCache 1857 case 2: 1858 return &v.unknownFields 1859 default: 1860 return nil 1861 } 1862 } 1863 file_vega_api_v1_corestate_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 1864 switch v := v.(*ListVotesResponse); i { 1865 case 0: 1866 return &v.state 1867 case 1: 1868 return &v.sizeCache 1869 case 2: 1870 return &v.unknownFields 1871 default: 1872 return nil 1873 } 1874 } 1875 file_vega_api_v1_corestate_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 1876 switch v := v.(*PartyStake); i { 1877 case 0: 1878 return &v.state 1879 case 1: 1880 return &v.sizeCache 1881 case 2: 1882 return &v.unknownFields 1883 default: 1884 return nil 1885 } 1886 } 1887 file_vega_api_v1_corestate_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 1888 switch v := v.(*ListPartiesStakeRequest); i { 1889 case 0: 1890 return &v.state 1891 case 1: 1892 return &v.sizeCache 1893 case 2: 1894 return &v.unknownFields 1895 default: 1896 return nil 1897 } 1898 } 1899 file_vega_api_v1_corestate_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 1900 switch v := v.(*ListPartiesStakeResponse); i { 1901 case 0: 1902 return &v.state 1903 case 1: 1904 return &v.sizeCache 1905 case 2: 1906 return &v.unknownFields 1907 default: 1908 return nil 1909 } 1910 } 1911 file_vega_api_v1_corestate_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 1912 switch v := v.(*ListDelegationsRequest); i { 1913 case 0: 1914 return &v.state 1915 case 1: 1916 return &v.sizeCache 1917 case 2: 1918 return &v.unknownFields 1919 default: 1920 return nil 1921 } 1922 } 1923 file_vega_api_v1_corestate_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 1924 switch v := v.(*ListDelegationsResponse); i { 1925 case 0: 1926 return &v.state 1927 case 1: 1928 return &v.sizeCache 1929 case 2: 1930 return &v.unknownFields 1931 default: 1932 return nil 1933 } 1934 } 1935 } 1936 type x struct{} 1937 out := protoimpl.TypeBuilder{ 1938 File: protoimpl.DescBuilder{ 1939 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1940 RawDescriptor: file_vega_api_v1_corestate_proto_rawDesc, 1941 NumEnums: 0, 1942 NumMessages: 26, 1943 NumExtensions: 0, 1944 NumServices: 1, 1945 }, 1946 GoTypes: file_vega_api_v1_corestate_proto_goTypes, 1947 DependencyIndexes: file_vega_api_v1_corestate_proto_depIdxs, 1948 MessageInfos: file_vega_api_v1_corestate_proto_msgTypes, 1949 }.Build() 1950 File_vega_api_v1_corestate_proto = out.File 1951 file_vega_api_v1_corestate_proto_rawDesc = nil 1952 file_vega_api_v1_corestate_proto_goTypes = nil 1953 file_vega_api_v1_corestate_proto_depIdxs = nil 1954 }