github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/portfolio_rpc/pb/goadesign_goagen_injective_portfolio_rpc.pb.go (about) 1 // Code generated with goa v3.7.0, DO NOT EDIT. 2 // 3 // InjectivePortfolioRPC 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_portfolio_rpc.proto 13 14 package injective_portfolio_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 TokenHoldersRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 35 // Denom of the token 36 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 37 // Cursor for pagination 38 Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` 39 Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"` 40 } 41 42 func (x *TokenHoldersRequest) Reset() { 43 *x = TokenHoldersRequest{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *TokenHoldersRequest) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*TokenHoldersRequest) ProtoMessage() {} 56 57 func (x *TokenHoldersRequest) ProtoReflect() protoreflect.Message { 58 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use TokenHoldersRequest.ProtoReflect.Descriptor instead. 70 func (*TokenHoldersRequest) Descriptor() ([]byte, []int) { 71 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *TokenHoldersRequest) GetDenom() string { 75 if x != nil { 76 return x.Denom 77 } 78 return "" 79 } 80 81 func (x *TokenHoldersRequest) GetCursor() string { 82 if x != nil { 83 return x.Cursor 84 } 85 return "" 86 } 87 88 func (x *TokenHoldersRequest) GetLimit() int32 { 89 if x != nil { 90 return x.Limit 91 } 92 return 0 93 } 94 95 type TokenHoldersResponse struct { 96 state protoimpl.MessageState 97 sizeCache protoimpl.SizeCache 98 unknownFields protoimpl.UnknownFields 99 100 Holders []*Holder `protobuf:"bytes,1,rep,name=holders,proto3" json:"holders,omitempty"` 101 // Next cursors for pagination 102 NextCursors []string `protobuf:"bytes,2,rep,name=next_cursors,json=nextCursors,proto3" json:"next_cursors,omitempty"` 103 } 104 105 func (x *TokenHoldersResponse) Reset() { 106 *x = TokenHoldersResponse{} 107 if protoimpl.UnsafeEnabled { 108 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[1] 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 ms.StoreMessageInfo(mi) 111 } 112 } 113 114 func (x *TokenHoldersResponse) String() string { 115 return protoimpl.X.MessageStringOf(x) 116 } 117 118 func (*TokenHoldersResponse) ProtoMessage() {} 119 120 func (x *TokenHoldersResponse) ProtoReflect() protoreflect.Message { 121 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[1] 122 if protoimpl.UnsafeEnabled && x != nil { 123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 124 if ms.LoadMessageInfo() == nil { 125 ms.StoreMessageInfo(mi) 126 } 127 return ms 128 } 129 return mi.MessageOf(x) 130 } 131 132 // Deprecated: Use TokenHoldersResponse.ProtoReflect.Descriptor instead. 133 func (*TokenHoldersResponse) Descriptor() ([]byte, []int) { 134 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{1} 135 } 136 137 func (x *TokenHoldersResponse) GetHolders() []*Holder { 138 if x != nil { 139 return x.Holders 140 } 141 return nil 142 } 143 144 func (x *TokenHoldersResponse) GetNextCursors() []string { 145 if x != nil { 146 return x.NextCursors 147 } 148 return nil 149 } 150 151 type Holder struct { 152 state protoimpl.MessageState 153 sizeCache protoimpl.SizeCache 154 unknownFields protoimpl.UnknownFields 155 156 // Account address for the holder 157 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 158 // The balance of the holder 159 Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` 160 } 161 162 func (x *Holder) Reset() { 163 *x = Holder{} 164 if protoimpl.UnsafeEnabled { 165 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[2] 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 ms.StoreMessageInfo(mi) 168 } 169 } 170 171 func (x *Holder) String() string { 172 return protoimpl.X.MessageStringOf(x) 173 } 174 175 func (*Holder) ProtoMessage() {} 176 177 func (x *Holder) ProtoReflect() protoreflect.Message { 178 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[2] 179 if protoimpl.UnsafeEnabled && x != nil { 180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 181 if ms.LoadMessageInfo() == nil { 182 ms.StoreMessageInfo(mi) 183 } 184 return ms 185 } 186 return mi.MessageOf(x) 187 } 188 189 // Deprecated: Use Holder.ProtoReflect.Descriptor instead. 190 func (*Holder) Descriptor() ([]byte, []int) { 191 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{2} 192 } 193 194 func (x *Holder) GetAccountAddress() string { 195 if x != nil { 196 return x.AccountAddress 197 } 198 return "" 199 } 200 201 func (x *Holder) GetBalance() string { 202 if x != nil { 203 return x.Balance 204 } 205 return "" 206 } 207 208 type AccountPortfolioRequest struct { 209 state protoimpl.MessageState 210 sizeCache protoimpl.SizeCache 211 unknownFields protoimpl.UnknownFields 212 213 // Account address 214 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 215 } 216 217 func (x *AccountPortfolioRequest) Reset() { 218 *x = AccountPortfolioRequest{} 219 if protoimpl.UnsafeEnabled { 220 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[3] 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 ms.StoreMessageInfo(mi) 223 } 224 } 225 226 func (x *AccountPortfolioRequest) String() string { 227 return protoimpl.X.MessageStringOf(x) 228 } 229 230 func (*AccountPortfolioRequest) ProtoMessage() {} 231 232 func (x *AccountPortfolioRequest) ProtoReflect() protoreflect.Message { 233 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[3] 234 if protoimpl.UnsafeEnabled && x != nil { 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 if ms.LoadMessageInfo() == nil { 237 ms.StoreMessageInfo(mi) 238 } 239 return ms 240 } 241 return mi.MessageOf(x) 242 } 243 244 // Deprecated: Use AccountPortfolioRequest.ProtoReflect.Descriptor instead. 245 func (*AccountPortfolioRequest) Descriptor() ([]byte, []int) { 246 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{3} 247 } 248 249 func (x *AccountPortfolioRequest) GetAccountAddress() string { 250 if x != nil { 251 return x.AccountAddress 252 } 253 return "" 254 } 255 256 type AccountPortfolioResponse struct { 257 state protoimpl.MessageState 258 sizeCache protoimpl.SizeCache 259 unknownFields protoimpl.UnknownFields 260 261 // The portfolio of this account 262 Portfolio *Portfolio `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"` 263 } 264 265 func (x *AccountPortfolioResponse) Reset() { 266 *x = AccountPortfolioResponse{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[4] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272 } 273 274 func (x *AccountPortfolioResponse) String() string { 275 return protoimpl.X.MessageStringOf(x) 276 } 277 278 func (*AccountPortfolioResponse) ProtoMessage() {} 279 280 func (x *AccountPortfolioResponse) ProtoReflect() protoreflect.Message { 281 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[4] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290 } 291 292 // Deprecated: Use AccountPortfolioResponse.ProtoReflect.Descriptor instead. 293 func (*AccountPortfolioResponse) Descriptor() ([]byte, []int) { 294 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{4} 295 } 296 297 func (x *AccountPortfolioResponse) GetPortfolio() *Portfolio { 298 if x != nil { 299 return x.Portfolio 300 } 301 return nil 302 } 303 304 type Portfolio struct { 305 state protoimpl.MessageState 306 sizeCache protoimpl.SizeCache 307 unknownFields protoimpl.UnknownFields 308 309 // The account's portfolio address 310 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 311 // Account available bank balances 312 BankBalances []*Coin `protobuf:"bytes,2,rep,name=bank_balances,json=bankBalances,proto3" json:"bank_balances,omitempty"` 313 // Subaccounts list 314 Subaccounts []*SubaccountBalanceV2 `protobuf:"bytes,3,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"` 315 // All positions for all subaccounts, with unrealized PNL 316 PositionsWithUpnl []*PositionsWithUPNL `protobuf:"bytes,4,rep,name=positions_with_upnl,json=positionsWithUpnl,proto3" json:"positions_with_upnl,omitempty"` 317 } 318 319 func (x *Portfolio) Reset() { 320 *x = Portfolio{} 321 if protoimpl.UnsafeEnabled { 322 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[5] 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 ms.StoreMessageInfo(mi) 325 } 326 } 327 328 func (x *Portfolio) String() string { 329 return protoimpl.X.MessageStringOf(x) 330 } 331 332 func (*Portfolio) ProtoMessage() {} 333 334 func (x *Portfolio) ProtoReflect() protoreflect.Message { 335 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[5] 336 if protoimpl.UnsafeEnabled && x != nil { 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 if ms.LoadMessageInfo() == nil { 339 ms.StoreMessageInfo(mi) 340 } 341 return ms 342 } 343 return mi.MessageOf(x) 344 } 345 346 // Deprecated: Use Portfolio.ProtoReflect.Descriptor instead. 347 func (*Portfolio) Descriptor() ([]byte, []int) { 348 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{5} 349 } 350 351 func (x *Portfolio) GetAccountAddress() string { 352 if x != nil { 353 return x.AccountAddress 354 } 355 return "" 356 } 357 358 func (x *Portfolio) GetBankBalances() []*Coin { 359 if x != nil { 360 return x.BankBalances 361 } 362 return nil 363 } 364 365 func (x *Portfolio) GetSubaccounts() []*SubaccountBalanceV2 { 366 if x != nil { 367 return x.Subaccounts 368 } 369 return nil 370 } 371 372 func (x *Portfolio) GetPositionsWithUpnl() []*PositionsWithUPNL { 373 if x != nil { 374 return x.PositionsWithUpnl 375 } 376 return nil 377 } 378 379 type Coin struct { 380 state protoimpl.MessageState 381 sizeCache protoimpl.SizeCache 382 unknownFields protoimpl.UnknownFields 383 384 // Denom of the coin 385 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 386 Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` 387 } 388 389 func (x *Coin) Reset() { 390 *x = Coin{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[6] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396 } 397 398 func (x *Coin) String() string { 399 return protoimpl.X.MessageStringOf(x) 400 } 401 402 func (*Coin) ProtoMessage() {} 403 404 func (x *Coin) ProtoReflect() protoreflect.Message { 405 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[6] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414 } 415 416 // Deprecated: Use Coin.ProtoReflect.Descriptor instead. 417 func (*Coin) Descriptor() ([]byte, []int) { 418 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{6} 419 } 420 421 func (x *Coin) GetDenom() string { 422 if x != nil { 423 return x.Denom 424 } 425 return "" 426 } 427 428 func (x *Coin) GetAmount() string { 429 if x != nil { 430 return x.Amount 431 } 432 return "" 433 } 434 435 type SubaccountBalanceV2 struct { 436 state protoimpl.MessageState 437 sizeCache protoimpl.SizeCache 438 unknownFields protoimpl.UnknownFields 439 440 // Related subaccount ID 441 SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 442 // Coin denom on the chain. 443 Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` 444 Deposit *SubaccountDeposit `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit,omitempty"` 445 } 446 447 func (x *SubaccountBalanceV2) Reset() { 448 *x = SubaccountBalanceV2{} 449 if protoimpl.UnsafeEnabled { 450 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[7] 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 ms.StoreMessageInfo(mi) 453 } 454 } 455 456 func (x *SubaccountBalanceV2) String() string { 457 return protoimpl.X.MessageStringOf(x) 458 } 459 460 func (*SubaccountBalanceV2) ProtoMessage() {} 461 462 func (x *SubaccountBalanceV2) ProtoReflect() protoreflect.Message { 463 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[7] 464 if protoimpl.UnsafeEnabled && x != nil { 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 if ms.LoadMessageInfo() == nil { 467 ms.StoreMessageInfo(mi) 468 } 469 return ms 470 } 471 return mi.MessageOf(x) 472 } 473 474 // Deprecated: Use SubaccountBalanceV2.ProtoReflect.Descriptor instead. 475 func (*SubaccountBalanceV2) Descriptor() ([]byte, []int) { 476 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{7} 477 } 478 479 func (x *SubaccountBalanceV2) GetSubaccountId() string { 480 if x != nil { 481 return x.SubaccountId 482 } 483 return "" 484 } 485 486 func (x *SubaccountBalanceV2) GetDenom() string { 487 if x != nil { 488 return x.Denom 489 } 490 return "" 491 } 492 493 func (x *SubaccountBalanceV2) GetDeposit() *SubaccountDeposit { 494 if x != nil { 495 return x.Deposit 496 } 497 return nil 498 } 499 500 type SubaccountDeposit struct { 501 state protoimpl.MessageState 502 sizeCache protoimpl.SizeCache 503 unknownFields protoimpl.UnknownFields 504 505 TotalBalance string `protobuf:"bytes,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"` 506 AvailableBalance string `protobuf:"bytes,2,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` 507 } 508 509 func (x *SubaccountDeposit) Reset() { 510 *x = SubaccountDeposit{} 511 if protoimpl.UnsafeEnabled { 512 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[8] 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 514 ms.StoreMessageInfo(mi) 515 } 516 } 517 518 func (x *SubaccountDeposit) String() string { 519 return protoimpl.X.MessageStringOf(x) 520 } 521 522 func (*SubaccountDeposit) ProtoMessage() {} 523 524 func (x *SubaccountDeposit) ProtoReflect() protoreflect.Message { 525 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[8] 526 if protoimpl.UnsafeEnabled && x != nil { 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 528 if ms.LoadMessageInfo() == nil { 529 ms.StoreMessageInfo(mi) 530 } 531 return ms 532 } 533 return mi.MessageOf(x) 534 } 535 536 // Deprecated: Use SubaccountDeposit.ProtoReflect.Descriptor instead. 537 func (*SubaccountDeposit) Descriptor() ([]byte, []int) { 538 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{8} 539 } 540 541 func (x *SubaccountDeposit) GetTotalBalance() string { 542 if x != nil { 543 return x.TotalBalance 544 } 545 return "" 546 } 547 548 func (x *SubaccountDeposit) GetAvailableBalance() string { 549 if x != nil { 550 return x.AvailableBalance 551 } 552 return "" 553 } 554 555 type PositionsWithUPNL struct { 556 state protoimpl.MessageState 557 sizeCache protoimpl.SizeCache 558 unknownFields protoimpl.UnknownFields 559 560 Position *DerivativePosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` 561 // Unrealized PNL 562 UnrealizedPnl string `protobuf:"bytes,2,opt,name=unrealized_pnl,json=unrealizedPnl,proto3" json:"unrealized_pnl,omitempty"` 563 } 564 565 func (x *PositionsWithUPNL) Reset() { 566 *x = PositionsWithUPNL{} 567 if protoimpl.UnsafeEnabled { 568 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[9] 569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 570 ms.StoreMessageInfo(mi) 571 } 572 } 573 574 func (x *PositionsWithUPNL) String() string { 575 return protoimpl.X.MessageStringOf(x) 576 } 577 578 func (*PositionsWithUPNL) ProtoMessage() {} 579 580 func (x *PositionsWithUPNL) ProtoReflect() protoreflect.Message { 581 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[9] 582 if protoimpl.UnsafeEnabled && x != nil { 583 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 584 if ms.LoadMessageInfo() == nil { 585 ms.StoreMessageInfo(mi) 586 } 587 return ms 588 } 589 return mi.MessageOf(x) 590 } 591 592 // Deprecated: Use PositionsWithUPNL.ProtoReflect.Descriptor instead. 593 func (*PositionsWithUPNL) Descriptor() ([]byte, []int) { 594 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{9} 595 } 596 597 func (x *PositionsWithUPNL) GetPosition() *DerivativePosition { 598 if x != nil { 599 return x.Position 600 } 601 return nil 602 } 603 604 func (x *PositionsWithUPNL) GetUnrealizedPnl() string { 605 if x != nil { 606 return x.UnrealizedPnl 607 } 608 return "" 609 } 610 611 type DerivativePosition struct { 612 state protoimpl.MessageState 613 sizeCache protoimpl.SizeCache 614 unknownFields protoimpl.UnknownFields 615 616 // Ticker of the derivative market 617 Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"` 618 // Derivative Market ID 619 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 620 // The subaccountId that the position belongs to 621 SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 622 // Direction of the position 623 Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"` 624 // Quantity of the position 625 Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"` 626 // Price of the position 627 EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"` 628 // Margin of the position 629 Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"` 630 // LiquidationPrice of the position 631 LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"` 632 // MarkPrice of the position 633 MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"` 634 // Aggregate Quantity of the Reduce Only orders associated with the position 635 AggregateReduceOnlyQuantity string `protobuf:"bytes,11,opt,name=aggregate_reduce_only_quantity,json=aggregateReduceOnlyQuantity,proto3" json:"aggregate_reduce_only_quantity,omitempty"` 636 // Position updated timestamp in UNIX millis. 637 UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 638 // Position created timestamp in UNIX millis. 639 CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` 640 } 641 642 func (x *DerivativePosition) Reset() { 643 *x = DerivativePosition{} 644 if protoimpl.UnsafeEnabled { 645 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[10] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 647 ms.StoreMessageInfo(mi) 648 } 649 } 650 651 func (x *DerivativePosition) String() string { 652 return protoimpl.X.MessageStringOf(x) 653 } 654 655 func (*DerivativePosition) ProtoMessage() {} 656 657 func (x *DerivativePosition) ProtoReflect() protoreflect.Message { 658 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[10] 659 if protoimpl.UnsafeEnabled && x != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(x) 667 } 668 669 // Deprecated: Use DerivativePosition.ProtoReflect.Descriptor instead. 670 func (*DerivativePosition) Descriptor() ([]byte, []int) { 671 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{10} 672 } 673 674 func (x *DerivativePosition) GetTicker() string { 675 if x != nil { 676 return x.Ticker 677 } 678 return "" 679 } 680 681 func (x *DerivativePosition) GetMarketId() string { 682 if x != nil { 683 return x.MarketId 684 } 685 return "" 686 } 687 688 func (x *DerivativePosition) GetSubaccountId() string { 689 if x != nil { 690 return x.SubaccountId 691 } 692 return "" 693 } 694 695 func (x *DerivativePosition) GetDirection() string { 696 if x != nil { 697 return x.Direction 698 } 699 return "" 700 } 701 702 func (x *DerivativePosition) GetQuantity() string { 703 if x != nil { 704 return x.Quantity 705 } 706 return "" 707 } 708 709 func (x *DerivativePosition) GetEntryPrice() string { 710 if x != nil { 711 return x.EntryPrice 712 } 713 return "" 714 } 715 716 func (x *DerivativePosition) GetMargin() string { 717 if x != nil { 718 return x.Margin 719 } 720 return "" 721 } 722 723 func (x *DerivativePosition) GetLiquidationPrice() string { 724 if x != nil { 725 return x.LiquidationPrice 726 } 727 return "" 728 } 729 730 func (x *DerivativePosition) GetMarkPrice() string { 731 if x != nil { 732 return x.MarkPrice 733 } 734 return "" 735 } 736 737 func (x *DerivativePosition) GetAggregateReduceOnlyQuantity() string { 738 if x != nil { 739 return x.AggregateReduceOnlyQuantity 740 } 741 return "" 742 } 743 744 func (x *DerivativePosition) GetUpdatedAt() int64 { 745 if x != nil { 746 return x.UpdatedAt 747 } 748 return 0 749 } 750 751 func (x *DerivativePosition) GetCreatedAt() int64 { 752 if x != nil { 753 return x.CreatedAt 754 } 755 return 0 756 } 757 758 type AccountPortfolioBalancesRequest struct { 759 state protoimpl.MessageState 760 sizeCache protoimpl.SizeCache 761 unknownFields protoimpl.UnknownFields 762 763 // Account address 764 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 765 } 766 767 func (x *AccountPortfolioBalancesRequest) Reset() { 768 *x = AccountPortfolioBalancesRequest{} 769 if protoimpl.UnsafeEnabled { 770 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[11] 771 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 772 ms.StoreMessageInfo(mi) 773 } 774 } 775 776 func (x *AccountPortfolioBalancesRequest) String() string { 777 return protoimpl.X.MessageStringOf(x) 778 } 779 780 func (*AccountPortfolioBalancesRequest) ProtoMessage() {} 781 782 func (x *AccountPortfolioBalancesRequest) ProtoReflect() protoreflect.Message { 783 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[11] 784 if protoimpl.UnsafeEnabled && x != nil { 785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 786 if ms.LoadMessageInfo() == nil { 787 ms.StoreMessageInfo(mi) 788 } 789 return ms 790 } 791 return mi.MessageOf(x) 792 } 793 794 // Deprecated: Use AccountPortfolioBalancesRequest.ProtoReflect.Descriptor instead. 795 func (*AccountPortfolioBalancesRequest) Descriptor() ([]byte, []int) { 796 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{11} 797 } 798 799 func (x *AccountPortfolioBalancesRequest) GetAccountAddress() string { 800 if x != nil { 801 return x.AccountAddress 802 } 803 return "" 804 } 805 806 type AccountPortfolioBalancesResponse struct { 807 state protoimpl.MessageState 808 sizeCache protoimpl.SizeCache 809 unknownFields protoimpl.UnknownFields 810 811 // The portfolio balances of this account 812 Portfolio *PortfolioBalances `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"` 813 } 814 815 func (x *AccountPortfolioBalancesResponse) Reset() { 816 *x = AccountPortfolioBalancesResponse{} 817 if protoimpl.UnsafeEnabled { 818 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[12] 819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 820 ms.StoreMessageInfo(mi) 821 } 822 } 823 824 func (x *AccountPortfolioBalancesResponse) String() string { 825 return protoimpl.X.MessageStringOf(x) 826 } 827 828 func (*AccountPortfolioBalancesResponse) ProtoMessage() {} 829 830 func (x *AccountPortfolioBalancesResponse) ProtoReflect() protoreflect.Message { 831 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[12] 832 if protoimpl.UnsafeEnabled && x != nil { 833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 834 if ms.LoadMessageInfo() == nil { 835 ms.StoreMessageInfo(mi) 836 } 837 return ms 838 } 839 return mi.MessageOf(x) 840 } 841 842 // Deprecated: Use AccountPortfolioBalancesResponse.ProtoReflect.Descriptor instead. 843 func (*AccountPortfolioBalancesResponse) Descriptor() ([]byte, []int) { 844 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{12} 845 } 846 847 func (x *AccountPortfolioBalancesResponse) GetPortfolio() *PortfolioBalances { 848 if x != nil { 849 return x.Portfolio 850 } 851 return nil 852 } 853 854 type PortfolioBalances struct { 855 state protoimpl.MessageState 856 sizeCache protoimpl.SizeCache 857 unknownFields protoimpl.UnknownFields 858 859 // The account's portfolio address 860 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 861 // Account available bank balances 862 BankBalances []*Coin `protobuf:"bytes,2,rep,name=bank_balances,json=bankBalances,proto3" json:"bank_balances,omitempty"` 863 // Subaccounts list 864 Subaccounts []*SubaccountBalanceV2 `protobuf:"bytes,3,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"` 865 } 866 867 func (x *PortfolioBalances) Reset() { 868 *x = PortfolioBalances{} 869 if protoimpl.UnsafeEnabled { 870 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[13] 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 872 ms.StoreMessageInfo(mi) 873 } 874 } 875 876 func (x *PortfolioBalances) String() string { 877 return protoimpl.X.MessageStringOf(x) 878 } 879 880 func (*PortfolioBalances) ProtoMessage() {} 881 882 func (x *PortfolioBalances) ProtoReflect() protoreflect.Message { 883 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[13] 884 if protoimpl.UnsafeEnabled && x != nil { 885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 886 if ms.LoadMessageInfo() == nil { 887 ms.StoreMessageInfo(mi) 888 } 889 return ms 890 } 891 return mi.MessageOf(x) 892 } 893 894 // Deprecated: Use PortfolioBalances.ProtoReflect.Descriptor instead. 895 func (*PortfolioBalances) Descriptor() ([]byte, []int) { 896 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{13} 897 } 898 899 func (x *PortfolioBalances) GetAccountAddress() string { 900 if x != nil { 901 return x.AccountAddress 902 } 903 return "" 904 } 905 906 func (x *PortfolioBalances) GetBankBalances() []*Coin { 907 if x != nil { 908 return x.BankBalances 909 } 910 return nil 911 } 912 913 func (x *PortfolioBalances) GetSubaccounts() []*SubaccountBalanceV2 { 914 if x != nil { 915 return x.Subaccounts 916 } 917 return nil 918 } 919 920 type StreamAccountPortfolioRequest struct { 921 state protoimpl.MessageState 922 sizeCache protoimpl.SizeCache 923 unknownFields protoimpl.UnknownFields 924 925 // The account's portfolio address 926 AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` 927 // Related subaccount ID 928 SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 929 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` 930 } 931 932 func (x *StreamAccountPortfolioRequest) Reset() { 933 *x = StreamAccountPortfolioRequest{} 934 if protoimpl.UnsafeEnabled { 935 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[14] 936 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 937 ms.StoreMessageInfo(mi) 938 } 939 } 940 941 func (x *StreamAccountPortfolioRequest) String() string { 942 return protoimpl.X.MessageStringOf(x) 943 } 944 945 func (*StreamAccountPortfolioRequest) ProtoMessage() {} 946 947 func (x *StreamAccountPortfolioRequest) ProtoReflect() protoreflect.Message { 948 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[14] 949 if protoimpl.UnsafeEnabled && x != nil { 950 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 951 if ms.LoadMessageInfo() == nil { 952 ms.StoreMessageInfo(mi) 953 } 954 return ms 955 } 956 return mi.MessageOf(x) 957 } 958 959 // Deprecated: Use StreamAccountPortfolioRequest.ProtoReflect.Descriptor instead. 960 func (*StreamAccountPortfolioRequest) Descriptor() ([]byte, []int) { 961 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{14} 962 } 963 964 func (x *StreamAccountPortfolioRequest) GetAccountAddress() string { 965 if x != nil { 966 return x.AccountAddress 967 } 968 return "" 969 } 970 971 func (x *StreamAccountPortfolioRequest) GetSubaccountId() string { 972 if x != nil { 973 return x.SubaccountId 974 } 975 return "" 976 } 977 978 func (x *StreamAccountPortfolioRequest) GetType() string { 979 if x != nil { 980 return x.Type 981 } 982 return "" 983 } 984 985 type StreamAccountPortfolioResponse struct { 986 state protoimpl.MessageState 987 sizeCache protoimpl.SizeCache 988 unknownFields protoimpl.UnknownFields 989 990 // type of portfolio entry 991 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 992 // denom of portfolio entry 993 Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` 994 // amount of portfolio entry 995 Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` 996 // subaccount id of portfolio entry 997 SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"` 998 // Operation timestamp in UNIX millis. 999 Timestamp int64 `protobuf:"zigzag64,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 1000 } 1001 1002 func (x *StreamAccountPortfolioResponse) Reset() { 1003 *x = StreamAccountPortfolioResponse{} 1004 if protoimpl.UnsafeEnabled { 1005 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[15] 1006 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1007 ms.StoreMessageInfo(mi) 1008 } 1009 } 1010 1011 func (x *StreamAccountPortfolioResponse) String() string { 1012 return protoimpl.X.MessageStringOf(x) 1013 } 1014 1015 func (*StreamAccountPortfolioResponse) ProtoMessage() {} 1016 1017 func (x *StreamAccountPortfolioResponse) ProtoReflect() protoreflect.Message { 1018 mi := &file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[15] 1019 if protoimpl.UnsafeEnabled && x != nil { 1020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1021 if ms.LoadMessageInfo() == nil { 1022 ms.StoreMessageInfo(mi) 1023 } 1024 return ms 1025 } 1026 return mi.MessageOf(x) 1027 } 1028 1029 // Deprecated: Use StreamAccountPortfolioResponse.ProtoReflect.Descriptor instead. 1030 func (*StreamAccountPortfolioResponse) Descriptor() ([]byte, []int) { 1031 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP(), []int{15} 1032 } 1033 1034 func (x *StreamAccountPortfolioResponse) GetType() string { 1035 if x != nil { 1036 return x.Type 1037 } 1038 return "" 1039 } 1040 1041 func (x *StreamAccountPortfolioResponse) GetDenom() string { 1042 if x != nil { 1043 return x.Denom 1044 } 1045 return "" 1046 } 1047 1048 func (x *StreamAccountPortfolioResponse) GetAmount() string { 1049 if x != nil { 1050 return x.Amount 1051 } 1052 return "" 1053 } 1054 1055 func (x *StreamAccountPortfolioResponse) GetSubaccountId() string { 1056 if x != nil { 1057 return x.SubaccountId 1058 } 1059 return "" 1060 } 1061 1062 func (x *StreamAccountPortfolioResponse) GetTimestamp() int64 { 1063 if x != nil { 1064 return x.Timestamp 1065 } 1066 return 0 1067 } 1068 1069 var File_goadesign_goagen_injective_portfolio_rpc_proto protoreflect.FileDescriptor 1070 1071 var file_goadesign_goagen_injective_portfolio_rpc_proto_rawDesc = []byte{ 1072 0x0a, 0x2e, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67, 1073 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 1074 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1075 0x12, 0x17, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 1076 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x59, 0x0a, 0x13, 0x54, 0x6f, 0x6b, 1077 0x65, 0x6e, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1078 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 1079 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 1080 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x14, 1081 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 1082 0x69, 0x6d, 0x69, 0x74, 0x22, 0x74, 0x0a, 0x14, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x6f, 0x6c, 1083 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x07, 1084 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 1085 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 1086 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x07, 1087 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x5f, 1088 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 1089 0x65, 0x78, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x48, 0x6f, 1090 0x6c, 0x64, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 1091 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 1092 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 1093 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 1094 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x42, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, 1095 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 1096 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 1097 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 1098 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x5c, 0x0a, 0x18, 0x41, 1099 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 1100 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x66, 1101 0x6f, 0x6c, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 1102 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 1103 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x09, 1104 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x22, 0xa4, 0x02, 0x0a, 0x09, 0x50, 0x6f, 1105 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 1106 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1107 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 1108 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x61, 0x6e, 0x6b, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1109 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 1110 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 1111 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x0c, 0x62, 0x61, 0x6e, 0x6b, 0x42, 0x61, 0x6c, 0x61, 1112 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 1113 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 1114 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 1115 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 1116 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x52, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 1117 0x75, 0x6e, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 1118 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x75, 0x70, 0x6e, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 1119 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 1120 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 1121 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x55, 0x50, 0x4e, 0x4c, 0x52, 0x11, 0x70, 1122 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x55, 0x70, 0x6e, 0x6c, 1123 0x22, 0x34, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 1124 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 1125 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 1126 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x96, 0x01, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x61, 0x63, 1127 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x12, 0x23, 1128 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 1129 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1130 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 1131 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x44, 0x0a, 0x07, 0x64, 0x65, 0x70, 1132 0x6f, 0x73, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 1133 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 1134 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 1135 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x22, 1136 0x65, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x70, 1137 0x6f, 0x73, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 1138 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x74, 1139 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 1140 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 1141 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 1142 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x11, 0x50, 0x6f, 0x73, 0x69, 0x74, 1143 0x69, 0x6f, 0x6e, 0x73, 0x57, 0x69, 0x74, 0x68, 0x55, 0x50, 0x4e, 0x4c, 0x12, 0x47, 0x0a, 0x08, 1144 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 1145 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 1146 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 1147 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 1148 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x6c, 0x69, 1149 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x6e, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 1150 0x6e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x6e, 0x6c, 0x22, 0xb0, 0x03, 0x0a, 1151 0x12, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 1152 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 1153 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 1154 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 1155 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 1156 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1157 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 1158 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 1159 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x71, 1160 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 1161 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 1162 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 1163 0x74, 0x72, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 1164 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 1165 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 1166 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x71, 1167 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 1168 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 1169 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x1e, 1170 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 1171 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0b, 1172 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 1173 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 1174 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 1175 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 1176 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 1177 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 1178 0x4a, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 1179 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 1180 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 1181 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 1182 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6c, 0x0a, 0x20, 0x41, 1183 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 1184 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1185 0x48, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 1186 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 1187 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 1188 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x09, 1189 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x11, 0x50, 0x6f, 1190 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 1191 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 1192 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1193 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x61, 0x6e, 0x6b, 1194 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 1195 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 1196 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x0c, 1197 0x62, 0x61, 0x6e, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 1198 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 1199 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 1200 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 1201 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x52, 1202 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x81, 0x01, 0x0a, 1203 0x1d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 1204 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 1205 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 1206 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 1207 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 1208 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 1209 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 1210 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 1211 0x22, 0xa5, 0x01, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 1212 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 1213 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 1214 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 1215 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 1216 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 1217 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 1218 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 1219 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 1220 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 1221 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x9d, 0x04, 0x0a, 0x15, 0x49, 0x6e, 0x6a, 1222 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 1223 0x50, 0x43, 0x12, 0x6b, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x6f, 0x6c, 0x64, 0x65, 1224 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 1225 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 1226 0x65, 0x6e, 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1227 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 1228 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1229 0x48, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1230 0x77, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 1231 0x6c, 0x69, 0x6f, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 1232 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 1233 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 1234 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 1235 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 1236 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 1237 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x18, 0x41, 0x63, 0x63, 1238 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 1239 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 1240 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 1241 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 1242 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 1243 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 1244 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 1245 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 1246 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x16, 0x53, 1247 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 1248 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 1249 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 1250 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 1251 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 1252 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 1253 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 1254 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 1255 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1c, 0x5a, 0x1a, 0x2f, 0x69, 0x6e, 0x6a, 1256 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 1257 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1258 } 1259 1260 var ( 1261 file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescOnce sync.Once 1262 file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescData = file_goadesign_goagen_injective_portfolio_rpc_proto_rawDesc 1263 ) 1264 1265 func file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescGZIP() []byte { 1266 file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescOnce.Do(func() { 1267 file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescData) 1268 }) 1269 return file_goadesign_goagen_injective_portfolio_rpc_proto_rawDescData 1270 } 1271 1272 var file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 16) 1273 var file_goadesign_goagen_injective_portfolio_rpc_proto_goTypes = []interface{}{ 1274 (*TokenHoldersRequest)(nil), // 0: injective_portfolio_rpc.TokenHoldersRequest 1275 (*TokenHoldersResponse)(nil), // 1: injective_portfolio_rpc.TokenHoldersResponse 1276 (*Holder)(nil), // 2: injective_portfolio_rpc.Holder 1277 (*AccountPortfolioRequest)(nil), // 3: injective_portfolio_rpc.AccountPortfolioRequest 1278 (*AccountPortfolioResponse)(nil), // 4: injective_portfolio_rpc.AccountPortfolioResponse 1279 (*Portfolio)(nil), // 5: injective_portfolio_rpc.Portfolio 1280 (*Coin)(nil), // 6: injective_portfolio_rpc.Coin 1281 (*SubaccountBalanceV2)(nil), // 7: injective_portfolio_rpc.SubaccountBalanceV2 1282 (*SubaccountDeposit)(nil), // 8: injective_portfolio_rpc.SubaccountDeposit 1283 (*PositionsWithUPNL)(nil), // 9: injective_portfolio_rpc.PositionsWithUPNL 1284 (*DerivativePosition)(nil), // 10: injective_portfolio_rpc.DerivativePosition 1285 (*AccountPortfolioBalancesRequest)(nil), // 11: injective_portfolio_rpc.AccountPortfolioBalancesRequest 1286 (*AccountPortfolioBalancesResponse)(nil), // 12: injective_portfolio_rpc.AccountPortfolioBalancesResponse 1287 (*PortfolioBalances)(nil), // 13: injective_portfolio_rpc.PortfolioBalances 1288 (*StreamAccountPortfolioRequest)(nil), // 14: injective_portfolio_rpc.StreamAccountPortfolioRequest 1289 (*StreamAccountPortfolioResponse)(nil), // 15: injective_portfolio_rpc.StreamAccountPortfolioResponse 1290 } 1291 var file_goadesign_goagen_injective_portfolio_rpc_proto_depIdxs = []int32{ 1292 2, // 0: injective_portfolio_rpc.TokenHoldersResponse.holders:type_name -> injective_portfolio_rpc.Holder 1293 5, // 1: injective_portfolio_rpc.AccountPortfolioResponse.portfolio:type_name -> injective_portfolio_rpc.Portfolio 1294 6, // 2: injective_portfolio_rpc.Portfolio.bank_balances:type_name -> injective_portfolio_rpc.Coin 1295 7, // 3: injective_portfolio_rpc.Portfolio.subaccounts:type_name -> injective_portfolio_rpc.SubaccountBalanceV2 1296 9, // 4: injective_portfolio_rpc.Portfolio.positions_with_upnl:type_name -> injective_portfolio_rpc.PositionsWithUPNL 1297 8, // 5: injective_portfolio_rpc.SubaccountBalanceV2.deposit:type_name -> injective_portfolio_rpc.SubaccountDeposit 1298 10, // 6: injective_portfolio_rpc.PositionsWithUPNL.position:type_name -> injective_portfolio_rpc.DerivativePosition 1299 13, // 7: injective_portfolio_rpc.AccountPortfolioBalancesResponse.portfolio:type_name -> injective_portfolio_rpc.PortfolioBalances 1300 6, // 8: injective_portfolio_rpc.PortfolioBalances.bank_balances:type_name -> injective_portfolio_rpc.Coin 1301 7, // 9: injective_portfolio_rpc.PortfolioBalances.subaccounts:type_name -> injective_portfolio_rpc.SubaccountBalanceV2 1302 0, // 10: injective_portfolio_rpc.InjectivePortfolioRPC.TokenHolders:input_type -> injective_portfolio_rpc.TokenHoldersRequest 1303 3, // 11: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:input_type -> injective_portfolio_rpc.AccountPortfolioRequest 1304 11, // 12: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolioBalances:input_type -> injective_portfolio_rpc.AccountPortfolioBalancesRequest 1305 14, // 13: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:input_type -> injective_portfolio_rpc.StreamAccountPortfolioRequest 1306 1, // 14: injective_portfolio_rpc.InjectivePortfolioRPC.TokenHolders:output_type -> injective_portfolio_rpc.TokenHoldersResponse 1307 4, // 15: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:output_type -> injective_portfolio_rpc.AccountPortfolioResponse 1308 12, // 16: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolioBalances:output_type -> injective_portfolio_rpc.AccountPortfolioBalancesResponse 1309 15, // 17: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:output_type -> injective_portfolio_rpc.StreamAccountPortfolioResponse 1310 14, // [14:18] is the sub-list for method output_type 1311 10, // [10:14] is the sub-list for method input_type 1312 10, // [10:10] is the sub-list for extension type_name 1313 10, // [10:10] is the sub-list for extension extendee 1314 0, // [0:10] is the sub-list for field type_name 1315 } 1316 1317 func init() { file_goadesign_goagen_injective_portfolio_rpc_proto_init() } 1318 func file_goadesign_goagen_injective_portfolio_rpc_proto_init() { 1319 if File_goadesign_goagen_injective_portfolio_rpc_proto != nil { 1320 return 1321 } 1322 if !protoimpl.UnsafeEnabled { 1323 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1324 switch v := v.(*TokenHoldersRequest); i { 1325 case 0: 1326 return &v.state 1327 case 1: 1328 return &v.sizeCache 1329 case 2: 1330 return &v.unknownFields 1331 default: 1332 return nil 1333 } 1334 } 1335 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1336 switch v := v.(*TokenHoldersResponse); i { 1337 case 0: 1338 return &v.state 1339 case 1: 1340 return &v.sizeCache 1341 case 2: 1342 return &v.unknownFields 1343 default: 1344 return nil 1345 } 1346 } 1347 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1348 switch v := v.(*Holder); i { 1349 case 0: 1350 return &v.state 1351 case 1: 1352 return &v.sizeCache 1353 case 2: 1354 return &v.unknownFields 1355 default: 1356 return nil 1357 } 1358 } 1359 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1360 switch v := v.(*AccountPortfolioRequest); i { 1361 case 0: 1362 return &v.state 1363 case 1: 1364 return &v.sizeCache 1365 case 2: 1366 return &v.unknownFields 1367 default: 1368 return nil 1369 } 1370 } 1371 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1372 switch v := v.(*AccountPortfolioResponse); i { 1373 case 0: 1374 return &v.state 1375 case 1: 1376 return &v.sizeCache 1377 case 2: 1378 return &v.unknownFields 1379 default: 1380 return nil 1381 } 1382 } 1383 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1384 switch v := v.(*Portfolio); i { 1385 case 0: 1386 return &v.state 1387 case 1: 1388 return &v.sizeCache 1389 case 2: 1390 return &v.unknownFields 1391 default: 1392 return nil 1393 } 1394 } 1395 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1396 switch v := v.(*Coin); i { 1397 case 0: 1398 return &v.state 1399 case 1: 1400 return &v.sizeCache 1401 case 2: 1402 return &v.unknownFields 1403 default: 1404 return nil 1405 } 1406 } 1407 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1408 switch v := v.(*SubaccountBalanceV2); i { 1409 case 0: 1410 return &v.state 1411 case 1: 1412 return &v.sizeCache 1413 case 2: 1414 return &v.unknownFields 1415 default: 1416 return nil 1417 } 1418 } 1419 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1420 switch v := v.(*SubaccountDeposit); i { 1421 case 0: 1422 return &v.state 1423 case 1: 1424 return &v.sizeCache 1425 case 2: 1426 return &v.unknownFields 1427 default: 1428 return nil 1429 } 1430 } 1431 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1432 switch v := v.(*PositionsWithUPNL); i { 1433 case 0: 1434 return &v.state 1435 case 1: 1436 return &v.sizeCache 1437 case 2: 1438 return &v.unknownFields 1439 default: 1440 return nil 1441 } 1442 } 1443 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1444 switch v := v.(*DerivativePosition); i { 1445 case 0: 1446 return &v.state 1447 case 1: 1448 return &v.sizeCache 1449 case 2: 1450 return &v.unknownFields 1451 default: 1452 return nil 1453 } 1454 } 1455 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1456 switch v := v.(*AccountPortfolioBalancesRequest); i { 1457 case 0: 1458 return &v.state 1459 case 1: 1460 return &v.sizeCache 1461 case 2: 1462 return &v.unknownFields 1463 default: 1464 return nil 1465 } 1466 } 1467 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1468 switch v := v.(*AccountPortfolioBalancesResponse); i { 1469 case 0: 1470 return &v.state 1471 case 1: 1472 return &v.sizeCache 1473 case 2: 1474 return &v.unknownFields 1475 default: 1476 return nil 1477 } 1478 } 1479 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1480 switch v := v.(*PortfolioBalances); i { 1481 case 0: 1482 return &v.state 1483 case 1: 1484 return &v.sizeCache 1485 case 2: 1486 return &v.unknownFields 1487 default: 1488 return nil 1489 } 1490 } 1491 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1492 switch v := v.(*StreamAccountPortfolioRequest); i { 1493 case 0: 1494 return &v.state 1495 case 1: 1496 return &v.sizeCache 1497 case 2: 1498 return &v.unknownFields 1499 default: 1500 return nil 1501 } 1502 } 1503 file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1504 switch v := v.(*StreamAccountPortfolioResponse); i { 1505 case 0: 1506 return &v.state 1507 case 1: 1508 return &v.sizeCache 1509 case 2: 1510 return &v.unknownFields 1511 default: 1512 return nil 1513 } 1514 } 1515 } 1516 type x struct{} 1517 out := protoimpl.TypeBuilder{ 1518 File: protoimpl.DescBuilder{ 1519 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1520 RawDescriptor: file_goadesign_goagen_injective_portfolio_rpc_proto_rawDesc, 1521 NumEnums: 0, 1522 NumMessages: 16, 1523 NumExtensions: 0, 1524 NumServices: 1, 1525 }, 1526 GoTypes: file_goadesign_goagen_injective_portfolio_rpc_proto_goTypes, 1527 DependencyIndexes: file_goadesign_goagen_injective_portfolio_rpc_proto_depIdxs, 1528 MessageInfos: file_goadesign_goagen_injective_portfolio_rpc_proto_msgTypes, 1529 }.Build() 1530 File_goadesign_goagen_injective_portfolio_rpc_proto = out.File 1531 file_goadesign_goagen_injective_portfolio_rpc_proto_rawDesc = nil 1532 file_goadesign_goagen_injective_portfolio_rpc_proto_goTypes = nil 1533 file_goadesign_goagen_injective_portfolio_rpc_proto_depIdxs = nil 1534 }