github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/insurance_rpc/pb/goadesign_goagen_injective_insurance_rpc.pb.go (about) 1 // Code generated with goa v3.7.0, DO NOT EDIT. 2 // 3 // InjectiveInsuranceRPC 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_insurance_rpc.proto 13 14 package injective_insurance_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 FundsRequest struct { 31 state protoimpl.MessageState 32 sizeCache protoimpl.SizeCache 33 unknownFields protoimpl.UnknownFields 34 } 35 36 func (x *FundsRequest) Reset() { 37 *x = FundsRequest{} 38 if protoimpl.UnsafeEnabled { 39 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[0] 40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 41 ms.StoreMessageInfo(mi) 42 } 43 } 44 45 func (x *FundsRequest) String() string { 46 return protoimpl.X.MessageStringOf(x) 47 } 48 49 func (*FundsRequest) ProtoMessage() {} 50 51 func (x *FundsRequest) ProtoReflect() protoreflect.Message { 52 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[0] 53 if protoimpl.UnsafeEnabled && x != nil { 54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 55 if ms.LoadMessageInfo() == nil { 56 ms.StoreMessageInfo(mi) 57 } 58 return ms 59 } 60 return mi.MessageOf(x) 61 } 62 63 // Deprecated: Use FundsRequest.ProtoReflect.Descriptor instead. 64 func (*FundsRequest) Descriptor() ([]byte, []int) { 65 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{0} 66 } 67 68 type FundsResponse struct { 69 state protoimpl.MessageState 70 sizeCache protoimpl.SizeCache 71 unknownFields protoimpl.UnknownFields 72 73 Funds []*InsuranceFund `protobuf:"bytes,1,rep,name=funds,proto3" json:"funds,omitempty"` 74 } 75 76 func (x *FundsResponse) Reset() { 77 *x = FundsResponse{} 78 if protoimpl.UnsafeEnabled { 79 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[1] 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 81 ms.StoreMessageInfo(mi) 82 } 83 } 84 85 func (x *FundsResponse) String() string { 86 return protoimpl.X.MessageStringOf(x) 87 } 88 89 func (*FundsResponse) ProtoMessage() {} 90 91 func (x *FundsResponse) ProtoReflect() protoreflect.Message { 92 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[1] 93 if protoimpl.UnsafeEnabled && x != nil { 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 if ms.LoadMessageInfo() == nil { 96 ms.StoreMessageInfo(mi) 97 } 98 return ms 99 } 100 return mi.MessageOf(x) 101 } 102 103 // Deprecated: Use FundsResponse.ProtoReflect.Descriptor instead. 104 func (*FundsResponse) Descriptor() ([]byte, []int) { 105 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{1} 106 } 107 108 func (x *FundsResponse) GetFunds() []*InsuranceFund { 109 if x != nil { 110 return x.Funds 111 } 112 return nil 113 } 114 115 type InsuranceFund struct { 116 state protoimpl.MessageState 117 sizeCache protoimpl.SizeCache 118 unknownFields protoimpl.UnknownFields 119 120 // Ticker of the derivative market. 121 MarketTicker string `protobuf:"bytes,1,opt,name=market_ticker,json=marketTicker,proto3" json:"market_ticker,omitempty"` 122 // Derivative Market ID 123 MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` 124 // Coin denom used for the underwriting of the insurance fund. 125 DepositDenom string `protobuf:"bytes,3,opt,name=deposit_denom,json=depositDenom,proto3" json:"deposit_denom,omitempty"` 126 // Pool token denom 127 PoolTokenDenom string `protobuf:"bytes,4,opt,name=pool_token_denom,json=poolTokenDenom,proto3" json:"pool_token_denom,omitempty"` 128 // Redemption notice period duration in seconds. 129 RedemptionNoticePeriodDuration int64 `protobuf:"zigzag64,5,opt,name=redemption_notice_period_duration,json=redemptionNoticePeriodDuration,proto3" json:"redemption_notice_period_duration,omitempty"` 130 Balance string `protobuf:"bytes,6,opt,name=balance,proto3" json:"balance,omitempty"` 131 TotalShare string `protobuf:"bytes,7,opt,name=total_share,json=totalShare,proto3" json:"total_share,omitempty"` 132 // Oracle base currency 133 OracleBase string `protobuf:"bytes,8,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"` 134 // Oracle quote currency 135 OracleQuote string `protobuf:"bytes,9,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"` 136 // Oracle Type 137 OracleType string `protobuf:"bytes,10,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` 138 // Defines the expiry, if any 139 Expiry int64 `protobuf:"zigzag64,11,opt,name=expiry,proto3" json:"expiry,omitempty"` 140 // Token metadata for the deposit asset, only for Ethereum-based assets 141 DepositTokenMeta *TokenMeta `protobuf:"bytes,12,opt,name=deposit_token_meta,json=depositTokenMeta,proto3" json:"deposit_token_meta,omitempty"` 142 } 143 144 func (x *InsuranceFund) Reset() { 145 *x = InsuranceFund{} 146 if protoimpl.UnsafeEnabled { 147 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[2] 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 ms.StoreMessageInfo(mi) 150 } 151 } 152 153 func (x *InsuranceFund) String() string { 154 return protoimpl.X.MessageStringOf(x) 155 } 156 157 func (*InsuranceFund) ProtoMessage() {} 158 159 func (x *InsuranceFund) ProtoReflect() protoreflect.Message { 160 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[2] 161 if protoimpl.UnsafeEnabled && x != nil { 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 if ms.LoadMessageInfo() == nil { 164 ms.StoreMessageInfo(mi) 165 } 166 return ms 167 } 168 return mi.MessageOf(x) 169 } 170 171 // Deprecated: Use InsuranceFund.ProtoReflect.Descriptor instead. 172 func (*InsuranceFund) Descriptor() ([]byte, []int) { 173 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{2} 174 } 175 176 func (x *InsuranceFund) GetMarketTicker() string { 177 if x != nil { 178 return x.MarketTicker 179 } 180 return "" 181 } 182 183 func (x *InsuranceFund) GetMarketId() string { 184 if x != nil { 185 return x.MarketId 186 } 187 return "" 188 } 189 190 func (x *InsuranceFund) GetDepositDenom() string { 191 if x != nil { 192 return x.DepositDenom 193 } 194 return "" 195 } 196 197 func (x *InsuranceFund) GetPoolTokenDenom() string { 198 if x != nil { 199 return x.PoolTokenDenom 200 } 201 return "" 202 } 203 204 func (x *InsuranceFund) GetRedemptionNoticePeriodDuration() int64 { 205 if x != nil { 206 return x.RedemptionNoticePeriodDuration 207 } 208 return 0 209 } 210 211 func (x *InsuranceFund) GetBalance() string { 212 if x != nil { 213 return x.Balance 214 } 215 return "" 216 } 217 218 func (x *InsuranceFund) GetTotalShare() string { 219 if x != nil { 220 return x.TotalShare 221 } 222 return "" 223 } 224 225 func (x *InsuranceFund) GetOracleBase() string { 226 if x != nil { 227 return x.OracleBase 228 } 229 return "" 230 } 231 232 func (x *InsuranceFund) GetOracleQuote() string { 233 if x != nil { 234 return x.OracleQuote 235 } 236 return "" 237 } 238 239 func (x *InsuranceFund) GetOracleType() string { 240 if x != nil { 241 return x.OracleType 242 } 243 return "" 244 } 245 246 func (x *InsuranceFund) GetExpiry() int64 { 247 if x != nil { 248 return x.Expiry 249 } 250 return 0 251 } 252 253 func (x *InsuranceFund) GetDepositTokenMeta() *TokenMeta { 254 if x != nil { 255 return x.DepositTokenMeta 256 } 257 return nil 258 } 259 260 type TokenMeta struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 // Token full name 266 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 267 // Token Ethereum contract address 268 Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` 269 // Token symbol short name 270 Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` 271 // URL to the logo image 272 Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"` 273 // Token decimals 274 Decimals int32 `protobuf:"zigzag32,5,opt,name=decimals,proto3" json:"decimals,omitempty"` 275 // Token metadata fetched timestamp in UNIX millis. 276 UpdatedAt int64 `protobuf:"zigzag64,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` 277 } 278 279 func (x *TokenMeta) Reset() { 280 *x = TokenMeta{} 281 if protoimpl.UnsafeEnabled { 282 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[3] 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 ms.StoreMessageInfo(mi) 285 } 286 } 287 288 func (x *TokenMeta) String() string { 289 return protoimpl.X.MessageStringOf(x) 290 } 291 292 func (*TokenMeta) ProtoMessage() {} 293 294 func (x *TokenMeta) ProtoReflect() protoreflect.Message { 295 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[3] 296 if protoimpl.UnsafeEnabled && x != nil { 297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 298 if ms.LoadMessageInfo() == nil { 299 ms.StoreMessageInfo(mi) 300 } 301 return ms 302 } 303 return mi.MessageOf(x) 304 } 305 306 // Deprecated: Use TokenMeta.ProtoReflect.Descriptor instead. 307 func (*TokenMeta) Descriptor() ([]byte, []int) { 308 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{3} 309 } 310 311 func (x *TokenMeta) GetName() string { 312 if x != nil { 313 return x.Name 314 } 315 return "" 316 } 317 318 func (x *TokenMeta) GetAddress() string { 319 if x != nil { 320 return x.Address 321 } 322 return "" 323 } 324 325 func (x *TokenMeta) GetSymbol() string { 326 if x != nil { 327 return x.Symbol 328 } 329 return "" 330 } 331 332 func (x *TokenMeta) GetLogo() string { 333 if x != nil { 334 return x.Logo 335 } 336 return "" 337 } 338 339 func (x *TokenMeta) GetDecimals() int32 { 340 if x != nil { 341 return x.Decimals 342 } 343 return 0 344 } 345 346 func (x *TokenMeta) GetUpdatedAt() int64 { 347 if x != nil { 348 return x.UpdatedAt 349 } 350 return 0 351 } 352 353 type FundRequest struct { 354 state protoimpl.MessageState 355 sizeCache protoimpl.SizeCache 356 unknownFields protoimpl.UnknownFields 357 358 // denom of insurance fund 359 Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` 360 } 361 362 func (x *FundRequest) Reset() { 363 *x = FundRequest{} 364 if protoimpl.UnsafeEnabled { 365 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[4] 366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 367 ms.StoreMessageInfo(mi) 368 } 369 } 370 371 func (x *FundRequest) String() string { 372 return protoimpl.X.MessageStringOf(x) 373 } 374 375 func (*FundRequest) ProtoMessage() {} 376 377 func (x *FundRequest) ProtoReflect() protoreflect.Message { 378 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[4] 379 if protoimpl.UnsafeEnabled && x != nil { 380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 381 if ms.LoadMessageInfo() == nil { 382 ms.StoreMessageInfo(mi) 383 } 384 return ms 385 } 386 return mi.MessageOf(x) 387 } 388 389 // Deprecated: Use FundRequest.ProtoReflect.Descriptor instead. 390 func (*FundRequest) Descriptor() ([]byte, []int) { 391 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{4} 392 } 393 394 func (x *FundRequest) GetDenom() string { 395 if x != nil { 396 return x.Denom 397 } 398 return "" 399 } 400 401 type FundResponse struct { 402 state protoimpl.MessageState 403 sizeCache protoimpl.SizeCache 404 unknownFields protoimpl.UnknownFields 405 406 // The insurance fund corresponding to the provided token denom 407 Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"` 408 } 409 410 func (x *FundResponse) Reset() { 411 *x = FundResponse{} 412 if protoimpl.UnsafeEnabled { 413 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[5] 414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 415 ms.StoreMessageInfo(mi) 416 } 417 } 418 419 func (x *FundResponse) String() string { 420 return protoimpl.X.MessageStringOf(x) 421 } 422 423 func (*FundResponse) ProtoMessage() {} 424 425 func (x *FundResponse) ProtoReflect() protoreflect.Message { 426 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[5] 427 if protoimpl.UnsafeEnabled && x != nil { 428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 429 if ms.LoadMessageInfo() == nil { 430 ms.StoreMessageInfo(mi) 431 } 432 return ms 433 } 434 return mi.MessageOf(x) 435 } 436 437 // Deprecated: Use FundResponse.ProtoReflect.Descriptor instead. 438 func (*FundResponse) Descriptor() ([]byte, []int) { 439 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{5} 440 } 441 442 func (x *FundResponse) GetFund() *InsuranceFund { 443 if x != nil { 444 return x.Fund 445 } 446 return nil 447 } 448 449 type RedemptionsRequest struct { 450 state protoimpl.MessageState 451 sizeCache protoimpl.SizeCache 452 unknownFields protoimpl.UnknownFields 453 454 // Account address of the redemption owner 455 Redeemer string `protobuf:"bytes,1,opt,name=redeemer,proto3" json:"redeemer,omitempty"` 456 // Denom of the insurance pool token. 457 RedemptionDenom string `protobuf:"bytes,2,opt,name=redemption_denom,json=redemptionDenom,proto3" json:"redemption_denom,omitempty"` 458 // Status of the redemption. Either pending or disbursed. 459 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` 460 } 461 462 func (x *RedemptionsRequest) Reset() { 463 *x = RedemptionsRequest{} 464 if protoimpl.UnsafeEnabled { 465 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[6] 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 ms.StoreMessageInfo(mi) 468 } 469 } 470 471 func (x *RedemptionsRequest) String() string { 472 return protoimpl.X.MessageStringOf(x) 473 } 474 475 func (*RedemptionsRequest) ProtoMessage() {} 476 477 func (x *RedemptionsRequest) ProtoReflect() protoreflect.Message { 478 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[6] 479 if protoimpl.UnsafeEnabled && x != nil { 480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 481 if ms.LoadMessageInfo() == nil { 482 ms.StoreMessageInfo(mi) 483 } 484 return ms 485 } 486 return mi.MessageOf(x) 487 } 488 489 // Deprecated: Use RedemptionsRequest.ProtoReflect.Descriptor instead. 490 func (*RedemptionsRequest) Descriptor() ([]byte, []int) { 491 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{6} 492 } 493 494 func (x *RedemptionsRequest) GetRedeemer() string { 495 if x != nil { 496 return x.Redeemer 497 } 498 return "" 499 } 500 501 func (x *RedemptionsRequest) GetRedemptionDenom() string { 502 if x != nil { 503 return x.RedemptionDenom 504 } 505 return "" 506 } 507 508 func (x *RedemptionsRequest) GetStatus() string { 509 if x != nil { 510 return x.Status 511 } 512 return "" 513 } 514 515 type RedemptionsResponse struct { 516 state protoimpl.MessageState 517 sizeCache protoimpl.SizeCache 518 unknownFields protoimpl.UnknownFields 519 520 RedemptionSchedules []*RedemptionSchedule `protobuf:"bytes,1,rep,name=redemption_schedules,json=redemptionSchedules,proto3" json:"redemption_schedules,omitempty"` 521 } 522 523 func (x *RedemptionsResponse) Reset() { 524 *x = RedemptionsResponse{} 525 if protoimpl.UnsafeEnabled { 526 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[7] 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 528 ms.StoreMessageInfo(mi) 529 } 530 } 531 532 func (x *RedemptionsResponse) String() string { 533 return protoimpl.X.MessageStringOf(x) 534 } 535 536 func (*RedemptionsResponse) ProtoMessage() {} 537 538 func (x *RedemptionsResponse) ProtoReflect() protoreflect.Message { 539 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[7] 540 if protoimpl.UnsafeEnabled && x != nil { 541 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 542 if ms.LoadMessageInfo() == nil { 543 ms.StoreMessageInfo(mi) 544 } 545 return ms 546 } 547 return mi.MessageOf(x) 548 } 549 550 // Deprecated: Use RedemptionsResponse.ProtoReflect.Descriptor instead. 551 func (*RedemptionsResponse) Descriptor() ([]byte, []int) { 552 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{7} 553 } 554 555 func (x *RedemptionsResponse) GetRedemptionSchedules() []*RedemptionSchedule { 556 if x != nil { 557 return x.RedemptionSchedules 558 } 559 return nil 560 } 561 562 type RedemptionSchedule struct { 563 state protoimpl.MessageState 564 sizeCache protoimpl.SizeCache 565 unknownFields protoimpl.UnknownFields 566 567 // Redemption ID. 568 RedemptionId uint64 `protobuf:"varint,1,opt,name=redemption_id,json=redemptionId,proto3" json:"redemption_id,omitempty"` 569 // Status of the redemption. Either pending or disbursed. 570 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` 571 // Account address of the redemption owner 572 Redeemer string `protobuf:"bytes,3,opt,name=redeemer,proto3" json:"redeemer,omitempty"` 573 // Claimable redemption time in seconds 574 ClaimableRedemptionTime int64 `protobuf:"zigzag64,4,opt,name=claimable_redemption_time,json=claimableRedemptionTime,proto3" json:"claimable_redemption_time,omitempty"` 575 // Amount of pool tokens being redeemed. 576 RedemptionAmount string `protobuf:"bytes,5,opt,name=redemption_amount,json=redemptionAmount,proto3" json:"redemption_amount,omitempty"` 577 // Pool token denom being redeemed. 578 RedemptionDenom string `protobuf:"bytes,6,opt,name=redemption_denom,json=redemptionDenom,proto3" json:"redemption_denom,omitempty"` 579 // Redemption request time in unix milliseconds. 580 RequestedAt int64 `protobuf:"zigzag64,7,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` 581 // Amount of quote tokens disbursed 582 DisbursedAmount string `protobuf:"bytes,8,opt,name=disbursed_amount,json=disbursedAmount,proto3" json:"disbursed_amount,omitempty"` 583 // Denom of the quote tokens disbursed 584 DisbursedDenom string `protobuf:"bytes,9,opt,name=disbursed_denom,json=disbursedDenom,proto3" json:"disbursed_denom,omitempty"` 585 // Redemption disbursement time in unix milliseconds. 586 DisbursedAt int64 `protobuf:"zigzag64,10,opt,name=disbursed_at,json=disbursedAt,proto3" json:"disbursed_at,omitempty"` 587 } 588 589 func (x *RedemptionSchedule) Reset() { 590 *x = RedemptionSchedule{} 591 if protoimpl.UnsafeEnabled { 592 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[8] 593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 594 ms.StoreMessageInfo(mi) 595 } 596 } 597 598 func (x *RedemptionSchedule) String() string { 599 return protoimpl.X.MessageStringOf(x) 600 } 601 602 func (*RedemptionSchedule) ProtoMessage() {} 603 604 func (x *RedemptionSchedule) ProtoReflect() protoreflect.Message { 605 mi := &file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[8] 606 if protoimpl.UnsafeEnabled && x != nil { 607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 608 if ms.LoadMessageInfo() == nil { 609 ms.StoreMessageInfo(mi) 610 } 611 return ms 612 } 613 return mi.MessageOf(x) 614 } 615 616 // Deprecated: Use RedemptionSchedule.ProtoReflect.Descriptor instead. 617 func (*RedemptionSchedule) Descriptor() ([]byte, []int) { 618 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP(), []int{8} 619 } 620 621 func (x *RedemptionSchedule) GetRedemptionId() uint64 { 622 if x != nil { 623 return x.RedemptionId 624 } 625 return 0 626 } 627 628 func (x *RedemptionSchedule) GetStatus() string { 629 if x != nil { 630 return x.Status 631 } 632 return "" 633 } 634 635 func (x *RedemptionSchedule) GetRedeemer() string { 636 if x != nil { 637 return x.Redeemer 638 } 639 return "" 640 } 641 642 func (x *RedemptionSchedule) GetClaimableRedemptionTime() int64 { 643 if x != nil { 644 return x.ClaimableRedemptionTime 645 } 646 return 0 647 } 648 649 func (x *RedemptionSchedule) GetRedemptionAmount() string { 650 if x != nil { 651 return x.RedemptionAmount 652 } 653 return "" 654 } 655 656 func (x *RedemptionSchedule) GetRedemptionDenom() string { 657 if x != nil { 658 return x.RedemptionDenom 659 } 660 return "" 661 } 662 663 func (x *RedemptionSchedule) GetRequestedAt() int64 { 664 if x != nil { 665 return x.RequestedAt 666 } 667 return 0 668 } 669 670 func (x *RedemptionSchedule) GetDisbursedAmount() string { 671 if x != nil { 672 return x.DisbursedAmount 673 } 674 return "" 675 } 676 677 func (x *RedemptionSchedule) GetDisbursedDenom() string { 678 if x != nil { 679 return x.DisbursedDenom 680 } 681 return "" 682 } 683 684 func (x *RedemptionSchedule) GetDisbursedAt() int64 { 685 if x != nil { 686 return x.DisbursedAt 687 } 688 return 0 689 } 690 691 var File_goadesign_goagen_injective_insurance_rpc_proto protoreflect.FileDescriptor 692 693 var file_goadesign_goagen_injective_insurance_rpc_proto_rawDesc = []byte{ 694 0x0a, 0x2e, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67, 695 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 696 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 697 0x12, 0x17, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 698 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x0e, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 699 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x0d, 0x46, 0x75, 0x6e, 700 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x66, 0x75, 701 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 702 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 703 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x75, 0x6e, 704 0x64, 0x52, 0x05, 0x66, 0x75, 0x6e, 0x64, 0x73, 0x22, 0xf5, 0x03, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 705 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 706 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 707 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 708 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 709 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 710 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 711 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x44, 0x65, 0x6e, 0x6f, 712 0x6d, 0x12, 0x28, 0x0a, 0x10, 0x70, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 713 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x6f, 0x6f, 714 0x6c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x49, 0x0a, 0x21, 0x72, 715 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x74, 0x69, 0x63, 0x65, 716 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 717 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x1e, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 718 0x6f, 0x6e, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x44, 0x75, 719 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 720 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 721 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 722 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x68, 0x61, 0x72, 723 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 724 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x42, 0x61, 725 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x71, 0x75, 0x6f, 726 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 727 0x51, 0x75, 0x6f, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 728 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 729 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 730 0x18, 0x0b, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x50, 731 0x0a, 0x12, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 732 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 733 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 734 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x10, 735 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 736 0x22, 0xa0, 0x01, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x12, 737 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 738 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 739 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 740 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 741 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 742 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 743 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 744 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 745 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 746 0x64, 0x41, 0x74, 0x22, 0x23, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 747 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 748 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x4a, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x64, 749 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x04, 0x66, 0x75, 0x6e, 0x64, 750 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 751 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 752 0x2e, 0x49, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x75, 0x6e, 0x64, 0x52, 0x04, 753 0x66, 0x75, 0x6e, 0x64, 0x22, 0x73, 0x0a, 0x12, 0x52, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 754 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 755 0x64, 0x65, 0x65, 0x6d, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 756 0x64, 0x65, 0x65, 0x6d, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 757 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 758 0x52, 0x0f, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6e, 0x6f, 759 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 760 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x75, 0x0a, 0x13, 0x52, 0x65, 0x64, 761 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 762 0x12, 0x5e, 0x0a, 0x14, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 763 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 764 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 765 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 766 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x13, 0x72, 0x65, 0x64, 767 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x73, 768 0x22, 0x9b, 0x03, 0x0a, 0x12, 0x52, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x53, 769 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x65, 0x6d, 770 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 771 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 772 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 773 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x65, 0x72, 774 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x65, 0x72, 775 0x12, 0x3a, 0x0a, 0x19, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 776 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 777 0x01, 0x28, 0x12, 0x52, 0x17, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 778 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 779 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 780 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 781 0x69, 0x6f, 0x6e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x64, 782 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x06, 0x20, 783 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 784 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 785 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 786 0x65, 0x73, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x62, 0x75, 787 0x72, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 788 0x09, 0x52, 0x0f, 0x64, 0x69, 0x73, 0x62, 0x75, 0x72, 0x73, 0x65, 0x64, 0x41, 0x6d, 0x6f, 0x75, 789 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x62, 0x75, 0x72, 0x73, 0x65, 0x64, 0x5f, 790 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x69, 0x73, 791 0x62, 0x75, 0x72, 0x73, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x64, 792 0x69, 0x73, 0x62, 0x75, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 793 0x12, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x62, 0x75, 0x72, 0x73, 0x65, 0x64, 0x41, 0x74, 0x32, 0xae, 794 0x02, 0x0a, 0x15, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x73, 0x75, 795 0x72, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x50, 0x43, 0x12, 0x56, 0x0a, 0x05, 0x46, 0x75, 0x6e, 0x64, 796 0x73, 0x12, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 797 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 798 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 799 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 800 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 801 0x12, 0x53, 0x0a, 0x04, 0x46, 0x75, 0x6e, 0x64, 0x12, 0x24, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 802 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 803 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 804 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 805 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x52, 0x65, 0x73, 806 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x0b, 0x52, 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 807 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 808 0x5f, 0x69, 0x6e, 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 809 0x65, 0x64, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 810 0x74, 0x1a, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 811 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x64, 0x65, 812 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 813 0x1c, 0x5a, 0x1a, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 814 0x73, 0x75, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 815 0x72, 0x6f, 0x74, 0x6f, 0x33, 816 } 817 818 var ( 819 file_goadesign_goagen_injective_insurance_rpc_proto_rawDescOnce sync.Once 820 file_goadesign_goagen_injective_insurance_rpc_proto_rawDescData = file_goadesign_goagen_injective_insurance_rpc_proto_rawDesc 821 ) 822 823 func file_goadesign_goagen_injective_insurance_rpc_proto_rawDescGZIP() []byte { 824 file_goadesign_goagen_injective_insurance_rpc_proto_rawDescOnce.Do(func() { 825 file_goadesign_goagen_injective_insurance_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_insurance_rpc_proto_rawDescData) 826 }) 827 return file_goadesign_goagen_injective_insurance_rpc_proto_rawDescData 828 } 829 830 var file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 831 var file_goadesign_goagen_injective_insurance_rpc_proto_goTypes = []interface{}{ 832 (*FundsRequest)(nil), // 0: injective_insurance_rpc.FundsRequest 833 (*FundsResponse)(nil), // 1: injective_insurance_rpc.FundsResponse 834 (*InsuranceFund)(nil), // 2: injective_insurance_rpc.InsuranceFund 835 (*TokenMeta)(nil), // 3: injective_insurance_rpc.TokenMeta 836 (*FundRequest)(nil), // 4: injective_insurance_rpc.FundRequest 837 (*FundResponse)(nil), // 5: injective_insurance_rpc.FundResponse 838 (*RedemptionsRequest)(nil), // 6: injective_insurance_rpc.RedemptionsRequest 839 (*RedemptionsResponse)(nil), // 7: injective_insurance_rpc.RedemptionsResponse 840 (*RedemptionSchedule)(nil), // 8: injective_insurance_rpc.RedemptionSchedule 841 } 842 var file_goadesign_goagen_injective_insurance_rpc_proto_depIdxs = []int32{ 843 2, // 0: injective_insurance_rpc.FundsResponse.funds:type_name -> injective_insurance_rpc.InsuranceFund 844 3, // 1: injective_insurance_rpc.InsuranceFund.deposit_token_meta:type_name -> injective_insurance_rpc.TokenMeta 845 2, // 2: injective_insurance_rpc.FundResponse.fund:type_name -> injective_insurance_rpc.InsuranceFund 846 8, // 3: injective_insurance_rpc.RedemptionsResponse.redemption_schedules:type_name -> injective_insurance_rpc.RedemptionSchedule 847 0, // 4: injective_insurance_rpc.InjectiveInsuranceRPC.Funds:input_type -> injective_insurance_rpc.FundsRequest 848 4, // 5: injective_insurance_rpc.InjectiveInsuranceRPC.Fund:input_type -> injective_insurance_rpc.FundRequest 849 6, // 6: injective_insurance_rpc.InjectiveInsuranceRPC.Redemptions:input_type -> injective_insurance_rpc.RedemptionsRequest 850 1, // 7: injective_insurance_rpc.InjectiveInsuranceRPC.Funds:output_type -> injective_insurance_rpc.FundsResponse 851 5, // 8: injective_insurance_rpc.InjectiveInsuranceRPC.Fund:output_type -> injective_insurance_rpc.FundResponse 852 7, // 9: injective_insurance_rpc.InjectiveInsuranceRPC.Redemptions:output_type -> injective_insurance_rpc.RedemptionsResponse 853 7, // [7:10] is the sub-list for method output_type 854 4, // [4:7] is the sub-list for method input_type 855 4, // [4:4] is the sub-list for extension type_name 856 4, // [4:4] is the sub-list for extension extendee 857 0, // [0:4] is the sub-list for field type_name 858 } 859 860 func init() { file_goadesign_goagen_injective_insurance_rpc_proto_init() } 861 func file_goadesign_goagen_injective_insurance_rpc_proto_init() { 862 if File_goadesign_goagen_injective_insurance_rpc_proto != nil { 863 return 864 } 865 if !protoimpl.UnsafeEnabled { 866 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 867 switch v := v.(*FundsRequest); i { 868 case 0: 869 return &v.state 870 case 1: 871 return &v.sizeCache 872 case 2: 873 return &v.unknownFields 874 default: 875 return nil 876 } 877 } 878 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 879 switch v := v.(*FundsResponse); i { 880 case 0: 881 return &v.state 882 case 1: 883 return &v.sizeCache 884 case 2: 885 return &v.unknownFields 886 default: 887 return nil 888 } 889 } 890 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 891 switch v := v.(*InsuranceFund); i { 892 case 0: 893 return &v.state 894 case 1: 895 return &v.sizeCache 896 case 2: 897 return &v.unknownFields 898 default: 899 return nil 900 } 901 } 902 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 903 switch v := v.(*TokenMeta); i { 904 case 0: 905 return &v.state 906 case 1: 907 return &v.sizeCache 908 case 2: 909 return &v.unknownFields 910 default: 911 return nil 912 } 913 } 914 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 915 switch v := v.(*FundRequest); i { 916 case 0: 917 return &v.state 918 case 1: 919 return &v.sizeCache 920 case 2: 921 return &v.unknownFields 922 default: 923 return nil 924 } 925 } 926 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 927 switch v := v.(*FundResponse); i { 928 case 0: 929 return &v.state 930 case 1: 931 return &v.sizeCache 932 case 2: 933 return &v.unknownFields 934 default: 935 return nil 936 } 937 } 938 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 939 switch v := v.(*RedemptionsRequest); i { 940 case 0: 941 return &v.state 942 case 1: 943 return &v.sizeCache 944 case 2: 945 return &v.unknownFields 946 default: 947 return nil 948 } 949 } 950 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 951 switch v := v.(*RedemptionsResponse); i { 952 case 0: 953 return &v.state 954 case 1: 955 return &v.sizeCache 956 case 2: 957 return &v.unknownFields 958 default: 959 return nil 960 } 961 } 962 file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 963 switch v := v.(*RedemptionSchedule); i { 964 case 0: 965 return &v.state 966 case 1: 967 return &v.sizeCache 968 case 2: 969 return &v.unknownFields 970 default: 971 return nil 972 } 973 } 974 } 975 type x struct{} 976 out := protoimpl.TypeBuilder{ 977 File: protoimpl.DescBuilder{ 978 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 979 RawDescriptor: file_goadesign_goagen_injective_insurance_rpc_proto_rawDesc, 980 NumEnums: 0, 981 NumMessages: 9, 982 NumExtensions: 0, 983 NumServices: 1, 984 }, 985 GoTypes: file_goadesign_goagen_injective_insurance_rpc_proto_goTypes, 986 DependencyIndexes: file_goadesign_goagen_injective_insurance_rpc_proto_depIdxs, 987 MessageInfos: file_goadesign_goagen_injective_insurance_rpc_proto_msgTypes, 988 }.Build() 989 File_goadesign_goagen_injective_insurance_rpc_proto = out.File 990 file_goadesign_goagen_injective_insurance_rpc_proto_rawDesc = nil 991 file_goadesign_goagen_injective_insurance_rpc_proto_goTypes = nil 992 file_goadesign_goagen_injective_insurance_rpc_proto_depIdxs = nil 993 }