github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/accounts_rpc/pb/goadesign_goagen_injective_accounts_rpc.pb.go (about) 1 // Code generated with goa v3.7.0, DO NOT EDIT. 2 // 3 // InjectiveAccountsRPC protocol buffer definition 4 // 5 // Command: 6 // $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../ 7 8 // Code generated by protoc-gen-go. DO NOT EDIT. 9 // versions: 10 // protoc-gen-go v1.30.0 11 // protoc v3.19.4 12 // source: goadesign_goagen_injective_accounts_rpc.proto 13 14 package injective_accounts_rpcpb 15 16 import ( 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 type PortfolioRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // Account address 36 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 37 } 38 39 func (x *PortfolioRequest) Reset() { 40 *x = PortfolioRequest{} 41 if protoimpl.UnsafeEnabled { 42 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[0] 43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 44 ms.StoreMessageInfo(mi) 45 } 46 } 47 48 func (x *PortfolioRequest) String() string { 49 return protoimpl.X.MessageStringOf(x) 50 } 51 52 func (*PortfolioRequest) ProtoMessage() {} 53 54 func (x *PortfolioRequest) ProtoReflect() protoreflect.Message { 55 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[0] 56 if protoimpl.UnsafeEnabled && x != nil { 57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 58 if ms.LoadMessageInfo() == nil { 59 ms.StoreMessageInfo(mi) 60 } 61 return ms 62 } 63 return mi.MessageOf(x) 64 } 65 66 // Deprecated: Use PortfolioRequest.ProtoReflect.Descriptor instead. 67 func (*PortfolioRequest) Descriptor() ([]byte, []int) { 68 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{0} 69 } 70 71 func (x *PortfolioRequest) GetAccountAddress() string { 72 if x != nil { 73 return x.AccountAddress 74 } 75 return "" 76 } 77 78 type PortfolioResponse struct { 79 state protoimpl.MessageState 80 sizeCache protoimpl.SizeCache 81 unknownFields protoimpl.UnknownFields 82 83 // The portfolio of this account 84 Portfolio *AccountPortfolio `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"` 85 } 86 87 func (x *PortfolioResponse) Reset() { 88 *x = PortfolioResponse{} 89 if protoimpl.UnsafeEnabled { 90 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[1] 91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 92 ms.StoreMessageInfo(mi) 93 } 94 } 95 96 func (x *PortfolioResponse) String() string { 97 return protoimpl.X.MessageStringOf(x) 98 } 99 100 func (*PortfolioResponse) ProtoMessage() {} 101 102 func (x *PortfolioResponse) ProtoReflect() protoreflect.Message { 103 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[1] 104 if protoimpl.UnsafeEnabled && x != nil { 105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 106 if ms.LoadMessageInfo() == nil { 107 ms.StoreMessageInfo(mi) 108 } 109 return ms 110 } 111 return mi.MessageOf(x) 112 } 113 114 // Deprecated: Use PortfolioResponse.ProtoReflect.Descriptor instead. 115 func (*PortfolioResponse) Descriptor() ([]byte, []int) { 116 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{1} 117 } 118 119 func (x *PortfolioResponse) GetPortfolio() *AccountPortfolio { 120 if x != nil { 121 return x.Portfolio 122 } 123 return nil 124 } 125 126 type AccountPortfolio struct { 127 state protoimpl.MessageState 128 sizeCache protoimpl.SizeCache 129 unknownFields protoimpl.UnknownFields 130 131 // The account's portfolio value in USD. 132 PortfolioValue string `protobuf:"bytes,1,opt,name=portfolio_value,json=portfolioValue,proto3" json:"portfolio_value,omitempty"` 133 // The account's available balance value in USD. 134 AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` 135 // The account's locked balance value in USD. 136 LockedBalance string `protobuf:"bytes,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"` 137 // The account's total unrealized PnL value in USD. 138 UnrealizedPnl string `protobuf:"bytes,4,opt,name=unrealized_pnl,json=unrealizedPnl,proto3" json:"unrealized_pnl,omitempty"` 139 // List of all subaccounts' portfolio 140 Subaccounts []*SubaccountPortfolio `protobuf:"bytes,5,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"` 141 } 142 143 func (x *AccountPortfolio) Reset() { 144 *x = AccountPortfolio{} 145 if protoimpl.UnsafeEnabled { 146 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[2] 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 ms.StoreMessageInfo(mi) 149 } 150 } 151 152 func (x *AccountPortfolio) String() string { 153 return protoimpl.X.MessageStringOf(x) 154 } 155 156 func (*AccountPortfolio) ProtoMessage() {} 157 158 func (x *AccountPortfolio) ProtoReflect() protoreflect.Message { 159 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[2] 160 if protoimpl.UnsafeEnabled && x != nil { 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 if ms.LoadMessageInfo() == nil { 163 ms.StoreMessageInfo(mi) 164 } 165 return ms 166 } 167 return mi.MessageOf(x) 168 } 169 170 // Deprecated: Use AccountPortfolio.ProtoReflect.Descriptor instead. 171 func (*AccountPortfolio) Descriptor() ([]byte, []int) { 172 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{2} 173 } 174 175 func (x *AccountPortfolio) GetPortfolioValue() string { 176 if x != nil { 177 return x.PortfolioValue 178 } 179 return "" 180 } 181 182 func (x *AccountPortfolio) GetAvailableBalance() string { 183 if x != nil { 184 return x.AvailableBalance 185 } 186 return "" 187 } 188 189 func (x *AccountPortfolio) GetLockedBalance() string { 190 if x != nil { 191 return x.LockedBalance 192 } 193 return "" 194 } 195 196 func (x *AccountPortfolio) GetUnrealizedPnl() string { 197 if x != nil { 198 return x.UnrealizedPnl 199 } 200 return "" 201 } 202 203 func (x *AccountPortfolio) GetSubaccounts() []*SubaccountPortfolio { 204 if x != nil { 205 return x.Subaccounts 206 } 207 return nil 208 } 209 210 type SubaccountPortfolio struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 215 // The ID of this subaccount 216 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 217 // The subaccount's available balance value in USD. 218 AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` 219 // The subaccount's locked balance value in USD. 220 LockedBalance string `protobuf:"bytes,3,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"` 221 // The subaccount's total unrealized PnL value in USD. 222 UnrealizedPnl string `protobuf:"bytes,4,opt,name=unrealized_pnl,json=unrealizedPnl,proto3" json:"unrealized_pnl,omitempty"` 223 } 224 225 func (x *SubaccountPortfolio) Reset() { 226 *x = SubaccountPortfolio{} 227 if protoimpl.UnsafeEnabled { 228 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[3] 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 ms.StoreMessageInfo(mi) 231 } 232 } 233 234 func (x *SubaccountPortfolio) String() string { 235 return protoimpl.X.MessageStringOf(x) 236 } 237 238 func (*SubaccountPortfolio) ProtoMessage() {} 239 240 func (x *SubaccountPortfolio) ProtoReflect() protoreflect.Message { 241 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[3] 242 if protoimpl.UnsafeEnabled && x != nil { 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 if ms.LoadMessageInfo() == nil { 245 ms.StoreMessageInfo(mi) 246 } 247 return ms 248 } 249 return mi.MessageOf(x) 250 } 251 252 // Deprecated: Use SubaccountPortfolio.ProtoReflect.Descriptor instead. 253 func (*SubaccountPortfolio) Descriptor() ([]byte, []int) { 254 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{3} 255 } 256 257 func (x *SubaccountPortfolio) GetSubaccountId() string { 258 if x != nil { 259 return x.SubaccountId 260 } 261 return "" 262 } 263 264 func (x *SubaccountPortfolio) GetAvailableBalance() string { 265 if x != nil { 266 return x.AvailableBalance 267 } 268 return "" 269 } 270 271 func (x *SubaccountPortfolio) GetLockedBalance() string { 272 if x != nil { 273 return x.LockedBalance 274 } 275 return "" 276 } 277 278 func (x *SubaccountPortfolio) GetUnrealizedPnl() string { 279 if x != nil { 280 return x.UnrealizedPnl 281 } 282 return "" 283 } 284 285 type OrderStatesRequest struct { 286 state protoimpl.MessageState 287 sizeCache protoimpl.SizeCache 288 unknownFields protoimpl.UnknownFields 289 290 SpotOrderHashes []string `protobuf:"bytes,1,rep,name=spot_order_hashes,json=spotOrderHashes,proto3" json:"spot_order_hashes,omitempty"` 291 DerivativeOrderHashes []string `protobuf:"bytes,2,rep,name=derivative_order_hashes,json=derivativeOrderHashes,proto3" json:"derivative_order_hashes,omitempty"` 292 } 293 294 func (x *OrderStatesRequest) Reset() { 295 *x = OrderStatesRequest{} 296 if protoimpl.UnsafeEnabled { 297 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[4] 298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 299 ms.StoreMessageInfo(mi) 300 } 301 } 302 303 func (x *OrderStatesRequest) String() string { 304 return protoimpl.X.MessageStringOf(x) 305 } 306 307 func (*OrderStatesRequest) ProtoMessage() {} 308 309 func (x *OrderStatesRequest) ProtoReflect() protoreflect.Message { 310 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[4] 311 if protoimpl.UnsafeEnabled && x != nil { 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 if ms.LoadMessageInfo() == nil { 314 ms.StoreMessageInfo(mi) 315 } 316 return ms 317 } 318 return mi.MessageOf(x) 319 } 320 321 // Deprecated: Use OrderStatesRequest.ProtoReflect.Descriptor instead. 322 func (*OrderStatesRequest) Descriptor() ([]byte, []int) { 323 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{4} 324 } 325 326 func (x *OrderStatesRequest) GetSpotOrderHashes() []string { 327 if x != nil { 328 return x.SpotOrderHashes 329 } 330 return nil 331 } 332 333 func (x *OrderStatesRequest) GetDerivativeOrderHashes() []string { 334 if x != nil { 335 return x.DerivativeOrderHashes 336 } 337 return nil 338 } 339 340 type OrderStatesResponse struct { 341 state protoimpl.MessageState 342 sizeCache protoimpl.SizeCache 343 unknownFields protoimpl.UnknownFields 344 345 // List of the spot order state records 346 SpotOrderStates []*OrderStateRecord `protobuf:"bytes,1,rep,name=spot_order_states,json=spotOrderStates,proto3" json:"spot_order_states,omitempty"` 347 // List of the derivative order state records 348 DerivativeOrderStates []*OrderStateRecord `protobuf:"bytes,2,rep,name=derivative_order_states,json=derivativeOrderStates,proto3" json:"derivative_order_states,omitempty"` 349 } 350 351 func (x *OrderStatesResponse) Reset() { 352 *x = OrderStatesResponse{} 353 if protoimpl.UnsafeEnabled { 354 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[5] 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 ms.StoreMessageInfo(mi) 357 } 358 } 359 360 func (x *OrderStatesResponse) String() string { 361 return protoimpl.X.MessageStringOf(x) 362 } 363 364 func (*OrderStatesResponse) ProtoMessage() {} 365 366 func (x *OrderStatesResponse) ProtoReflect() protoreflect.Message { 367 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[5] 368 if protoimpl.UnsafeEnabled && x != nil { 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 370 if ms.LoadMessageInfo() == nil { 371 ms.StoreMessageInfo(mi) 372 } 373 return ms 374 } 375 return mi.MessageOf(x) 376 } 377 378 // Deprecated: Use OrderStatesResponse.ProtoReflect.Descriptor instead. 379 func (*OrderStatesResponse) Descriptor() ([]byte, []int) { 380 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{5} 381 } 382 383 func (x *OrderStatesResponse) GetSpotOrderStates() []*OrderStateRecord { 384 if x != nil { 385 return x.SpotOrderStates 386 } 387 return nil 388 } 389 390 func (x *OrderStatesResponse) GetDerivativeOrderStates() []*OrderStateRecord { 391 if x != nil { 392 return x.DerivativeOrderStates 393 } 394 return nil 395 } 396 397 type OrderStateRecord struct { 398 state protoimpl.MessageState 399 sizeCache protoimpl.SizeCache 400 unknownFields protoimpl.UnknownFields 401 402 // Hash of the order 403 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 404 // The subaccountId that this order belongs to 405 SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 406 // The Market ID of the order 407 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 408 // The type of the order 409 OrderType string `protobuf:"bytes,4,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` 410 // The side of the order 411 OrderSide string `protobuf:"bytes,5,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` 412 // The state (status) of the order 413 State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` 414 // The filled quantity of the order 415 QuantityFilled string `protobuf:"bytes,7,opt,name=quantity_filled,json=quantityFilled,proto3" json:"quantity_filled,omitempty"` 416 // The filled quantity of the order 417 QuantityRemaining string `protobuf:"bytes,8,opt,name=quantity_remaining,json=quantityRemaining,proto3" json:"quantity_remaining,omitempty"` 418 // Order committed timestamp in UNIX millis. 419 CreatedAt int64 `protobuf:"zigzag64,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 420 // Order updated timestamp in UNIX millis. 421 UpdatedAt int64 `protobuf:"zigzag64,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 422 // Order prices 423 Price string `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"` 424 // Margin for derivative order 425 Margin string `protobuf:"bytes,12,opt,name=margin,proto3" json:"margin,omitempty"` 426 } 427 428 func (x *OrderStateRecord) Reset() { 429 *x = OrderStateRecord{} 430 if protoimpl.UnsafeEnabled { 431 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[6] 432 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 433 ms.StoreMessageInfo(mi) 434 } 435 } 436 437 func (x *OrderStateRecord) String() string { 438 return protoimpl.X.MessageStringOf(x) 439 } 440 441 func (*OrderStateRecord) ProtoMessage() {} 442 443 func (x *OrderStateRecord) ProtoReflect() protoreflect.Message { 444 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[6] 445 if protoimpl.UnsafeEnabled && x != nil { 446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 447 if ms.LoadMessageInfo() == nil { 448 ms.StoreMessageInfo(mi) 449 } 450 return ms 451 } 452 return mi.MessageOf(x) 453 } 454 455 // Deprecated: Use OrderStateRecord.ProtoReflect.Descriptor instead. 456 func (*OrderStateRecord) Descriptor() ([]byte, []int) { 457 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{6} 458 } 459 460 func (x *OrderStateRecord) GetOrderHash() string { 461 if x != nil { 462 return x.OrderHash 463 } 464 return "" 465 } 466 467 func (x *OrderStateRecord) GetSubaccountId() string { 468 if x != nil { 469 return x.SubaccountId 470 } 471 return "" 472 } 473 474 func (x *OrderStateRecord) GetMarketId() string { 475 if x != nil { 476 return x.MarketId 477 } 478 return "" 479 } 480 481 func (x *OrderStateRecord) GetOrderType() string { 482 if x != nil { 483 return x.OrderType 484 } 485 return "" 486 } 487 488 func (x *OrderStateRecord) GetOrderSide() string { 489 if x != nil { 490 return x.OrderSide 491 } 492 return "" 493 } 494 495 func (x *OrderStateRecord) GetState() string { 496 if x != nil { 497 return x.State 498 } 499 return "" 500 } 501 502 func (x *OrderStateRecord) GetQuantityFilled() string { 503 if x != nil { 504 return x.QuantityFilled 505 } 506 return "" 507 } 508 509 func (x *OrderStateRecord) GetQuantityRemaining() string { 510 if x != nil { 511 return x.QuantityRemaining 512 } 513 return "" 514 } 515 516 func (x *OrderStateRecord) GetCreatedAt() int64 { 517 if x != nil { 518 return x.CreatedAt 519 } 520 return 0 521 } 522 523 func (x *OrderStateRecord) GetUpdatedAt() int64 { 524 if x != nil { 525 return x.UpdatedAt 526 } 527 return 0 528 } 529 530 func (x *OrderStateRecord) GetPrice() string { 531 if x != nil { 532 return x.Price 533 } 534 return "" 535 } 536 537 func (x *OrderStateRecord) GetMargin() string { 538 if x != nil { 539 return x.Margin 540 } 541 return "" 542 } 543 544 type SubaccountsListRequest struct { 545 state protoimpl.MessageState 546 sizeCache protoimpl.SizeCache 547 unknownFields protoimpl.UnknownFields 548 549 // Account address, the subaccounts owner 550 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 551 } 552 553 func (x *SubaccountsListRequest) Reset() { 554 *x = SubaccountsListRequest{} 555 if protoimpl.UnsafeEnabled { 556 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[7] 557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 558 ms.StoreMessageInfo(mi) 559 } 560 } 561 562 func (x *SubaccountsListRequest) String() string { 563 return protoimpl.X.MessageStringOf(x) 564 } 565 566 func (*SubaccountsListRequest) ProtoMessage() {} 567 568 func (x *SubaccountsListRequest) ProtoReflect() protoreflect.Message { 569 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[7] 570 if protoimpl.UnsafeEnabled && x != nil { 571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 572 if ms.LoadMessageInfo() == nil { 573 ms.StoreMessageInfo(mi) 574 } 575 return ms 576 } 577 return mi.MessageOf(x) 578 } 579 580 // Deprecated: Use SubaccountsListRequest.ProtoReflect.Descriptor instead. 581 func (*SubaccountsListRequest) Descriptor() ([]byte, []int) { 582 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{7} 583 } 584 585 func (x *SubaccountsListRequest) GetAccountAddress() string { 586 if x != nil { 587 return x.AccountAddress 588 } 589 return "" 590 } 591 592 type SubaccountsListResponse struct { 593 state protoimpl.MessageState 594 sizeCache protoimpl.SizeCache 595 unknownFields protoimpl.UnknownFields 596 597 Subaccounts []string `protobuf:"bytes,1,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"` 598 } 599 600 func (x *SubaccountsListResponse) Reset() { 601 *x = SubaccountsListResponse{} 602 if protoimpl.UnsafeEnabled { 603 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[8] 604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 605 ms.StoreMessageInfo(mi) 606 } 607 } 608 609 func (x *SubaccountsListResponse) String() string { 610 return protoimpl.X.MessageStringOf(x) 611 } 612 613 func (*SubaccountsListResponse) ProtoMessage() {} 614 615 func (x *SubaccountsListResponse) ProtoReflect() protoreflect.Message { 616 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[8] 617 if protoimpl.UnsafeEnabled && x != nil { 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 if ms.LoadMessageInfo() == nil { 620 ms.StoreMessageInfo(mi) 621 } 622 return ms 623 } 624 return mi.MessageOf(x) 625 } 626 627 // Deprecated: Use SubaccountsListResponse.ProtoReflect.Descriptor instead. 628 func (*SubaccountsListResponse) Descriptor() ([]byte, []int) { 629 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{8} 630 } 631 632 func (x *SubaccountsListResponse) GetSubaccounts() []string { 633 if x != nil { 634 return x.Subaccounts 635 } 636 return nil 637 } 638 639 type SubaccountBalancesListRequest struct { 640 state protoimpl.MessageState 641 sizeCache protoimpl.SizeCache 642 unknownFields protoimpl.UnknownFields 643 644 // SubaccountId of the trader we want to get the trades from 645 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 646 // Filter balances by denoms. If not set, the balances of all the denoms for 647 // the subaccount are provided. 648 Denoms []string `protobuf:"bytes,2,rep,name=denoms,proto3" json:"denoms,omitempty"` 649 } 650 651 func (x *SubaccountBalancesListRequest) Reset() { 652 *x = SubaccountBalancesListRequest{} 653 if protoimpl.UnsafeEnabled { 654 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[9] 655 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 656 ms.StoreMessageInfo(mi) 657 } 658 } 659 660 func (x *SubaccountBalancesListRequest) String() string { 661 return protoimpl.X.MessageStringOf(x) 662 } 663 664 func (*SubaccountBalancesListRequest) ProtoMessage() {} 665 666 func (x *SubaccountBalancesListRequest) ProtoReflect() protoreflect.Message { 667 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[9] 668 if protoimpl.UnsafeEnabled && x != nil { 669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 670 if ms.LoadMessageInfo() == nil { 671 ms.StoreMessageInfo(mi) 672 } 673 return ms 674 } 675 return mi.MessageOf(x) 676 } 677 678 // Deprecated: Use SubaccountBalancesListRequest.ProtoReflect.Descriptor instead. 679 func (*SubaccountBalancesListRequest) Descriptor() ([]byte, []int) { 680 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{9} 681 } 682 683 func (x *SubaccountBalancesListRequest) GetSubaccountId() string { 684 if x != nil { 685 return x.SubaccountId 686 } 687 return "" 688 } 689 690 func (x *SubaccountBalancesListRequest) GetDenoms() []string { 691 if x != nil { 692 return x.Denoms 693 } 694 return nil 695 } 696 697 type SubaccountBalancesListResponse struct { 698 state protoimpl.MessageState 699 sizeCache protoimpl.SizeCache 700 unknownFields protoimpl.UnknownFields 701 702 // List of subaccount balances 703 Balances []*SubaccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"` 704 } 705 706 func (x *SubaccountBalancesListResponse) Reset() { 707 *x = SubaccountBalancesListResponse{} 708 if protoimpl.UnsafeEnabled { 709 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[10] 710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 711 ms.StoreMessageInfo(mi) 712 } 713 } 714 715 func (x *SubaccountBalancesListResponse) String() string { 716 return protoimpl.X.MessageStringOf(x) 717 } 718 719 func (*SubaccountBalancesListResponse) ProtoMessage() {} 720 721 func (x *SubaccountBalancesListResponse) ProtoReflect() protoreflect.Message { 722 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[10] 723 if protoimpl.UnsafeEnabled && x != nil { 724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 725 if ms.LoadMessageInfo() == nil { 726 ms.StoreMessageInfo(mi) 727 } 728 return ms 729 } 730 return mi.MessageOf(x) 731 } 732 733 // Deprecated: Use SubaccountBalancesListResponse.ProtoReflect.Descriptor instead. 734 func (*SubaccountBalancesListResponse) Descriptor() ([]byte, []int) { 735 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{10} 736 } 737 738 func (x *SubaccountBalancesListResponse) GetBalances() []*SubaccountBalance { 739 if x != nil { 740 return x.Balances 741 } 742 return nil 743 } 744 745 type SubaccountBalance struct { 746 state protoimpl.MessageState 747 sizeCache protoimpl.SizeCache 748 unknownFields protoimpl.UnknownFields 749 750 // Related subaccount ID 751 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 752 // Account address, owner of this subaccount 753 AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 754 // Coin denom on the chain. 755 Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` 756 Deposit *SubaccountDeposit `protobuf:"bytes,4,opt,name=deposit,proto3" json:"deposit,omitempty"` 757 } 758 759 func (x *SubaccountBalance) Reset() { 760 *x = SubaccountBalance{} 761 if protoimpl.UnsafeEnabled { 762 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[11] 763 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 764 ms.StoreMessageInfo(mi) 765 } 766 } 767 768 func (x *SubaccountBalance) String() string { 769 return protoimpl.X.MessageStringOf(x) 770 } 771 772 func (*SubaccountBalance) ProtoMessage() {} 773 774 func (x *SubaccountBalance) ProtoReflect() protoreflect.Message { 775 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[11] 776 if protoimpl.UnsafeEnabled && x != nil { 777 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 778 if ms.LoadMessageInfo() == nil { 779 ms.StoreMessageInfo(mi) 780 } 781 return ms 782 } 783 return mi.MessageOf(x) 784 } 785 786 // Deprecated: Use SubaccountBalance.ProtoReflect.Descriptor instead. 787 func (*SubaccountBalance) Descriptor() ([]byte, []int) { 788 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{11} 789 } 790 791 func (x *SubaccountBalance) GetSubaccountId() string { 792 if x != nil { 793 return x.SubaccountId 794 } 795 return "" 796 } 797 798 func (x *SubaccountBalance) GetAccountAddress() string { 799 if x != nil { 800 return x.AccountAddress 801 } 802 return "" 803 } 804 805 func (x *SubaccountBalance) GetDenom() string { 806 if x != nil { 807 return x.Denom 808 } 809 return "" 810 } 811 812 func (x *SubaccountBalance) GetDeposit() *SubaccountDeposit { 813 if x != nil { 814 return x.Deposit 815 } 816 return nil 817 } 818 819 type SubaccountDeposit struct { 820 state protoimpl.MessageState 821 sizeCache protoimpl.SizeCache 822 unknownFields protoimpl.UnknownFields 823 824 TotalBalance string `protobuf:"bytes,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"` 825 AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` 826 } 827 828 func (x *SubaccountDeposit) Reset() { 829 *x = SubaccountDeposit{} 830 if protoimpl.UnsafeEnabled { 831 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[12] 832 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 833 ms.StoreMessageInfo(mi) 834 } 835 } 836 837 func (x *SubaccountDeposit) String() string { 838 return protoimpl.X.MessageStringOf(x) 839 } 840 841 func (*SubaccountDeposit) ProtoMessage() {} 842 843 func (x *SubaccountDeposit) ProtoReflect() protoreflect.Message { 844 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[12] 845 if protoimpl.UnsafeEnabled && x != nil { 846 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 847 if ms.LoadMessageInfo() == nil { 848 ms.StoreMessageInfo(mi) 849 } 850 return ms 851 } 852 return mi.MessageOf(x) 853 } 854 855 // Deprecated: Use SubaccountDeposit.ProtoReflect.Descriptor instead. 856 func (*SubaccountDeposit) Descriptor() ([]byte, []int) { 857 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{12} 858 } 859 860 func (x *SubaccountDeposit) GetTotalBalance() string { 861 if x != nil { 862 return x.TotalBalance 863 } 864 return "" 865 } 866 867 func (x *SubaccountDeposit) GetAvailableBalance() string { 868 if x != nil { 869 return x.AvailableBalance 870 } 871 return "" 872 } 873 874 type SubaccountBalanceEndpointRequest struct { 875 state protoimpl.MessageState 876 sizeCache protoimpl.SizeCache 877 unknownFields protoimpl.UnknownFields 878 879 // SubaccountId of the trader we want to get the trades from 880 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 881 // Specify denom to get balance 882 Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` 883 } 884 885 func (x *SubaccountBalanceEndpointRequest) Reset() { 886 *x = SubaccountBalanceEndpointRequest{} 887 if protoimpl.UnsafeEnabled { 888 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[13] 889 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 890 ms.StoreMessageInfo(mi) 891 } 892 } 893 894 func (x *SubaccountBalanceEndpointRequest) String() string { 895 return protoimpl.X.MessageStringOf(x) 896 } 897 898 func (*SubaccountBalanceEndpointRequest) ProtoMessage() {} 899 900 func (x *SubaccountBalanceEndpointRequest) ProtoReflect() protoreflect.Message { 901 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[13] 902 if protoimpl.UnsafeEnabled && x != nil { 903 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 904 if ms.LoadMessageInfo() == nil { 905 ms.StoreMessageInfo(mi) 906 } 907 return ms 908 } 909 return mi.MessageOf(x) 910 } 911 912 // Deprecated: Use SubaccountBalanceEndpointRequest.ProtoReflect.Descriptor instead. 913 func (*SubaccountBalanceEndpointRequest) Descriptor() ([]byte, []int) { 914 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{13} 915 } 916 917 func (x *SubaccountBalanceEndpointRequest) GetSubaccountId() string { 918 if x != nil { 919 return x.SubaccountId 920 } 921 return "" 922 } 923 924 func (x *SubaccountBalanceEndpointRequest) GetDenom() string { 925 if x != nil { 926 return x.Denom 927 } 928 return "" 929 } 930 931 type SubaccountBalanceEndpointResponse struct { 932 state protoimpl.MessageState 933 sizeCache protoimpl.SizeCache 934 unknownFields protoimpl.UnknownFields 935 936 // Subaccount balance 937 Balance *SubaccountBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` 938 } 939 940 func (x *SubaccountBalanceEndpointResponse) Reset() { 941 *x = SubaccountBalanceEndpointResponse{} 942 if protoimpl.UnsafeEnabled { 943 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[14] 944 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 945 ms.StoreMessageInfo(mi) 946 } 947 } 948 949 func (x *SubaccountBalanceEndpointResponse) String() string { 950 return protoimpl.X.MessageStringOf(x) 951 } 952 953 func (*SubaccountBalanceEndpointResponse) ProtoMessage() {} 954 955 func (x *SubaccountBalanceEndpointResponse) ProtoReflect() protoreflect.Message { 956 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[14] 957 if protoimpl.UnsafeEnabled && x != nil { 958 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 959 if ms.LoadMessageInfo() == nil { 960 ms.StoreMessageInfo(mi) 961 } 962 return ms 963 } 964 return mi.MessageOf(x) 965 } 966 967 // Deprecated: Use SubaccountBalanceEndpointResponse.ProtoReflect.Descriptor instead. 968 func (*SubaccountBalanceEndpointResponse) Descriptor() ([]byte, []int) { 969 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{14} 970 } 971 972 func (x *SubaccountBalanceEndpointResponse) GetBalance() *SubaccountBalance { 973 if x != nil { 974 return x.Balance 975 } 976 return nil 977 } 978 979 type StreamSubaccountBalanceRequest struct { 980 state protoimpl.MessageState 981 sizeCache protoimpl.SizeCache 982 unknownFields protoimpl.UnknownFields 983 984 // SubaccountId of the trader we want to get the trades from 985 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 986 // Filter balances by denoms. If not set, the balances of all the denoms for 987 // the subaccount are provided. 988 Denoms []string `protobuf:"bytes,2,rep,name=denoms,proto3" json:"denoms,omitempty"` 989 } 990 991 func (x *StreamSubaccountBalanceRequest) Reset() { 992 *x = StreamSubaccountBalanceRequest{} 993 if protoimpl.UnsafeEnabled { 994 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[15] 995 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 996 ms.StoreMessageInfo(mi) 997 } 998 } 999 1000 func (x *StreamSubaccountBalanceRequest) String() string { 1001 return protoimpl.X.MessageStringOf(x) 1002 } 1003 1004 func (*StreamSubaccountBalanceRequest) ProtoMessage() {} 1005 1006 func (x *StreamSubaccountBalanceRequest) ProtoReflect() protoreflect.Message { 1007 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[15] 1008 if protoimpl.UnsafeEnabled && x != nil { 1009 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1010 if ms.LoadMessageInfo() == nil { 1011 ms.StoreMessageInfo(mi) 1012 } 1013 return ms 1014 } 1015 return mi.MessageOf(x) 1016 } 1017 1018 // Deprecated: Use StreamSubaccountBalanceRequest.ProtoReflect.Descriptor instead. 1019 func (*StreamSubaccountBalanceRequest) Descriptor() ([]byte, []int) { 1020 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{15} 1021 } 1022 1023 func (x *StreamSubaccountBalanceRequest) GetSubaccountId() string { 1024 if x != nil { 1025 return x.SubaccountId 1026 } 1027 return "" 1028 } 1029 1030 func (x *StreamSubaccountBalanceRequest) GetDenoms() []string { 1031 if x != nil { 1032 return x.Denoms 1033 } 1034 return nil 1035 } 1036 1037 type StreamSubaccountBalanceResponse struct { 1038 state protoimpl.MessageState 1039 sizeCache protoimpl.SizeCache 1040 unknownFields protoimpl.UnknownFields 1041 1042 // Subaccount balance 1043 Balance *SubaccountBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` 1044 // Operation timestamp in UNIX millis. 1045 Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 1046 } 1047 1048 func (x *StreamSubaccountBalanceResponse) Reset() { 1049 *x = StreamSubaccountBalanceResponse{} 1050 if protoimpl.UnsafeEnabled { 1051 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[16] 1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1053 ms.StoreMessageInfo(mi) 1054 } 1055 } 1056 1057 func (x *StreamSubaccountBalanceResponse) String() string { 1058 return protoimpl.X.MessageStringOf(x) 1059 } 1060 1061 func (*StreamSubaccountBalanceResponse) ProtoMessage() {} 1062 1063 func (x *StreamSubaccountBalanceResponse) ProtoReflect() protoreflect.Message { 1064 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[16] 1065 if protoimpl.UnsafeEnabled && x != nil { 1066 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1067 if ms.LoadMessageInfo() == nil { 1068 ms.StoreMessageInfo(mi) 1069 } 1070 return ms 1071 } 1072 return mi.MessageOf(x) 1073 } 1074 1075 // Deprecated: Use StreamSubaccountBalanceResponse.ProtoReflect.Descriptor instead. 1076 func (*StreamSubaccountBalanceResponse) Descriptor() ([]byte, []int) { 1077 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{16} 1078 } 1079 1080 func (x *StreamSubaccountBalanceResponse) GetBalance() *SubaccountBalance { 1081 if x != nil { 1082 return x.Balance 1083 } 1084 return nil 1085 } 1086 1087 func (x *StreamSubaccountBalanceResponse) GetTimestamp() int64 { 1088 if x != nil { 1089 return x.Timestamp 1090 } 1091 return 0 1092 } 1093 1094 type SubaccountHistoryRequest struct { 1095 state protoimpl.MessageState 1096 sizeCache protoimpl.SizeCache 1097 unknownFields protoimpl.UnknownFields 1098 1099 // SubaccountId of the trader we want to get the history from 1100 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 1101 // Filter history by denom 1102 Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` 1103 // Filter history by transfer type 1104 TransferTypes []string `protobuf:"bytes,3,rep,name=transfer_types,json=transferTypes,proto3" json:"transfer_types,omitempty"` 1105 // Skip will skip the first n item from the result 1106 Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` 1107 // Limit is used to specify the maximum number of items to be returned 1108 Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"` 1109 // Upper bound of account transfer history's executedAt 1110 EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 1111 } 1112 1113 func (x *SubaccountHistoryRequest) Reset() { 1114 *x = SubaccountHistoryRequest{} 1115 if protoimpl.UnsafeEnabled { 1116 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[17] 1117 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1118 ms.StoreMessageInfo(mi) 1119 } 1120 } 1121 1122 func (x *SubaccountHistoryRequest) String() string { 1123 return protoimpl.X.MessageStringOf(x) 1124 } 1125 1126 func (*SubaccountHistoryRequest) ProtoMessage() {} 1127 1128 func (x *SubaccountHistoryRequest) ProtoReflect() protoreflect.Message { 1129 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[17] 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 SubaccountHistoryRequest.ProtoReflect.Descriptor instead. 1141 func (*SubaccountHistoryRequest) Descriptor() ([]byte, []int) { 1142 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{17} 1143 } 1144 1145 func (x *SubaccountHistoryRequest) GetSubaccountId() string { 1146 if x != nil { 1147 return x.SubaccountId 1148 } 1149 return "" 1150 } 1151 1152 func (x *SubaccountHistoryRequest) GetDenom() string { 1153 if x != nil { 1154 return x.Denom 1155 } 1156 return "" 1157 } 1158 1159 func (x *SubaccountHistoryRequest) GetTransferTypes() []string { 1160 if x != nil { 1161 return x.TransferTypes 1162 } 1163 return nil 1164 } 1165 1166 func (x *SubaccountHistoryRequest) GetSkip() uint64 { 1167 if x != nil { 1168 return x.Skip 1169 } 1170 return 0 1171 } 1172 1173 func (x *SubaccountHistoryRequest) GetLimit() int32 { 1174 if x != nil { 1175 return x.Limit 1176 } 1177 return 0 1178 } 1179 1180 func (x *SubaccountHistoryRequest) GetEndTime() int64 { 1181 if x != nil { 1182 return x.EndTime 1183 } 1184 return 0 1185 } 1186 1187 type SubaccountHistoryResponse struct { 1188 state protoimpl.MessageState 1189 sizeCache protoimpl.SizeCache 1190 unknownFields protoimpl.UnknownFields 1191 1192 // List of subaccount transfers 1193 Transfers []*SubaccountBalanceTransfer `protobuf:"bytes,1,rep,name=transfers,proto3" json:"transfers,omitempty"` 1194 Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"` 1195 } 1196 1197 func (x *SubaccountHistoryResponse) Reset() { 1198 *x = SubaccountHistoryResponse{} 1199 if protoimpl.UnsafeEnabled { 1200 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[18] 1201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1202 ms.StoreMessageInfo(mi) 1203 } 1204 } 1205 1206 func (x *SubaccountHistoryResponse) String() string { 1207 return protoimpl.X.MessageStringOf(x) 1208 } 1209 1210 func (*SubaccountHistoryResponse) ProtoMessage() {} 1211 1212 func (x *SubaccountHistoryResponse) ProtoReflect() protoreflect.Message { 1213 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[18] 1214 if protoimpl.UnsafeEnabled && x != nil { 1215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1216 if ms.LoadMessageInfo() == nil { 1217 ms.StoreMessageInfo(mi) 1218 } 1219 return ms 1220 } 1221 return mi.MessageOf(x) 1222 } 1223 1224 // Deprecated: Use SubaccountHistoryResponse.ProtoReflect.Descriptor instead. 1225 func (*SubaccountHistoryResponse) Descriptor() ([]byte, []int) { 1226 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{18} 1227 } 1228 1229 func (x *SubaccountHistoryResponse) GetTransfers() []*SubaccountBalanceTransfer { 1230 if x != nil { 1231 return x.Transfers 1232 } 1233 return nil 1234 } 1235 1236 func (x *SubaccountHistoryResponse) GetPaging() *Paging { 1237 if x != nil { 1238 return x.Paging 1239 } 1240 return nil 1241 } 1242 1243 type SubaccountBalanceTransfer struct { 1244 state protoimpl.MessageState 1245 sizeCache protoimpl.SizeCache 1246 unknownFields protoimpl.UnknownFields 1247 1248 // Type of the subaccount balance transfer 1249 TransferType string `protobuf:"bytes,1,opt,name=transfer_type,json=transferType,proto3" json:"transfer_type,omitempty"` 1250 // Subaccount ID of the sending side 1251 SrcSubaccountId string `protobuf:"bytes,2,opt,name=src_subaccount_id,json=srcSubaccountId,proto3" json:"src_subaccount_id,omitempty"` 1252 // Account address of the sending side 1253 SrcAccountAddress string `protobuf:"bytes,3,opt,name=src_account_address,json=srcAccountAddress,proto3" json:"src_account_address,omitempty"` 1254 // Subaccount ID of the receiving side 1255 DstSubaccountId string `protobuf:"bytes,4,opt,name=dst_subaccount_id,json=dstSubaccountId,proto3" json:"dst_subaccount_id,omitempty"` 1256 // Account address of the receiving side 1257 DstAccountAddress string `protobuf:"bytes,5,opt,name=dst_account_address,json=dstAccountAddress,proto3" json:"dst_account_address,omitempty"` 1258 // Coin amount of the transfer 1259 Amount *CosmosCoin `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` 1260 // Timestamp of the transfer in UNIX millis 1261 ExecutedAt int64 `protobuf:"zigzag64,7,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` 1262 } 1263 1264 func (x *SubaccountBalanceTransfer) Reset() { 1265 *x = SubaccountBalanceTransfer{} 1266 if protoimpl.UnsafeEnabled { 1267 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[19] 1268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1269 ms.StoreMessageInfo(mi) 1270 } 1271 } 1272 1273 func (x *SubaccountBalanceTransfer) String() string { 1274 return protoimpl.X.MessageStringOf(x) 1275 } 1276 1277 func (*SubaccountBalanceTransfer) ProtoMessage() {} 1278 1279 func (x *SubaccountBalanceTransfer) ProtoReflect() protoreflect.Message { 1280 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[19] 1281 if protoimpl.UnsafeEnabled && x != nil { 1282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1283 if ms.LoadMessageInfo() == nil { 1284 ms.StoreMessageInfo(mi) 1285 } 1286 return ms 1287 } 1288 return mi.MessageOf(x) 1289 } 1290 1291 // Deprecated: Use SubaccountBalanceTransfer.ProtoReflect.Descriptor instead. 1292 func (*SubaccountBalanceTransfer) Descriptor() ([]byte, []int) { 1293 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{19} 1294 } 1295 1296 func (x *SubaccountBalanceTransfer) GetTransferType() string { 1297 if x != nil { 1298 return x.TransferType 1299 } 1300 return "" 1301 } 1302 1303 func (x *SubaccountBalanceTransfer) GetSrcSubaccountId() string { 1304 if x != nil { 1305 return x.SrcSubaccountId 1306 } 1307 return "" 1308 } 1309 1310 func (x *SubaccountBalanceTransfer) GetSrcAccountAddress() string { 1311 if x != nil { 1312 return x.SrcAccountAddress 1313 } 1314 return "" 1315 } 1316 1317 func (x *SubaccountBalanceTransfer) GetDstSubaccountId() string { 1318 if x != nil { 1319 return x.DstSubaccountId 1320 } 1321 return "" 1322 } 1323 1324 func (x *SubaccountBalanceTransfer) GetDstAccountAddress() string { 1325 if x != nil { 1326 return x.DstAccountAddress 1327 } 1328 return "" 1329 } 1330 1331 func (x *SubaccountBalanceTransfer) GetAmount() *CosmosCoin { 1332 if x != nil { 1333 return x.Amount 1334 } 1335 return nil 1336 } 1337 1338 func (x *SubaccountBalanceTransfer) GetExecutedAt() int64 { 1339 if x != nil { 1340 return x.ExecutedAt 1341 } 1342 return 0 1343 } 1344 1345 type CosmosCoin struct { 1346 state protoimpl.MessageState 1347 sizeCache protoimpl.SizeCache 1348 unknownFields protoimpl.UnknownFields 1349 1350 // Coin denominator 1351 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 1352 // Coin amount (big int) 1353 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 1354 } 1355 1356 func (x *CosmosCoin) Reset() { 1357 *x = CosmosCoin{} 1358 if protoimpl.UnsafeEnabled { 1359 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[20] 1360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1361 ms.StoreMessageInfo(mi) 1362 } 1363 } 1364 1365 func (x *CosmosCoin) String() string { 1366 return protoimpl.X.MessageStringOf(x) 1367 } 1368 1369 func (*CosmosCoin) ProtoMessage() {} 1370 1371 func (x *CosmosCoin) ProtoReflect() protoreflect.Message { 1372 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[20] 1373 if protoimpl.UnsafeEnabled && x != nil { 1374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1375 if ms.LoadMessageInfo() == nil { 1376 ms.StoreMessageInfo(mi) 1377 } 1378 return ms 1379 } 1380 return mi.MessageOf(x) 1381 } 1382 1383 // Deprecated: Use CosmosCoin.ProtoReflect.Descriptor instead. 1384 func (*CosmosCoin) Descriptor() ([]byte, []int) { 1385 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{20} 1386 } 1387 1388 func (x *CosmosCoin) GetDenom() string { 1389 if x != nil { 1390 return x.Denom 1391 } 1392 return "" 1393 } 1394 1395 func (x *CosmosCoin) GetAmount() string { 1396 if x != nil { 1397 return x.Amount 1398 } 1399 return "" 1400 } 1401 1402 // Paging defines the structure for required params for handling pagination 1403 type Paging struct { 1404 state protoimpl.MessageState 1405 sizeCache protoimpl.SizeCache 1406 unknownFields protoimpl.UnknownFields 1407 1408 // total number of txs saved in database 1409 Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"` 1410 // can be either block height or index num 1411 From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"` 1412 // can be either block height or index num 1413 To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"` 1414 // count entries by subaccount, serving some places on helix 1415 CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"` 1416 // array of tokens to navigate to the next pages 1417 Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"` 1418 } 1419 1420 func (x *Paging) Reset() { 1421 *x = Paging{} 1422 if protoimpl.UnsafeEnabled { 1423 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[21] 1424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1425 ms.StoreMessageInfo(mi) 1426 } 1427 } 1428 1429 func (x *Paging) String() string { 1430 return protoimpl.X.MessageStringOf(x) 1431 } 1432 1433 func (*Paging) ProtoMessage() {} 1434 1435 func (x *Paging) ProtoReflect() protoreflect.Message { 1436 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[21] 1437 if protoimpl.UnsafeEnabled && x != nil { 1438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1439 if ms.LoadMessageInfo() == nil { 1440 ms.StoreMessageInfo(mi) 1441 } 1442 return ms 1443 } 1444 return mi.MessageOf(x) 1445 } 1446 1447 // Deprecated: Use Paging.ProtoReflect.Descriptor instead. 1448 func (*Paging) Descriptor() ([]byte, []int) { 1449 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{21} 1450 } 1451 1452 func (x *Paging) GetTotal() int64 { 1453 if x != nil { 1454 return x.Total 1455 } 1456 return 0 1457 } 1458 1459 func (x *Paging) GetFrom() int32 { 1460 if x != nil { 1461 return x.From 1462 } 1463 return 0 1464 } 1465 1466 func (x *Paging) GetTo() int32 { 1467 if x != nil { 1468 return x.To 1469 } 1470 return 0 1471 } 1472 1473 func (x *Paging) GetCountBySubaccount() int64 { 1474 if x != nil { 1475 return x.CountBySubaccount 1476 } 1477 return 0 1478 } 1479 1480 func (x *Paging) GetNext() []string { 1481 if x != nil { 1482 return x.Next 1483 } 1484 return nil 1485 } 1486 1487 type SubaccountOrderSummaryRequest struct { 1488 state protoimpl.MessageState 1489 sizeCache protoimpl.SizeCache 1490 unknownFields protoimpl.UnknownFields 1491 1492 // SubaccountId of the trader we want to get the summary from 1493 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 1494 // MarketId is limiting order summary to specific market only 1495 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 1496 // Filter by direction of the orders 1497 OrderDirection string `protobuf:"bytes,3,opt,name=order_direction,json=orderDirection,proto3" json:"order_direction,omitempty"` 1498 } 1499 1500 func (x *SubaccountOrderSummaryRequest) Reset() { 1501 *x = SubaccountOrderSummaryRequest{} 1502 if protoimpl.UnsafeEnabled { 1503 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[22] 1504 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1505 ms.StoreMessageInfo(mi) 1506 } 1507 } 1508 1509 func (x *SubaccountOrderSummaryRequest) String() string { 1510 return protoimpl.X.MessageStringOf(x) 1511 } 1512 1513 func (*SubaccountOrderSummaryRequest) ProtoMessage() {} 1514 1515 func (x *SubaccountOrderSummaryRequest) ProtoReflect() protoreflect.Message { 1516 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[22] 1517 if protoimpl.UnsafeEnabled && x != nil { 1518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1519 if ms.LoadMessageInfo() == nil { 1520 ms.StoreMessageInfo(mi) 1521 } 1522 return ms 1523 } 1524 return mi.MessageOf(x) 1525 } 1526 1527 // Deprecated: Use SubaccountOrderSummaryRequest.ProtoReflect.Descriptor instead. 1528 func (*SubaccountOrderSummaryRequest) Descriptor() ([]byte, []int) { 1529 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{22} 1530 } 1531 1532 func (x *SubaccountOrderSummaryRequest) GetSubaccountId() string { 1533 if x != nil { 1534 return x.SubaccountId 1535 } 1536 return "" 1537 } 1538 1539 func (x *SubaccountOrderSummaryRequest) GetMarketId() string { 1540 if x != nil { 1541 return x.MarketId 1542 } 1543 return "" 1544 } 1545 1546 func (x *SubaccountOrderSummaryRequest) GetOrderDirection() string { 1547 if x != nil { 1548 return x.OrderDirection 1549 } 1550 return "" 1551 } 1552 1553 type SubaccountOrderSummaryResponse struct { 1554 state protoimpl.MessageState 1555 sizeCache protoimpl.SizeCache 1556 unknownFields protoimpl.UnknownFields 1557 1558 // Total count of subaccount's spot orders in given market and direction 1559 SpotOrdersTotal int64 `protobuf:"zigzag64,1,opt,name=spot_orders_total,json=spotOrdersTotal,proto3" json:"spot_orders_total,omitempty"` 1560 // Total count of subaccount's derivative orders in given market and direction 1561 DerivativeOrdersTotal int64 `protobuf:"zigzag64,2,opt,name=derivative_orders_total,json=derivativeOrdersTotal,proto3" json:"derivative_orders_total,omitempty"` 1562 } 1563 1564 func (x *SubaccountOrderSummaryResponse) Reset() { 1565 *x = SubaccountOrderSummaryResponse{} 1566 if protoimpl.UnsafeEnabled { 1567 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[23] 1568 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1569 ms.StoreMessageInfo(mi) 1570 } 1571 } 1572 1573 func (x *SubaccountOrderSummaryResponse) String() string { 1574 return protoimpl.X.MessageStringOf(x) 1575 } 1576 1577 func (*SubaccountOrderSummaryResponse) ProtoMessage() {} 1578 1579 func (x *SubaccountOrderSummaryResponse) ProtoReflect() protoreflect.Message { 1580 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[23] 1581 if protoimpl.UnsafeEnabled && x != nil { 1582 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1583 if ms.LoadMessageInfo() == nil { 1584 ms.StoreMessageInfo(mi) 1585 } 1586 return ms 1587 } 1588 return mi.MessageOf(x) 1589 } 1590 1591 // Deprecated: Use SubaccountOrderSummaryResponse.ProtoReflect.Descriptor instead. 1592 func (*SubaccountOrderSummaryResponse) Descriptor() ([]byte, []int) { 1593 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{23} 1594 } 1595 1596 func (x *SubaccountOrderSummaryResponse) GetSpotOrdersTotal() int64 { 1597 if x != nil { 1598 return x.SpotOrdersTotal 1599 } 1600 return 0 1601 } 1602 1603 func (x *SubaccountOrderSummaryResponse) GetDerivativeOrdersTotal() int64 { 1604 if x != nil { 1605 return x.DerivativeOrdersTotal 1606 } 1607 return 0 1608 } 1609 1610 type RewardsRequest struct { 1611 state protoimpl.MessageState 1612 sizeCache protoimpl.SizeCache 1613 unknownFields protoimpl.UnknownFields 1614 1615 // The distribution epoch sequence number. -1 for latest. 1616 Epoch int64 `protobuf:"zigzag64,1,opt,name=epoch,proto3" json:"epoch,omitempty"` 1617 // Account address for the rewards distribution 1618 AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 1619 } 1620 1621 func (x *RewardsRequest) Reset() { 1622 *x = RewardsRequest{} 1623 if protoimpl.UnsafeEnabled { 1624 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[24] 1625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1626 ms.StoreMessageInfo(mi) 1627 } 1628 } 1629 1630 func (x *RewardsRequest) String() string { 1631 return protoimpl.X.MessageStringOf(x) 1632 } 1633 1634 func (*RewardsRequest) ProtoMessage() {} 1635 1636 func (x *RewardsRequest) ProtoReflect() protoreflect.Message { 1637 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[24] 1638 if protoimpl.UnsafeEnabled && x != nil { 1639 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1640 if ms.LoadMessageInfo() == nil { 1641 ms.StoreMessageInfo(mi) 1642 } 1643 return ms 1644 } 1645 return mi.MessageOf(x) 1646 } 1647 1648 // Deprecated: Use RewardsRequest.ProtoReflect.Descriptor instead. 1649 func (*RewardsRequest) Descriptor() ([]byte, []int) { 1650 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{24} 1651 } 1652 1653 func (x *RewardsRequest) GetEpoch() int64 { 1654 if x != nil { 1655 return x.Epoch 1656 } 1657 return 0 1658 } 1659 1660 func (x *RewardsRequest) GetAccountAddress() string { 1661 if x != nil { 1662 return x.AccountAddress 1663 } 1664 return "" 1665 } 1666 1667 type RewardsResponse struct { 1668 state protoimpl.MessageState 1669 sizeCache protoimpl.SizeCache 1670 unknownFields protoimpl.UnknownFields 1671 1672 // The trading rewards distributed 1673 Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` 1674 } 1675 1676 func (x *RewardsResponse) Reset() { 1677 *x = RewardsResponse{} 1678 if protoimpl.UnsafeEnabled { 1679 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[25] 1680 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1681 ms.StoreMessageInfo(mi) 1682 } 1683 } 1684 1685 func (x *RewardsResponse) String() string { 1686 return protoimpl.X.MessageStringOf(x) 1687 } 1688 1689 func (*RewardsResponse) ProtoMessage() {} 1690 1691 func (x *RewardsResponse) ProtoReflect() protoreflect.Message { 1692 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[25] 1693 if protoimpl.UnsafeEnabled && x != nil { 1694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1695 if ms.LoadMessageInfo() == nil { 1696 ms.StoreMessageInfo(mi) 1697 } 1698 return ms 1699 } 1700 return mi.MessageOf(x) 1701 } 1702 1703 // Deprecated: Use RewardsResponse.ProtoReflect.Descriptor instead. 1704 func (*RewardsResponse) Descriptor() ([]byte, []int) { 1705 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{25} 1706 } 1707 1708 func (x *RewardsResponse) GetRewards() []*Reward { 1709 if x != nil { 1710 return x.Rewards 1711 } 1712 return nil 1713 } 1714 1715 type Reward struct { 1716 state protoimpl.MessageState 1717 sizeCache protoimpl.SizeCache 1718 unknownFields protoimpl.UnknownFields 1719 1720 // Account address 1721 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 1722 // Reward coins distributed 1723 Rewards []*Coin `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards,omitempty"` 1724 // Rewards distribution timestamp in UNIX millis. 1725 DistributedAt int64 `protobuf:"zigzag64,3,opt,name=distributed_at,json=distributedAt,proto3" json:"distributed_at,omitempty"` 1726 } 1727 1728 func (x *Reward) Reset() { 1729 *x = Reward{} 1730 if protoimpl.UnsafeEnabled { 1731 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[26] 1732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1733 ms.StoreMessageInfo(mi) 1734 } 1735 } 1736 1737 func (x *Reward) String() string { 1738 return protoimpl.X.MessageStringOf(x) 1739 } 1740 1741 func (*Reward) ProtoMessage() {} 1742 1743 func (x *Reward) ProtoReflect() protoreflect.Message { 1744 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[26] 1745 if protoimpl.UnsafeEnabled && x != nil { 1746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1747 if ms.LoadMessageInfo() == nil { 1748 ms.StoreMessageInfo(mi) 1749 } 1750 return ms 1751 } 1752 return mi.MessageOf(x) 1753 } 1754 1755 // Deprecated: Use Reward.ProtoReflect.Descriptor instead. 1756 func (*Reward) Descriptor() ([]byte, []int) { 1757 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{26} 1758 } 1759 1760 func (x *Reward) GetAccountAddress() string { 1761 if x != nil { 1762 return x.AccountAddress 1763 } 1764 return "" 1765 } 1766 1767 func (x *Reward) GetRewards() []*Coin { 1768 if x != nil { 1769 return x.Rewards 1770 } 1771 return nil 1772 } 1773 1774 func (x *Reward) GetDistributedAt() int64 { 1775 if x != nil { 1776 return x.DistributedAt 1777 } 1778 return 0 1779 } 1780 1781 type Coin struct { 1782 state protoimpl.MessageState 1783 sizeCache protoimpl.SizeCache 1784 unknownFields protoimpl.UnknownFields 1785 1786 // Denom of the coin 1787 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 1788 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 1789 } 1790 1791 func (x *Coin) Reset() { 1792 *x = Coin{} 1793 if protoimpl.UnsafeEnabled { 1794 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[27] 1795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1796 ms.StoreMessageInfo(mi) 1797 } 1798 } 1799 1800 func (x *Coin) String() string { 1801 return protoimpl.X.MessageStringOf(x) 1802 } 1803 1804 func (*Coin) ProtoMessage() {} 1805 1806 func (x *Coin) ProtoReflect() protoreflect.Message { 1807 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[27] 1808 if protoimpl.UnsafeEnabled && x != nil { 1809 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1810 if ms.LoadMessageInfo() == nil { 1811 ms.StoreMessageInfo(mi) 1812 } 1813 return ms 1814 } 1815 return mi.MessageOf(x) 1816 } 1817 1818 // Deprecated: Use Coin.ProtoReflect.Descriptor instead. 1819 func (*Coin) Descriptor() ([]byte, []int) { 1820 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{27} 1821 } 1822 1823 func (x *Coin) GetDenom() string { 1824 if x != nil { 1825 return x.Denom 1826 } 1827 return "" 1828 } 1829 1830 func (x *Coin) GetAmount() string { 1831 if x != nil { 1832 return x.Amount 1833 } 1834 return "" 1835 } 1836 1837 type StreamAccountDataRequest struct { 1838 state protoimpl.MessageState 1839 sizeCache protoimpl.SizeCache 1840 unknownFields protoimpl.UnknownFields 1841 1842 // account address 1843 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 1844 } 1845 1846 func (x *StreamAccountDataRequest) Reset() { 1847 *x = StreamAccountDataRequest{} 1848 if protoimpl.UnsafeEnabled { 1849 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[28] 1850 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1851 ms.StoreMessageInfo(mi) 1852 } 1853 } 1854 1855 func (x *StreamAccountDataRequest) String() string { 1856 return protoimpl.X.MessageStringOf(x) 1857 } 1858 1859 func (*StreamAccountDataRequest) ProtoMessage() {} 1860 1861 func (x *StreamAccountDataRequest) ProtoReflect() protoreflect.Message { 1862 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[28] 1863 if protoimpl.UnsafeEnabled && x != nil { 1864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1865 if ms.LoadMessageInfo() == nil { 1866 ms.StoreMessageInfo(mi) 1867 } 1868 return ms 1869 } 1870 return mi.MessageOf(x) 1871 } 1872 1873 // Deprecated: Use StreamAccountDataRequest.ProtoReflect.Descriptor instead. 1874 func (*StreamAccountDataRequest) Descriptor() ([]byte, []int) { 1875 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{28} 1876 } 1877 1878 func (x *StreamAccountDataRequest) GetAccountAddress() string { 1879 if x != nil { 1880 return x.AccountAddress 1881 } 1882 return "" 1883 } 1884 1885 type StreamAccountDataResponse struct { 1886 state protoimpl.MessageState 1887 sizeCache protoimpl.SizeCache 1888 unknownFields protoimpl.UnknownFields 1889 1890 SubaccountBalance *SubaccountBalanceResult `protobuf:"bytes,1,opt,name=subaccount_balance,json=subaccountBalance,proto3" json:"subaccount_balance,omitempty"` 1891 Position *PositionsResult `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` 1892 Trade *TradeResult `protobuf:"bytes,3,opt,name=trade,proto3" json:"trade,omitempty"` 1893 Order *OrderResult `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"` 1894 OrderHistory *OrderHistoryResult `protobuf:"bytes,5,opt,name=order_history,json=orderHistory,proto3" json:"order_history,omitempty"` 1895 FundingPayment *FundingPaymentResult `protobuf:"bytes,6,opt,name=funding_payment,json=fundingPayment,proto3" json:"funding_payment,omitempty"` 1896 } 1897 1898 func (x *StreamAccountDataResponse) Reset() { 1899 *x = StreamAccountDataResponse{} 1900 if protoimpl.UnsafeEnabled { 1901 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[29] 1902 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1903 ms.StoreMessageInfo(mi) 1904 } 1905 } 1906 1907 func (x *StreamAccountDataResponse) String() string { 1908 return protoimpl.X.MessageStringOf(x) 1909 } 1910 1911 func (*StreamAccountDataResponse) ProtoMessage() {} 1912 1913 func (x *StreamAccountDataResponse) ProtoReflect() protoreflect.Message { 1914 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[29] 1915 if protoimpl.UnsafeEnabled && x != nil { 1916 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1917 if ms.LoadMessageInfo() == nil { 1918 ms.StoreMessageInfo(mi) 1919 } 1920 return ms 1921 } 1922 return mi.MessageOf(x) 1923 } 1924 1925 // Deprecated: Use StreamAccountDataResponse.ProtoReflect.Descriptor instead. 1926 func (*StreamAccountDataResponse) Descriptor() ([]byte, []int) { 1927 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{29} 1928 } 1929 1930 func (x *StreamAccountDataResponse) GetSubaccountBalance() *SubaccountBalanceResult { 1931 if x != nil { 1932 return x.SubaccountBalance 1933 } 1934 return nil 1935 } 1936 1937 func (x *StreamAccountDataResponse) GetPosition() *PositionsResult { 1938 if x != nil { 1939 return x.Position 1940 } 1941 return nil 1942 } 1943 1944 func (x *StreamAccountDataResponse) GetTrade() *TradeResult { 1945 if x != nil { 1946 return x.Trade 1947 } 1948 return nil 1949 } 1950 1951 func (x *StreamAccountDataResponse) GetOrder() *OrderResult { 1952 if x != nil { 1953 return x.Order 1954 } 1955 return nil 1956 } 1957 1958 func (x *StreamAccountDataResponse) GetOrderHistory() *OrderHistoryResult { 1959 if x != nil { 1960 return x.OrderHistory 1961 } 1962 return nil 1963 } 1964 1965 func (x *StreamAccountDataResponse) GetFundingPayment() *FundingPaymentResult { 1966 if x != nil { 1967 return x.FundingPayment 1968 } 1969 return nil 1970 } 1971 1972 type SubaccountBalanceResult struct { 1973 state protoimpl.MessageState 1974 sizeCache protoimpl.SizeCache 1975 unknownFields protoimpl.UnknownFields 1976 1977 // Subaccount balance 1978 Balance *SubaccountBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` 1979 // Operation timestamp in UNIX millis. 1980 Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 1981 } 1982 1983 func (x *SubaccountBalanceResult) Reset() { 1984 *x = SubaccountBalanceResult{} 1985 if protoimpl.UnsafeEnabled { 1986 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[30] 1987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1988 ms.StoreMessageInfo(mi) 1989 } 1990 } 1991 1992 func (x *SubaccountBalanceResult) String() string { 1993 return protoimpl.X.MessageStringOf(x) 1994 } 1995 1996 func (*SubaccountBalanceResult) ProtoMessage() {} 1997 1998 func (x *SubaccountBalanceResult) ProtoReflect() protoreflect.Message { 1999 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[30] 2000 if protoimpl.UnsafeEnabled && x != nil { 2001 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2002 if ms.LoadMessageInfo() == nil { 2003 ms.StoreMessageInfo(mi) 2004 } 2005 return ms 2006 } 2007 return mi.MessageOf(x) 2008 } 2009 2010 // Deprecated: Use SubaccountBalanceResult.ProtoReflect.Descriptor instead. 2011 func (*SubaccountBalanceResult) Descriptor() ([]byte, []int) { 2012 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{30} 2013 } 2014 2015 func (x *SubaccountBalanceResult) GetBalance() *SubaccountBalance { 2016 if x != nil { 2017 return x.Balance 2018 } 2019 return nil 2020 } 2021 2022 func (x *SubaccountBalanceResult) GetTimestamp() int64 { 2023 if x != nil { 2024 return x.Timestamp 2025 } 2026 return 0 2027 } 2028 2029 type PositionsResult struct { 2030 state protoimpl.MessageState 2031 sizeCache protoimpl.SizeCache 2032 unknownFields protoimpl.UnknownFields 2033 2034 // Updated derivative Position 2035 Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` 2036 // Operation timestamp in UNIX millis. 2037 Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 2038 } 2039 2040 func (x *PositionsResult) Reset() { 2041 *x = PositionsResult{} 2042 if protoimpl.UnsafeEnabled { 2043 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[31] 2044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2045 ms.StoreMessageInfo(mi) 2046 } 2047 } 2048 2049 func (x *PositionsResult) String() string { 2050 return protoimpl.X.MessageStringOf(x) 2051 } 2052 2053 func (*PositionsResult) ProtoMessage() {} 2054 2055 func (x *PositionsResult) ProtoReflect() protoreflect.Message { 2056 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[31] 2057 if protoimpl.UnsafeEnabled && x != nil { 2058 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2059 if ms.LoadMessageInfo() == nil { 2060 ms.StoreMessageInfo(mi) 2061 } 2062 return ms 2063 } 2064 return mi.MessageOf(x) 2065 } 2066 2067 // Deprecated: Use PositionsResult.ProtoReflect.Descriptor instead. 2068 func (*PositionsResult) Descriptor() ([]byte, []int) { 2069 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{31} 2070 } 2071 2072 func (x *PositionsResult) GetPosition() *Position { 2073 if x != nil { 2074 return x.Position 2075 } 2076 return nil 2077 } 2078 2079 func (x *PositionsResult) GetTimestamp() int64 { 2080 if x != nil { 2081 return x.Timestamp 2082 } 2083 return 0 2084 } 2085 2086 type Position struct { 2087 state protoimpl.MessageState 2088 sizeCache protoimpl.SizeCache 2089 unknownFields protoimpl.UnknownFields 2090 2091 // Ticker of the derivative market 2092 Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"` 2093 // Derivative Market ID 2094 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2095 // The subaccountId that the position belongs to 2096 SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 2097 // Direction of the position 2098 Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` 2099 // Quantity of the position 2100 Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` 2101 // Price of the position 2102 EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"` 2103 // Margin of the position 2104 Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"` 2105 // LiquidationPrice of the position 2106 LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` 2107 // MarkPrice of the position 2108 MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` 2109 // Position updated timestamp in UNIX millis. 2110 UpdatedAt int64 `protobuf:"zigzag64,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 2111 // Position created timestamp in UNIX millis. 2112 CreatedAt int64 `protobuf:"zigzag64,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 2113 } 2114 2115 func (x *Position) Reset() { 2116 *x = Position{} 2117 if protoimpl.UnsafeEnabled { 2118 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[32] 2119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2120 ms.StoreMessageInfo(mi) 2121 } 2122 } 2123 2124 func (x *Position) String() string { 2125 return protoimpl.X.MessageStringOf(x) 2126 } 2127 2128 func (*Position) ProtoMessage() {} 2129 2130 func (x *Position) ProtoReflect() protoreflect.Message { 2131 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[32] 2132 if protoimpl.UnsafeEnabled && x != nil { 2133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2134 if ms.LoadMessageInfo() == nil { 2135 ms.StoreMessageInfo(mi) 2136 } 2137 return ms 2138 } 2139 return mi.MessageOf(x) 2140 } 2141 2142 // Deprecated: Use Position.ProtoReflect.Descriptor instead. 2143 func (*Position) Descriptor() ([]byte, []int) { 2144 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{32} 2145 } 2146 2147 func (x *Position) GetTicker() string { 2148 if x != nil { 2149 return x.Ticker 2150 } 2151 return "" 2152 } 2153 2154 func (x *Position) GetMarketId() string { 2155 if x != nil { 2156 return x.MarketId 2157 } 2158 return "" 2159 } 2160 2161 func (x *Position) GetSubaccountId() string { 2162 if x != nil { 2163 return x.SubaccountId 2164 } 2165 return "" 2166 } 2167 2168 func (x *Position) GetDirection() string { 2169 if x != nil { 2170 return x.Direction 2171 } 2172 return "" 2173 } 2174 2175 func (x *Position) GetQuantity() string { 2176 if x != nil { 2177 return x.Quantity 2178 } 2179 return "" 2180 } 2181 2182 func (x *Position) GetEntryPrice() string { 2183 if x != nil { 2184 return x.EntryPrice 2185 } 2186 return "" 2187 } 2188 2189 func (x *Position) GetMargin() string { 2190 if x != nil { 2191 return x.Margin 2192 } 2193 return "" 2194 } 2195 2196 func (x *Position) GetLiquidationPrice() string { 2197 if x != nil { 2198 return x.LiquidationPrice 2199 } 2200 return "" 2201 } 2202 2203 func (x *Position) GetMarkPrice() string { 2204 if x != nil { 2205 return x.MarkPrice 2206 } 2207 return "" 2208 } 2209 2210 func (x *Position) GetUpdatedAt() int64 { 2211 if x != nil { 2212 return x.UpdatedAt 2213 } 2214 return 0 2215 } 2216 2217 func (x *Position) GetCreatedAt() int64 { 2218 if x != nil { 2219 return x.CreatedAt 2220 } 2221 return 0 2222 } 2223 2224 type TradeResult struct { 2225 state protoimpl.MessageState 2226 sizeCache protoimpl.SizeCache 2227 unknownFields protoimpl.UnknownFields 2228 2229 // Types that are assignable to Trade: 2230 // 2231 // *TradeResult_SpotTrade 2232 // *TradeResult_DerivativeTrade 2233 Trade isTradeResult_Trade `protobuf_oneof:"trade"` 2234 // Executed trades update type 2235 OperationType string `protobuf:"bytes,3,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` 2236 // Operation timestamp in UNIX millis. 2237 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 2238 } 2239 2240 func (x *TradeResult) Reset() { 2241 *x = TradeResult{} 2242 if protoimpl.UnsafeEnabled { 2243 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[33] 2244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2245 ms.StoreMessageInfo(mi) 2246 } 2247 } 2248 2249 func (x *TradeResult) String() string { 2250 return protoimpl.X.MessageStringOf(x) 2251 } 2252 2253 func (*TradeResult) ProtoMessage() {} 2254 2255 func (x *TradeResult) ProtoReflect() protoreflect.Message { 2256 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[33] 2257 if protoimpl.UnsafeEnabled && x != nil { 2258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2259 if ms.LoadMessageInfo() == nil { 2260 ms.StoreMessageInfo(mi) 2261 } 2262 return ms 2263 } 2264 return mi.MessageOf(x) 2265 } 2266 2267 // Deprecated: Use TradeResult.ProtoReflect.Descriptor instead. 2268 func (*TradeResult) Descriptor() ([]byte, []int) { 2269 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{33} 2270 } 2271 2272 func (m *TradeResult) GetTrade() isTradeResult_Trade { 2273 if m != nil { 2274 return m.Trade 2275 } 2276 return nil 2277 } 2278 2279 func (x *TradeResult) GetSpotTrade() *SpotTrade { 2280 if x, ok := x.GetTrade().(*TradeResult_SpotTrade); ok { 2281 return x.SpotTrade 2282 } 2283 return nil 2284 } 2285 2286 func (x *TradeResult) GetDerivativeTrade() *DerivativeTrade { 2287 if x, ok := x.GetTrade().(*TradeResult_DerivativeTrade); ok { 2288 return x.DerivativeTrade 2289 } 2290 return nil 2291 } 2292 2293 func (x *TradeResult) GetOperationType() string { 2294 if x != nil { 2295 return x.OperationType 2296 } 2297 return "" 2298 } 2299 2300 func (x *TradeResult) GetTimestamp() int64 { 2301 if x != nil { 2302 return x.Timestamp 2303 } 2304 return 0 2305 } 2306 2307 type isTradeResult_Trade interface { 2308 isTradeResult_Trade() 2309 } 2310 2311 type TradeResult_SpotTrade struct { 2312 // New spot market trade 2313 SpotTrade *SpotTrade `protobuf:"bytes,1,opt,name=spot_trade,json=spotTrade,proto3,oneof"` 2314 } 2315 2316 type TradeResult_DerivativeTrade struct { 2317 // New derivative market trade 2318 DerivativeTrade *DerivativeTrade `protobuf:"bytes,2,opt,name=derivative_trade,json=derivativeTrade,proto3,oneof"` 2319 } 2320 2321 func (*TradeResult_SpotTrade) isTradeResult_Trade() {} 2322 2323 func (*TradeResult_DerivativeTrade) isTradeResult_Trade() {} 2324 2325 type SpotTrade struct { 2326 state protoimpl.MessageState 2327 sizeCache protoimpl.SizeCache 2328 unknownFields protoimpl.UnknownFields 2329 2330 // Maker order hash. 2331 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 2332 // The subaccountId that executed the trade 2333 SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 2334 // The ID of the market that this trade is in 2335 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2336 // The execution type of the trade 2337 TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"` 2338 // The direction the trade 2339 TradeDirection string `protobuf:"bytes,5,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"` 2340 // Price level at which trade has been executed 2341 Price *PriceLevel `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"` 2342 // The fee associated with the trade (quote asset denom) 2343 Fee string `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"` 2344 // Timestamp of trade execution in UNIX millis 2345 ExecutedAt int64 `protobuf:"zigzag64,8,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` 2346 // Fee recipient address 2347 FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` 2348 // A unique string that helps differentiate between trades 2349 TradeId string `protobuf:"bytes,10,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` 2350 // Trade's execution side, marker/taker 2351 ExecutionSide string `protobuf:"bytes,11,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` 2352 // Custom client order ID 2353 Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"` 2354 } 2355 2356 func (x *SpotTrade) Reset() { 2357 *x = SpotTrade{} 2358 if protoimpl.UnsafeEnabled { 2359 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[34] 2360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2361 ms.StoreMessageInfo(mi) 2362 } 2363 } 2364 2365 func (x *SpotTrade) String() string { 2366 return protoimpl.X.MessageStringOf(x) 2367 } 2368 2369 func (*SpotTrade) ProtoMessage() {} 2370 2371 func (x *SpotTrade) ProtoReflect() protoreflect.Message { 2372 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[34] 2373 if protoimpl.UnsafeEnabled && x != nil { 2374 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2375 if ms.LoadMessageInfo() == nil { 2376 ms.StoreMessageInfo(mi) 2377 } 2378 return ms 2379 } 2380 return mi.MessageOf(x) 2381 } 2382 2383 // Deprecated: Use SpotTrade.ProtoReflect.Descriptor instead. 2384 func (*SpotTrade) Descriptor() ([]byte, []int) { 2385 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{34} 2386 } 2387 2388 func (x *SpotTrade) GetOrderHash() string { 2389 if x != nil { 2390 return x.OrderHash 2391 } 2392 return "" 2393 } 2394 2395 func (x *SpotTrade) GetSubaccountId() string { 2396 if x != nil { 2397 return x.SubaccountId 2398 } 2399 return "" 2400 } 2401 2402 func (x *SpotTrade) GetMarketId() string { 2403 if x != nil { 2404 return x.MarketId 2405 } 2406 return "" 2407 } 2408 2409 func (x *SpotTrade) GetTradeExecutionType() string { 2410 if x != nil { 2411 return x.TradeExecutionType 2412 } 2413 return "" 2414 } 2415 2416 func (x *SpotTrade) GetTradeDirection() string { 2417 if x != nil { 2418 return x.TradeDirection 2419 } 2420 return "" 2421 } 2422 2423 func (x *SpotTrade) GetPrice() *PriceLevel { 2424 if x != nil { 2425 return x.Price 2426 } 2427 return nil 2428 } 2429 2430 func (x *SpotTrade) GetFee() string { 2431 if x != nil { 2432 return x.Fee 2433 } 2434 return "" 2435 } 2436 2437 func (x *SpotTrade) GetExecutedAt() int64 { 2438 if x != nil { 2439 return x.ExecutedAt 2440 } 2441 return 0 2442 } 2443 2444 func (x *SpotTrade) GetFeeRecipient() string { 2445 if x != nil { 2446 return x.FeeRecipient 2447 } 2448 return "" 2449 } 2450 2451 func (x *SpotTrade) GetTradeId() string { 2452 if x != nil { 2453 return x.TradeId 2454 } 2455 return "" 2456 } 2457 2458 func (x *SpotTrade) GetExecutionSide() string { 2459 if x != nil { 2460 return x.ExecutionSide 2461 } 2462 return "" 2463 } 2464 2465 func (x *SpotTrade) GetCid() string { 2466 if x != nil { 2467 return x.Cid 2468 } 2469 return "" 2470 } 2471 2472 type PriceLevel struct { 2473 state protoimpl.MessageState 2474 sizeCache protoimpl.SizeCache 2475 unknownFields protoimpl.UnknownFields 2476 2477 // Price number of the price level. 2478 Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` 2479 // Quantity of the price level. 2480 Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` 2481 // Price level last updated timestamp in UNIX millis. 2482 Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 2483 } 2484 2485 func (x *PriceLevel) Reset() { 2486 *x = PriceLevel{} 2487 if protoimpl.UnsafeEnabled { 2488 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[35] 2489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2490 ms.StoreMessageInfo(mi) 2491 } 2492 } 2493 2494 func (x *PriceLevel) String() string { 2495 return protoimpl.X.MessageStringOf(x) 2496 } 2497 2498 func (*PriceLevel) ProtoMessage() {} 2499 2500 func (x *PriceLevel) ProtoReflect() protoreflect.Message { 2501 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[35] 2502 if protoimpl.UnsafeEnabled && x != nil { 2503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2504 if ms.LoadMessageInfo() == nil { 2505 ms.StoreMessageInfo(mi) 2506 } 2507 return ms 2508 } 2509 return mi.MessageOf(x) 2510 } 2511 2512 // Deprecated: Use PriceLevel.ProtoReflect.Descriptor instead. 2513 func (*PriceLevel) Descriptor() ([]byte, []int) { 2514 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{35} 2515 } 2516 2517 func (x *PriceLevel) GetPrice() string { 2518 if x != nil { 2519 return x.Price 2520 } 2521 return "" 2522 } 2523 2524 func (x *PriceLevel) GetQuantity() string { 2525 if x != nil { 2526 return x.Quantity 2527 } 2528 return "" 2529 } 2530 2531 func (x *PriceLevel) GetTimestamp() int64 { 2532 if x != nil { 2533 return x.Timestamp 2534 } 2535 return 0 2536 } 2537 2538 type DerivativeTrade struct { 2539 state protoimpl.MessageState 2540 sizeCache protoimpl.SizeCache 2541 unknownFields protoimpl.UnknownFields 2542 2543 // Order hash. 2544 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 2545 // The subaccountId that executed the trade 2546 SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 2547 // The ID of the market that this trade is in 2548 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2549 // The execution type of the trade 2550 TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"` 2551 // True if the trade is a liquidation 2552 IsLiquidation bool `protobuf:"varint,5,opt,name=is_liquidation,json=isLiquidation,proto3" json:"is_liquidation,omitempty"` 2553 // Position Delta from the trade 2554 PositionDelta *PositionDelta `protobuf:"bytes,6,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"` 2555 // The payout associated with the trade 2556 Payout string `protobuf:"bytes,7,opt,name=payout,proto3" json:"payout,omitempty"` 2557 // The fee associated with the trade 2558 Fee string `protobuf:"bytes,8,opt,name=fee,proto3" json:"fee,omitempty"` 2559 // Timestamp of trade execution in UNIX millis 2560 ExecutedAt int64 `protobuf:"zigzag64,9,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"` 2561 // Fee recipient address 2562 FeeRecipient string `protobuf:"bytes,10,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` 2563 // A unique string that helps differentiate between trades 2564 TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"` 2565 // Trade's execution side, marker/taker 2566 ExecutionSide string `protobuf:"bytes,12,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"` 2567 // Custom client order ID 2568 Cid string `protobuf:"bytes,13,opt,name=cid,proto3" json:"cid,omitempty"` 2569 } 2570 2571 func (x *DerivativeTrade) Reset() { 2572 *x = DerivativeTrade{} 2573 if protoimpl.UnsafeEnabled { 2574 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[36] 2575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2576 ms.StoreMessageInfo(mi) 2577 } 2578 } 2579 2580 func (x *DerivativeTrade) String() string { 2581 return protoimpl.X.MessageStringOf(x) 2582 } 2583 2584 func (*DerivativeTrade) ProtoMessage() {} 2585 2586 func (x *DerivativeTrade) ProtoReflect() protoreflect.Message { 2587 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[36] 2588 if protoimpl.UnsafeEnabled && x != nil { 2589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2590 if ms.LoadMessageInfo() == nil { 2591 ms.StoreMessageInfo(mi) 2592 } 2593 return ms 2594 } 2595 return mi.MessageOf(x) 2596 } 2597 2598 // Deprecated: Use DerivativeTrade.ProtoReflect.Descriptor instead. 2599 func (*DerivativeTrade) Descriptor() ([]byte, []int) { 2600 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{36} 2601 } 2602 2603 func (x *DerivativeTrade) GetOrderHash() string { 2604 if x != nil { 2605 return x.OrderHash 2606 } 2607 return "" 2608 } 2609 2610 func (x *DerivativeTrade) GetSubaccountId() string { 2611 if x != nil { 2612 return x.SubaccountId 2613 } 2614 return "" 2615 } 2616 2617 func (x *DerivativeTrade) GetMarketId() string { 2618 if x != nil { 2619 return x.MarketId 2620 } 2621 return "" 2622 } 2623 2624 func (x *DerivativeTrade) GetTradeExecutionType() string { 2625 if x != nil { 2626 return x.TradeExecutionType 2627 } 2628 return "" 2629 } 2630 2631 func (x *DerivativeTrade) GetIsLiquidation() bool { 2632 if x != nil { 2633 return x.IsLiquidation 2634 } 2635 return false 2636 } 2637 2638 func (x *DerivativeTrade) GetPositionDelta() *PositionDelta { 2639 if x != nil { 2640 return x.PositionDelta 2641 } 2642 return nil 2643 } 2644 2645 func (x *DerivativeTrade) GetPayout() string { 2646 if x != nil { 2647 return x.Payout 2648 } 2649 return "" 2650 } 2651 2652 func (x *DerivativeTrade) GetFee() string { 2653 if x != nil { 2654 return x.Fee 2655 } 2656 return "" 2657 } 2658 2659 func (x *DerivativeTrade) GetExecutedAt() int64 { 2660 if x != nil { 2661 return x.ExecutedAt 2662 } 2663 return 0 2664 } 2665 2666 func (x *DerivativeTrade) GetFeeRecipient() string { 2667 if x != nil { 2668 return x.FeeRecipient 2669 } 2670 return "" 2671 } 2672 2673 func (x *DerivativeTrade) GetTradeId() string { 2674 if x != nil { 2675 return x.TradeId 2676 } 2677 return "" 2678 } 2679 2680 func (x *DerivativeTrade) GetExecutionSide() string { 2681 if x != nil { 2682 return x.ExecutionSide 2683 } 2684 return "" 2685 } 2686 2687 func (x *DerivativeTrade) GetCid() string { 2688 if x != nil { 2689 return x.Cid 2690 } 2691 return "" 2692 } 2693 2694 type PositionDelta struct { 2695 state protoimpl.MessageState 2696 sizeCache protoimpl.SizeCache 2697 unknownFields protoimpl.UnknownFields 2698 2699 // The direction the trade 2700 TradeDirection string `protobuf:"bytes,1,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"` 2701 // Execution Price of the trade. 2702 ExecutionPrice string `protobuf:"bytes,2,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"` 2703 // Execution Quantity of the trade. 2704 ExecutionQuantity string `protobuf:"bytes,3,opt,name=execution_quantity,json=executionQuantity,proto3" json:"execution_quantity,omitempty"` 2705 // Execution Margin of the trade. 2706 ExecutionMargin string `protobuf:"bytes,4,opt,name=execution_margin,json=executionMargin,proto3" json:"execution_margin,omitempty"` 2707 } 2708 2709 func (x *PositionDelta) Reset() { 2710 *x = PositionDelta{} 2711 if protoimpl.UnsafeEnabled { 2712 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[37] 2713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2714 ms.StoreMessageInfo(mi) 2715 } 2716 } 2717 2718 func (x *PositionDelta) String() string { 2719 return protoimpl.X.MessageStringOf(x) 2720 } 2721 2722 func (*PositionDelta) ProtoMessage() {} 2723 2724 func (x *PositionDelta) ProtoReflect() protoreflect.Message { 2725 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[37] 2726 if protoimpl.UnsafeEnabled && x != nil { 2727 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2728 if ms.LoadMessageInfo() == nil { 2729 ms.StoreMessageInfo(mi) 2730 } 2731 return ms 2732 } 2733 return mi.MessageOf(x) 2734 } 2735 2736 // Deprecated: Use PositionDelta.ProtoReflect.Descriptor instead. 2737 func (*PositionDelta) Descriptor() ([]byte, []int) { 2738 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{37} 2739 } 2740 2741 func (x *PositionDelta) GetTradeDirection() string { 2742 if x != nil { 2743 return x.TradeDirection 2744 } 2745 return "" 2746 } 2747 2748 func (x *PositionDelta) GetExecutionPrice() string { 2749 if x != nil { 2750 return x.ExecutionPrice 2751 } 2752 return "" 2753 } 2754 2755 func (x *PositionDelta) GetExecutionQuantity() string { 2756 if x != nil { 2757 return x.ExecutionQuantity 2758 } 2759 return "" 2760 } 2761 2762 func (x *PositionDelta) GetExecutionMargin() string { 2763 if x != nil { 2764 return x.ExecutionMargin 2765 } 2766 return "" 2767 } 2768 2769 type OrderResult struct { 2770 state protoimpl.MessageState 2771 sizeCache protoimpl.SizeCache 2772 unknownFields protoimpl.UnknownFields 2773 2774 // Types that are assignable to Order: 2775 // 2776 // *OrderResult_SpotOrder 2777 // *OrderResult_DerivativeOrder 2778 Order isOrderResult_Order `protobuf_oneof:"order"` 2779 // Executed orders update type 2780 OperationType string `protobuf:"bytes,3,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` 2781 // Operation timestamp in UNIX millis. 2782 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 2783 } 2784 2785 func (x *OrderResult) Reset() { 2786 *x = OrderResult{} 2787 if protoimpl.UnsafeEnabled { 2788 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[38] 2789 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2790 ms.StoreMessageInfo(mi) 2791 } 2792 } 2793 2794 func (x *OrderResult) String() string { 2795 return protoimpl.X.MessageStringOf(x) 2796 } 2797 2798 func (*OrderResult) ProtoMessage() {} 2799 2800 func (x *OrderResult) ProtoReflect() protoreflect.Message { 2801 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[38] 2802 if protoimpl.UnsafeEnabled && x != nil { 2803 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2804 if ms.LoadMessageInfo() == nil { 2805 ms.StoreMessageInfo(mi) 2806 } 2807 return ms 2808 } 2809 return mi.MessageOf(x) 2810 } 2811 2812 // Deprecated: Use OrderResult.ProtoReflect.Descriptor instead. 2813 func (*OrderResult) Descriptor() ([]byte, []int) { 2814 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{38} 2815 } 2816 2817 func (m *OrderResult) GetOrder() isOrderResult_Order { 2818 if m != nil { 2819 return m.Order 2820 } 2821 return nil 2822 } 2823 2824 func (x *OrderResult) GetSpotOrder() *SpotLimitOrder { 2825 if x, ok := x.GetOrder().(*OrderResult_SpotOrder); ok { 2826 return x.SpotOrder 2827 } 2828 return nil 2829 } 2830 2831 func (x *OrderResult) GetDerivativeOrder() *DerivativeLimitOrder { 2832 if x, ok := x.GetOrder().(*OrderResult_DerivativeOrder); ok { 2833 return x.DerivativeOrder 2834 } 2835 return nil 2836 } 2837 2838 func (x *OrderResult) GetOperationType() string { 2839 if x != nil { 2840 return x.OperationType 2841 } 2842 return "" 2843 } 2844 2845 func (x *OrderResult) GetTimestamp() int64 { 2846 if x != nil { 2847 return x.Timestamp 2848 } 2849 return 0 2850 } 2851 2852 type isOrderResult_Order interface { 2853 isOrderResult_Order() 2854 } 2855 2856 type OrderResult_SpotOrder struct { 2857 // Updated spot market order 2858 SpotOrder *SpotLimitOrder `protobuf:"bytes,1,opt,name=spot_order,json=spotOrder,proto3,oneof"` 2859 } 2860 2861 type OrderResult_DerivativeOrder struct { 2862 // Updated derivative market order 2863 DerivativeOrder *DerivativeLimitOrder `protobuf:"bytes,2,opt,name=derivative_order,json=derivativeOrder,proto3,oneof"` 2864 } 2865 2866 func (*OrderResult_SpotOrder) isOrderResult_Order() {} 2867 2868 func (*OrderResult_DerivativeOrder) isOrderResult_Order() {} 2869 2870 type SpotLimitOrder struct { 2871 state protoimpl.MessageState 2872 sizeCache protoimpl.SizeCache 2873 unknownFields protoimpl.UnknownFields 2874 2875 // Hash of the order 2876 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 2877 // The side of the order 2878 OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` 2879 // Spot Market ID is keccak265(baseDenom + quoteDenom) 2880 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 2881 // The subaccountId that this order belongs to 2882 SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 2883 // Price of the order 2884 Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"` 2885 // Quantity of the order 2886 Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"` 2887 // The amount of the quantity remaining unfilled 2888 UnfilledQuantity string `protobuf:"bytes,7,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"` 2889 // Trigger price is the trigger price used by stop/take orders. 0 if the 2890 // trigger price is not set. 2891 TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` 2892 // Fee recipient address 2893 FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` 2894 // Order state 2895 State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"` 2896 // Order committed timestamp in UNIX millis. 2897 CreatedAt int64 `protobuf:"zigzag64,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 2898 // Order updated timestamp in UNIX millis. 2899 UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 2900 // Transaction Hash where order is created. Not all orders have this field 2901 TxHash string `protobuf:"bytes,13,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 2902 // Custom client order ID 2903 Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"` 2904 } 2905 2906 func (x *SpotLimitOrder) Reset() { 2907 *x = SpotLimitOrder{} 2908 if protoimpl.UnsafeEnabled { 2909 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[39] 2910 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2911 ms.StoreMessageInfo(mi) 2912 } 2913 } 2914 2915 func (x *SpotLimitOrder) String() string { 2916 return protoimpl.X.MessageStringOf(x) 2917 } 2918 2919 func (*SpotLimitOrder) ProtoMessage() {} 2920 2921 func (x *SpotLimitOrder) ProtoReflect() protoreflect.Message { 2922 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[39] 2923 if protoimpl.UnsafeEnabled && x != nil { 2924 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 2925 if ms.LoadMessageInfo() == nil { 2926 ms.StoreMessageInfo(mi) 2927 } 2928 return ms 2929 } 2930 return mi.MessageOf(x) 2931 } 2932 2933 // Deprecated: Use SpotLimitOrder.ProtoReflect.Descriptor instead. 2934 func (*SpotLimitOrder) Descriptor() ([]byte, []int) { 2935 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{39} 2936 } 2937 2938 func (x *SpotLimitOrder) GetOrderHash() string { 2939 if x != nil { 2940 return x.OrderHash 2941 } 2942 return "" 2943 } 2944 2945 func (x *SpotLimitOrder) GetOrderSide() string { 2946 if x != nil { 2947 return x.OrderSide 2948 } 2949 return "" 2950 } 2951 2952 func (x *SpotLimitOrder) GetMarketId() string { 2953 if x != nil { 2954 return x.MarketId 2955 } 2956 return "" 2957 } 2958 2959 func (x *SpotLimitOrder) GetSubaccountId() string { 2960 if x != nil { 2961 return x.SubaccountId 2962 } 2963 return "" 2964 } 2965 2966 func (x *SpotLimitOrder) GetPrice() string { 2967 if x != nil { 2968 return x.Price 2969 } 2970 return "" 2971 } 2972 2973 func (x *SpotLimitOrder) GetQuantity() string { 2974 if x != nil { 2975 return x.Quantity 2976 } 2977 return "" 2978 } 2979 2980 func (x *SpotLimitOrder) GetUnfilledQuantity() string { 2981 if x != nil { 2982 return x.UnfilledQuantity 2983 } 2984 return "" 2985 } 2986 2987 func (x *SpotLimitOrder) GetTriggerPrice() string { 2988 if x != nil { 2989 return x.TriggerPrice 2990 } 2991 return "" 2992 } 2993 2994 func (x *SpotLimitOrder) GetFeeRecipient() string { 2995 if x != nil { 2996 return x.FeeRecipient 2997 } 2998 return "" 2999 } 3000 3001 func (x *SpotLimitOrder) GetState() string { 3002 if x != nil { 3003 return x.State 3004 } 3005 return "" 3006 } 3007 3008 func (x *SpotLimitOrder) GetCreatedAt() int64 { 3009 if x != nil { 3010 return x.CreatedAt 3011 } 3012 return 0 3013 } 3014 3015 func (x *SpotLimitOrder) GetUpdatedAt() int64 { 3016 if x != nil { 3017 return x.UpdatedAt 3018 } 3019 return 0 3020 } 3021 3022 func (x *SpotLimitOrder) GetTxHash() string { 3023 if x != nil { 3024 return x.TxHash 3025 } 3026 return "" 3027 } 3028 3029 func (x *SpotLimitOrder) GetCid() string { 3030 if x != nil { 3031 return x.Cid 3032 } 3033 return "" 3034 } 3035 3036 type DerivativeLimitOrder struct { 3037 state protoimpl.MessageState 3038 sizeCache protoimpl.SizeCache 3039 unknownFields protoimpl.UnknownFields 3040 3041 // Hash of the order 3042 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 3043 // The side of the order 3044 OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"` 3045 // Derivative Market ID 3046 MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 3047 // The subaccountId that this order belongs to 3048 SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 3049 // True if the order is a reduce-only order 3050 IsReduceOnly bool `protobuf:"varint,5,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"` 3051 // Margin of the order 3052 Margin string `protobuf:"bytes,6,opt,name=margin,proto3" json:"margin,omitempty"` 3053 // Price of the order 3054 Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` 3055 // Quantity of the order 3056 Quantity string `protobuf:"bytes,8,opt,name=quantity,proto3" json:"quantity,omitempty"` 3057 // The amount of the quantity remaining unfilled 3058 UnfilledQuantity string `protobuf:"bytes,9,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"` 3059 // Trigger price is the trigger price used by stop/take orders 3060 TriggerPrice string `protobuf:"bytes,10,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` 3061 // Fee recipient address 3062 FeeRecipient string `protobuf:"bytes,11,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"` 3063 // Order state 3064 State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` 3065 // Order committed timestamp in UNIX millis. 3066 CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 3067 // Order updated timestamp in UNIX millis. 3068 UpdatedAt int64 `protobuf:"zigzag64,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 3069 // Order number of subaccount 3070 OrderNumber int64 `protobuf:"zigzag64,15,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"` 3071 // Order type 3072 OrderType string `protobuf:"bytes,16,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` 3073 // Order type 3074 IsConditional bool `protobuf:"varint,17,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` 3075 // Trigger timestamp, only exists for conditional orders 3076 TriggerAt uint64 `protobuf:"varint,18,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"` 3077 // OrderHash of order that is triggered by this conditional order 3078 PlacedOrderHash string `protobuf:"bytes,19,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"` 3079 // Execution type of conditional order 3080 ExecutionType string `protobuf:"bytes,20,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` 3081 // Transaction Hash where order is created. Not all orders have this field 3082 TxHash string `protobuf:"bytes,21,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 3083 // Custom client order ID 3084 Cid string `protobuf:"bytes,22,opt,name=cid,proto3" json:"cid,omitempty"` 3085 } 3086 3087 func (x *DerivativeLimitOrder) Reset() { 3088 *x = DerivativeLimitOrder{} 3089 if protoimpl.UnsafeEnabled { 3090 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[40] 3091 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3092 ms.StoreMessageInfo(mi) 3093 } 3094 } 3095 3096 func (x *DerivativeLimitOrder) String() string { 3097 return protoimpl.X.MessageStringOf(x) 3098 } 3099 3100 func (*DerivativeLimitOrder) ProtoMessage() {} 3101 3102 func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message { 3103 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[40] 3104 if protoimpl.UnsafeEnabled && x != nil { 3105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3106 if ms.LoadMessageInfo() == nil { 3107 ms.StoreMessageInfo(mi) 3108 } 3109 return ms 3110 } 3111 return mi.MessageOf(x) 3112 } 3113 3114 // Deprecated: Use DerivativeLimitOrder.ProtoReflect.Descriptor instead. 3115 func (*DerivativeLimitOrder) Descriptor() ([]byte, []int) { 3116 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{40} 3117 } 3118 3119 func (x *DerivativeLimitOrder) GetOrderHash() string { 3120 if x != nil { 3121 return x.OrderHash 3122 } 3123 return "" 3124 } 3125 3126 func (x *DerivativeLimitOrder) GetOrderSide() string { 3127 if x != nil { 3128 return x.OrderSide 3129 } 3130 return "" 3131 } 3132 3133 func (x *DerivativeLimitOrder) GetMarketId() string { 3134 if x != nil { 3135 return x.MarketId 3136 } 3137 return "" 3138 } 3139 3140 func (x *DerivativeLimitOrder) GetSubaccountId() string { 3141 if x != nil { 3142 return x.SubaccountId 3143 } 3144 return "" 3145 } 3146 3147 func (x *DerivativeLimitOrder) GetIsReduceOnly() bool { 3148 if x != nil { 3149 return x.IsReduceOnly 3150 } 3151 return false 3152 } 3153 3154 func (x *DerivativeLimitOrder) GetMargin() string { 3155 if x != nil { 3156 return x.Margin 3157 } 3158 return "" 3159 } 3160 3161 func (x *DerivativeLimitOrder) GetPrice() string { 3162 if x != nil { 3163 return x.Price 3164 } 3165 return "" 3166 } 3167 3168 func (x *DerivativeLimitOrder) GetQuantity() string { 3169 if x != nil { 3170 return x.Quantity 3171 } 3172 return "" 3173 } 3174 3175 func (x *DerivativeLimitOrder) GetUnfilledQuantity() string { 3176 if x != nil { 3177 return x.UnfilledQuantity 3178 } 3179 return "" 3180 } 3181 3182 func (x *DerivativeLimitOrder) GetTriggerPrice() string { 3183 if x != nil { 3184 return x.TriggerPrice 3185 } 3186 return "" 3187 } 3188 3189 func (x *DerivativeLimitOrder) GetFeeRecipient() string { 3190 if x != nil { 3191 return x.FeeRecipient 3192 } 3193 return "" 3194 } 3195 3196 func (x *DerivativeLimitOrder) GetState() string { 3197 if x != nil { 3198 return x.State 3199 } 3200 return "" 3201 } 3202 3203 func (x *DerivativeLimitOrder) GetCreatedAt() int64 { 3204 if x != nil { 3205 return x.CreatedAt 3206 } 3207 return 0 3208 } 3209 3210 func (x *DerivativeLimitOrder) GetUpdatedAt() int64 { 3211 if x != nil { 3212 return x.UpdatedAt 3213 } 3214 return 0 3215 } 3216 3217 func (x *DerivativeLimitOrder) GetOrderNumber() int64 { 3218 if x != nil { 3219 return x.OrderNumber 3220 } 3221 return 0 3222 } 3223 3224 func (x *DerivativeLimitOrder) GetOrderType() string { 3225 if x != nil { 3226 return x.OrderType 3227 } 3228 return "" 3229 } 3230 3231 func (x *DerivativeLimitOrder) GetIsConditional() bool { 3232 if x != nil { 3233 return x.IsConditional 3234 } 3235 return false 3236 } 3237 3238 func (x *DerivativeLimitOrder) GetTriggerAt() uint64 { 3239 if x != nil { 3240 return x.TriggerAt 3241 } 3242 return 0 3243 } 3244 3245 func (x *DerivativeLimitOrder) GetPlacedOrderHash() string { 3246 if x != nil { 3247 return x.PlacedOrderHash 3248 } 3249 return "" 3250 } 3251 3252 func (x *DerivativeLimitOrder) GetExecutionType() string { 3253 if x != nil { 3254 return x.ExecutionType 3255 } 3256 return "" 3257 } 3258 3259 func (x *DerivativeLimitOrder) GetTxHash() string { 3260 if x != nil { 3261 return x.TxHash 3262 } 3263 return "" 3264 } 3265 3266 func (x *DerivativeLimitOrder) GetCid() string { 3267 if x != nil { 3268 return x.Cid 3269 } 3270 return "" 3271 } 3272 3273 type OrderHistoryResult struct { 3274 state protoimpl.MessageState 3275 sizeCache protoimpl.SizeCache 3276 unknownFields protoimpl.UnknownFields 3277 3278 // Types that are assignable to OrderHistory: 3279 // 3280 // *OrderHistoryResult_SpotOrderHistory 3281 // *OrderHistoryResult_DerivativeOrderHistory 3282 OrderHistory isOrderHistoryResult_OrderHistory `protobuf_oneof:"order_history"` 3283 // Order update type 3284 OperationType string `protobuf:"bytes,3,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` 3285 // Operation timestamp in UNIX millis. 3286 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 3287 } 3288 3289 func (x *OrderHistoryResult) Reset() { 3290 *x = OrderHistoryResult{} 3291 if protoimpl.UnsafeEnabled { 3292 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[41] 3293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3294 ms.StoreMessageInfo(mi) 3295 } 3296 } 3297 3298 func (x *OrderHistoryResult) String() string { 3299 return protoimpl.X.MessageStringOf(x) 3300 } 3301 3302 func (*OrderHistoryResult) ProtoMessage() {} 3303 3304 func (x *OrderHistoryResult) ProtoReflect() protoreflect.Message { 3305 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[41] 3306 if protoimpl.UnsafeEnabled && x != nil { 3307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3308 if ms.LoadMessageInfo() == nil { 3309 ms.StoreMessageInfo(mi) 3310 } 3311 return ms 3312 } 3313 return mi.MessageOf(x) 3314 } 3315 3316 // Deprecated: Use OrderHistoryResult.ProtoReflect.Descriptor instead. 3317 func (*OrderHistoryResult) Descriptor() ([]byte, []int) { 3318 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{41} 3319 } 3320 3321 func (m *OrderHistoryResult) GetOrderHistory() isOrderHistoryResult_OrderHistory { 3322 if m != nil { 3323 return m.OrderHistory 3324 } 3325 return nil 3326 } 3327 3328 func (x *OrderHistoryResult) GetSpotOrderHistory() *SpotOrderHistory { 3329 if x, ok := x.GetOrderHistory().(*OrderHistoryResult_SpotOrderHistory); ok { 3330 return x.SpotOrderHistory 3331 } 3332 return nil 3333 } 3334 3335 func (x *OrderHistoryResult) GetDerivativeOrderHistory() *DerivativeOrderHistory { 3336 if x, ok := x.GetOrderHistory().(*OrderHistoryResult_DerivativeOrderHistory); ok { 3337 return x.DerivativeOrderHistory 3338 } 3339 return nil 3340 } 3341 3342 func (x *OrderHistoryResult) GetOperationType() string { 3343 if x != nil { 3344 return x.OperationType 3345 } 3346 return "" 3347 } 3348 3349 func (x *OrderHistoryResult) GetTimestamp() int64 { 3350 if x != nil { 3351 return x.Timestamp 3352 } 3353 return 0 3354 } 3355 3356 type isOrderHistoryResult_OrderHistory interface { 3357 isOrderHistoryResult_OrderHistory() 3358 } 3359 3360 type OrderHistoryResult_SpotOrderHistory struct { 3361 // Spot order history 3362 SpotOrderHistory *SpotOrderHistory `protobuf:"bytes,1,opt,name=spot_order_history,json=spotOrderHistory,proto3,oneof"` 3363 } 3364 3365 type OrderHistoryResult_DerivativeOrderHistory struct { 3366 // Derivative order history 3367 DerivativeOrderHistory *DerivativeOrderHistory `protobuf:"bytes,2,opt,name=derivative_order_history,json=derivativeOrderHistory,proto3,oneof"` 3368 } 3369 3370 func (*OrderHistoryResult_SpotOrderHistory) isOrderHistoryResult_OrderHistory() {} 3371 3372 func (*OrderHistoryResult_DerivativeOrderHistory) isOrderHistoryResult_OrderHistory() {} 3373 3374 type SpotOrderHistory struct { 3375 state protoimpl.MessageState 3376 sizeCache protoimpl.SizeCache 3377 unknownFields protoimpl.UnknownFields 3378 3379 // Hash of the order 3380 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 3381 // Spot Market ID is keccak265(baseDenom + quoteDenom) 3382 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 3383 // active state of the order 3384 IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` 3385 // The subaccountId that this order belongs to 3386 SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 3387 // The execution type 3388 ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` 3389 // The side of the order 3390 OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` 3391 // Price of the order 3392 Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` 3393 // Trigger price 3394 TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` 3395 // Quantity of the order 3396 Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"` 3397 // Filled amount 3398 FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` 3399 // Order state 3400 State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` 3401 // Order committed timestamp in UNIX millis. 3402 CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 3403 // Order updated timestamp in UNIX millis. 3404 UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 3405 // Order direction (order side) 3406 Direction string `protobuf:"bytes,14,opt,name=direction,proto3" json:"direction,omitempty"` 3407 // Transaction Hash where order is created. Not all orders have this field 3408 TxHash string `protobuf:"bytes,15,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 3409 // Custom client order ID 3410 Cid string `protobuf:"bytes,16,opt,name=cid,proto3" json:"cid,omitempty"` 3411 } 3412 3413 func (x *SpotOrderHistory) Reset() { 3414 *x = SpotOrderHistory{} 3415 if protoimpl.UnsafeEnabled { 3416 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[42] 3417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3418 ms.StoreMessageInfo(mi) 3419 } 3420 } 3421 3422 func (x *SpotOrderHistory) String() string { 3423 return protoimpl.X.MessageStringOf(x) 3424 } 3425 3426 func (*SpotOrderHistory) ProtoMessage() {} 3427 3428 func (x *SpotOrderHistory) ProtoReflect() protoreflect.Message { 3429 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[42] 3430 if protoimpl.UnsafeEnabled && x != nil { 3431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3432 if ms.LoadMessageInfo() == nil { 3433 ms.StoreMessageInfo(mi) 3434 } 3435 return ms 3436 } 3437 return mi.MessageOf(x) 3438 } 3439 3440 // Deprecated: Use SpotOrderHistory.ProtoReflect.Descriptor instead. 3441 func (*SpotOrderHistory) Descriptor() ([]byte, []int) { 3442 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{42} 3443 } 3444 3445 func (x *SpotOrderHistory) GetOrderHash() string { 3446 if x != nil { 3447 return x.OrderHash 3448 } 3449 return "" 3450 } 3451 3452 func (x *SpotOrderHistory) GetMarketId() string { 3453 if x != nil { 3454 return x.MarketId 3455 } 3456 return "" 3457 } 3458 3459 func (x *SpotOrderHistory) GetIsActive() bool { 3460 if x != nil { 3461 return x.IsActive 3462 } 3463 return false 3464 } 3465 3466 func (x *SpotOrderHistory) GetSubaccountId() string { 3467 if x != nil { 3468 return x.SubaccountId 3469 } 3470 return "" 3471 } 3472 3473 func (x *SpotOrderHistory) GetExecutionType() string { 3474 if x != nil { 3475 return x.ExecutionType 3476 } 3477 return "" 3478 } 3479 3480 func (x *SpotOrderHistory) GetOrderType() string { 3481 if x != nil { 3482 return x.OrderType 3483 } 3484 return "" 3485 } 3486 3487 func (x *SpotOrderHistory) GetPrice() string { 3488 if x != nil { 3489 return x.Price 3490 } 3491 return "" 3492 } 3493 3494 func (x *SpotOrderHistory) GetTriggerPrice() string { 3495 if x != nil { 3496 return x.TriggerPrice 3497 } 3498 return "" 3499 } 3500 3501 func (x *SpotOrderHistory) GetQuantity() string { 3502 if x != nil { 3503 return x.Quantity 3504 } 3505 return "" 3506 } 3507 3508 func (x *SpotOrderHistory) GetFilledQuantity() string { 3509 if x != nil { 3510 return x.FilledQuantity 3511 } 3512 return "" 3513 } 3514 3515 func (x *SpotOrderHistory) GetState() string { 3516 if x != nil { 3517 return x.State 3518 } 3519 return "" 3520 } 3521 3522 func (x *SpotOrderHistory) GetCreatedAt() int64 { 3523 if x != nil { 3524 return x.CreatedAt 3525 } 3526 return 0 3527 } 3528 3529 func (x *SpotOrderHistory) GetUpdatedAt() int64 { 3530 if x != nil { 3531 return x.UpdatedAt 3532 } 3533 return 0 3534 } 3535 3536 func (x *SpotOrderHistory) GetDirection() string { 3537 if x != nil { 3538 return x.Direction 3539 } 3540 return "" 3541 } 3542 3543 func (x *SpotOrderHistory) GetTxHash() string { 3544 if x != nil { 3545 return x.TxHash 3546 } 3547 return "" 3548 } 3549 3550 func (x *SpotOrderHistory) GetCid() string { 3551 if x != nil { 3552 return x.Cid 3553 } 3554 return "" 3555 } 3556 3557 type DerivativeOrderHistory struct { 3558 state protoimpl.MessageState 3559 sizeCache protoimpl.SizeCache 3560 unknownFields protoimpl.UnknownFields 3561 3562 // Hash of the order 3563 OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"` 3564 // Spot Market ID is keccak265(baseDenom + quoteDenom) 3565 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 3566 // active state of the order 3567 IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` 3568 // The subaccountId that this order belongs to 3569 SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 3570 // The execution type 3571 ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"` 3572 // The side of the order 3573 OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` 3574 // Price of the order 3575 Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"` 3576 // Trigger price 3577 TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"` 3578 // Quantity of the order 3579 Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"` 3580 // Filled amount 3581 FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"` 3582 // Order state 3583 State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` 3584 // Order committed timestamp in UNIX millis. 3585 CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 3586 // Order updated timestamp in UNIX millis. 3587 UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 3588 // True if an order is reduce only 3589 IsReduceOnly bool `protobuf:"varint,14,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"` 3590 // Order direction (order side) 3591 Direction string `protobuf:"bytes,15,opt,name=direction,proto3" json:"direction,omitempty"` 3592 // True if this is conditional order, otherwise false 3593 IsConditional bool `protobuf:"varint,16,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"` 3594 // Trigger timestamp in unix milli 3595 TriggerAt uint64 `protobuf:"varint,17,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"` 3596 // Order hash placed when this triggers 3597 PlacedOrderHash string `protobuf:"bytes,18,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"` 3598 // Order's margin 3599 Margin string `protobuf:"bytes,19,opt,name=margin,proto3" json:"margin,omitempty"` 3600 // Transaction Hash where order is created. Not all orders have this field 3601 TxHash string `protobuf:"bytes,20,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` 3602 // Custom client order ID 3603 Cid string `protobuf:"bytes,21,opt,name=cid,proto3" json:"cid,omitempty"` 3604 } 3605 3606 func (x *DerivativeOrderHistory) Reset() { 3607 *x = DerivativeOrderHistory{} 3608 if protoimpl.UnsafeEnabled { 3609 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[43] 3610 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3611 ms.StoreMessageInfo(mi) 3612 } 3613 } 3614 3615 func (x *DerivativeOrderHistory) String() string { 3616 return protoimpl.X.MessageStringOf(x) 3617 } 3618 3619 func (*DerivativeOrderHistory) ProtoMessage() {} 3620 3621 func (x *DerivativeOrderHistory) ProtoReflect() protoreflect.Message { 3622 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[43] 3623 if protoimpl.UnsafeEnabled && x != nil { 3624 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3625 if ms.LoadMessageInfo() == nil { 3626 ms.StoreMessageInfo(mi) 3627 } 3628 return ms 3629 } 3630 return mi.MessageOf(x) 3631 } 3632 3633 // Deprecated: Use DerivativeOrderHistory.ProtoReflect.Descriptor instead. 3634 func (*DerivativeOrderHistory) Descriptor() ([]byte, []int) { 3635 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{43} 3636 } 3637 3638 func (x *DerivativeOrderHistory) GetOrderHash() string { 3639 if x != nil { 3640 return x.OrderHash 3641 } 3642 return "" 3643 } 3644 3645 func (x *DerivativeOrderHistory) GetMarketId() string { 3646 if x != nil { 3647 return x.MarketId 3648 } 3649 return "" 3650 } 3651 3652 func (x *DerivativeOrderHistory) GetIsActive() bool { 3653 if x != nil { 3654 return x.IsActive 3655 } 3656 return false 3657 } 3658 3659 func (x *DerivativeOrderHistory) GetSubaccountId() string { 3660 if x != nil { 3661 return x.SubaccountId 3662 } 3663 return "" 3664 } 3665 3666 func (x *DerivativeOrderHistory) GetExecutionType() string { 3667 if x != nil { 3668 return x.ExecutionType 3669 } 3670 return "" 3671 } 3672 3673 func (x *DerivativeOrderHistory) GetOrderType() string { 3674 if x != nil { 3675 return x.OrderType 3676 } 3677 return "" 3678 } 3679 3680 func (x *DerivativeOrderHistory) GetPrice() string { 3681 if x != nil { 3682 return x.Price 3683 } 3684 return "" 3685 } 3686 3687 func (x *DerivativeOrderHistory) GetTriggerPrice() string { 3688 if x != nil { 3689 return x.TriggerPrice 3690 } 3691 return "" 3692 } 3693 3694 func (x *DerivativeOrderHistory) GetQuantity() string { 3695 if x != nil { 3696 return x.Quantity 3697 } 3698 return "" 3699 } 3700 3701 func (x *DerivativeOrderHistory) GetFilledQuantity() string { 3702 if x != nil { 3703 return x.FilledQuantity 3704 } 3705 return "" 3706 } 3707 3708 func (x *DerivativeOrderHistory) GetState() string { 3709 if x != nil { 3710 return x.State 3711 } 3712 return "" 3713 } 3714 3715 func (x *DerivativeOrderHistory) GetCreatedAt() int64 { 3716 if x != nil { 3717 return x.CreatedAt 3718 } 3719 return 0 3720 } 3721 3722 func (x *DerivativeOrderHistory) GetUpdatedAt() int64 { 3723 if x != nil { 3724 return x.UpdatedAt 3725 } 3726 return 0 3727 } 3728 3729 func (x *DerivativeOrderHistory) GetIsReduceOnly() bool { 3730 if x != nil { 3731 return x.IsReduceOnly 3732 } 3733 return false 3734 } 3735 3736 func (x *DerivativeOrderHistory) GetDirection() string { 3737 if x != nil { 3738 return x.Direction 3739 } 3740 return "" 3741 } 3742 3743 func (x *DerivativeOrderHistory) GetIsConditional() bool { 3744 if x != nil { 3745 return x.IsConditional 3746 } 3747 return false 3748 } 3749 3750 func (x *DerivativeOrderHistory) GetTriggerAt() uint64 { 3751 if x != nil { 3752 return x.TriggerAt 3753 } 3754 return 0 3755 } 3756 3757 func (x *DerivativeOrderHistory) GetPlacedOrderHash() string { 3758 if x != nil { 3759 return x.PlacedOrderHash 3760 } 3761 return "" 3762 } 3763 3764 func (x *DerivativeOrderHistory) GetMargin() string { 3765 if x != nil { 3766 return x.Margin 3767 } 3768 return "" 3769 } 3770 3771 func (x *DerivativeOrderHistory) GetTxHash() string { 3772 if x != nil { 3773 return x.TxHash 3774 } 3775 return "" 3776 } 3777 3778 func (x *DerivativeOrderHistory) GetCid() string { 3779 if x != nil { 3780 return x.Cid 3781 } 3782 return "" 3783 } 3784 3785 type FundingPaymentResult struct { 3786 state protoimpl.MessageState 3787 sizeCache protoimpl.SizeCache 3788 unknownFields protoimpl.UnknownFields 3789 3790 // Funding payments of the account 3791 FundingPayments *FundingPayment `protobuf:"bytes,1,opt,name=funding_payments,json=fundingPayments,proto3" json:"funding_payments,omitempty"` 3792 // Funding payments type 3793 OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"` 3794 // Operation timestamp in UNIX millis. 3795 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 3796 } 3797 3798 func (x *FundingPaymentResult) Reset() { 3799 *x = FundingPaymentResult{} 3800 if protoimpl.UnsafeEnabled { 3801 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[44] 3802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3803 ms.StoreMessageInfo(mi) 3804 } 3805 } 3806 3807 func (x *FundingPaymentResult) String() string { 3808 return protoimpl.X.MessageStringOf(x) 3809 } 3810 3811 func (*FundingPaymentResult) ProtoMessage() {} 3812 3813 func (x *FundingPaymentResult) ProtoReflect() protoreflect.Message { 3814 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[44] 3815 if protoimpl.UnsafeEnabled && x != nil { 3816 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3817 if ms.LoadMessageInfo() == nil { 3818 ms.StoreMessageInfo(mi) 3819 } 3820 return ms 3821 } 3822 return mi.MessageOf(x) 3823 } 3824 3825 // Deprecated: Use FundingPaymentResult.ProtoReflect.Descriptor instead. 3826 func (*FundingPaymentResult) Descriptor() ([]byte, []int) { 3827 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{44} 3828 } 3829 3830 func (x *FundingPaymentResult) GetFundingPayments() *FundingPayment { 3831 if x != nil { 3832 return x.FundingPayments 3833 } 3834 return nil 3835 } 3836 3837 func (x *FundingPaymentResult) GetOperationType() string { 3838 if x != nil { 3839 return x.OperationType 3840 } 3841 return "" 3842 } 3843 3844 func (x *FundingPaymentResult) GetTimestamp() int64 { 3845 if x != nil { 3846 return x.Timestamp 3847 } 3848 return 0 3849 } 3850 3851 type FundingPayment struct { 3852 state protoimpl.MessageState 3853 sizeCache protoimpl.SizeCache 3854 unknownFields protoimpl.UnknownFields 3855 3856 // Derivative Market ID 3857 MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 3858 // The subaccountId that the position belongs to 3859 SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 3860 // Amount of the funding payment 3861 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 3862 // Timestamp of funding payment in UNIX millis 3863 Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 3864 } 3865 3866 func (x *FundingPayment) Reset() { 3867 *x = FundingPayment{} 3868 if protoimpl.UnsafeEnabled { 3869 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[45] 3870 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3871 ms.StoreMessageInfo(mi) 3872 } 3873 } 3874 3875 func (x *FundingPayment) String() string { 3876 return protoimpl.X.MessageStringOf(x) 3877 } 3878 3879 func (*FundingPayment) ProtoMessage() {} 3880 3881 func (x *FundingPayment) ProtoReflect() protoreflect.Message { 3882 mi := &file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[45] 3883 if protoimpl.UnsafeEnabled && x != nil { 3884 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 3885 if ms.LoadMessageInfo() == nil { 3886 ms.StoreMessageInfo(mi) 3887 } 3888 return ms 3889 } 3890 return mi.MessageOf(x) 3891 } 3892 3893 // Deprecated: Use FundingPayment.ProtoReflect.Descriptor instead. 3894 func (*FundingPayment) Descriptor() ([]byte, []int) { 3895 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP(), []int{45} 3896 } 3897 3898 func (x *FundingPayment) GetMarketId() string { 3899 if x != nil { 3900 return x.MarketId 3901 } 3902 return "" 3903 } 3904 3905 func (x *FundingPayment) GetSubaccountId() string { 3906 if x != nil { 3907 return x.SubaccountId 3908 } 3909 return "" 3910 } 3911 3912 func (x *FundingPayment) GetAmount() string { 3913 if x != nil { 3914 return x.Amount 3915 } 3916 return "" 3917 } 3918 3919 func (x *FundingPayment) GetTimestamp() int64 { 3920 if x != nil { 3921 return x.Timestamp 3922 } 3923 return 0 3924 } 3925 3926 var File_goadesign_goagen_injective_accounts_rpc_proto protoreflect.FileDescriptor 3927 3928 var file_goadesign_goagen_injective_accounts_rpc_proto_rawDesc = []byte{ 3929 0x0a, 0x2d, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67, 3930 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 3931 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 3932 0x16, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 3933 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x3b, 0x0a, 0x10, 0x50, 0x6f, 0x72, 0x74, 0x66, 3934 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 3935 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 3936 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 3937 0x72, 0x65, 0x73, 0x73, 0x22, 0x5b, 0x0a, 0x11, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 3938 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x6f, 0x72, 3939 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x69, 3940 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 3941 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 3942 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 3943 0x6f, 0x22, 0x85, 0x02, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 3944 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 3945 0x6c, 0x69, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 3946 0x0e, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 3947 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 3948 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 3949 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 3950 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 3951 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 3952 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 3953 0x64, 0x5f, 0x70, 0x6e, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x6e, 0x72, 3954 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x6e, 0x6c, 0x12, 0x4d, 0x0a, 0x0b, 0x73, 0x75, 3955 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 3956 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 3957 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 3958 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x0b, 0x73, 0x75, 3959 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x13, 0x53, 0x75, 3960 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 3961 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 3962 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 3963 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 3964 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 3965 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 3966 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x62, 0x61, 3967 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x6f, 0x63, 3968 0x6b, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, 3969 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x6e, 0x6c, 0x18, 0x04, 0x20, 0x01, 3970 0x28, 0x09, 0x52, 0x0d, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x6e, 3971 0x6c, 0x22, 0x78, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 3972 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x70, 0x6f, 0x74, 0x5f, 3973 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 3974 0x28, 0x09, 0x52, 0x0f, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 3975 0x68, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 3976 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x02, 3977 0x20, 0x03, 0x28, 0x09, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 3978 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x13, 3979 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 3980 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 3981 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 3982 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 3983 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 3984 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0f, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 3985 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x60, 0x0a, 0x17, 0x64, 0x65, 0x72, 3986 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x74, 3987 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 3988 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 3989 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 3990 0x63, 0x6f, 0x72, 0x64, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 3991 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x8b, 0x03, 0x0a, 0x10, 3992 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 3993 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 3994 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 3995 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 3996 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 3997 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 3998 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 3999 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 4000 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 4001 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x05, 4002 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 4003 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 4004 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 4005 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 4006 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x46, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x2d, 4007 0x0a, 0x12, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x6d, 0x61, 0x69, 4008 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x71, 0x75, 0x61, 0x6e, 4009 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 4010 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 4011 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 4012 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 4013 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 4014 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 4015 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 4016 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x22, 0x41, 0x0a, 0x16, 0x53, 0x75, 0x62, 4017 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 4018 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 4019 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 4020 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3b, 0x0a, 0x17, 4021 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 4022 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 4023 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 4024 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x5c, 0x0a, 0x1d, 0x53, 0x75, 0x62, 4025 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 4026 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 4027 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 4028 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 4029 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 4030 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x67, 0x0a, 0x1e, 0x53, 0x75, 0x62, 0x61, 0x63, 4031 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 4032 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x62, 0x61, 0x6c, 4033 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 4034 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4035 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 4036 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 4037 0x22, 0xbc, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 4038 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 4039 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 4040 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 4041 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 4042 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 4043 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 4044 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x65, 4045 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 4046 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4047 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 4048 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x22, 4049 0x65, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x70, 4050 0x6f, 0x73, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 4051 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x74, 4052 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 4053 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 4054 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 4055 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5d, 0x0a, 0x20, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 4056 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 4057 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 4058 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 4059 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 4060 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 4061 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x68, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 4062 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 4063 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 4064 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 4065 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4066 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 4067 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 4068 0x5d, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 4069 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 4070 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 4071 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 4072 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 4073 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x84, 4074 0x01, 0x0a, 0x1f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 4075 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 4076 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 4077 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4078 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 4079 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 4080 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 4081 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 4082 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc1, 0x01, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 4083 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 4084 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 4085 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 4086 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 4087 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x25, 0x0a, 4088 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 4089 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 4090 0x79, 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 4091 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 4092 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 4093 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 4094 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x19, 0x53, 0x75, 4095 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 4096 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 4097 0x66, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 4098 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 4099 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 4100 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x09, 0x74, 4101 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 4102 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 4103 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 4104 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 4105 0x22, 0xd5, 0x02, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 4106 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x23, 4107 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 4108 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 4109 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 4110 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 4111 0x73, 0x72, 0x63, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 4112 0x2e, 0x0a, 0x13, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 4113 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x72, 4114 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 4115 0x2a, 0x0a, 0x11, 0x64, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4116 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x73, 0x74, 0x53, 4117 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x64, 4118 0x73, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 4119 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x73, 0x74, 0x41, 0x63, 0x63, 4120 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x61, 4121 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 4122 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4123 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x52, 4124 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 4125 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 4126 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x73, 0x6d, 4127 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 4128 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 4129 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 4130 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 4131 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 4132 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 4133 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 4134 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75, 4135 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 4136 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 4137 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 4138 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x8a, 0x01, 4139 0x0a, 0x1d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 4140 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 4141 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 4142 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 4143 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 4144 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 4145 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 4146 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, 4147 0x72, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x53, 4148 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 4149 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 4150 0x11, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x74, 4151 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 4152 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x65, 0x72, 4153 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 4154 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 4155 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x74, 0x61, 4156 0x6c, 0x22, 0x4f, 0x0a, 0x0e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 4157 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 4158 0x28, 0x12, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 4159 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 4160 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 4161 0x73, 0x73, 0x22, 0x4b, 0x0a, 0x0f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 4162 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 4163 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 4164 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 4165 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 4166 0x90, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 4167 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 4168 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 4169 0x65, 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 4170 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 4171 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 4172 0x69, 0x6e, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 4173 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 4174 0x01, 0x28, 0x12, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 4175 0x41, 0x74, 0x22, 0x34, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 4176 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 4177 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 4178 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x65, 4179 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 4180 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 4181 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 4182 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xde, 0x03, 4183 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 4184 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x12, 0x73, 4185 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 4186 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 4187 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 4188 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 4189 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x11, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 4190 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x70, 4191 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 4192 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4193 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 4194 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 4195 0x12, 0x39, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 4196 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 4197 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 4198 0x73, 0x75, 0x6c, 0x74, 0x52, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x6f, 4199 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 4200 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 4201 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 4202 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 4203 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 4204 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4205 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 4206 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 4207 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x55, 0x0a, 0x0f, 0x66, 0x75, 0x6e, 0x64, 0x69, 4208 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 4209 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 4210 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 4211 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0e, 4212 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x7c, 4213 0x0a, 0x17, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 4214 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x6c, 4215 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 4216 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 4217 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 4218 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 4219 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 4220 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x6d, 0x0a, 0x0f, 4221 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 4222 0x3c, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 4223 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 4224 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 4225 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 4226 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 4227 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xe1, 0x02, 0x0a, 0x08, 4228 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 4229 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 4230 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 4231 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 4232 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 4233 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 4234 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 4235 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 4236 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 4237 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 4238 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 4239 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 4240 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 4241 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 4242 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 4243 0x52, 0x10, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 4244 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 4245 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 4246 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 4247 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 4248 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 4249 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 4250 0xf5, 0x01, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 4251 0x42, 0x0a, 0x0a, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 4252 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4253 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 4254 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x70, 0x6f, 0x74, 0x54, 0x72, 4255 0x61, 0x64, 0x65, 0x12, 0x54, 0x0a, 0x10, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 4256 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 4257 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4258 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 4259 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 4260 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 4261 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 4262 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 4263 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 4264 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x07, 4265 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x22, 0xad, 0x03, 0x0a, 0x09, 0x53, 0x70, 0x6f, 0x74, 4266 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 4267 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 4268 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 4269 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 4270 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 4271 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 4272 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 4273 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 4274 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x72, 0x61, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 4275 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x64, 4276 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 4277 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 4278 0x6e, 0x12, 0x38, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 4279 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 4280 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 4281 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 4282 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 4283 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 4284 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 4285 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 4286 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 4287 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 4288 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 4289 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 4290 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 4291 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 4292 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x5c, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x63, 0x65, 4293 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 4294 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 4295 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 4296 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 4297 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 4298 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xdd, 0x03, 0x0a, 0x0f, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 4299 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 4300 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 4301 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 4302 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 4303 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 4304 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 4305 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72, 4306 0x61, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 4307 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x72, 0x61, 0x64, 0x65, 0x45, 4308 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 4309 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 4310 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 4311 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 4312 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 4313 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4314 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 4315 0x74, 0x61, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 4316 0x61, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 4317 0x09, 0x52, 0x06, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 4318 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 4319 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 4320 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 4321 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 4322 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 4323 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 4324 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 4325 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x0c, 4326 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 4327 0x69, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 4328 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 4329 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x64, 0x65, 4330 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 4331 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 4332 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 4333 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 4334 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x65, 4335 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 4336 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 4337 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 4338 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 4339 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 4340 0x67, 0x69, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 4341 0x75, 0x6c, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 4342 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 4343 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 4344 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 4345 0x00, 0x52, 0x09, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x59, 0x0a, 0x10, 4346 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 4347 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 4348 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 4349 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 4350 0x72, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 4351 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 4352 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 4353 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 4354 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 4355 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x07, 0x0a, 0x05, 4356 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xb8, 0x03, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 4357 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 4358 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 4359 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 4360 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 4361 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 4362 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 4363 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4364 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 4365 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 4366 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 4367 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 4368 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 4369 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 4370 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 4371 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 4372 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 4373 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 4374 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 4375 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 4376 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 4377 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 4378 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 4379 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 4380 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 4381 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 4382 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 4383 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 4384 0x22, 0xd7, 0x05, 0x0a, 0x14, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 4385 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 4386 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 4387 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 4388 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 4389 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 4390 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 4391 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 4392 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 4393 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 4394 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 4395 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 4396 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 4397 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 4398 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 4399 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 4400 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x66, 4401 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 4402 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 4403 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 4404 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 4405 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 4406 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 4407 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 4408 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 4409 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 4410 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 4411 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 4412 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 4413 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x75, 4414 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65, 4415 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 4416 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 4417 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 4418 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 4419 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 4420 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 4421 0x04, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 4422 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 4423 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x4f, 4424 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 4425 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 4426 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 4427 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 4428 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 4429 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xb0, 0x02, 0x0a, 0x12, 0x4f, 4430 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 4431 0x74, 0x12, 0x58, 0x0a, 0x12, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 4432 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 4433 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4434 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 4435 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x10, 0x73, 0x70, 0x6f, 0x74, 0x4f, 4436 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x6a, 0x0a, 0x18, 0x64, 4437 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 4438 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 4439 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4440 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 4441 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 4442 0x16, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 4443 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 4444 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 4445 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 4446 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 4447 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x0f, 0x0a, 0x0d, 4448 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xf3, 0x03, 4449 0x0a, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 4450 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 4451 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 4452 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 4453 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b, 4454 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 4455 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 4456 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 4457 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 4458 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 4459 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 4460 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 4461 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 4462 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 4463 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 4464 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 4465 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 4466 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 4467 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 4468 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 4469 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 4470 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 4471 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 4472 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 4473 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 4474 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 4475 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 4476 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 4477 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 4478 0x61, 0x73, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 4479 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 4480 0x63, 0x69, 0x64, 0x22, 0xa9, 0x05, 0x0a, 0x16, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 4481 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 4482 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 4483 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 4484 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 4485 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 4486 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 4487 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 4488 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 4489 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 4490 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 4491 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 4492 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 4493 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 4494 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 4495 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 4496 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 4497 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 4498 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 4499 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 4500 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 4501 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 4502 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 4503 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 4504 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 4505 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 4506 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 4507 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x64, 4508 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 4509 0x69, 0x73, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 4510 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 4511 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 4512 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 4513 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 4514 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x18, 4515 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 4516 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 4517 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 4518 0x63, 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 4519 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 4520 0x72, 0x67, 0x69, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 4521 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 4522 0x03, 0x63, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 4523 0xae, 0x01, 0x0a, 0x14, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 4524 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x64, 4525 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 4526 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 4527 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 4528 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x64, 4529 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 4530 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 4531 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 4532 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 4533 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 4534 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 4535 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 4536 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 4537 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 4538 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 4539 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 4540 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 4541 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 4542 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xdc, 0x09, 0x0a, 0x14, 4543 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 4544 0x73, 0x52, 0x50, 0x43, 0x12, 0x60, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 4545 0x6f, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 4546 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 4547 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 4548 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4549 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 4550 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 4551 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 4552 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 4553 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 4554 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 4555 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 4556 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 4557 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 4558 0x74, 0x12, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 4559 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 4560 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 4561 0x74, 0x1a, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 4562 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 4563 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 4564 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4565 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x2e, 4566 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4567 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4568 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 4569 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 4570 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 4571 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 4572 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x90, 0x01, 0x0a, 4573 0x19, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 4574 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 4575 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 4576 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 4577 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 4578 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 4579 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 4580 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 4581 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 4582 0x8c, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 4583 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x2e, 0x69, 0x6e, 4584 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 4585 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 4586 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 4587 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4588 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 4589 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 4590 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 4591 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 4592 0x6f, 0x72, 0x79, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4593 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 4594 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 4595 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 4596 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 4597 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 4598 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 4599 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 4600 0x61, 0x72, 0x79, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4601 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 4602 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 4603 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 4604 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 4605 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 4606 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 4607 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x07, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x2e, 4608 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 4609 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 4610 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 4611 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 4612 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 4613 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 4614 0x61, 0x74, 0x61, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 4615 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 4616 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 4617 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 4618 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 4619 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 4620 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1b, 0x5a, 0x19, 0x2f, 0x69, 4621 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 4622 0x73, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 4623 } 4624 4625 var ( 4626 file_goadesign_goagen_injective_accounts_rpc_proto_rawDescOnce sync.Once 4627 file_goadesign_goagen_injective_accounts_rpc_proto_rawDescData = file_goadesign_goagen_injective_accounts_rpc_proto_rawDesc 4628 ) 4629 4630 func file_goadesign_goagen_injective_accounts_rpc_proto_rawDescGZIP() []byte { 4631 file_goadesign_goagen_injective_accounts_rpc_proto_rawDescOnce.Do(func() { 4632 file_goadesign_goagen_injective_accounts_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_accounts_rpc_proto_rawDescData) 4633 }) 4634 return file_goadesign_goagen_injective_accounts_rpc_proto_rawDescData 4635 } 4636 4637 var file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 46) 4638 var file_goadesign_goagen_injective_accounts_rpc_proto_goTypes = []interface{}{ 4639 (*PortfolioRequest)(nil), // 0: injective_accounts_rpc.PortfolioRequest 4640 (*PortfolioResponse)(nil), // 1: injective_accounts_rpc.PortfolioResponse 4641 (*AccountPortfolio)(nil), // 2: injective_accounts_rpc.AccountPortfolio 4642 (*SubaccountPortfolio)(nil), // 3: injective_accounts_rpc.SubaccountPortfolio 4643 (*OrderStatesRequest)(nil), // 4: injective_accounts_rpc.OrderStatesRequest 4644 (*OrderStatesResponse)(nil), // 5: injective_accounts_rpc.OrderStatesResponse 4645 (*OrderStateRecord)(nil), // 6: injective_accounts_rpc.OrderStateRecord 4646 (*SubaccountsListRequest)(nil), // 7: injective_accounts_rpc.SubaccountsListRequest 4647 (*SubaccountsListResponse)(nil), // 8: injective_accounts_rpc.SubaccountsListResponse 4648 (*SubaccountBalancesListRequest)(nil), // 9: injective_accounts_rpc.SubaccountBalancesListRequest 4649 (*SubaccountBalancesListResponse)(nil), // 10: injective_accounts_rpc.SubaccountBalancesListResponse 4650 (*SubaccountBalance)(nil), // 11: injective_accounts_rpc.SubaccountBalance 4651 (*SubaccountDeposit)(nil), // 12: injective_accounts_rpc.SubaccountDeposit 4652 (*SubaccountBalanceEndpointRequest)(nil), // 13: injective_accounts_rpc.SubaccountBalanceEndpointRequest 4653 (*SubaccountBalanceEndpointResponse)(nil), // 14: injective_accounts_rpc.SubaccountBalanceEndpointResponse 4654 (*StreamSubaccountBalanceRequest)(nil), // 15: injective_accounts_rpc.StreamSubaccountBalanceRequest 4655 (*StreamSubaccountBalanceResponse)(nil), // 16: injective_accounts_rpc.StreamSubaccountBalanceResponse 4656 (*SubaccountHistoryRequest)(nil), // 17: injective_accounts_rpc.SubaccountHistoryRequest 4657 (*SubaccountHistoryResponse)(nil), // 18: injective_accounts_rpc.SubaccountHistoryResponse 4658 (*SubaccountBalanceTransfer)(nil), // 19: injective_accounts_rpc.SubaccountBalanceTransfer 4659 (*CosmosCoin)(nil), // 20: injective_accounts_rpc.CosmosCoin 4660 (*Paging)(nil), // 21: injective_accounts_rpc.Paging 4661 (*SubaccountOrderSummaryRequest)(nil), // 22: injective_accounts_rpc.SubaccountOrderSummaryRequest 4662 (*SubaccountOrderSummaryResponse)(nil), // 23: injective_accounts_rpc.SubaccountOrderSummaryResponse 4663 (*RewardsRequest)(nil), // 24: injective_accounts_rpc.RewardsRequest 4664 (*RewardsResponse)(nil), // 25: injective_accounts_rpc.RewardsResponse 4665 (*Reward)(nil), // 26: injective_accounts_rpc.Reward 4666 (*Coin)(nil), // 27: injective_accounts_rpc.Coin 4667 (*StreamAccountDataRequest)(nil), // 28: injective_accounts_rpc.StreamAccountDataRequest 4668 (*StreamAccountDataResponse)(nil), // 29: injective_accounts_rpc.StreamAccountDataResponse 4669 (*SubaccountBalanceResult)(nil), // 30: injective_accounts_rpc.SubaccountBalanceResult 4670 (*PositionsResult)(nil), // 31: injective_accounts_rpc.PositionsResult 4671 (*Position)(nil), // 32: injective_accounts_rpc.Position 4672 (*TradeResult)(nil), // 33: injective_accounts_rpc.TradeResult 4673 (*SpotTrade)(nil), // 34: injective_accounts_rpc.SpotTrade 4674 (*PriceLevel)(nil), // 35: injective_accounts_rpc.PriceLevel 4675 (*DerivativeTrade)(nil), // 36: injective_accounts_rpc.DerivativeTrade 4676 (*PositionDelta)(nil), // 37: injective_accounts_rpc.PositionDelta 4677 (*OrderResult)(nil), // 38: injective_accounts_rpc.OrderResult 4678 (*SpotLimitOrder)(nil), // 39: injective_accounts_rpc.SpotLimitOrder 4679 (*DerivativeLimitOrder)(nil), // 40: injective_accounts_rpc.DerivativeLimitOrder 4680 (*OrderHistoryResult)(nil), // 41: injective_accounts_rpc.OrderHistoryResult 4681 (*SpotOrderHistory)(nil), // 42: injective_accounts_rpc.SpotOrderHistory 4682 (*DerivativeOrderHistory)(nil), // 43: injective_accounts_rpc.DerivativeOrderHistory 4683 (*FundingPaymentResult)(nil), // 44: injective_accounts_rpc.FundingPaymentResult 4684 (*FundingPayment)(nil), // 45: injective_accounts_rpc.FundingPayment 4685 } 4686 var file_goadesign_goagen_injective_accounts_rpc_proto_depIdxs = []int32{ 4687 2, // 0: injective_accounts_rpc.PortfolioResponse.portfolio:type_name -> injective_accounts_rpc.AccountPortfolio 4688 3, // 1: injective_accounts_rpc.AccountPortfolio.subaccounts:type_name -> injective_accounts_rpc.SubaccountPortfolio 4689 6, // 2: injective_accounts_rpc.OrderStatesResponse.spot_order_states:type_name -> injective_accounts_rpc.OrderStateRecord 4690 6, // 3: injective_accounts_rpc.OrderStatesResponse.derivative_order_states:type_name -> injective_accounts_rpc.OrderStateRecord 4691 11, // 4: injective_accounts_rpc.SubaccountBalancesListResponse.balances:type_name -> injective_accounts_rpc.SubaccountBalance 4692 12, // 5: injective_accounts_rpc.SubaccountBalance.deposit:type_name -> injective_accounts_rpc.SubaccountDeposit 4693 11, // 6: injective_accounts_rpc.SubaccountBalanceEndpointResponse.balance:type_name -> injective_accounts_rpc.SubaccountBalance 4694 11, // 7: injective_accounts_rpc.StreamSubaccountBalanceResponse.balance:type_name -> injective_accounts_rpc.SubaccountBalance 4695 19, // 8: injective_accounts_rpc.SubaccountHistoryResponse.transfers:type_name -> injective_accounts_rpc.SubaccountBalanceTransfer 4696 21, // 9: injective_accounts_rpc.SubaccountHistoryResponse.paging:type_name -> injective_accounts_rpc.Paging 4697 20, // 10: injective_accounts_rpc.SubaccountBalanceTransfer.amount:type_name -> injective_accounts_rpc.CosmosCoin 4698 26, // 11: injective_accounts_rpc.RewardsResponse.rewards:type_name -> injective_accounts_rpc.Reward 4699 27, // 12: injective_accounts_rpc.Reward.rewards:type_name -> injective_accounts_rpc.Coin 4700 30, // 13: injective_accounts_rpc.StreamAccountDataResponse.subaccount_balance:type_name -> injective_accounts_rpc.SubaccountBalanceResult 4701 31, // 14: injective_accounts_rpc.StreamAccountDataResponse.position:type_name -> injective_accounts_rpc.PositionsResult 4702 33, // 15: injective_accounts_rpc.StreamAccountDataResponse.trade:type_name -> injective_accounts_rpc.TradeResult 4703 38, // 16: injective_accounts_rpc.StreamAccountDataResponse.order:type_name -> injective_accounts_rpc.OrderResult 4704 41, // 17: injective_accounts_rpc.StreamAccountDataResponse.order_history:type_name -> injective_accounts_rpc.OrderHistoryResult 4705 44, // 18: injective_accounts_rpc.StreamAccountDataResponse.funding_payment:type_name -> injective_accounts_rpc.FundingPaymentResult 4706 11, // 19: injective_accounts_rpc.SubaccountBalanceResult.balance:type_name -> injective_accounts_rpc.SubaccountBalance 4707 32, // 20: injective_accounts_rpc.PositionsResult.position:type_name -> injective_accounts_rpc.Position 4708 34, // 21: injective_accounts_rpc.TradeResult.spot_trade:type_name -> injective_accounts_rpc.SpotTrade 4709 36, // 22: injective_accounts_rpc.TradeResult.derivative_trade:type_name -> injective_accounts_rpc.DerivativeTrade 4710 35, // 23: injective_accounts_rpc.SpotTrade.price:type_name -> injective_accounts_rpc.PriceLevel 4711 37, // 24: injective_accounts_rpc.DerivativeTrade.position_delta:type_name -> injective_accounts_rpc.PositionDelta 4712 39, // 25: injective_accounts_rpc.OrderResult.spot_order:type_name -> injective_accounts_rpc.SpotLimitOrder 4713 40, // 26: injective_accounts_rpc.OrderResult.derivative_order:type_name -> injective_accounts_rpc.DerivativeLimitOrder 4714 42, // 27: injective_accounts_rpc.OrderHistoryResult.spot_order_history:type_name -> injective_accounts_rpc.SpotOrderHistory 4715 43, // 28: injective_accounts_rpc.OrderHistoryResult.derivative_order_history:type_name -> injective_accounts_rpc.DerivativeOrderHistory 4716 45, // 29: injective_accounts_rpc.FundingPaymentResult.funding_payments:type_name -> injective_accounts_rpc.FundingPayment 4717 0, // 30: injective_accounts_rpc.InjectiveAccountsRPC.Portfolio:input_type -> injective_accounts_rpc.PortfolioRequest 4718 4, // 31: injective_accounts_rpc.InjectiveAccountsRPC.OrderStates:input_type -> injective_accounts_rpc.OrderStatesRequest 4719 7, // 32: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountsList:input_type -> injective_accounts_rpc.SubaccountsListRequest 4720 9, // 33: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountBalancesList:input_type -> injective_accounts_rpc.SubaccountBalancesListRequest 4721 13, // 34: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountBalanceEndpoint:input_type -> injective_accounts_rpc.SubaccountBalanceEndpointRequest 4722 15, // 35: injective_accounts_rpc.InjectiveAccountsRPC.StreamSubaccountBalance:input_type -> injective_accounts_rpc.StreamSubaccountBalanceRequest 4723 17, // 36: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountHistory:input_type -> injective_accounts_rpc.SubaccountHistoryRequest 4724 22, // 37: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountOrderSummary:input_type -> injective_accounts_rpc.SubaccountOrderSummaryRequest 4725 24, // 38: injective_accounts_rpc.InjectiveAccountsRPC.Rewards:input_type -> injective_accounts_rpc.RewardsRequest 4726 28, // 39: injective_accounts_rpc.InjectiveAccountsRPC.StreamAccountData:input_type -> injective_accounts_rpc.StreamAccountDataRequest 4727 1, // 40: injective_accounts_rpc.InjectiveAccountsRPC.Portfolio:output_type -> injective_accounts_rpc.PortfolioResponse 4728 5, // 41: injective_accounts_rpc.InjectiveAccountsRPC.OrderStates:output_type -> injective_accounts_rpc.OrderStatesResponse 4729 8, // 42: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountsList:output_type -> injective_accounts_rpc.SubaccountsListResponse 4730 10, // 43: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountBalancesList:output_type -> injective_accounts_rpc.SubaccountBalancesListResponse 4731 14, // 44: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountBalanceEndpoint:output_type -> injective_accounts_rpc.SubaccountBalanceEndpointResponse 4732 16, // 45: injective_accounts_rpc.InjectiveAccountsRPC.StreamSubaccountBalance:output_type -> injective_accounts_rpc.StreamSubaccountBalanceResponse 4733 18, // 46: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountHistory:output_type -> injective_accounts_rpc.SubaccountHistoryResponse 4734 23, // 47: injective_accounts_rpc.InjectiveAccountsRPC.SubaccountOrderSummary:output_type -> injective_accounts_rpc.SubaccountOrderSummaryResponse 4735 25, // 48: injective_accounts_rpc.InjectiveAccountsRPC.Rewards:output_type -> injective_accounts_rpc.RewardsResponse 4736 29, // 49: injective_accounts_rpc.InjectiveAccountsRPC.StreamAccountData:output_type -> injective_accounts_rpc.StreamAccountDataResponse 4737 40, // [40:50] is the sub-list for method output_type 4738 30, // [30:40] is the sub-list for method input_type 4739 30, // [30:30] is the sub-list for extension type_name 4740 30, // [30:30] is the sub-list for extension extendee 4741 0, // [0:30] is the sub-list for field type_name 4742 } 4743 4744 func init() { file_goadesign_goagen_injective_accounts_rpc_proto_init() } 4745 func file_goadesign_goagen_injective_accounts_rpc_proto_init() { 4746 if File_goadesign_goagen_injective_accounts_rpc_proto != nil { 4747 return 4748 } 4749 if !protoimpl.UnsafeEnabled { 4750 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 4751 switch v := v.(*PortfolioRequest); i { 4752 case 0: 4753 return &v.state 4754 case 1: 4755 return &v.sizeCache 4756 case 2: 4757 return &v.unknownFields 4758 default: 4759 return nil 4760 } 4761 } 4762 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 4763 switch v := v.(*PortfolioResponse); i { 4764 case 0: 4765 return &v.state 4766 case 1: 4767 return &v.sizeCache 4768 case 2: 4769 return &v.unknownFields 4770 default: 4771 return nil 4772 } 4773 } 4774 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 4775 switch v := v.(*AccountPortfolio); i { 4776 case 0: 4777 return &v.state 4778 case 1: 4779 return &v.sizeCache 4780 case 2: 4781 return &v.unknownFields 4782 default: 4783 return nil 4784 } 4785 } 4786 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 4787 switch v := v.(*SubaccountPortfolio); i { 4788 case 0: 4789 return &v.state 4790 case 1: 4791 return &v.sizeCache 4792 case 2: 4793 return &v.unknownFields 4794 default: 4795 return nil 4796 } 4797 } 4798 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 4799 switch v := v.(*OrderStatesRequest); i { 4800 case 0: 4801 return &v.state 4802 case 1: 4803 return &v.sizeCache 4804 case 2: 4805 return &v.unknownFields 4806 default: 4807 return nil 4808 } 4809 } 4810 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 4811 switch v := v.(*OrderStatesResponse); i { 4812 case 0: 4813 return &v.state 4814 case 1: 4815 return &v.sizeCache 4816 case 2: 4817 return &v.unknownFields 4818 default: 4819 return nil 4820 } 4821 } 4822 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 4823 switch v := v.(*OrderStateRecord); i { 4824 case 0: 4825 return &v.state 4826 case 1: 4827 return &v.sizeCache 4828 case 2: 4829 return &v.unknownFields 4830 default: 4831 return nil 4832 } 4833 } 4834 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 4835 switch v := v.(*SubaccountsListRequest); i { 4836 case 0: 4837 return &v.state 4838 case 1: 4839 return &v.sizeCache 4840 case 2: 4841 return &v.unknownFields 4842 default: 4843 return nil 4844 } 4845 } 4846 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 4847 switch v := v.(*SubaccountsListResponse); i { 4848 case 0: 4849 return &v.state 4850 case 1: 4851 return &v.sizeCache 4852 case 2: 4853 return &v.unknownFields 4854 default: 4855 return nil 4856 } 4857 } 4858 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 4859 switch v := v.(*SubaccountBalancesListRequest); i { 4860 case 0: 4861 return &v.state 4862 case 1: 4863 return &v.sizeCache 4864 case 2: 4865 return &v.unknownFields 4866 default: 4867 return nil 4868 } 4869 } 4870 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 4871 switch v := v.(*SubaccountBalancesListResponse); i { 4872 case 0: 4873 return &v.state 4874 case 1: 4875 return &v.sizeCache 4876 case 2: 4877 return &v.unknownFields 4878 default: 4879 return nil 4880 } 4881 } 4882 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 4883 switch v := v.(*SubaccountBalance); i { 4884 case 0: 4885 return &v.state 4886 case 1: 4887 return &v.sizeCache 4888 case 2: 4889 return &v.unknownFields 4890 default: 4891 return nil 4892 } 4893 } 4894 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 4895 switch v := v.(*SubaccountDeposit); i { 4896 case 0: 4897 return &v.state 4898 case 1: 4899 return &v.sizeCache 4900 case 2: 4901 return &v.unknownFields 4902 default: 4903 return nil 4904 } 4905 } 4906 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 4907 switch v := v.(*SubaccountBalanceEndpointRequest); i { 4908 case 0: 4909 return &v.state 4910 case 1: 4911 return &v.sizeCache 4912 case 2: 4913 return &v.unknownFields 4914 default: 4915 return nil 4916 } 4917 } 4918 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 4919 switch v := v.(*SubaccountBalanceEndpointResponse); i { 4920 case 0: 4921 return &v.state 4922 case 1: 4923 return &v.sizeCache 4924 case 2: 4925 return &v.unknownFields 4926 default: 4927 return nil 4928 } 4929 } 4930 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 4931 switch v := v.(*StreamSubaccountBalanceRequest); i { 4932 case 0: 4933 return &v.state 4934 case 1: 4935 return &v.sizeCache 4936 case 2: 4937 return &v.unknownFields 4938 default: 4939 return nil 4940 } 4941 } 4942 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 4943 switch v := v.(*StreamSubaccountBalanceResponse); i { 4944 case 0: 4945 return &v.state 4946 case 1: 4947 return &v.sizeCache 4948 case 2: 4949 return &v.unknownFields 4950 default: 4951 return nil 4952 } 4953 } 4954 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 4955 switch v := v.(*SubaccountHistoryRequest); i { 4956 case 0: 4957 return &v.state 4958 case 1: 4959 return &v.sizeCache 4960 case 2: 4961 return &v.unknownFields 4962 default: 4963 return nil 4964 } 4965 } 4966 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 4967 switch v := v.(*SubaccountHistoryResponse); i { 4968 case 0: 4969 return &v.state 4970 case 1: 4971 return &v.sizeCache 4972 case 2: 4973 return &v.unknownFields 4974 default: 4975 return nil 4976 } 4977 } 4978 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 4979 switch v := v.(*SubaccountBalanceTransfer); i { 4980 case 0: 4981 return &v.state 4982 case 1: 4983 return &v.sizeCache 4984 case 2: 4985 return &v.unknownFields 4986 default: 4987 return nil 4988 } 4989 } 4990 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 4991 switch v := v.(*CosmosCoin); i { 4992 case 0: 4993 return &v.state 4994 case 1: 4995 return &v.sizeCache 4996 case 2: 4997 return &v.unknownFields 4998 default: 4999 return nil 5000 } 5001 } 5002 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 5003 switch v := v.(*Paging); i { 5004 case 0: 5005 return &v.state 5006 case 1: 5007 return &v.sizeCache 5008 case 2: 5009 return &v.unknownFields 5010 default: 5011 return nil 5012 } 5013 } 5014 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 5015 switch v := v.(*SubaccountOrderSummaryRequest); i { 5016 case 0: 5017 return &v.state 5018 case 1: 5019 return &v.sizeCache 5020 case 2: 5021 return &v.unknownFields 5022 default: 5023 return nil 5024 } 5025 } 5026 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 5027 switch v := v.(*SubaccountOrderSummaryResponse); i { 5028 case 0: 5029 return &v.state 5030 case 1: 5031 return &v.sizeCache 5032 case 2: 5033 return &v.unknownFields 5034 default: 5035 return nil 5036 } 5037 } 5038 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 5039 switch v := v.(*RewardsRequest); i { 5040 case 0: 5041 return &v.state 5042 case 1: 5043 return &v.sizeCache 5044 case 2: 5045 return &v.unknownFields 5046 default: 5047 return nil 5048 } 5049 } 5050 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 5051 switch v := v.(*RewardsResponse); i { 5052 case 0: 5053 return &v.state 5054 case 1: 5055 return &v.sizeCache 5056 case 2: 5057 return &v.unknownFields 5058 default: 5059 return nil 5060 } 5061 } 5062 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 5063 switch v := v.(*Reward); i { 5064 case 0: 5065 return &v.state 5066 case 1: 5067 return &v.sizeCache 5068 case 2: 5069 return &v.unknownFields 5070 default: 5071 return nil 5072 } 5073 } 5074 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 5075 switch v := v.(*Coin); i { 5076 case 0: 5077 return &v.state 5078 case 1: 5079 return &v.sizeCache 5080 case 2: 5081 return &v.unknownFields 5082 default: 5083 return nil 5084 } 5085 } 5086 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 5087 switch v := v.(*StreamAccountDataRequest); i { 5088 case 0: 5089 return &v.state 5090 case 1: 5091 return &v.sizeCache 5092 case 2: 5093 return &v.unknownFields 5094 default: 5095 return nil 5096 } 5097 } 5098 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 5099 switch v := v.(*StreamAccountDataResponse); i { 5100 case 0: 5101 return &v.state 5102 case 1: 5103 return &v.sizeCache 5104 case 2: 5105 return &v.unknownFields 5106 default: 5107 return nil 5108 } 5109 } 5110 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 5111 switch v := v.(*SubaccountBalanceResult); i { 5112 case 0: 5113 return &v.state 5114 case 1: 5115 return &v.sizeCache 5116 case 2: 5117 return &v.unknownFields 5118 default: 5119 return nil 5120 } 5121 } 5122 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 5123 switch v := v.(*PositionsResult); i { 5124 case 0: 5125 return &v.state 5126 case 1: 5127 return &v.sizeCache 5128 case 2: 5129 return &v.unknownFields 5130 default: 5131 return nil 5132 } 5133 } 5134 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { 5135 switch v := v.(*Position); i { 5136 case 0: 5137 return &v.state 5138 case 1: 5139 return &v.sizeCache 5140 case 2: 5141 return &v.unknownFields 5142 default: 5143 return nil 5144 } 5145 } 5146 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { 5147 switch v := v.(*TradeResult); i { 5148 case 0: 5149 return &v.state 5150 case 1: 5151 return &v.sizeCache 5152 case 2: 5153 return &v.unknownFields 5154 default: 5155 return nil 5156 } 5157 } 5158 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { 5159 switch v := v.(*SpotTrade); i { 5160 case 0: 5161 return &v.state 5162 case 1: 5163 return &v.sizeCache 5164 case 2: 5165 return &v.unknownFields 5166 default: 5167 return nil 5168 } 5169 } 5170 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { 5171 switch v := v.(*PriceLevel); i { 5172 case 0: 5173 return &v.state 5174 case 1: 5175 return &v.sizeCache 5176 case 2: 5177 return &v.unknownFields 5178 default: 5179 return nil 5180 } 5181 } 5182 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { 5183 switch v := v.(*DerivativeTrade); i { 5184 case 0: 5185 return &v.state 5186 case 1: 5187 return &v.sizeCache 5188 case 2: 5189 return &v.unknownFields 5190 default: 5191 return nil 5192 } 5193 } 5194 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { 5195 switch v := v.(*PositionDelta); i { 5196 case 0: 5197 return &v.state 5198 case 1: 5199 return &v.sizeCache 5200 case 2: 5201 return &v.unknownFields 5202 default: 5203 return nil 5204 } 5205 } 5206 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { 5207 switch v := v.(*OrderResult); i { 5208 case 0: 5209 return &v.state 5210 case 1: 5211 return &v.sizeCache 5212 case 2: 5213 return &v.unknownFields 5214 default: 5215 return nil 5216 } 5217 } 5218 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { 5219 switch v := v.(*SpotLimitOrder); i { 5220 case 0: 5221 return &v.state 5222 case 1: 5223 return &v.sizeCache 5224 case 2: 5225 return &v.unknownFields 5226 default: 5227 return nil 5228 } 5229 } 5230 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { 5231 switch v := v.(*DerivativeLimitOrder); i { 5232 case 0: 5233 return &v.state 5234 case 1: 5235 return &v.sizeCache 5236 case 2: 5237 return &v.unknownFields 5238 default: 5239 return nil 5240 } 5241 } 5242 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { 5243 switch v := v.(*OrderHistoryResult); i { 5244 case 0: 5245 return &v.state 5246 case 1: 5247 return &v.sizeCache 5248 case 2: 5249 return &v.unknownFields 5250 default: 5251 return nil 5252 } 5253 } 5254 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { 5255 switch v := v.(*SpotOrderHistory); i { 5256 case 0: 5257 return &v.state 5258 case 1: 5259 return &v.sizeCache 5260 case 2: 5261 return &v.unknownFields 5262 default: 5263 return nil 5264 } 5265 } 5266 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { 5267 switch v := v.(*DerivativeOrderHistory); i { 5268 case 0: 5269 return &v.state 5270 case 1: 5271 return &v.sizeCache 5272 case 2: 5273 return &v.unknownFields 5274 default: 5275 return nil 5276 } 5277 } 5278 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { 5279 switch v := v.(*FundingPaymentResult); i { 5280 case 0: 5281 return &v.state 5282 case 1: 5283 return &v.sizeCache 5284 case 2: 5285 return &v.unknownFields 5286 default: 5287 return nil 5288 } 5289 } 5290 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { 5291 switch v := v.(*FundingPayment); i { 5292 case 0: 5293 return &v.state 5294 case 1: 5295 return &v.sizeCache 5296 case 2: 5297 return &v.unknownFields 5298 default: 5299 return nil 5300 } 5301 } 5302 } 5303 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[33].OneofWrappers = []interface{}{ 5304 (*TradeResult_SpotTrade)(nil), 5305 (*TradeResult_DerivativeTrade)(nil), 5306 } 5307 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[38].OneofWrappers = []interface{}{ 5308 (*OrderResult_SpotOrder)(nil), 5309 (*OrderResult_DerivativeOrder)(nil), 5310 } 5311 file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes[41].OneofWrappers = []interface{}{ 5312 (*OrderHistoryResult_SpotOrderHistory)(nil), 5313 (*OrderHistoryResult_DerivativeOrderHistory)(nil), 5314 } 5315 type x struct{} 5316 out := protoimpl.TypeBuilder{ 5317 File: protoimpl.DescBuilder{ 5318 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 5319 RawDescriptor: file_goadesign_goagen_injective_accounts_rpc_proto_rawDesc, 5320 NumEnums: 0, 5321 NumMessages: 46, 5322 NumExtensions: 0, 5323 NumServices: 1, 5324 }, 5325 GoTypes: file_goadesign_goagen_injective_accounts_rpc_proto_goTypes, 5326 DependencyIndexes: file_goadesign_goagen_injective_accounts_rpc_proto_depIdxs, 5327 MessageInfos: file_goadesign_goagen_injective_accounts_rpc_proto_msgTypes, 5328 }.Build() 5329 File_goadesign_goagen_injective_accounts_rpc_proto = out.File 5330 file_goadesign_goagen_injective_accounts_rpc_proto_rawDesc = nil 5331 file_goadesign_goagen_injective_accounts_rpc_proto_goTypes = nil 5332 file_goadesign_goagen_injective_accounts_rpc_proto_depIdxs = nil 5333 }